diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..286ebc4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,33 @@ +FROM ubuntu:16.04 + +RUN apt-get clean && apt-get update + +RUN apt-get -y install wget \ + python \ + git \ + pkg-config \ + automake \ + libtool \ + default-jre + +RUN wget https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz -P /home +RUN tar -xvzf /home/emsdk-portable.tar.gz -C /home +RUN cd /home/emsdk-portable && ./emsdk update && ./emsdk install emscripten-1.37.22 +RUN cd /home/emsdk-portable && ./emsdk install node-4.1.1-64bit +RUN cd /home/emsdk-portable && ./emsdk install clang-e1.37.22-64bit + +ENV LLVM_ROOT="/home/emsdk-portable:/home/emsdk-portable/clang/e1.37.22_64bit" +ENV NODE_JS="/home/emsdk-portable/node/4.1.1_64bit/bin/nodejs" +ENV EMSCRIPTEN_ROO="/home/emsdk-portable/emscripten/1.37.22" +ENV PATH="/home/emsdk-portable:/home/emsdk-portable/clang/e1.37.22_64bit:/home/emsdk-portable/node/4.1.1_64bit/bin:/home/emsdk-portable/emscripten/1.37.22:${PATH}" +ENV LIBAVOID_SOURCE=/home/adaptagrams/cola/libavoid + +RUN git clone https://github.com/mjwybrow/adaptagrams /home/adaptagrams + +ADD ./src/autogen-emsdk.sh /home/adaptagrams/cola/autogen-emsdk.sh +RUN emcc +RUN cd /home/adaptagrams/cola && chmod 700 autogen-emsdk.sh && ./autogen-emsdk.sh; exit 0 + +CMD cd /home/avoidjs && chmod 700 build.sh && ./build.sh +#CMD cd /home && ls + diff --git a/avoid.bin.js b/avoid.bin.js deleted file mode 100644 index 1c4979a..0000000 --- a/avoid.bin.js +++ /dev/null @@ -1,80110 +0,0 @@ -// Note: For maximum-speed code, see "Optimizing Code" on the Emscripten wiki, https://github.com/kripken/emscripten/wiki/Optimizing-Code -// Note: Some Emscripten settings may limit the speed of the generated code. -try { - this['Module'] = Module; -} catch(e) { - this['Module'] = Module = {}; -} - -// The environment setup code below is customized to use Module. -// *** Environment setup code *** -var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function'; -var ENVIRONMENT_IS_WEB = typeof window === 'object'; -var ENVIRONMENT_IS_WORKER = typeof importScripts === 'function'; -var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; - -if (ENVIRONMENT_IS_NODE) { - // Expose functionality in the same simple way that the shells work - // Note that we pollute the global namespace here, otherwise we break in node - Module['print'] = function(x) { - process['stdout'].write(x + '\n'); - }; - Module['printErr'] = function(x) { - process['stderr'].write(x + '\n'); - }; - - var nodeFS = require('fs'); - var nodePath = require('path'); - - Module['read'] = function(filename) { - filename = nodePath['normalize'](filename); - var ret = nodeFS['readFileSync'](filename).toString(); - // The path is absolute if the normalized version is the same as the resolved. - if (!ret && filename != nodePath['resolve'](filename)) { - filename = path.join(__dirname, '..', 'src', filename); - ret = nodeFS['readFileSync'](filename).toString(); - } - return ret; - }; - - Module['load'] = function(f) { - globalEval(read(f)); - }; - - if (!Module['arguments']) { - Module['arguments'] = process['argv'].slice(2); - } -} - -if (ENVIRONMENT_IS_SHELL) { - Module['print'] = print; - if (typeof printErr != 'undefined') Module['printErr'] = printErr; // not present in v8 or older sm - - // Polyfill over SpiderMonkey/V8 differences - if (typeof read != 'undefined') { - Module['read'] = read; - } else { - Module['read'] = function(f) { snarf(f) }; - } - - if (!Module['arguments']) { - if (typeof scriptArgs != 'undefined') { - Module['arguments'] = scriptArgs; - } else if (typeof arguments != 'undefined') { - Module['arguments'] = arguments; - } - } -} - -if (ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_WORKER) { - if (!Module['print']) { - Module['print'] = function(x) { - console.log(x); - }; - } - - if (!Module['printErr']) { - Module['printErr'] = function(x) { - console.log(x); - }; - } -} - -if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { - Module['read'] = function(url) { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, false); - xhr.send(null); - return xhr.responseText; - }; - - if (!Module['arguments']) { - if (typeof arguments != 'undefined') { - Module['arguments'] = arguments; - } - } -} - -if (ENVIRONMENT_IS_WORKER) { - // We can do very little here... - var TRY_USE_DUMP = false; - if (!Module['print']) { - Module['print'] = (TRY_USE_DUMP && (typeof(dump) !== "undefined") ? (function(x) { - dump(x); - }) : (function(x) { - // self.postMessage(x); // enable this if you want stdout to be sent as messages - })); - } - - Module['load'] = importScripts; -} - -if (!ENVIRONMENT_IS_WORKER && !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_SHELL) { - // Unreachable because SHELL is dependant on the others - throw 'Unknown runtime environment. Where are we?'; -} - -function globalEval(x) { - eval.call(null, x); -} -if (!Module['load'] == 'undefined' && Module['read']) { - Module['load'] = function(f) { - globalEval(Module['read'](f)); - }; -} -if (!Module['print']) { - Module['print'] = function(){}; -} -if (!Module['printErr']) { - Module['printErr'] = Module['print']; -} -if (!Module['arguments']) { - Module['arguments'] = []; -} -// *** Environment setup code *** - -// Closure helpers -Module.print = Module['print']; -Module.printErr = Module['printErr']; - -// Callbacks -if (!Module['preRun']) Module['preRun'] = []; -if (!Module['postRun']) Module['postRun'] = []; - - -// === Auto-generated preamble library stuff === - -//======================================== -// Runtime code shared with compiler -//======================================== - -var Runtime = { - stackSave: function () { - return STACKTOP; - }, - stackRestore: function (stackTop) { - STACKTOP = stackTop; - }, - forceAlign: function (target, quantum) { - quantum = quantum || 4; - if (quantum == 1) return target; - if (isNumber(target) && isNumber(quantum)) { - return Math.ceil(target/quantum)*quantum; - } else if (isNumber(quantum) && isPowerOfTwo(quantum)) { - var logg = log2(quantum); - return '((((' +target + ')+' + (quantum-1) + ')>>' + logg + ')<<' + logg + ')'; - } - return 'Math.ceil((' + target + ')/' + quantum + ')*' + quantum; - }, - isNumberType: function (type) { - return type in Runtime.INT_TYPES || type in Runtime.FLOAT_TYPES; - }, - isPointerType: function isPointerType(type) { - return type[type.length-1] == '*'; -}, - isStructType: function isStructType(type) { - if (isPointerType(type)) return false; - if (/^\[\d+\ x\ (.*)\]/.test(type)) return true; // [15 x ?] blocks. Like structs - if (/?/.test(type)) return true; // { i32, i8 } etc. - anonymous struct types - // See comment in isStructPointerType() - return type[0] == '%'; -}, - INT_TYPES: {"i1":0,"i8":0,"i16":0,"i32":0,"i64":0}, - FLOAT_TYPES: {"float":0,"double":0}, - BITSHIFT64_SHL: 0, - BITSHIFT64_ASHR: 1, - BITSHIFT64_LSHR: 2, - bitshift64: function (low, high, op, bits) { - var ret; - var ander = Math.pow(2, bits)-1; - if (bits < 32) { - switch (op) { - case Runtime.BITSHIFT64_SHL: - ret = [low << bits, (high << bits) | ((low&(ander << (32 - bits))) >>> (32 - bits))]; - break; - case Runtime.BITSHIFT64_ASHR: - ret = [(((low >>> bits ) | ((high&ander) << (32 - bits))) >> 0) >>> 0, (high >> bits) >>> 0]; - break; - case Runtime.BITSHIFT64_LSHR: - ret = [((low >>> bits) | ((high&ander) << (32 - bits))) >>> 0, high >>> bits]; - break; - } - } else if (bits == 32) { - switch (op) { - case Runtime.BITSHIFT64_SHL: - ret = [0, low]; - break; - case Runtime.BITSHIFT64_ASHR: - ret = [high, (high|0) < 0 ? ander : 0]; - break; - case Runtime.BITSHIFT64_LSHR: - ret = [high, 0]; - break; - } - } else { // bits > 32 - switch (op) { - case Runtime.BITSHIFT64_SHL: - ret = [0, low << (bits - 32)]; - break; - case Runtime.BITSHIFT64_ASHR: - ret = [(high >> (bits - 32)) >>> 0, (high|0) < 0 ? ander : 0]; - break; - case Runtime.BITSHIFT64_LSHR: - ret = [high >>> (bits - 32) , 0]; - break; - } - } - HEAP32[tempDoublePtr>>2] = ret[0]; // cannot use utility functions since we are in runtime itself - HEAP32[tempDoublePtr+4>>2] = ret[1]; - }, - or64: function (x, y) { - var l = (x | 0) | (y | 0); - var h = (Math.round(x / 4294967296) | Math.round(y / 4294967296)) * 4294967296; - return l + h; - }, - and64: function (x, y) { - var l = (x | 0) & (y | 0); - var h = (Math.round(x / 4294967296) & Math.round(y / 4294967296)) * 4294967296; - return l + h; - }, - xor64: function (x, y) { - var l = (x | 0) ^ (y | 0); - var h = (Math.round(x / 4294967296) ^ Math.round(y / 4294967296)) * 4294967296; - return l + h; - }, - getNativeTypeSize: function (type, quantumSize) { - if (Runtime.QUANTUM_SIZE == 1) return 1; - var size = { - '%i1': 1, - '%i8': 1, - '%i16': 2, - '%i32': 4, - '%i64': 8, - "%float": 4, - "%double": 8 - }['%'+type]; // add '%' since float and double confuse Closure compiler as keys, and also spidermonkey as a compiler will remove 's from '_i8' etc - if (!size) { - if (type.charAt(type.length-1) == '*') { - size = Runtime.QUANTUM_SIZE; // A pointer - } else if (type[0] == 'i') { - var bits = parseInt(type.substr(1)); - assert(bits % 8 == 0); - size = bits/8; - } - } - return size; - }, - getNativeFieldSize: function (type) { - return Math.max(Runtime.getNativeTypeSize(type), Runtime.QUANTUM_SIZE); - }, - dedup: function dedup(items, ident) { - var seen = {}; - if (ident) { - return items.filter(function(item) { - if (seen[item[ident]]) return false; - seen[item[ident]] = true; - return true; - }); - } else { - return items.filter(function(item) { - if (seen[item]) return false; - seen[item] = true; - return true; - }); - } -}, - set: function set() { - var args = typeof arguments[0] === 'object' ? arguments[0] : arguments; - var ret = {}; - for (var i = 0; i < args.length; i++) { - ret[args[i]] = 0; - } - return ret; -}, - calculateStructAlignment: function calculateStructAlignment(type) { - type.flatSize = 0; - type.alignSize = 0; - var diffs = []; - var prev = -1; - type.flatIndexes = type.fields.map(function(field) { - var size, alignSize; - if (Runtime.isNumberType(field) || Runtime.isPointerType(field)) { - size = Runtime.getNativeTypeSize(field); // pack char; char; in structs, also char[X]s. - alignSize = size; - } else if (Runtime.isStructType(field)) { - size = Types.types[field].flatSize; - alignSize = Types.types[field].alignSize; - } else if (field[0] == 'b') { - // bN, large number field, like a [N x i8] - size = field.substr(1)|0; - alignSize = 1; - } else { - throw 'Unclear type in struct: ' + field + ', in ' + type.name_ + ' :: ' + dump(Types.types[type.name_]); - } - alignSize = type.packed ? 1 : Math.min(alignSize, Runtime.QUANTUM_SIZE); - type.alignSize = Math.max(type.alignSize, alignSize); - var curr = Runtime.alignMemory(type.flatSize, alignSize); // if necessary, place this on aligned memory - type.flatSize = curr + size; - if (prev >= 0) { - diffs.push(curr-prev); - } - prev = curr; - return curr; - }); - type.flatSize = Runtime.alignMemory(type.flatSize, type.alignSize); - if (diffs.length == 0) { - type.flatFactor = type.flatSize; - } else if (Runtime.dedup(diffs).length == 1) { - type.flatFactor = diffs[0]; - } - type.needsFlattening = (type.flatFactor != 1); - return type.flatIndexes; - }, - generateStructInfo: function (struct, typeName, offset) { - var type, alignment; - if (typeName) { - offset = offset || 0; - type = (typeof Types === 'undefined' ? Runtime.typeInfo : Types.types)[typeName]; - if (!type) return null; - if (type.fields.length != struct.length) { - printErr('Number of named fields must match the type for ' + typeName + ': possibly duplicate struct names. Cannot return structInfo'); - return null; - } - alignment = type.flatIndexes; - } else { - var type = { fields: struct.map(function(item) { return item[0] }) }; - alignment = Runtime.calculateStructAlignment(type); - } - var ret = { - __size__: type.flatSize - }; - if (typeName) { - struct.forEach(function(item, i) { - if (typeof item === 'string') { - ret[item] = alignment[i] + offset; - } else { - // embedded struct - var key; - for (var k in item) key = k; - ret[key] = Runtime.generateStructInfo(item[key], type.fields[i], alignment[i]); - } - }); - } else { - struct.forEach(function(item, i) { - ret[item[1]] = alignment[i]; - }); - } - return ret; - }, - dynCall: function (sig, ptr, args) { - if (args && args.length) { - return FUNCTION_TABLE[ptr].apply(null, args); - } else { - return FUNCTION_TABLE[ptr](); - } - }, - addFunction: function (func, sig) { - //assert(sig); // TODO: support asm - var table = FUNCTION_TABLE; // TODO: support asm - var ret = table.length; - table.push(func); - table.push(0); - return ret; - }, - warnOnce: function (text) { - if (!Runtime.warnOnce.shown) Runtime.warnOnce.shown = {}; - if (!Runtime.warnOnce.shown[text]) { - Runtime.warnOnce.shown[text] = 1; - Module.printErr(text); - } - }, - funcWrappers: {}, - getFuncWrapper: function (func, sig) { - assert(sig); - if (!Runtime.funcWrappers[func]) { - Runtime.funcWrappers[func] = function() { - Runtime.dynCall(sig, func, arguments); - }; - } - return Runtime.funcWrappers[func]; - }, - UTF8Processor: function () { - var buffer = []; - var needed = 0; - this.processCChar = function (code) { - code = code & 0xff; - if (needed) { - buffer.push(code); - needed--; - } - if (buffer.length == 0) { - if (code < 128) return String.fromCharCode(code); - buffer.push(code); - if (code > 191 && code < 224) { - needed = 1; - } else { - needed = 2; - } - return ''; - } - if (needed > 0) return ''; - var c1 = buffer[0]; - var c2 = buffer[1]; - var c3 = buffer[2]; - var ret; - if (c1 > 191 && c1 < 224) { - ret = String.fromCharCode(((c1 & 31) << 6) | (c2 & 63)); - } else { - ret = String.fromCharCode(((c1 & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); - } - buffer.length = 0; - return ret; - } - this.processJSString = function(string) { - string = unescape(encodeURIComponent(string)); - var ret = []; - for (var i = 0; i < string.length; i++) { - ret.push(string.charCodeAt(i)); - } - return ret; - } - }, - stackAlloc: function stackAlloc(size) { var ret = STACKTOP;STACKTOP = (STACKTOP + size)|0;STACKTOP = ((((STACKTOP)+3)>>2)<<2); return ret; }, - staticAlloc: function staticAlloc(size) { var ret = STATICTOP;STATICTOP = (STATICTOP + size)|0;STATICTOP = ((((STATICTOP)+3)>>2)<<2); if (STATICTOP >= TOTAL_MEMORY) enlargeMemory();; return ret; }, - alignMemory: function alignMemory(size,quantum) { var ret = size = Math.ceil((size)/(quantum ? quantum : 4))*(quantum ? quantum : 4); return ret; }, - makeBigInt: function makeBigInt(low,high,unsigned) { var ret = (unsigned ? (((low)>>>0)+(((high)>>>0)*4294967296)) : (((low)>>>0)+(((high)|0)*4294967296))); return ret; }, - QUANTUM_SIZE: 4, - __dummy__: 0 -} - - - - - - - -//======================================== -// Runtime essentials -//======================================== - -var __THREW__ = 0; // Used in checking for thrown exceptions. -var setjmpId = 1; // Used in setjmp/longjmp -var setjmpLabels = {}; - -var ABORT = false; - -var undef = 0; -// tempInt is used for 32-bit signed values or smaller. tempBigInt is used -// for 32-bit unsigned values or more than 32 bits. TODO: audit all uses of tempInt -var tempValue, tempInt, tempBigInt, tempInt2, tempBigInt2, tempPair, tempBigIntI, tempBigIntR, tempBigIntS, tempBigIntP, tempBigIntD; -var tempI64, tempI64b; -var tempRet0, tempRet1, tempRet2, tempRet3, tempRet4, tempRet5, tempRet6, tempRet7, tempRet8, tempRet9; - -function abort(text) { - Module.print(text + ':\n' + (new Error).stack); - ABORT = true; - throw "Assertion: " + text; -} - -function assert(condition, text) { - if (!condition) { - abort('Assertion failed: ' + text); - } -} - -var globalScope = this; - -// C calling interface. A convenient way to call C functions (in C files, or -// defined with extern "C"). -// -// Note: LLVM optimizations can inline and remove functions, after which you will not be -// able to call them. Closure can also do so. To avoid that, add your function to -// the exports using something like -// -// -s EXPORTED_FUNCTIONS='["_main", "_myfunc"]' -// -// @param ident The name of the C function (note that C++ functions will be name-mangled - use extern "C") -// @param returnType The return type of the function, one of the JS types 'number', 'string' or 'array' (use 'number' for any C pointer, and -// 'array' for JavaScript arrays and typed arrays). -// @param argTypes An array of the types of arguments for the function (if there are no arguments, this can be ommitted). Types are as in returnType, -// except that 'array' is not possible (there is no way for us to know the length of the array) -// @param args An array of the arguments to the function, as native JS values (as in returnType) -// Note that string arguments will be stored on the stack (the JS string will become a C string on the stack). -// @return The return value, as a native JS value (as in returnType) -function ccall(ident, returnType, argTypes, args) { - return ccallFunc(getCFunc(ident), returnType, argTypes, args); -} -Module["ccall"] = ccall; - -// Returns the C function with a specified identifier (for C++, you need to do manual name mangling) -function getCFunc(ident) { - try { - var func = eval('_' + ident); - } catch(e) { - try { - func = globalScope['Module']['_' + ident]; // closure exported function - } catch(e) {} - } - assert(func, 'Cannot call unknown function ' + ident + ' (perhaps LLVM optimizations or closure removed it?)'); - return func; -} - -// Internal function that does a C call using a function, not an identifier -function ccallFunc(func, returnType, argTypes, args) { - var stack = 0; - function toC(value, type) { - if (type == 'string') { - if (value === null || value === undefined || value === 0) return 0; // null string - if (!stack) stack = Runtime.stackSave(); - var ret = Runtime.stackAlloc(value.length+1); - writeStringToMemory(value, ret); - return ret; - } else if (type == 'array') { - if (!stack) stack = Runtime.stackSave(); - var ret = Runtime.stackAlloc(value.length); - writeArrayToMemory(value, ret); - return ret; - } - return value; - } - function fromC(value, type) { - if (type == 'string') { - return Pointer_stringify(value); - } - assert(type != 'array'); - return value; - } - var i = 0; - var cArgs = args ? args.map(function(arg) { - return toC(arg, argTypes[i++]); - }) : []; - var ret = fromC(func.apply(null, cArgs), returnType); - if (stack) Runtime.stackRestore(stack); - return ret; -} - -// Returns a native JS wrapper for a C function. This is similar to ccall, but -// returns a function you can call repeatedly in a normal way. For example: -// -// var my_function = cwrap('my_c_function', 'number', ['number', 'number']); -// alert(my_function(5, 22)); -// alert(my_function(99, 12)); -// -function cwrap(ident, returnType, argTypes) { - var func = getCFunc(ident); - return function() { - return ccallFunc(func, returnType, argTypes, Array.prototype.slice.call(arguments)); - } -} -Module["cwrap"] = cwrap; - -// Sets a value in memory in a dynamic way at run-time. Uses the -// type data. This is the same as makeSetValue, except that -// makeSetValue is done at compile-time and generates the needed -// code then, whereas this function picks the right code at -// run-time. -// Note that setValue and getValue only do *aligned* writes and reads! -// Note that ccall uses JS types as for defining types, while setValue and -// getValue need LLVM types ('i8', 'i32') - this is a lower-level operation -function setValue(ptr, value, type, noSafe) { - type = type || 'i8'; - if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit - switch(type) { - case 'i1': HEAP8[(ptr)]=value; break; - case 'i8': HEAP8[(ptr)]=value; break; - case 'i16': HEAP16[((ptr)>>1)]=value; break; - case 'i32': HEAP32[((ptr)>>2)]=value; break; - case 'i64': (tempI64 = [value>>>0,Math.min(Math.floor((value)/4294967296), 4294967295)>>>0],HEAP32[((ptr)>>2)]=tempI64[0],HEAP32[(((ptr)+(4))>>2)]=tempI64[1]); break; - case 'float': HEAPF32[((ptr)>>2)]=value; break; - case 'double': (HEAPF64[(tempDoublePtr)>>3]=value,HEAP32[((ptr)>>2)]=HEAP32[((tempDoublePtr)>>2)],HEAP32[(((ptr)+(4))>>2)]=HEAP32[(((tempDoublePtr)+(4))>>2)]); break; - default: abort('invalid type for setValue: ' + type); - } -} -Module['setValue'] = setValue; - -// Parallel to setValue. -function getValue(ptr, type, noSafe) { - type = type || 'i8'; - if (type.charAt(type.length-1) === '*') type = 'i32'; // pointers are 32-bit - switch(type) { - case 'i1': return HEAP8[(ptr)]; - case 'i8': return HEAP8[(ptr)]; - 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 (HEAP32[((tempDoublePtr)>>2)]=HEAP32[((ptr)>>2)],HEAP32[(((tempDoublePtr)+(4))>>2)]=HEAP32[(((ptr)+(4))>>2)],HEAPF64[(tempDoublePtr)>>3]); - default: abort('invalid type for setValue: ' + type); - } - return null; -} -Module['getValue'] = getValue; - -var ALLOC_NORMAL = 0; // Tries to use _malloc() -var ALLOC_STACK = 1; // Lives for the duration of the current function call -var ALLOC_STATIC = 2; // Cannot be freed -var ALLOC_NONE = 3; // Do not allocate -Module['ALLOC_NORMAL'] = ALLOC_NORMAL; -Module['ALLOC_STACK'] = ALLOC_STACK; -Module['ALLOC_STATIC'] = ALLOC_STATIC; -Module['ALLOC_NONE'] = ALLOC_NONE; - -// Simple unoptimized memset - necessary during startup -var _memset = function(ptr, value, num) { - var stop = ptr + num; - while (ptr < stop) { - HEAP8[((ptr++)|0)]=value; - } -} - -// allocate(): This is for internal use. You can use it yourself as well, but the interface -// is a little tricky (see docs right below). The reason is that it is optimized -// for multiple syntaxes to save space in generated code. So you should -// normally not use allocate(), and instead allocate memory using _malloc(), -// initialize it with setValue(), and so forth. -// @slab: An array of data, or a number. If a number, then the size of the block to allocate, -// in *bytes* (note that this is sometimes confusing: the next parameter does not -// affect this!) -// @types: Either an array of types, one for each byte (or 0 if no type at that position), -// or a single type which is used for the entire block. This only matters if there -// is initial data - if @slab is a number, then this does not matter at all and is -// ignored. -// @allocator: How to allocate memory, see ALLOC_* -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, Runtime.stackAlloc, Runtime.staticAlloc][allocator === undefined ? ALLOC_STATIC : allocator](Math.max(size, singleType ? 1 : types.length)); - } - - if (zeroinit) { - _memset(ret, 0, size); - return ret; - } - - if (singleType === 'i8') { - HEAPU8.set(new Uint8Array(slab), ret); - return ret; - } - - var i = 0, type; - while (i < size) { - var curr = slab[i]; - - if (typeof curr === 'function') { - curr = Runtime.getFunctionIndex(curr); - } - - type = singleType || types[i]; - if (type === 0) { - i++; - continue; - } - - if (type == 'i64') type = 'i32'; // special case: we have one i32 here, and one i32 later - - setValue(ret+i, curr, type); - i += Runtime.getNativeTypeSize(type); - } - - return ret; -} -Module['allocate'] = allocate; - -function Pointer_stringify(ptr, /* optional */ length) { - var utf8 = new Runtime.UTF8Processor(); - var nullTerminated = typeof(length) == "undefined"; - var ret = ""; - var i = 0; - var t; - while (1) { - t = HEAPU8[(((ptr)+(i))|0)]; - if (nullTerminated && t == 0) break; - ret += utf8.processCChar(t); - i += 1; - if (!nullTerminated && i == length) break; - } - return ret; -} -Module['Pointer_stringify'] = Pointer_stringify; - -function Array_stringify(array) { - var ret = ""; - for (var i = 0; i < array.length; i++) { - ret += String.fromCharCode(array[i]); - } - return ret; -} -Module['Array_stringify'] = Array_stringify; - -// Memory management - -var PAGE_SIZE = 4096; -function alignMemoryPage(x) { - return ((x+4095)>>12)<<12; -} - -var HEAP; -var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64; - -var STACK_ROOT, STACKTOP, STACK_MAX; -var STATICTOP; -function enlargeMemory() { - abort('Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.'); -} - -var TOTAL_STACK = Module['TOTAL_STACK'] || 5242880; -var TOTAL_MEMORY = Module['TOTAL_MEMORY'] || 16777216; -var FAST_MEMORY = Module['FAST_MEMORY'] || 2097152; - -// Initialize the runtime's memory -// check for full engine support (use string 'subarray' to avoid closure compiler confusion) -assert(!!Int32Array && !!Float64Array && !!(new Int32Array(1)['subarray']) && !!(new Int32Array(1)['set']), - 'Cannot fallback to non-typed array case: Code is too specialized'); - -var buffer = new ArrayBuffer(TOTAL_MEMORY); -HEAP8 = new Int8Array(buffer); -HEAP16 = new Int16Array(buffer); -HEAP32 = new Int32Array(buffer); -HEAPU8 = new Uint8Array(buffer); -HEAPU16 = new Uint16Array(buffer); -HEAPU32 = new Uint32Array(buffer); -HEAPF32 = new Float32Array(buffer); -HEAPF64 = new Float64Array(buffer); - -// Endianness check (note: assumes compiler arch was little-endian) -HEAP32[0] = 255; -assert(HEAPU8[0] === 255 && HEAPU8[3] === 0, 'Typed arrays 2 must be run on a little-endian system'); - -Module['HEAP'] = HEAP; -Module['HEAP8'] = HEAP8; -Module['HEAP16'] = HEAP16; -Module['HEAP32'] = HEAP32; -Module['HEAPU8'] = HEAPU8; -Module['HEAPU16'] = HEAPU16; -Module['HEAPU32'] = HEAPU32; -Module['HEAPF32'] = HEAPF32; -Module['HEAPF64'] = HEAPF64; - -STACK_ROOT = STACKTOP = Runtime.alignMemory(1); -STACK_MAX = TOTAL_STACK; // we lose a little stack here, but TOTAL_STACK is nice and round so use that as the max - -var tempDoublePtr = Runtime.alignMemory(allocate(12, 'i8', ALLOC_STACK), 8); -assert(tempDoublePtr % 8 == 0); -function copyTempFloat(ptr) { // functions, because inlining this code increases code size too much - HEAP8[tempDoublePtr] = HEAP8[ptr]; - HEAP8[tempDoublePtr+1] = HEAP8[ptr+1]; - HEAP8[tempDoublePtr+2] = HEAP8[ptr+2]; - HEAP8[tempDoublePtr+3] = HEAP8[ptr+3]; -} -function copyTempDouble(ptr) { - HEAP8[tempDoublePtr] = HEAP8[ptr]; - HEAP8[tempDoublePtr+1] = HEAP8[ptr+1]; - HEAP8[tempDoublePtr+2] = HEAP8[ptr+2]; - HEAP8[tempDoublePtr+3] = HEAP8[ptr+3]; - HEAP8[tempDoublePtr+4] = HEAP8[ptr+4]; - HEAP8[tempDoublePtr+5] = HEAP8[ptr+5]; - HEAP8[tempDoublePtr+6] = HEAP8[ptr+6]; - HEAP8[tempDoublePtr+7] = HEAP8[ptr+7]; -} - -STATICTOP = STACK_MAX; -assert(STATICTOP < TOTAL_MEMORY); // Stack must fit in TOTAL_MEMORY; allocations from here on may enlarge TOTAL_MEMORY - -var nullString = allocate(intArrayFromString('(null)'), 'i8', ALLOC_STACK); - -function callRuntimeCallbacks(callbacks) { - while(callbacks.length > 0) { - var callback = callbacks.shift(); - var func = callback.func; - if (typeof func === 'number') { - if (callback.arg === undefined) { - Runtime.dynCall('v', func); - } else { - Runtime.dynCall('vi', func, [callback.arg]); - } - } else { - func(callback.arg === undefined ? null : callback.arg); - } - } -} - -var __ATINIT__ = []; // functions called during startup -var __ATMAIN__ = []; // functions called when main() is to be run -var __ATEXIT__ = []; // functions called during shutdown - -function initRuntime() { - callRuntimeCallbacks(__ATINIT__); -} -function preMain() { - callRuntimeCallbacks(__ATMAIN__); -} -function exitRuntime() { - callRuntimeCallbacks(__ATEXIT__); -} - -// Tools - -// This processes a JS string into a C-line array of numbers, 0-terminated. -// For LLVM-originating strings, see parser.js:parseLLVMString function -function intArrayFromString(stringy, dontAddNull, length /* optional */) { - var ret = (new Runtime.UTF8Processor()).processJSString(stringy); - if (length) { - ret.length = length; - } - if (!dontAddNull) { - ret.push(0); - } - return ret; -} -Module['intArrayFromString'] = intArrayFromString; - -function intArrayToString(array) { - var ret = []; - for (var i = 0; i < array.length; i++) { - var chr = array[i]; - if (chr > 0xFF) { - chr &= 0xFF; - } - ret.push(String.fromCharCode(chr)); - } - return ret.join(''); -} -Module['intArrayToString'] = intArrayToString; - -// Write a Javascript array to somewhere in the heap -function writeStringToMemory(string, buffer, dontAddNull) { - var array = intArrayFromString(string, dontAddNull); - var i = 0; - while (i < array.length) { - var chr = array[i]; - HEAP8[(((buffer)+(i))|0)]=chr - i = i + 1; - } -} -Module['writeStringToMemory'] = writeStringToMemory; - -function writeArrayToMemory(array, buffer) { - for (var i = 0; i < array.length; i++) { - HEAP8[(((buffer)+(i))|0)]=array[i]; - } -} -Module['writeArrayToMemory'] = writeArrayToMemory; - -function unSign(value, bits, ignore, sig) { - if (value >= 0) { - return value; - } - return bits <= 32 ? 2*Math.abs(1 << (bits-1)) + value // Need some trickery, since if bits == 32, we are right at the limit of the bits JS uses in bitshifts - : Math.pow(2, bits) + value; -} -function reSign(value, bits, ignore, sig) { - if (value <= 0) { - return value; - } - var half = bits <= 32 ? Math.abs(1 << (bits-1)) // abs is needed if bits == 32 - : Math.pow(2, bits-1); - if (value >= half && (bits <= 32 || value > half)) { // for huge values, we can hit the precision limit and always get true here. so don't do that - // but, in general there is no perfect solution here. With 64-bit ints, we get rounding and errors - // TODO: In i64 mode 1, resign the two parts separately and safely - value = -2*half + value; // Cannot bitshift half, as it may be at the limit of the bits JS uses in bitshifts - } - return value; -} - -if (!Math.imul) Math.imul = function(a, b) { - var ah = a >>> 16; - var al = a & 0xffff; - var bh = b >>> 16; - var bl = b & 0xffff; - return (al*bl + ((ah*bl + al*bh) << 16))|0; -}; - -// 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 -// PRE_RUN_ADDITIONS (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 runDependencyTracking = {}; -var calledRun = false; -var runDependencyWatcher = null; -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() { - var shown = false; - for (var dep in runDependencyTracking) { - if (!shown) { - shown = true; - Module.printErr('still waiting on run dependencies:'); - } - Module.printErr('dependency: ' + dep); - } - if (shown) { - Module.printErr('(end of list)'); - } - }, 6000); - } - } else { - Module.printErr('warning: run dependency added without ID'); - } -} -Module['addRunDependency'] = addRunDependency; -function removeRunDependency(id) { - runDependencies--; - if (Module['monitorRunDependencies']) { - Module['monitorRunDependencies'](runDependencies); - } - if (id) { - assert(runDependencyTracking[id]); - delete runDependencyTracking[id]; - } else { - Module.printErr('warning: run dependency removed without ID'); - } - if (runDependencies == 0) { - if (runDependencyWatcher !== null) { - clearInterval(runDependencyWatcher); - runDependencyWatcher = null; - } - // If run has never been called, and we should call run (INVOKE_RUN is true, and Module.noInitialRun is not false) - if (!calledRun && shouldRunNow) run(); - } -} -Module['removeRunDependency'] = removeRunDependency; - -Module["preloadedImages"] = {}; // maps url to image data -Module["preloadedAudios"] = {}; // maps url to audio data - -// === Body === - - - -assert(STATICTOP == STACK_MAX); assert(STACK_MAX == TOTAL_STACK); - -STATICTOP += 31696; - -assert(STATICTOP < TOTAL_MEMORY); - - -var _stdout; -var _stdin; -var _stderr; - - -__ATINIT__ = __ATINIT__.concat([ - { func: function() { __GLOBAL__I_a999() } }, - { func: function() { __GLOBAL__I_a291() } } -]); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var ___dso_handle; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var __ZTVN10__cxxabiv120__si_class_type_infoE; -var __ZTVN10__cxxabiv119__pointer_type_infoE; -var __ZTVN10__cxxabiv117__class_type_infoE; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -var __ZTIc; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -allocate([87,97,114,110,105,110,103,44,32,110,111,110,111,114,116,104,111,103,111,110,97,108,32,101,100,103,101,46,0] /* Warning, nonorthogon */, "i8", ALLOC_NONE, 5242880); -allocate(24, "i8", ALLOC_NONE, 5242912); -allocate([65,0,0,0,112,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5242936); -allocate([77,0,0,0,97,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5242952); -allocate([117,110,115,117,112,112,111,114,116,101,100,32,108,111,99,97,108,101,32,102,111,114,32,115,116,97,110,100,97,114,100,32,105,110,112,117,116,0] /* unsupported locale f */, "i8", ALLOC_NONE, 5242968); -allocate([40,112,111,115,110,41,61,61,40,112,111,115,110,41,0] /* (posn)==(posn)\00 */, "i8", ALLOC_NONE, 5243008); -allocate([70,0,0,0,101,0,0,0,98,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243024); -allocate([112,99,46,105,110,100,101,120,49,32,33,61,32,112,99,46,105,110,100,101,120,50,0] /* pc.index1 != pc.inde */, "i8", ALLOC_NONE, 5243040); -allocate([74,0,0,0,97,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243064); -allocate([101,110,100,115,46,102,105,114,115,116,32,33,61,32,95,95,110,117,108,108,0] /* ends.first != __null */, "i8", ALLOC_NONE, 5243080); -allocate([109,95,99,111,110,110,95,114,101,102,32,61,61,32,95,95,110,117,108,108,0] /* m_conn_ref == __null */, "i8", ALLOC_NONE, 5243104); -allocate([68,0,0,0,101,0,0,0,99,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243128); -allocate([78,0,0,0,111,0,0,0,118,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243164); -allocate([40,33,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,38,38,32,40,95,115,104,97,112,101,86,101,114,116,105,99,101,115,32,61,61,32,48,41,41,32,124,124,32,40,40,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,45,62,108,115,116,80,114,101,118,32,61,61,32,95,95,110,117,108,108,41,32,38,38,32,40,95,115,104,97,112,101,86,101,114,116,105,99,101,115,32,62,32,48,41,41,0] /* (!_firstShapeVert && */, "i8", ALLOC_NONE, 5243200); -allocate([110,101,119,32,83,104,97,112,101,82,101,102,40,114,111,117,116,101,114,44,32,112,111,108,121,37,117,44,32,37,117,41,59,10,0] /* new ShapeRef(router, */, "i8", ALLOC_NONE, 5243312); -allocate([79,0,0,0,99,0,0,0,116,0,0,0,111,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243348); -allocate([118,105,115,71,114,97,112,104,46,115,105,122,101,40,41,32,61,61,32,48,0] /* visGraph.size() == 0 */, "i8", ALLOC_NONE, 5243380); -allocate([83,0,0,0,101,0,0,0,112,0,0,0,116,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243404); -allocate([32,32,32,32,42,47,10,0] /* _/\0A\00 */, "i8", ALLOC_NONE, 5243444); -allocate([65,0,0,0,117,0,0,0,103,0,0,0,117,0,0,0,115,0,0,0,116,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243452); -allocate([74,0,0,0,117,0,0,0,108,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243480); -allocate([32,32,32,32,110,101,119,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,115,104,97,112,101,82,101,102,37,117,44,32,37,117,44,32,37,103,44,32,37,103,44,32,37,103,44,32,40,67,111,110,110,68,105,114,70,108,97,103,115,41,32,37,117,41,59,10,0] /* new ShapeConnect */, "i8", ALLOC_NONE, 5243500); -allocate([74,0,0,0,117,0,0,0,110,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243576); -allocate([65,0,0,0,112,0,0,0,114,0,0,0,105,0,0,0,108,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243596); -allocate([112,111,116,101,110,116,105,97,108,67,111,110,115,116,114,97,105,110,116,115,46,115,105,122,101,40,41,32,62,32,48,0] /* potentialConstraints */, "i8", ALLOC_NONE, 5243620); -allocate([77,0,0,0,97,0,0,0,114,0,0,0,99,0,0,0,104,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243652); -allocate([101,110,100,115,46,102,105,114,115,116,32,61,61,32,115,111,117,114,99,101,0] /* ends.first == source */, "i8", ALLOC_NONE, 5243676); -allocate([109,95,97,110,99,104,111,114,95,111,98,106,0] /* m_anchor_obj\00 */, "i8", ALLOC_NONE, 5243700); -allocate([40,116,121,112,101,32,61,61,32,83,104,97,112,101,77,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,82,101,109,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,77,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,82,101,109,111,118,101,41,0] /* (type == ShapeMove) */, "i8", ALLOC_NONE, 5243716); -allocate([70,0,0,0,101,0,0,0,98,0,0,0,114,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243864); -allocate([33,40,99,101,110,116,101,114,73,68,46,105,115,67,111,110,110,80,116,40,41,41,32,124,124,32,40,115,115,46,102,105,110,100,40,107,45,62,105,100,46,111,98,106,73,68,41,32,61,61,32,115,115,46,101,110,100,40,41,41,0] /* !(centerID.isConnPt( */, "i8", ALLOC_NONE, 5243900); -allocate([74,0,0,0,97,0,0,0,110,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5243964); -allocate([40,33,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,38,38,32,40,95,99,111,110,110,86,101,114,116,105,99,101,115,32,61,61,32,48,41,41,32,124,124,32,40,40,95,102,105,114,115,116,67,111,110,110,86,101,114,116,45,62,108,115,116,80,114,101,118,32,61,61,32,95,95,110,117,108,108,41,32,38,38,32,40,95,99,111,110,110,86,101,114,116,105,99,101,115,32,62,32,48,41,41,0] /* (!_firstConnVert && */, "i8", ALLOC_NONE, 5243996); -allocate([83,104,97,112,101,82,101,102,32,42,115,104,97,112,101,82,101,102,37,117,32,61,32,0] /* ShapeRef _shapeRef%u */, "i8", ALLOC_NONE, 5244104); -allocate([99,111,110,110,82,101,102,115,46,115,105,122,101,40,41,32,61,61,32,48,0] /* connRefs.size() == 0 */, "i8", ALLOC_NONE, 5244128); -allocate([80,77,0] /* PM\00 */, "i8", ALLOC_NONE, 5244152); -allocate([118,112,115,99,46,99,112,112,0] /* vpsc.cpp\00 */, "i8", ALLOC_NONE, 5244156); -allocate([99,117,114,114,32,61,61,32,109,95,102,105,114,115,116,95,118,101,114,116,0] /* curr == m_first_vert */, "i8", ALLOC_NONE, 5244168); -allocate([105,115,79,114,116,104,111,103,111,110,97,108,32,124,124,32,114,111,117,116,101,114,45,62,118,101,114,116,105,99,101,115,46,103,101,116,86,101,114,116,101,120,66,121,80,111,115,40,99,66,111,117,110,100,97,114,121,46,97,116,40,106,41,41,0] /* isOrthogonal || rout */, "i8", ALLOC_NONE, 5244192); -allocate([32,32,32,32,47,47,32,84,104,105,115,32,109,97,121,32,98,101,32,117,115,101,102,117,108,32,105,102,32,106,117,110,99,116,105,111,110,32,112,105,110,115,32,97,114,101,32,109,111,100,105,102,105,101,100,46,10,0] /* // This may be u */, "i8", ALLOC_NONE, 5244260); -allocate([65,77,0] /* AM\00 */, "i8", ALLOC_NONE, 5244320); -allocate([109,95,114,111,117,116,101,114,45,62,73,110,118,105,115,105,98,105,108,105,116,121,71,114,112,104,0] /* m_router-_Invisibili */, "i8", ALLOC_NONE, 5244324); -allocate([98,97,115,105,99,95,115,116,114,105,110,103,0] /* basic_string\00 */, "i8", ALLOC_NONE, 5244352); -allocate([80,0,0,0,77,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244368); -allocate([115,99,97,110,108,105,110,101,46,99,112,112,0] /* scanline.cpp\00 */, "i8", ALLOC_NONE, 5244380); -allocate([65,0,0,0,77,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244396); -allocate([117,110,115,97,116,105,115,102,105,101,100,82,97,110,103,101,115,46,115,105,122,101,40,41,32,62,32,48,0] /* unsatisfiedRanges.si */, "i8", ALLOC_NONE, 5244408); -allocate([99,111,110,110,32,33,61,32,95,95,110,117,108,108,0] /* conn != __null\00 */, "i8", ALLOC_NONE, 5244440); -allocate([105,115,80,105,110,67,111,110,110,101,99,116,105,111,110,40,41,0] /* isPinConnection()\00 */, "i8", ALLOC_NONE, 5244456); -allocate([116,121,112,101,32,61,61,32,67,111,110,110,101,99,116,105,111,110,80,105,110,67,104,97,110,103,101,0] /* type == ConnectionPi */, "i8", ALLOC_NONE, 5244476); -allocate([99,101,110,116,101,114,73,110,102,32,33,61,32,107,0] /* centerInf != k\00 */, "i8", ALLOC_NONE, 5244504); -allocate([111,114,116,104,111,103,111,110,97,108,46,99,112,112,0] /* orthogonal.cpp\00 */, "i8", ALLOC_NONE, 5244520); -allocate([32,32,32,32,0] /* \00 */, "i8", ALLOC_NONE, 5244536); -allocate([109,95,111,98,115,116,97,99,108,101,115,46,115,105,122,101,40,41,32,61,61,32,48,0] /* m_obstacles.size() = */, "i8", ALLOC_NONE, 5244544); -allocate([99,117,114,114,45,62,105,110,118,105,115,76,105,115,116,83,105,122,101,32,61,61,32,48,0] /* curr-_invisListSize */, "i8", ALLOC_NONE, 5244568); -allocate([99,66,111,117,110,100,97,114,121,46,112,115,91,48,93,32,33,61,32,99,66,111,117,110,100,97,114,121,46,112,115,91,99,66,111,117,110,100,97,114,121,46,115,105,122,101,40,41,32,45,32,49,93,0] /* cBoundary.ps[0] != c */, "i8", ALLOC_NONE, 5244596); -allocate(1, "i8", ALLOC_NONE, 5244652); -allocate([32,32,32,32,47,42,10,0] /* /_\0A\00 */, "i8", ALLOC_NONE, 5244656); -allocate([33,109,95,97,100,100,101,100,0] /* !m_added\00 */, "i8", ALLOC_NONE, 5244664); -allocate([109,95,115,104,97,112,101,32,124,124,32,109,95,106,117,110,99,116,105,111,110,0] /* m_shape || m_junctio */, "i8", ALLOC_NONE, 5244676); -allocate([109,116,115,116,46,99,112,112,0] /* mtst.cpp\00 */, "i8", ALLOC_NONE, 5244700); -allocate([118,45,62,108,101,102,116,45,62,98,108,111,99,107,32,61,61,32,118,45,62,114,105,103,104,116,45,62,98,108,111,99,107,0] /* v-_left-_block == v- */, "i8", ALLOC_NONE, 5244712); -allocate([98,97,115,101,83,101,112,68,105,115,116,32,62,61,32,48,0] /* baseSepDist _= 0\00 */, "i8", ALLOC_NONE, 5244748); -allocate([109,95,97,99,116,105,118,101,95,112,105,110,32,61,61,32,95,95,110,117,108,108,0] /* m_active_pin == __nu */, "i8", ALLOC_NONE, 5244768); -allocate([108,111,99,97,108,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0] /* locale not supported */, "i8", ALLOC_NONE, 5244792); -allocate([116,121,112,101,32,61,61,32,67,111,110,110,67,104,97,110,103,101,0] /* type == ConnChange\0 */, "i8", ALLOC_NONE, 5244816); -allocate([109,95,97,99,116,105,118,101,0] /* m_active\00 */, "i8", ALLOC_NONE, 5244836); -allocate([37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244848); -allocate([112,97,116,104,108,101,110,32,60,32,50,48,48,48,48,0] /* pathlen _ 20000\00 */, "i8", ALLOC_NONE, 5244896); -allocate([104,121,112,101,114,101,100,103,101,46,99,112,112,0] /* hyperedge.cpp\00 */, "i8", ALLOC_NONE, 5244912); -allocate([32,32,32,32,112,111,108,121,37,117,46,112,115,91,37,108,117,93,32,61,32,80,111,105,110,116,40,37,103,44,32,37,103,41,59,10,0] /* poly%u.ps[%lu] = */, "i8", ALLOC_NONE, 5244928); -allocate([37,73,58,37,77,58,37,83,32,37,112,0] /* %I:%M:%S %p\00 */, "i8", ALLOC_NONE, 5244968); -allocate([37,0,0,0,97,0,0,0,32,0,0,0,37,0,0,0,98,0,0,0,32,0,0,0,37,0,0,0,100,0,0,0,32,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,89,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5244980); -allocate([99,117,114,114,45,62,118,105,115,76,105,115,116,83,105,122,101,32,61,61,32,48,0] /* curr-_visListSize == */, "i8", ALLOC_NONE, 5245064); -allocate([78,111,100,101,46,103,32,62,61,32,40,97,116,105,46,103,32,45,32,49,48,101,45,49,48,41,0] /* Node.g _= (ati.g - 1 */, "i8", ALLOC_NONE, 5245088); -allocate([108,108,0] /* ll\00 */, "i8", ALLOC_NONE, 5245116); -allocate([32,32,32,32,106,117,110,99,116,105,111,110,82,101,102,37,117,45,62,115,101,116,80,111,115,105,116,105,111,110,70,105,120,101,100,40,116,114,117,101,41,59,10,0] /* junctionRef%u-_s */, "i8", ALLOC_NONE, 5245120); -allocate([37,97,32,37,98,32,37,100,32,37,72,58,37,77,58,37,83,32,37,89,0] /* %a %b %d %H:%M:%S %Y */, "i8", ALLOC_NONE, 5245164); -allocate([109,95,97,100,100,101,100,32,61,61,32,116,114,117,101,0] /* m_added == true\00 */, "i8", ALLOC_NONE, 5245188); -allocate([87,97,114,110,105,110,103,58,32,73,110,32,67,111,110,110,82,101,102,58,58,103,101,116,67,111,110,110,69,110,100,70,111,114,69,110,100,112,111,105,110,116,86,101,114,116,101,120,40,41,58,10,32,32,32,32,32,32,32,32,32,67,111,110,110,69,110,100,32,102,111,114,32,99,111,110,110,101,99,116,111,114,32,37,100,32,105,115,32,117,110,105,110,105,116,105,97,108,105,115,101,100,46,32,32,73,116,32,109,97,121,32,104,97,118,101,32,98,101,101,110,10,32,32,32,32,32,32,32,32,32,115,101,116,32,98,117,116,32,82,111,117,116,101,114,58,58,112,114,111,99,101,115,115,84,114,97,110,99,97,99,116,105,111,110,32,104,97,115,32,110,111,116,32,121,101,116,32,98,101,101,110,32,99,97,108,108,101,100,46,10,0] /* Warning: In ConnRef: */, "i8", ALLOC_NONE, 5245204); -allocate([109,97,121,98,101,90,101,114,111,32,62,61,32,48,0] /* maybeZero _= 0\00 */, "i8", ALLOC_NONE, 5245396); -allocate([37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5245412); -allocate([97,99,116,105,111,110,105,110,102,111,46,99,112,112,0] /* actioninfo.cpp\00 */, "i8", ALLOC_NONE, 5245448); -allocate([109,95,106,117,110,99,116,105,111,110,32,33,61,32,95,95,110,117,108,108,0] /* m_junction != __null */, "i8", ALLOC_NONE, 5245464); -allocate([37,72,58,37,77,58,37,83,0] /* %H:%M:%S\00 */, "i8", ALLOC_NONE, 5245488); -allocate([37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5245500); -allocate([33,118,45,62,101,113,117,97,108,105,116,121,0] /* !v-_equality\00 */, "i8", ALLOC_NONE, 5245536); -allocate([99,111,110,110,101,110,100,46,99,112,112,0] /* connend.cpp\00 */, "i8", ALLOC_NONE, 5245552); -allocate([37,109,47,37,100,47,37,121,0] /* %m/%d/%y\00 */, "i8", ALLOC_NONE, 5245564); -allocate([109,95,98,97,108,97,110,99,101,95,99,111,117,110,116,32,33,61,32,48,0] /* m_balance_count != 0 */, "i8", ALLOC_NONE, 5245576); -allocate([98,108,117,101,0] /* blue\00 */, "i8", ALLOC_NONE, 5245600); -allocate([109,95,99,111,110,110,95,114,101,102,32,33,61,32,95,95,110,117,108,108,0] /* m_conn_ref != __null */, "i8", ALLOC_NONE, 5245608); -allocate([40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,82,101,109,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,77,111,118,101,41,0] /* (type == JunctionAdd */, "i8", ALLOC_NONE, 5245632); -allocate([102,0,0,0,97,0,0,0,108,0,0,0,115,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5245708); -allocate([112,73,68,46,105,115,67,111,110,110,80,116,40,41,0] /* pID.isConnPt()\00 */, "i8", ALLOC_NONE, 5245732); -allocate([33,109,95,97,99,116,105,118,101,0] /* !m_active\00 */, "i8", ALLOC_NONE, 5245748); -allocate([105,100,46,105,115,67,111,110,110,80,116,40,41,0] /* id.isConnPt()\00 */, "i8", ALLOC_NONE, 5245760); -allocate([102,97,108,115,101,0] /* false\00 */, "i8", ALLOC_NONE, 5245776); -allocate([32,32,32,32,80,111,108,121,103,111,110,32,112,111,108,121,37,117,40,37,108,117,41,59,10,0] /* Polygon poly%u(% */, "i8", ALLOC_NONE, 5245784); -allocate([116,0,0,0,114,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5245812); -allocate([40,112,48,46,120,32,61,61,32,112,49,46,120,41,32,124,124,32,40,112,48,46,121,32,61,61,32,112,49,46,121,41,0] /* (p0.x == p1.x) || (p */, "i8", ALLOC_NONE, 5245832); -allocate([116,114,117,101,0] /* true\00 */, "i8", ALLOC_NONE, 5245868); -allocate([109,95,112,111,108,121,103,111,110,46,115,105,122,101,40,41,32,61,61,32,112,111,108,121,46,115,105,122,101,40,41,0] /* m_polygon.size() == */, "i8", ALLOC_NONE, 5245876); -allocate([99,117,114,114,46,112,114,101,118,73,110,100,101,120,32,61,61,32,48,0] /* curr.prevIndex == 0\ */, "i8", ALLOC_NONE, 5245908); -allocate([32,32,32,32,74,117,110,99,116,105,111,110,82,101,102,32,42,106,117,110,99,116,105,111,110,82,101,102,37,117,32,61,32,110,101,119,32,74,117,110,99,116,105,111,110,82,101,102,40,114,111,117,116,101,114,44,32,80,111,105,110,116,40,37,103,44,32,37,103,41,44,32,37,117,41,59,10,0] /* JunctionRef _jun */, "i8", ALLOC_NONE, 5245928); -allocate([98,50,32,33,61,32,99,80,116,0] /* b2 != cPt\00 */, "i8", ALLOC_NONE, 5246008); -allocate([109,95,118,105,115,105,98,108,101,0] /* m_visible\00 */, "i8", ALLOC_NONE, 5246020); -allocate([40,116,121,112,101,32,61,61,32,40,117,110,115,105,103,110,101,100,32,105,110,116,41,32,86,101,114,116,73,68,58,58,115,114,99,41,32,124,124,32,40,116,121,112,101,32,61,61,32,40,117,110,115,105,103,110,101,100,32,105,110,116,41,32,86,101,114,116,73,68,58,58,116,97,114,41,0] /* (type == (unsigned i */, "i8", ALLOC_NONE, 5246032); -allocate([105,110,100,101,120,32,60,32,115,105,122,101,40,41,0] /* index _ size()\00 */, "i8", ALLOC_NONE, 5246112); -allocate([46,46,47,108,105,98,97,118,111,105,100,47,103,101,111,109,101,116,114,121,46,104,0] /* ../libavoid/geometry */, "i8", ALLOC_NONE, 5246128); -allocate([98,49,32,33,61,32,99,80,116,0] /* b1 != cPt\00 */, "i8", ALLOC_NONE, 5246152); -allocate([97,50,32,33,61,32,99,80,116,0] /* a2 != cPt\00 */, "i8", ALLOC_NONE, 5246164); -allocate([121,80,111,114,116,105,111,110,79,102,102,115,101,116,32,118,97,108,117,101,32,40,37,103,41,32,105,110,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,99,111,110,115,116,114,117,99,116,111,114,32,110,111,116,32,98,101,116,119,101,101,110,32,48,32,97,110,100,32,49,46,10,0] /* yPortionOffset value */, "i8", ALLOC_NONE, 5246176); -allocate([97,49,32,33,61,32,99,80,116,0] /* a1 != cPt\00 */, "i8", ALLOC_NONE, 5246260); -allocate([85,110,115,97,116,105,115,102,105,101,100,32,99,111,110,115,116,114,97,105,110,116,58,32,0] /* Unsatisfied constrai */, "i8", ALLOC_NONE, 5246272); -allocate([33,112,111,108,121,73,115,67,111,110,110,32,124,124,32,40,106,32,62,61,32,50,41,0] /* !polyIsConn || (j _= */, "i8", ALLOC_NONE, 5246300); -allocate([109,95,98,97,108,97,110,99,101,95,99,111,117,110,116,95,115,101,116,0] /* m_balance_count_set\ */, "i8", ALLOC_NONE, 5246324); -allocate([60,112,97,116,104,32,105,100,61,34,37,115,45,37,117,34,32,100,61,34,77,32,37,103,32,37,103,32,76,32,37,103,32,37,103,34,32,99,108,97,115,115,61,34,104,121,112,101,114,101,100,103,101,34,32,115,116,121,108,101,61,34,115,116,114,111,107,101,58,32,37,115,59,34,32,47,62,10,0] /* _path id=\22%s-%u\22 */, "i8", ALLOC_NONE, 5246344); -allocate([115,101,108,102,45,62,106,117,110,99,116,105,111,110,0] /* self-_junction\00 */, "i8", ALLOC_NONE, 5246424); -allocate([109,95,116,111,112,111,108,111,103,121,95,97,100,100,111,110,0] /* m_topology_addon\00 */, "i8", ALLOC_NONE, 5246440); -allocate([109,95,99,111,110,110,101,99,116,105,111,110,95,112,105,110,95,99,108,97,115,115,95,105,100,32,33,61,32,67,79,78,78,69,67,84,73,79,78,80,73,78,95,85,78,83,69,84,0] /* m_connection_pin_cla */, "i8", ALLOC_NONE, 5246460); -allocate([97,112,32,61,61,32,98,112,0] /* ap == bp\00 */, "i8", ALLOC_NONE, 5246512); -allocate([118,105,115,105,98,105,108,105,116,121,46,99,112,112,0] /* visibility.cpp\00 */, "i8", ALLOC_NONE, 5246524); -allocate([97,110,32,61,61,32,98,110,0] /* an == bn\00 */, "i8", ALLOC_NONE, 5246540); -allocate([111,114,112,104,97,110,101,100,40,41,0] /* orphaned()\00 */, "i8", ALLOC_NONE, 5246552); -allocate([99,68,105,102,102,32,60,32,50,49,52,55,52,56,51,54,52,55,76,0] /* cDiff _ 2147483647L\ */, "i8", ALLOC_NONE, 5246564); -allocate([116,105,109,101,114,46,99,112,112,0] /* timer.cpp\00 */, "i8", ALLOC_NONE, 5246584); -allocate([99,111,110,110,69,110,100,45,62,109,95,99,111,110,110,95,114,101,102,32,33,61,32,95,95,110,117,108,108,0] /* connEnd-_m_conn_ref */, "i8", ALLOC_NONE, 5246596); -allocate([115,105,122,101,32,62,32,48,32,124,124,32,98,97,99,107,95,115,97,109,101,0] /* size _ 0 || back_sam */, "i8", ALLOC_NONE, 5246628); -allocate([40,42,118,50,41,45,62,115,112,116,102,68,105,115,116,32,61,61,32,48,0] /* (_v2)-_sptfDist == 0 */, "i8", ALLOC_NONE, 5246652); -allocate([115,105,122,101,32,62,32,40,115,116,97,114,116,80,116,32,43,32,49,41,0] /* size _ (startPt + 1) */, "i8", ALLOC_NONE, 5246676); -allocate([109,95,102,105,114,115,116,95,118,101,114,116,32,33,61,32,95,95,110,117,108,108,0] /* m_first_vert != __nu */, "i8", ALLOC_NONE, 5246700); -allocate([60,47,103,62,10,60,103,32,105,100,61,34,112,114,117,110,101,100,45,37,117,34,32,105,110,107,115,99,97,112,101,58,103,114,111,117,112,109,111,100,101,61,34,108,97,121,101,114,34,32,115,116,121,108,101,61,34,100,105,115,112,108,97,121,58,32,110,111,110,101,59,34,32,105,110,107,115,99,97,112,101,58,108,97,98,101,108,61,34,112,114,117,110,101,100,45,37,48,50,117,34,62,10,0] /* _/g_\0A_g id=\22prun */, "i8", ALLOC_NONE, 5246724); -allocate([99,117,114,114,32,33,61,32,95,95,110,117,108,108,0] /* curr != __null\00 */, "i8", ALLOC_NONE, 5246828); -allocate([114,111,117,116,101,114,0] /* router\00 */, "i8", ALLOC_NONE, 5246844); -allocate([69,82,82,79,82,58,32,83,104,97,112,101,82,101,102,58,58,126,83,104,97,112,101,82,101,102,40,41,32,115,104,111,117,108,100,110,39,116,32,98,101,32,99,97,108,108,101,100,32,100,105,114,101,99,116,108,121,46,10,0] /* ERROR: ShapeRef::~Sh */, "i8", ALLOC_NONE, 5246852); -allocate([109,95,97,100,100,101,100,32,61,61,32,102,97,108,115,101,0] /* m_added == false\00 */, "i8", ALLOC_NONE, 5246912); -allocate([111,108,100,84,114,101,101,82,111,111,116,80,116,114,50,0] /* oldTreeRootPtr2\00 */, "i8", ALLOC_NONE, 5246932); -allocate([32,32,32,32,32,32,32,73,116,32,105,115,32,111,119,110,101,100,32,98,121,32,116,104,101,32,114,111,117,116,101,114,46,32,32,67,97,108,108,32,82,111,117,116,101,114,58,58,100,101,108,101,116,101,67,111,110,110,101,99,116,111,114,40,41,32,105,110,115,116,101,97,100,46,10,0] /* It is owned b */, "i8", ALLOC_NONE, 5246948); -allocate([97,110,103,32,60,61,32,51,54,48,0] /* ang _= 360\00 */, "i8", ALLOC_NONE, 5247024); -allocate([111,108,100,84,114,101,101,82,111,111,116,80,116,114,49,0] /* oldTreeRootPtr1\00 */, "i8", ALLOC_NONE, 5247036); -allocate([99,73,110,100,101,120,32,60,32,99,111,110,110,46,115,105,122,101,40,41,0] /* cIndex _ conn.size() */, "i8", ALLOC_NONE, 5247052); -allocate([120,80,111,114,116,105,111,110,79,102,102,115,101,116,32,118,97,108,117,101,32,40,37,103,41,32,105,110,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,99,111,110,115,116,114,117,99,116,111,114,32,110,111,116,32,98,101,116,119,101,101,110,32,48,32,97,110,100,32,49,46,10,0] /* xPortionOffset value */, "i8", ALLOC_NONE, 5247076); -allocate([110,101,119,82,111,111,116,0] /* newRoot\00 */, "i8", ALLOC_NONE, 5247160); -allocate([99,73,110,100,101,120,32,62,61,32,49,0] /* cIndex _= 1\00 */, "i8", ALLOC_NONE, 5247168); -allocate([60,47,103,62,10,60,103,32,105,110,107,115,99,97,112,101,58,103,114,111,117,112,109,111,100,101,61,34,108,97,121,101,114,34,32,115,116,121,108,101,61,34,100,105,115,112,108,97,121,58,32,110,111,110,101,59,34,32,105,110,107,115,99,97,112,101,58,108,97,98,101,108,61,34,102,111,114,101,115,116,45,37,48,50,117,34,62,10,0] /* _/g_\0A_g inkscape:g */, "i8", ALLOC_NONE, 5247180); -allocate([33,115,112,108,105,116,67,111,110,115,116,114,97,105,110,116,45,62,97,99,116,105,118,101,0] /* !splitConstraint-_ac */, "i8", ALLOC_NONE, 5247272); -allocate([107,32,60,32,110,111,100,101,115,91,100,105,109,93,46,115,105,122,101,40,41,0] /* k _ nodes[dim].size( */, "i8", ALLOC_NONE, 5247300); -allocate([60,112,97,116,104,32,100,61,34,77,32,37,103,32,37,103,32,76,32,37,103,32,37,103,34,32,115,116,121,108,101,61,34,102,105,108,108,58,32,110,111,110,101,59,32,115,116,114,111,107,101,58,32,37,115,59,32,115,116,114,111,107,101,45,119,105,100,116,104,58,32,49,112,120,59,34,32,47,62,10,0] /* _path d=\22M %g %g L */, "i8", ALLOC_NONE, 5247324); -allocate([115,104,97,112,101,83,105,100,101,32,61,61,32,114,104,115,46,115,104,97,112,101,83,105,100,101,0] /* shapeSide == rhs.sha */, "i8", ALLOC_NONE, 5247408); -allocate([42,0] /* _\00 */, "i8", ALLOC_NONE, 5247436); -allocate([105,110,110,101,114,32,33,61,32,111,117,116,101,114,0] /* inner != outer\00 */, "i8", ALLOC_NONE, 5247440); -allocate([101,100,103,101,0] /* edge\00 */, "i8", ALLOC_NONE, 5247456); -allocate([99,111,110,110,32,124,124,32,106,117,110,99,116,105,111,110,0] /* conn || junction\00 */, "i8", ALLOC_NONE, 5247464); -allocate([60,47,103,62,10,60,103,32,105,100,61,34,106,111,105,110,45,37,117,34,32,105,110,107,115,99,97,112,101,58,103,114,111,117,112,109,111,100,101,61,34,108,97,121,101,114,34,32,105,110,107,115,99,97,112,101,58,108,97,98,101,108,61,34,106,111,105,110,45,37,48,50,117,34,62,10,0] /* _/g_\0A_g id=\22join */, "i8", ALLOC_NONE, 5247484); -allocate([40,116,121,112,101,32,61,61,32,83,104,97,112,101,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,82,101,109,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,77,111,118,101,41,0] /* (type == ShapeAdd) | */, "i8", ALLOC_NONE, 5247564); -allocate([109,95,99,111,110,110,101,99,116,105,111,110,95,112,105,110,95,99,108,97,115,115,95,105,100,32,62,32,48,0] /* m_connection_pin_cla */, "i8", ALLOC_NONE, 5247632); -allocate([109,95,115,116,97,114,116,95,118,101,114,116,0] /* m_start_vert\00 */, "i8", ALLOC_NONE, 5247664); -allocate([118,101,99,116,111,114,0] /* vector\00 */, "i8", ALLOC_NONE, 5247680); -allocate([112,117,114,112,108,101,0] /* purple\00 */, "i8", ALLOC_NONE, 5247688); -allocate([101,120,105,115,116,105,110,103,80,97,116,104,83,116,97,114,116,32,33,61,32,48,0] /* existingPathStart != */, "i8", ALLOC_NONE, 5247696); -allocate([118,101,114,116,105,99,101,115,46,99,112,112,0] /* vertices.cpp\00 */, "i8", ALLOC_NONE, 5247720); -allocate([60,112,97,116,104,32,100,61,34,77,32,37,103,32,37,103,32,76,32,37,103,32,37,103,34,32,100,98,58,115,112,116,102,68,105,115,116,61,34,37,103,34,32,115,116,121,108,101,61,34,102,105,108,108,58,32,110,111,110,101,59,32,115,116,114,111,107,101,58,32,37,115,59,32,115,116,114,111,107,101,45,119,105,100,116,104,58,32,49,112,120,59,34,32,47,62,10,0] /* _path d=\22M %g %g L */, "i8", ALLOC_NONE, 5247736); -allocate([114,117,110,110,105,110,103,0] /* running\00 */, "i8", ALLOC_NONE, 5247836); -allocate([115,104,97,112,101,46,99,112,112,0] /* shape.cpp\00 */, "i8", ALLOC_NONE, 5247844); -allocate([109,95,114,111,117,116,101,114,45,62,73,103,110,111,114,101,82,101,103,105,111,110,115,32,61,61,32,116,114,117,101,0] /* m_router-_IgnoreRegi */, "i8", ALLOC_NONE, 5247856); -allocate([98,108,97,99,107,0] /* black\00 */, "i8", ALLOC_NONE, 5247888); -allocate([87,97,114,110,105,110,103,58,32,115,107,105,112,112,105,110,103,32,99,104,101,99,107,112,111,105,110,116,32,102,111,114,32,99,111,110,110,101,99,116,111,114,32,37,100,32,97,116,32,40,37,103,44,32,37,103,41,46,10,0] /* Warning: skipping ch */, "i8", ALLOC_NONE, 5247896); -allocate([109,95,97,99,116,105,118,101,32,61,61,32,102,97,108,115,101,0] /* m_active == false\00 */, "i8", ALLOC_NONE, 5247956); -allocate([60,99,105,114,99,108,101,32,99,120,61,34,37,103,34,32,99,121,61,34,37,103,34,32,114,61,34,51,34,32,100,98,58,115,112,116,102,68,105,115,116,61,34,37,103,34,32,115,116,121,108,101,61,34,102,105,108,108,58,32,37,115,59,32,115,116,114,111,107,101,58,32,37,115,59,32,102,105,108,108,45,111,112,97,99,105,116,121,58,32,48,46,53,59,32,115,116,114,111,107,101,45,119,105,100,116,104,58,32,49,112,120,59,32,115,116,114,111,107,101,45,111,112,97,99,105,116,121,58,48,46,53,34,32,47,62,10,0] /* _circle cx=\22%g\22 */, "i8", ALLOC_NONE, 5247976); -allocate([114,111,117,116,101,114,45,62,73,103,110,111,114,101,82,101,103,105,111,110,115,32,61,61,32,116,114,117,101,0] /* router-_IgnoreRegion */, "i8", ALLOC_NONE, 5248116); -allocate([106,117,110,99,116,105,111,110,46,99,112,112,0] /* junction.cpp\00 */, "i8", ALLOC_NONE, 5248148); -allocate([112,97,116,104,46,115,105,122,101,40,41,32,61,61,32,50,0] /* path.size() == 2\00 */, "i8", ALLOC_NONE, 5248164); -allocate([114,111,117,116,101,114,46,99,112,112,0] /* router.cpp\00 */, "i8", ALLOC_NONE, 5248184); -allocate([109,95,118,101,114,116,49,45,62,95,114,111,117,116,101,114,32,61,61,32,109,95,118,101,114,116,50,45,62,95,114,111,117,116,101,114,0] /* m_vert1-__router == */, "i8", ALLOC_NONE, 5248196); -allocate([118,101,114,116,45,62,116,114,101,101,82,111,111,116,40,41,32,33,61,32,95,95,110,117,108,108,0] /* vert-_treeRoot() != */, "i8", ALLOC_NONE, 5248236); -allocate([69,82,82,79,82,58,32,67,111,110,110,82,101,102,58,58,126,67,111,110,110,82,101,102,40,41,32,115,104,111,117,108,100,110,39,116,32,98,101,32,99,97,108,108,101,100,32,100,105,114,101,99,116,108,121,46,10,0] /* ERROR: ConnRef::~Con */, "i8", ALLOC_NONE, 5248264); -allocate([37,46,48,76,102,0] /* %.0Lf\00 */, "i8", ALLOC_NONE, 5248324); -allocate([97,110,103,32,62,61,32,48,0] /* ang _= 0\00 */, "i8", ALLOC_NONE, 5248332); -allocate([115,116,100,58,58,98,97,100,95,97,108,108,111,99,0] /* std::bad_alloc\00 */, "i8", ALLOC_NONE, 5248344); -allocate([118,101,114,116,45,62,116,114,101,101,82,111,111,116,80,111,105,110,116,101,114,40,41,32,33,61,32,95,95,110,117,108,108,0] /* vert-_treeRootPointe */, "i8", ALLOC_NONE, 5248360); -allocate([97,98,115,40,118,101,114,116,101,120,45,62,112,97,116,104,78,101,120,116,45,62,105,100,46,118,110,32,45,32,118,101,114,116,101,120,45,62,105,100,46,118,110,41,32,33,61,32,50,0] /* abs(vertex-_pathNext */, "i8", ALLOC_NONE, 5248396); -allocate([109,95,99,108,97,115,115,95,105,100,32,62,32,48,0] /* m_class_id _ 0\00 */, "i8", ALLOC_NONE, 5248448); -allocate([103,114,101,101,110,0] /* green\00 */, "i8", ALLOC_NONE, 5248464); -allocate([109,95,114,101,114,111,117,116,101,95,102,108,97,103,95,112,116,114,32,33,61,32,95,95,110,117,108,108,0] /* m_reroute_flag_ptr ! */, "i8", ALLOC_NONE, 5248472); -allocate([33,118,45,62,97,99,116,105,118,101,0] /* !v-_active\00 */, "i8", ALLOC_NONE, 5248504); -allocate([109,111,110,101,121,95,103,101,116,32,101,114,114,111,114,0] /* money_get error\00 */, "i8", ALLOC_NONE, 5248516); -allocate([118,101,114,116,105,99,101,115,91,118,101,114,116,105,99,101,115,46,115,105,122,101,40,41,32,45,32,49,93,32,61,61,32,100,115,116,40,41,0] /* vertices[vertices.si */, "i8", ALLOC_NONE, 5248532); -allocate([101,97,45,62,118,32,33,61,32,101,98,45,62,118,0] /* ea-_v != eb-_v\00 */, "i8", ALLOC_NONE, 5248572); -allocate([60,47,103,62,10,60,47,103,62,10,0] /* _/g_\0A_/g_\0A\00 */, "i8", ALLOC_NONE, 5248588); -allocate([111,98,115,116,97,99,108,101,46,99,112,112,0] /* obstacle.cpp\00 */, "i8", ALLOC_NONE, 5248600); -allocate([115,99,97,110,108,105,110,101,46,115,105,122,101,40,41,32,61,61,32,48,0] /* scanline.size() == 0 */, "i8", ALLOC_NONE, 5248616); -allocate([37,76,102,0] /* %Lf\00 */, "i8", ALLOC_NONE, 5248640); -allocate([118,101,114,116,105,99,101,115,91,48,93,32,61,61,32,115,114,99,40,41,0] /* vertices[0] == src() */, "i8", ALLOC_NONE, 5248644); -allocate([99,117,114,114,86,101,114,116,32,33,61,32,95,95,110,117,108,108,0] /* currVert != __null\0 */, "i8", ALLOC_NONE, 5248668); -allocate([104,121,112,101,114,101,100,103,101,116,114,101,101,46,99,112,112,0] /* hyperedgetree.cpp\00 */, "i8", ALLOC_NONE, 5248688); -allocate([111,114,105,103,84,101,114,109,105,110,97,108,115,46,115,105,122,101,40,41,32,61,61,32,49,0] /* origTerminals.size() */, "i8", ALLOC_NONE, 5248708); -allocate([76,0] /* L\00 */, "i8", ALLOC_NONE, 5248736); -allocate([109,95,108,97,115,116,95,101,100,103,101,32,33,61,32,95,95,110,117,108,108,0] /* m_last_edge != __nul */, "i8", ALLOC_NONE, 5248740); -allocate([116,121,112,101,32,61,61,32,83,104,97,112,101,77,111,118,101,0] /* type == ShapeMove\00 */, "i8", ALLOC_NONE, 5248764); -allocate([118,101,114,116,105,99,101,115,46,115,105,122,101,40,41,32,62,61,32,50,0] /* vertices.size() _= 2 */, "i8", ALLOC_NONE, 5248784); -allocate([109,95,97,110,99,104,111,114,95,111,98,106,32,33,61,32,95,95,110,117,108,108,0] /* m_anchor_obj != __nu */, "i8", ALLOC_NONE, 5248808); -allocate([40,118,97,114,115,32,104,97,118,101,32,110,111,32,112,111,115,105,116,105,111,110,41,0] /* (vars have no positi */, "i8", ALLOC_NONE, 5248832); -allocate([98,101,103,105,110,32,60,32,102,105,110,105,115,104,0] /* begin _ finish\00 */, "i8", ALLOC_NONE, 5248856); -allocate([60,112,97,116,104,32,105,100,61,34,102,114,115,116,45,37,117,34,32,99,108,97,115,115,61,34,102,111,114,101,115,116,34,32,100,61,34,77,32,37,103,32,37,103,32,76,32,37,103,32,37,103,34,32,47,62,10,0] /* _path id=\22frst-%u\ */, "i8", ALLOC_NONE, 5248872); -allocate([109,97,107,101,112,97,116,104,46,99,112,112,0] /* makepath.cpp\00 */, "i8", ALLOC_NONE, 5248932); -allocate([111,112,116,105,111,110,32,60,32,108,97,115,116,82,111,117,116,105,110,103,79,112,116,105,111,110,77,97,114,107,101,114,0] /* option _ lastRouting */, "i8", ALLOC_NONE, 5248948); -allocate([109,95,108,97,115,116,95,101,100,103,101,32,61,61,32,95,95,110,117,108,108,0] /* m_last_edge == __nul */, "i8", ALLOC_NONE, 5248984); -allocate([118,101,99,68,105,114,40,100,44,32,98,44,32,101,41,32,62,32,48,0] /* vecDir(d, b, e) _ 0\ */, "i8", ALLOC_NONE, 5249008); -allocate([40,108,109,61,0] /* (lm=\00 */, "i8", ALLOC_NONE, 5249028); -allocate([118,101,114,116,76,105,110,101,46,112,111,115,32,60,32,104,111,114,105,76,105,110,101,46,102,105,110,105,115,104,0] /* vertLine.pos _ horiL */, "i8", ALLOC_NONE, 5249036); -allocate([117,45,62,112,97,116,104,78,101,120,116,32,124,124,32,40,117,45,62,115,112,116,102,68,105,115,116,32,61,61,32,48,41,0] /* u-_pathNext || (u-_s */, "i8", ALLOC_NONE, 5249068); -allocate([33,114,117,110,110,105,110,103,0] /* !running\00 */, "i8", ALLOC_NONE, 5249104); -allocate([112,97,114,97,109,101,116,101,114,32,60,32,108,97,115,116,82,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,77,97,114,107,101,114,0] /* parameter _ lastRout */, "i8", ALLOC_NONE, 5249116); -allocate([32,32,32,32,32,32,32,73,116,32,105,115,32,111,119,110,101,100,32,98,121,32,116,104,101,32,114,111,117,116,101,114,46,32,32,67,97,108,108,32,82,111,117,116,101,114,58,58,100,101,108,101,116,101,83,104,97,112,101,40,41,32,105,110,115,116,101,97,100,46,10,0] /* It is owned b */, "i8", ALLOC_NONE, 5249156); -allocate([33,109,95,111,114,116,104,111,103,111,110,97,108,32,124,124,32,101,100,103,101,45,62,105,115,79,114,116,104,111,103,111,110,97,108,40,41,32,124,124,32,101,100,103,101,45,62,105,115,68,117,109,109,121,67,111,110,110,101,99,116,105,111,110,40,41,0] /* !m_orthogonal || edg */, "i8", ALLOC_NONE, 5249228); -allocate([101,73,110,102,32,33,61,32,95,95,110,117,108,108,0] /* eInf != __null\00 */, "i8", ALLOC_NONE, 5249296); -allocate([118,101,114,116,76,105,110,101,46,112,111,115,32,62,32,104,111,114,105,76,105,110,101,46,98,101,103,105,110,0] /* vertLine.pos _ horiL */, "i8", ALLOC_NONE, 5249312); -allocate([60,103,32,105,110,107,115,99,97,112,101,58,103,114,111,117,112,109,111,100,101,61,34,108,97,121,101,114,34,32,115,116,121,108,101,61,34,100,105,115,112,108,97,121,58,32,110,111,110,101,59,34,32,105,110,107,115,99,97,112,101,58,108,97,98,101,108,61,34,103,114,111,119,45,37,48,50,117,34,62,10,0] /* _g inkscape:groupmod */, "i8", ALLOC_NONE, 5249344); -allocate([37,112,0] /* %p\00 */, "i8", ALLOC_NONE, 5249428); -allocate([58,32,0] /* : \00 */, "i8", ALLOC_NONE, 5249432); -allocate([109,95,99,111,117,110,116,32,61,61,32,48,0] /* m_count == 0\00 */, "i8", ALLOC_NONE, 5249436); -allocate([69,82,82,79,82,58,32,74,117,110,99,116,105,111,110,82,101,102,58,58,126,74,117,110,99,116,105,111,110,82,101,102,40,41,32,115,104,111,117,108,100,110,39,116,32,98,101,32,99,97,108,108,101,100,32,100,105,114,101,99,116,108,121,46,10,0] /* ERROR: JunctionRef:: */, "i8", ALLOC_NONE, 5249452); -allocate([100,73,110,102,32,33,61,32,95,95,110,117,108,108,0] /* dInf != __null\00 */, "i8", ALLOC_NONE, 5249520); -allocate([45,97,99,116,105,118,101,0] /* -active\00 */, "i8", ALLOC_NONE, 5249536); -allocate([33,115,101,103,109,101,110,116,115,46,101,109,112,116,121,40,41,0] /* !segments.empty()\00 */, "i8", ALLOC_NONE, 5249544); -allocate([60,103,32,105,110,107,115,99,97,112,101,58,103,114,111,117,112,109,111,100,101,61,34,108,97,121,101,114,34,32,105,110,107,115,99,97,112,101,58,108,97,98,101,108,61,34,105,110,116,101,114,108,101,97,118,101,100,34,62,10,0] /* _g inkscape:groupmod */, "i8", ALLOC_NONE, 5249564); -allocate([97,46,112,114,101,118,73,110,100,101,120,32,33,61,32,98,46,112,114,101,118,73,110,100,101,120,0] /* a.prevIndex != b.pre */, "i8", ALLOC_NONE, 5249628); -allocate([32,32,32,32,32,32,32,73,116,32,105,115,32,111,119,110,101,100,32,98,121,32,116,104,101,32,114,111,117,116,101,114,46,32,32,67,97,108,108,32,82,111,117,116,101,114,58,58,100,101,108,101,116,101,74,117,110,99,116,105,111,110,40,41,32,105,110,115,116,101,97,100,46,10,0] /* It is owned b */, "i8", ALLOC_NONE, 5249656); -allocate([101,120,105,115,116,105,110,103,69,100,103,101,40,105,44,32,106,41,32,61,61,32,95,95,110,117,108,108,0] /* existingEdge(i, j) = */, "i8", ALLOC_NONE, 5249732); -allocate([98,73,110,102,32,33,61,32,95,95,110,117,108,108,0] /* bInf != __null\00 */, "i8", ALLOC_NONE, 5249764); -allocate([118,49,32,38,38,32,118,50,0] /* v1 && v2\00 */, "i8", ALLOC_NONE, 5249780); -allocate([41,0] /* )\00 */, "i8", ALLOC_NONE, 5249792); -allocate([40,117,45,62,112,111,105,110,116,46,120,32,61,61,32,118,45,62,112,111,105,110,116,46,120,41,32,124,124,32,40,117,45,62,112,111,105,110,116,46,121,32,61,61,32,118,45,62,112,111,105,110,116,46,121,41,0] /* (u-_point.x == v-_po */, "i8", ALLOC_NONE, 5249796); -allocate([114,111,111,116,86,101,114,116,101,120,80,111,105,110,116,101,114,115,46,101,109,112,116,121,40,41,0] /* rootVertexPointers.e */, "i8", ALLOC_NONE, 5249856); -allocate([105,111,115,95,98,97,115,101,58,58,99,108,101,97,114,0] /* ios_base::clear\00 */, "i8", ALLOC_NONE, 5249884); -allocate([40,100,105,109,101,110,115,105,111,110,32,61,61,32,48,41,32,124,124,32,40,100,105,109,101,110,115,105,111,110,32,61,61,32,49,41,0] /* (dimension == 0) || */, "i8", ALLOC_NONE, 5249900); -allocate([106,45,62,105,100,32,33,61,32,100,117,109,109,121,79,114,116,104,111,103,73,68,0] /* j-_id != dummyOrthog */, "i8", ALLOC_NONE, 5249940); -allocate([118,101,99,68,105,114,40,97,44,32,98,44,32,99,44,32,101,112,115,105,108,111,110,41,32,61,61,32,48,0] /* vecDir(a, b, c, epsi */, "i8", ALLOC_NONE, 5249964); -allocate([40,0] /* (\00 */, "i8", ALLOC_NONE, 5249996); -allocate([118,101,114,116,45,62,118,101,114,116,45,62,112,111,105,110,116,32,33,61,32,108,97,115,116,45,62,118,101,114,116,45,62,112,111,105,110,116,0] /* vert-_vert-_point != */, "i8", ALLOC_NONE, 5250000); -allocate([95,108,97,115,116,67,111,110,110,86,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,95,95,110,117,108,108,0] /* _lastConnVert-_lstNe */, "i8", ALLOC_NONE, 5250040); -allocate([83,101,108,101,99,116,105,118,101,82,101,114,111,117,116,101,0] /* SelectiveReroute\00 */, "i8", ALLOC_NONE, 5250076); -allocate([105,45,62,105,100,32,33,61,32,100,117,109,109,121,79,114,116,104,111,103,73,68,0] /* i-_id != dummyOrthog */, "i8", ALLOC_NONE, 5250096); -allocate([109,95,115,104,97,112,101,32,33,61,32,95,95,110,117,108,108,0] /* m_shape != __null\00 */, "i8", ALLOC_NONE, 5250120); -allocate([43,0] /* +\00 */, "i8", ALLOC_NONE, 5250140); -allocate([118,101,114,116,32,33,61,32,108,97,115,116,0] /* vert != last\00 */, "i8", ALLOC_NONE, 5250144); -allocate([118,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,95,95,110,117,108,108,0] /* vert-_lstNext == __n */, "i8", ALLOC_NONE, 5250160); -allocate([33,73,110,118,105,115,105,98,105,108,105,116,121,71,114,112,104,0] /* !InvisibilityGrph\00 */, "i8", ALLOC_NONE, 5250184); -allocate([40,118,101,114,116,32,61,61,32,109,95,118,101,114,116,49,41,32,124,124,32,40,118,101,114,116,32,61,61,32,109,95,118,101,114,116,50,41,0] /* (vert == m_vert1) || */, "i8", ALLOC_NONE, 5250204); -allocate([33,98,114,101,97,107,80,111,105,110,116,115,46,101,109,112,116,121,40,41,0] /* !breakPoints.empty() */, "i8", ALLOC_NONE, 5250244); -allocate([112,97,114,116,110,101,114,0] /* partner\00 */, "i8", ALLOC_NONE, 5250268); -allocate([103,114,97,112,104,46,99,112,112,0] /* graph.cpp\00 */, "i8", ALLOC_NONE, 5250276); -allocate([118,101,114,116,45,62,108,115,116,80,114,101,118,32,61,61,32,95,95,110,117,108,108,0] /* vert-_lstPrev == __n */, "i8", ALLOC_NONE, 5250288); -allocate([73,110,118,105,115,105,98,105,108,105,116,121,71,114,112,104,0] /* InvisibilityGrph\00 */, "i8", ALLOC_NONE, 5250312); -allocate([118,45,62,102,105,110,97,108,80,111,115,105,116,105,111,110,61,61,118,45,62,102,105,110,97,108,80,111,115,105,116,105,111,110,0] /* v-_finalPosition==v- */, "i8", ALLOC_NONE, 5250332); -allocate([60,61,0] /* _=\00 */, "i8", ALLOC_NONE, 5250368); -allocate([114,101,115,117,108,116,32,61,61,32,49,0] /* result == 1\00 */, "i8", ALLOC_NONE, 5250372); -allocate([114,101,97,108,86,101,114,116,45,62,105,100,32,33,61,32,100,105,109,101,110,115,105,111,110,67,104,97,110,103,101,86,101,114,116,101,120,73,68,0] /* realVert-_id != dime */, "i8", ALLOC_NONE, 5250384); -allocate([33,95,108,97,115,116,67,111,110,110,86,101,114,116,32,124,124,32,95,108,97,115,116,67,111,110,110,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,0] /* !_lastConnVert || _l */, "i8", ALLOC_NONE, 5250424); -allocate([67,0] /* C\00 */, "i8", ALLOC_NONE, 5250472); -allocate([61,0] /* =\00 */, "i8", ALLOC_NONE, 5250476); -allocate([114,101,115,117,108,116,46,115,101,99,111,110,100,0] /* result.second\00 */, "i8", ALLOC_NONE, 5250480); -allocate([118,101,114,116,0] /* vert\00 */, "i8", ALLOC_NONE, 5250496); -allocate([33,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,124,124,32,95,102,105,114,115,116,67,111,110,110,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,0] /* !_firstConnVert || _ */, "i8", ALLOC_NONE, 5250504); -allocate([111,98,106,101,99,116,73,100,73,115,85,110,117,115,101,100,40,97,115,115,105,103,110,101,100,73,100,41,0] /* objectIdIsUnused(ass */, "i8", ALLOC_NONE, 5250556); -allocate([83,97,116,0] /* Sat\00 */, "i8", ALLOC_NONE, 5250588); -allocate([70,114,105,0] /* Fri\00 */, "i8", ALLOC_NONE, 5250592); -allocate([84,104,117,0] /* Thu\00 */, "i8", ALLOC_NONE, 5250596); -allocate([78,85,76,76,0] /* NULL\00 */, "i8", ALLOC_NONE, 5250600); -allocate([87,101,100,0] /* Wed\00 */, "i8", ALLOC_NONE, 5250608); -allocate([108,111,119,80,116,91,97,108,116,68,105,109,93,32,60,32,104,105,103,104,80,116,91,97,108,116,68,105,109,93,0] /* lowPt[altDim] _ high */, "i8", ALLOC_NONE, 5250612); -allocate([114,101,100,0] /* red\00 */, "i8", ALLOC_NONE, 5250644); -allocate([84,117,101,0] /* Tue\00 */, "i8", ALLOC_NONE, 5250648); -allocate([116,114,101,101,82,111,111,116,0] /* treeRoot\00 */, "i8", ALLOC_NONE, 5250652); -allocate([77,111,110,0] /* Mon\00 */, "i8", ALLOC_NONE, 5250664); -allocate([83,117,110,0] /* Sun\00 */, "i8", ALLOC_NONE, 5250668); -allocate([33,95,108,97,115,116,83,104,97,112,101,86,101,114,116,32,124,124,32,33,40,95,108,97,115,116,83,104,97,112,101,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,41,0] /* !_lastShapeVert || ! */, "i8", ALLOC_NONE, 5250672); -allocate([83,97,116,117,114,100,97,121,0] /* Saturday\00 */, "i8", ALLOC_NONE, 5250724); -allocate([105,111,115,116,114,101,97,109,0] /* iostream\00 */, "i8", ALLOC_NONE, 5250736); -allocate([102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,74,117,110,99,116,105,111,110,65,100,100,44,32,106,117,110,99,116,105,111,110,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0] /* find(actionList.begi */, "i8", ALLOC_NONE, 5250748); -allocate([70,114,105,100,97,121,0] /* Friday\00 */, "i8", ALLOC_NONE, 5250848); -allocate([84,104,117,114,115,100,97,121,0] /* Thursday\00 */, "i8", ALLOC_NONE, 5250856); -allocate([87,101,100,110,101,115,100,97,121,0] /* Wednesday\00 */, "i8", ALLOC_NONE, 5250868); -allocate([84,117,101,115,100,97,121,0] /* Tuesday\00 */, "i8", ALLOC_NONE, 5250880); -allocate([77,111,110,100,97,121,0] /* Monday\00 */, "i8", ALLOC_NONE, 5250888); -allocate([83,117,110,100,97,121,0] /* Sunday\00 */, "i8", ALLOC_NONE, 5250896); -allocate([108,111,119,80,116,91,100,105,109,93,32,61,61,32,104,105,103,104,80,116,91,100,105,109,93,0] /* lowPt[dim] == highPt */, "i8", ALLOC_NONE, 5250904); -allocate([109,97,121,98,101,78,101,119,86,101,114,116,101,120,46,115,101,99,111,110,100,32,33,61,32,95,95,110,117,108,108,0] /* maybeNewVertex.secon */, "i8", ALLOC_NONE, 5250932); -allocate([83,0,0,0,97,0,0,0,116,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5250964); -allocate([112,46,97,110,103,108,101,32,62,32,97,110,103,108,101,0] /* p.angle _ angle\00 */, "i8", ALLOC_NONE, 5250980); -allocate([70,0,0,0,114,0,0,0,105,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5250996); -allocate([33,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,124,124,32,33,40,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,41,0] /* !_firstShapeVert || */, "i8", ALLOC_NONE, 5251012); -allocate([84,0,0,0,104,0,0,0,117,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251068); -allocate([102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,74,117,110,99,116,105,111,110,77,111,118,101,44,32,106,117,110,99,116,105,111,110,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0] /* find(actionList.begi */, "i8", ALLOC_NONE, 5251084); -allocate([87,0,0,0,101,0,0,0,100,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251184); -allocate([84,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251200); -allocate([77,0,0,0,111,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251216); -allocate([83,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251232); -allocate([83,0,0,0,97,0,0,0,116,0,0,0,117,0,0,0,114,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251248); -allocate([70,0,0,0,114,0,0,0,105,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251284); -allocate([114,104,115,76,111,119,91,100,105,109,101,110,115,105,111,110,93,32,61,61,32,114,104,115,72,105,103,104,91,100,105,109,101,110,115,105,111,110,93,0] /* rhsLow[dimension] == */, "i8", ALLOC_NONE, 5251312); -allocate([84,0,0,0,104,0,0,0,117,0,0,0,114,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251352); -allocate([87,0,0,0,101,0,0,0,100,0,0,0,110,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251388); -allocate([109,95,114,111,117,116,101,114,32,33,61,32,95,95,110,117,108,108,0] /* m_router != __null\0 */, "i8", ALLOC_NONE, 5251428); -allocate([103,101,111,109,116,121,112,101,115,46,99,112,112,0] /* geomtypes.cpp\00 */, "i8", ALLOC_NONE, 5251448); -allocate([97,110,103,108,101,32,61,61,32,114,104,115,46,97,110,103,108,101,0] /* angle == rhs.angle\0 */, "i8", ALLOC_NONE, 5251464); -allocate([84,0,0,0,117,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251484); -allocate([40,33,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,38,38,32,33,95,108,97,115,116,83,104,97,112,101,86,101,114,116,41,32,124,124,32,40,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,38,38,32,95,108,97,115,116,83,104,97,112,101,86,101,114,116,41,0] /* (!_firstShapeVert && */, "i8", ALLOC_NONE, 5251516); -allocate([77,0,0,0,111,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251596); -allocate([102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,74,117,110,99,116,105,111,110,82,101,109,111,118,101,44,32,106,117,110,99,116,105,111,110,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0] /* find(actionList.begi */, "i8", ALLOC_NONE, 5251624); -allocate([83,0,0,0,117,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5251728); -allocate([68,101,99,0] /* Dec\00 */, "i8", ALLOC_NONE, 5251756); -allocate([78,111,118,0] /* Nov\00 */, "i8", ALLOC_NONE, 5251760); -allocate([79,99,116,0] /* Oct\00 */, "i8", ALLOC_NONE, 5251764); -allocate([83,101,112,0] /* Sep\00 */, "i8", ALLOC_NONE, 5251768); -allocate([108,104,115,76,111,119,91,100,105,109,101,110,115,105,111,110,93,32,61,61,32,108,104,115,72,105,103,104,91,100,105,109,101,110,115,105,111,110,93,0] /* lhsLow[dimension] == */, "i8", ALLOC_NONE, 5251772); -allocate([65,117,103,0] /* Aug\00 */, "i8", ALLOC_NONE, 5251812); -allocate([42,99,117,114,114,32,33,61,32,95,95,110,117,108,108,0] /* _curr != __null\00 */, "i8", ALLOC_NONE, 5251816); -allocate([74,117,108,0] /* Jul\00 */, "i8", ALLOC_NONE, 5251832); -allocate([74,117,110,0] /* Jun\00 */, "i8", ALLOC_NONE, 5251836); -allocate([40,33,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,38,38,32,33,95,108,97,115,116,67,111,110,110,86,101,114,116,41,32,124,124,32,40,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,38,38,32,95,108,97,115,116,67,111,110,110,86,101,114,116,41,0] /* (!_firstConnVert && */, "i8", ALLOC_NONE, 5251840); -allocate([65,112,114,0] /* Apr\00 */, "i8", ALLOC_NONE, 5251916); -allocate([77,97,114,0] /* Mar\00 */, "i8", ALLOC_NONE, 5251920); -allocate([109,95,114,111,117,116,101,114,0] /* m_router\00 */, "i8", ALLOC_NONE, 5251924); -allocate([70,101,98,0] /* Feb\00 */, "i8", ALLOC_NONE, 5251936); -allocate([74,97,110,0] /* Jan\00 */, "i8", ALLOC_NONE, 5251940); -allocate([68,101,99,101,109,98,101,114,0] /* December\00 */, "i8", ALLOC_NONE, 5251944); -allocate([99,111,110,110,101,99,116,111,114,46,99,112,112,0] /* connector.cpp\00 */, "i8", ALLOC_NONE, 5251956); -allocate([78,111,118,101,109,98,101,114,0] /* November\00 */, "i8", ALLOC_NONE, 5251972); -allocate([79,99,116,111,98,101,114,0] /* October\00 */, "i8", ALLOC_NONE, 5251984); -allocate([109,97,120,83,112,97,99,101,76,105,109,105,116,32,60,32,67,72,65,78,78,69,76,95,77,65,88,0] /* maxSpaceLimit _ CHAN */, "i8", ALLOC_NONE, 5251992); -allocate([60,47,103,62,10,0] /* _/g_\0A\00 */, "i8", ALLOC_NONE, 5252020); -allocate([83,101,112,116,101,109,98,101,114,0] /* September\00 */, "i8", ALLOC_NONE, 5252028); -allocate([118,101,114,116,101,120,32,33,61,32,95,95,110,117,108,108,0] /* vertex != __null\00 */, "i8", ALLOC_NONE, 5252040); -allocate([99,111,110,110,101,99,116,111,114,45,62,109,95,100,115,116,95,118,101,114,116,0] /* connector-_m_dst_ver */, "i8", ALLOC_NONE, 5252060); -allocate([65,117,103,117,115,116,0] /* August\00 */, "i8", ALLOC_NONE, 5252084); -allocate([74,117,108,121,0] /* July\00 */, "i8", ALLOC_NONE, 5252092); -allocate([117,110,115,112,101,99,105,102,105,101,100,32,105,111,115,116,114,101,97,109,95,99,97,116,101,103,111,114,121,32,101,114,114,111,114,0] /* unspecified iostream */, "i8", ALLOC_NONE, 5252100); -allocate([74,117,110,101,0] /* June\00 */, "i8", ALLOC_NONE, 5252136); -allocate([33,95,108,97,115,116,67,111,110,110,86,101,114,116,32,124,124,32,40,95,108,97,115,116,67,111,110,110,86,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,41,0] /* !_lastConnVert || (_ */, "i8", ALLOC_NONE, 5252144); -allocate([77,97,121,0] /* May\00 */, "i8", ALLOC_NONE, 5252208); -allocate([102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,83,104,97,112,101,77,111,118,101,44,32,115,104,97,112,101,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0] /* find(actionList.begi */, "i8", ALLOC_NONE, 5252212); -allocate([33,109,95,112,111,108,121,103,111,110,46,101,109,112,116,121,40,41,0] /* !m_polygon.empty()\0 */, "i8", ALLOC_NONE, 5252308); -allocate([65,112,114,105,108,0] /* April\00 */, "i8", ALLOC_NONE, 5252328); -allocate([77,97,114,99,104,0] /* March\00 */, "i8", ALLOC_NONE, 5252336); -allocate([70,101,98,114,117,97,114,121,0] /* February\00 */, "i8", ALLOC_NONE, 5252344); -allocate([103,101,111,109,101,116,114,121,46,99,112,112,0] /* geometry.cpp\00 */, "i8", ALLOC_NONE, 5252356); -allocate([109,95,114,111,117,116,101,114,32,61,61,32,114,104,115,46,109,95,114,111,117,116,101,114,0] /* m_router == rhs.m_ro */, "i8", ALLOC_NONE, 5252372); -allocate([74,97,110,117,97,114,121,0] /* January\00 */, "i8", ALLOC_NONE, 5252400); -allocate([115,116,100,58,58,98,97,100,95,99,97,115,116,0] /* std::bad_cast\00 */, "i8", ALLOC_NONE, 5252408); -allocate([68,0,0,0,101,0,0,0,99,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252424); -allocate([109,105,110,83,112,97,99,101,76,105,109,105,116,32,62,32,45,67,72,65,78,78,69,76,95,77,65,88,0] /* minSpaceLimit _ -CHA */, "i8", ALLOC_NONE, 5252440); -allocate([78,0,0,0,111,0,0,0,118,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252472); -allocate([101,110,100,115,46,115,101,99,111,110,100,32,33,61,32,95,95,110,117,108,108,0] /* ends.second != __nul */, "i8", ALLOC_NONE, 5252488); -allocate([87,97,114,110,105,110,103,58,32,73,110,32,67,111,110,110,69,110,100,58,58,97,115,115,105,103,110,80,105,110,86,105,115,105,98,105,108,105,116,121,84,111,40,41,58,10,32,32,32,32,32,32,32,32,32,67,111,110,110,69,110,100,32,102,111,114,32,99,111,110,110,101,99,116,111,114,32,37,100,32,99,97,110,39,116,32,99,111,110,110,101,99,116,32,116,111,32,115,104,97,112,101,32,37,100,10,32,32,32,32,32,32,32,32,32,115,105,110,99,101,32,105,116,32,104,97,115,32,110,111,32,112,105,110,115,32,119,105,116,104,32,99,108,97,115,115,32,105,100,32,111,102,32,37,117,46,10,0] /* Warning: In ConnEnd: */, "i8", ALLOC_NONE, 5252512); -allocate([99,111,110,110,101,99,116,111,114,45,62,109,95,115,114,99,95,118,101,114,116,0] /* connector-_m_src_ver */, "i8", ALLOC_NONE, 5252672); -allocate([79,0,0,0,99,0,0,0,116,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252696); -allocate([83,0,0,0,101,0,0,0,112,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252712); -allocate([33,95,108,97,115,116,83,104,97,112,101,86,101,114,116,32,124,124,32,40,95,108,97,115,116,83,104,97,112,101,86,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,95,95,110,117,108,108,41,0] /* !_lastShapeVert || ( */, "i8", ALLOC_NONE, 5252728); -allocate([65,0,0,0,117,0,0,0,103,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252784); -allocate([102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,83,104,97,112,101,82,101,109,111,118,101,44,32,115,104,97,112,101,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0] /* find(actionList.begi */, "i8", ALLOC_NONE, 5252800); -allocate([74,0,0,0,117,0,0,0,108,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252896); -allocate([74,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252912); -allocate([77,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5252928); -allocate([32,32,32,32,110,101,119,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,106,117,110,99,116,105,111,110,82,101,102,37,117,44,32,37,117,44,32,40,67,111,110,110,68,105,114,70,108,97,103,115,41,32,37,117,41,59,10,0] /* new ShapeConnect */, "i8", ALLOC_NONE, 5252944); -allocate([116,32,33,61,32,116,109,78,111,110,0] /* t != tmNon\00 */, "i8", ALLOC_NONE, 5253012); -allocate([99,111,110,110,101,99,116,105,111,110,112,105,110,46,99,112,112,0] /* connectionpin.cpp\00 */, "i8", ALLOC_NONE, 5253024); -allocate(468, "i8", ALLOC_NONE, 5253044); -allocate([67,111,110,110,82,101,102,76,105,115,116,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,97,116,116,97,99,104,101,100,67,111,110,110,101,99,116,111,114,115,40,41,32,99,111,110,115,116,0] /* ConnRefList Avoid::O */, "i8", ALLOC_NONE, 5253512); -allocate([65,118,111,105,100,58,58,80,111,108,121,103,111,110,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,114,111,117,116,105,110,103,80,111,108,121,103,111,110,40,41,32,99,111,110,115,116,0] /* Avoid::Polygon Avoid */, "i8", ALLOC_NONE, 5253568); -allocate([65,118,111,105,100,58,58,66,111,120,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,114,111,117,116,105,110,103,66,111,120,40,41,32,99,111,110,115,116,0] /* Avoid::Box Avoid::Ob */, "i8", ALLOC_NONE, 5253624); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,69,100,103,101,80,97,105,114,58,58,111,112,101,114,97,116,111,114,60,40,99,111,110,115,116,32,65,118,111,105,100,58,58,69,100,103,101,80,97,105,114,32,38,41,32,99,111,110,115,116,0] /* bool Avoid::EdgePair */, "i8", ALLOC_NONE, 5253672); -allocate([117,110,115,105,103,110,101,100,32,105,110,116,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,58,58,112,97,116,104,76,101,97,100,115,66,97,99,107,84,111,40,99,111,110,115,116,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,32,99,111,110,115,116,0] /* unsigned int Avoid:: */, "i8", ALLOC_NONE, 5253736); -allocate([118,105,114,116,117,97,108,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,65,118,111,105,100,58,58,80,111,108,121,103,111,110,58,58,97,116,40,115,105,122,101,95,116,41,32,99,111,110,115,116,0] /* virtual const Avoid: */, "i8", ALLOC_NONE, 5253812); -allocate([65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,111,116,104,101,114,86,101,114,116,40,99,111,110,115,116,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,32,99,111,110,115,116,0] /* Avoid::VertInf _Avoi */, "i8", ALLOC_NONE, 5253876); -allocate([115,116,100,58,58,112,97,105,114,60,98,111,111,108,44,32,86,101,114,116,73,110,102,32,42,62,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,103,101,116,72,121,112,101,114,101,100,103,101,86,101,114,116,101,120,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,41,32,99,111,110,115,116,0] /* std::pair_bool, Vert */, "i8", ALLOC_NONE, 5253948); -allocate([117,110,115,105,103,110,101,100,32,105,110,116,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,101,110,100,112,111,105,110,116,84,121,112,101,40,41,32,99,111,110,115,116,0] /* unsigned int Avoid:: */, "i8", ALLOC_NONE, 5254036); -allocate([100,111,117,98,108,101,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,114,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,40,99,111,110,115,116,32,65,118,111,105,100,58,58,82,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,41,32,99,111,110,115,116,0] /* double Avoid::Router */, "i8", ALLOC_NONE, 5254088); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,114,111,117,116,105,110,103,79,112,116,105,111,110,40,99,111,110,115,116,32,65,118,111,105,100,58,58,82,111,117,116,105,110,103,79,112,116,105,111,110,41,32,99,111,110,115,116,0] /* bool Avoid::Router:: */, "i8", ALLOC_NONE, 5254164); -allocate([99,111,110,115,116,32,100,111,117,98,108,101,32,38,65,118,111,105,100,58,58,80,111,105,110,116,58,58,111,112,101,114,97,116,111,114,91,93,40,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,32,99,111,110,115,116,0] /* const double &Avoid: */, "i8", ALLOC_NONE, 5254232); -allocate([105,110,116,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,83,104,105,102,116,83,101,103,109,101,110,116,58,58,98,97,108,97,110,99,101,67,111,117,110,116,40,41,32,99,111,110,115,116,0] /* int Avoid::HyperEdge */, "i8", ALLOC_NONE, 5254300); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,58,58,111,112,101,114,97,116,111,114,60,40,99,111,110,115,116,32,65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,38,41,32,99,111,110,115,116,0] /* bool Avoid::ShapeCon */, "i8", ALLOC_NONE, 5254356); -allocate([117,110,115,105,103,110,101,100,32,105,110,116,32,65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,58,58,99,111,110,116,97,105,110,105,110,103,79,98,106,101,99,116,73,100,40,41,32,99,111,110,115,116,0] /* unsigned int Avoid:: */, "i8", ALLOC_NONE, 5254440); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,58,58,111,117,116,112,117,116,67,111,100,101,40,70,73,76,69,32,42,41,32,99,111,110,115,116,0] /* void Avoid::ShapeCon */, "i8", ALLOC_NONE, 5254508); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,67,109,112,76,105,110,101,79,114,100,101,114,58,58,111,112,101,114,97,116,111,114,40,41,40,99,111,110,115,116,32,65,118,111,105,100,58,58,83,104,105,102,116,83,101,103,109,101,110,116,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,83,104,105,102,116,83,101,103,109,101,110,116,32,42,44,32,98,111,111,108,32,42,41,32,99,111,110,115,116,0] /* bool Avoid::CmpLineO */, "i8", ALLOC_NONE, 5254568); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,76,105,110,101,83,101,103,109,101,110,116,58,58,111,112,101,114,97,116,111,114,60,40,99,111,110,115,116,32,65,118,111,105,100,58,58,76,105,110,101,83,101,103,109,101,110,116,32,38,41,32,99,111,110,115,116,0] /* bool Avoid::LineSegm */, "i8", ALLOC_NONE, 5254680); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,67,109,112,86,101,114,116,73,110,102,58,58,111,112,101,114,97,116,111,114,40,41,40,99,111,110,115,116,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,32,99,111,110,115,116,0] /* bool Avoid::CmpVertI */, "i8", ALLOC_NONE, 5254752); -allocate([65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,32,42,65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,111,98,115,116,97,99,108,101,40,41,32,99,111,110,115,116,0] /* Avoid::Obstacle _Avo */, "i8", ALLOC_NONE, 5254844); -allocate([65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,99,111,110,110,40,41,32,99,111,110,115,116,0] /* Avoid::ConnRef _Avoi */, "i8", ALLOC_NONE, 5254900); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,111,112,101,114,97,116,111,114,60,40,99,111,110,115,116,32,65,118,111,105,100,58,58,65,78,111,100,101,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,65,78,111,100,101,32,38,41,0] /* bool Avoid::operator */, "i8", ALLOC_NONE, 5254948); -allocate([105,110,116,32,65,118,111,105,100,58,58,118,101,99,68,105,114,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,100,111,117,98,108,101,41,0] /* int Avoid::vecDir(co */, "i8", ALLOC_NONE, 5255016); -allocate([100,111,117,98,108,101,32,65,118,111,105,100,58,58,99,111,115,116,40,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,44,32,99,111,110,115,116,32,100,111,117,98,108,101,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,115,116,100,58,58,118,101,99,116,111,114,60,65,78,111,100,101,62,32,38,44,32,105,110,116,41,0] /* double Avoid::cost(A */, "i8", ALLOC_NONE, 5255116); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,98,117,105,108,100,79,114,116,104,111,103,111,110,97,108,67,104,97,110,110,101,108,73,110,102,111,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,99,111,110,115,116,32,115,105,122,101,95,116,44,32,83,104,105,102,116,83,101,103,109,101,110,116,76,105,115,116,32,38,41,0] /* void Avoid::buildOrt */, "i8", ALLOC_NONE, 5255232); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,110,117,100,103,101,79,114,116,104,111,103,111,110,97,108,82,111,117,116,101,115,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,115,105,122,101,95,116,44,32,80,116,79,114,100,101,114,77,97,112,32,38,44,32,83,104,105,102,116,83,101,103,109,101,110,116,76,105,115,116,32,38,44,32,98,111,111,108,41,0] /* void Avoid::nudgeOrt */, "i8", ALLOC_NONE, 5255324); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,112,114,111,99,101,115,115,83,104,105,102,116,69,118,101,110,116,40,78,111,100,101,83,101,116,32,38,44,32,65,118,111,105,100,58,58,69,118,101,110,116,32,42,44,32,115,105,122,101,95,116,44,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* void Avoid::processS */, "i8", ALLOC_NONE, 5255424); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,105,110,116,101,114,115,101,99,116,83,101,103,109,101,110,116,115,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,83,101,103,109,101,110,116,76,105,115,116,32,38,44,32,65,118,111,105,100,58,58,76,105,110,101,83,101,103,109,101,110,116,32,38,41,0] /* void Avoid::intersec */, "i8", ALLOC_NONE, 5255504); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,112,114,111,99,101,115,115,69,118,101,110,116,86,101,114,116,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,78,111,100,101,83,101,116,32,38,44,32,65,118,111,105,100,58,58,83,101,103,109,101,110,116,76,105,115,116,87,114,97,112,112,101,114,32,38,44,32,65,118,111,105,100,58,58,69,118,101,110,116,32,42,44,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* void Avoid::processE */, "i8", ALLOC_NONE, 5255588); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,112,114,111,99,101,115,115,69,118,101,110,116,72,111,114,105,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,78,111,100,101,83,101,116,32,38,44,32,65,118,111,105,100,58,58,83,101,103,109,101,110,116,76,105,115,116,87,114,97,112,112,101,114,32,38,44,32,65,118,111,105,100,58,58,69,118,101,110,116,32,42,44,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* void Avoid::processE */, "i8", ALLOC_NONE, 5255704); -allocate([105,110,116,32,65,118,111,105,100,58,58,109,105,100,86,101,114,116,101,120,78,117,109,98,101,114,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,41,0] /* int Avoid::midVertex */, "i8", ALLOC_NONE, 5255820); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,118,101,114,116,101,120,83,119,101,101,112,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* void Avoid::vertexSw */, "i8", ALLOC_NONE, 5255916); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,105,110,66,101,116,119,101,101,110,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,41,0] /* bool Avoid::inBetwee */, "i8", ALLOC_NONE, 5255960); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,97,83,116,97,114,80,97,116,104,40,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* void Avoid::aStarPat */, "i8", ALLOC_NONE, 5256048); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,73,110,99,83,111,108,118,101,114,58,58,115,97,116,105,115,102,121,40,41,0] /* bool Avoid::IncSolve */, "i8", ALLOC_NONE, 5256144); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,73,110,99,83,111,108,118,101,114,58,58,115,112,108,105,116,66,108,111,99,107,115,40,41,0] /* void Avoid::IncSolve */, "i8", ALLOC_NONE, 5256180); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,73,110,99,83,111,108,118,101,114,58,58,99,111,112,121,82,101,115,117,108,116,40,41,0] /* void Avoid::IncSolve */, "i8", ALLOC_NONE, 5256220); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,58,58,109,111,118,101,65,116,116,97,99,104,101,100,67,111,110,110,115,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,108,121,103,111,110,32,38,41,0] /* void Avoid::ShapeRef */, "i8", ALLOC_NONE, 5256256); -allocate([118,105,114,116,117,97,108,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,126,79,98,115,116,97,99,108,101,40,41,0] /* virtual Avoid::Obsta */, "i8", ALLOC_NONE, 5256320); -allocate([65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,79,98,115,116,97,99,108,101,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,65,118,111,105,100,58,58,80,111,108,121,103,111,110,44,32,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* Avoid::Obstacle::Obs */, "i8", ALLOC_NONE, 5256360); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,109,97,107,101,73,110,97,99,116,105,118,101,40,41,0] /* void Avoid::Obstacle */, "i8", ALLOC_NONE, 5256440); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,115,101,116,78,101,119,80,111,108,121,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,108,121,103,111,110,32,38,41,0] /* void Avoid::Obstacle */, "i8", ALLOC_NONE, 5256480); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,58,58,109,97,107,101,65,99,116,105,118,101,40,41,0] /* void Avoid::Obstacle */, "i8", ALLOC_NONE, 5256540); -allocate([100,111,117,98,108,101,32,65,118,111,105,100,58,58,69,100,103,101,80,97,105,114,58,58,115,101,116,67,117,114,114,65,110,103,108,101,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,80,97,105,114,32,38,41,0] /* double Avoid::EdgePa */, "i8", ALLOC_NONE, 5256576); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,69,100,103,101,76,105,115,116,58,58,97,100,100,69,100,103,101,40,65,118,111,105,100,58,58,69,100,103,101,73,110,102,32,42,41,0] /* void Avoid::EdgeList */, "i8", ALLOC_NONE, 5256640); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,69,100,103,101,76,105,115,116,58,58,99,108,101,97,114,40,41,0] /* void Avoid::EdgeList */, "i8", ALLOC_NONE, 5256688); -allocate([65,118,111,105,100,58,58,86,101,114,116,73,110,102,58,58,126,86,101,114,116,73,110,102,40,41,0] /* Avoid::VertInf::~Ver */, "i8", ALLOC_NONE, 5256720); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,58,58,114,101,109,111,118,101,70,114,111,109,71,114,97,112,104,40,99,111,110,115,116,32,98,111,111,108,41,0] /* void Avoid::VertInf: */, "i8", ALLOC_NONE, 5256748); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,80,116,79,114,100,101,114,58,58,115,111,114,116,40,99,111,110,115,116,32,115,105,122,101,95,116,41,0] /* void Avoid::PtOrder: */, "i8", ALLOC_NONE, 5256800); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,80,116,79,114,100,101,114,58,58,97,100,100,79,114,100,101,114,101,100,80,111,105,110,116,115,40,99,111,110,115,116,32,115,105,122,101,95,116,44,32,99,111,110,115,116,32,80,116,67,111,110,110,80,116,114,80,97,105,114,32,38,44,32,99,111,110,115,116,32,80,116,67,111,110,110,80,116,114,80,97,105,114,32,38,44,32,98,111,111,108,41,0] /* void Avoid::PtOrder: */, "i8", ALLOC_NONE, 5256840); -allocate([65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,69,100,103,101,73,110,102,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,99,111,110,115,116,32,98,111,111,108,41,0] /* Avoid::EdgeInf::Edge */, "i8", ALLOC_NONE, 5256944); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,115,101,116,68,105,115,116,40,100,111,117,98,108,101,41,0] /* void Avoid::EdgeInf: */, "i8", ALLOC_NONE, 5257016); -allocate([115,116,97,116,105,99,32,65,118,111,105,100,58,58,69,100,103,101,73,110,102,32,42,65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,99,104,101,99,107,69,100,103,101,86,105,115,105,98,105,108,105,116,121,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,98,111,111,108,41,0] /* static Avoid::EdgeIn */, "i8", ALLOC_NONE, 5257056); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,109,97,107,101,73,110,97,99,116,105,118,101,40,41,0] /* void Avoid::EdgeInf: */, "i8", ALLOC_NONE, 5257160); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,109,97,107,101,65,99,116,105,118,101,40,41,0] /* void Avoid::EdgeInf: */, "i8", ALLOC_NONE, 5257196); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,69,100,103,101,73,110,102,58,58,97,100,100,66,108,111,99,107,101,114,40,105,110,116,41,0] /* void Avoid::EdgeInf: */, "i8", ALLOC_NONE, 5257232); -allocate([65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,67,111,110,110,82,101,102,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* Avoid::ConnRef::Conn */, "i8", ALLOC_NONE, 5257272); -allocate([65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,67,111,110,110,82,101,102,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,32,38,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,32,38,44,32,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* Avoid::ConnRef::Conn */, "i8", ALLOC_NONE, 5257336); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,103,101,110,101,114,97,116,101,67,104,101,99,107,112,111,105,110,116,115,80,97,116,104,40,115,116,100,58,58,118,101,99,116,111,114,60,80,111,105,110,116,62,32,38,44,32,115,116,100,58,58,118,101,99,116,111,114,60,86,101,114,116,73,110,102,32,42,62,32,38,41,0] /* void Avoid::ConnRef: */, "i8", ALLOC_NONE, 5257448); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,99,111,109,109,111,110,95,117,112,100,97,116,101,69,110,100,80,111,105,110,116,40,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,44,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,41,0] /* void Avoid::ConnRef: */, "i8", ALLOC_NONE, 5257544); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,103,101,110,101,114,97,116,101,83,116,97,110,100,97,114,100,80,97,116,104,40,115,116,100,58,58,118,101,99,116,111,114,60,80,111,105,110,116,62,32,38,44,32,115,116,100,58,58,118,101,99,116,111,114,60,86,101,114,116,73,110,102,32,42,62,32,38,41,0] /* void Avoid::ConnRef: */, "i8", ALLOC_NONE, 5257624); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,109,97,107,101,73,110,97,99,116,105,118,101,40,41,0] /* void Avoid::ConnRef: */, "i8", ALLOC_NONE, 5257716); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,103,101,110,101,114,97,116,101,80,97,116,104,40,41,0] /* bool Avoid::ConnRef: */, "i8", ALLOC_NONE, 5257752); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,58,58,109,97,107,101,65,99,116,105,118,101,40,41,0] /* void Avoid::ConnRef: */, "i8", ALLOC_NONE, 5257788); -allocate([65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,67,111,110,110,69,110,100,40,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,32,42,44,32,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* Avoid::ConnEnd::Conn */, "i8", ALLOC_NONE, 5257824); -allocate([65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,67,111,110,110,69,110,100,40,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,41,0] /* Avoid::ConnEnd::Conn */, "i8", ALLOC_NONE, 5257888); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,99,111,110,110,101,99,116,40,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,41,0] /* void Avoid::ConnEnd: */, "i8", ALLOC_NONE, 5257936); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,117,115,101,80,105,110,40,65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,42,41,0] /* void Avoid::ConnEnd: */, "i8", ALLOC_NONE, 5257984); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,97,115,115,105,103,110,80,105,110,86,105,115,105,98,105,108,105,116,121,84,111,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* void Avoid::ConnEnd: */, "i8", ALLOC_NONE, 5258044); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,69,110,100,58,58,117,115,101,80,105,110,86,101,114,116,101,120,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* void Avoid::ConnEnd: */, "i8", ALLOC_NONE, 5258124); -allocate([118,105,114,116,117,97,108,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,126,82,111,117,116,101,114,40,41,0] /* virtual Avoid::Route */, "i8", ALLOC_NONE, 5258176); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,109,111,118,101,83,104,97,112,101,40,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,108,121,103,111,110,32,38,44,32,99,111,110,115,116,32,98,111,111,108,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258212); -allocate([117,110,115,105,103,110,101,100,32,105,110,116,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,97,115,115,105,103,110,73,100,40,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* unsigned int Avoid:: */, "i8", ALLOC_NONE, 5258300); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,97,100,100,83,104,97,112,101,40,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,32,42,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258360); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,105,109,112,114,111,118,101,79,114,116,104,111,103,111,110,97,108,84,111,112,111,108,111,103,121,40,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258408); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,99,104,101,99,107,65,108,108,77,105,115,115,105,110,103,69,100,103,101,115,40,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258456); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,99,104,101,99,107,65,108,108,66,108,111,99,107,101,100,69,100,103,101,115,40,105,110,116,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258500); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,109,97,114,107,67,111,110,110,101,99,116,111,114,115,40,65,118,111,105,100,58,58,79,98,115,116,97,99,108,101,32,42,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258548); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,100,101,108,101,116,101,74,117,110,99,116,105,111,110,40,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258604); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,82,111,117,116,101,114,58,58,97,100,100,74,117,110,99,116,105,111,110,40,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,41,0] /* void Avoid::Router:: */, "i8", ALLOC_NONE, 5258664); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,84,105,109,101,114,58,58,82,101,103,105,115,116,101,114,40,99,111,110,115,116,32,65,118,111,105,100,58,58,84,105,109,101,114,73,110,100,101,120,44,32,99,111,110,115,116,32,98,111,111,108,41,0] /* void Avoid::Timer::R */, "i8", ALLOC_NONE, 5258720); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,84,105,109,101,114,58,58,83,116,97,114,116,40,41,0] /* void Avoid::Timer::S */, "i8", ALLOC_NONE, 5258788); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,84,105,109,101,114,58,58,83,116,111,112,40,41,0] /* void Avoid::Timer::S */, "i8", ALLOC_NONE, 5258816); -allocate([100,111,117,98,108,101,32,38,65,118,111,105,100,58,58,80,111,105,110,116,58,58,111,112,101,114,97,116,111,114,91,93,40,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,41,0] /* double &Avoid::Point */, "i8", ALLOC_NONE, 5258844); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,66,108,111,99,107,58,58,109,101,114,103,101,40,65,118,111,105,100,58,58,66,108,111,99,107,32,42,44,32,65,118,111,105,100,58,58,67,111,110,115,116,114,97,105,110,116,32,42,44,32,100,111,117,98,108,101,41,0] /* void Avoid::Block::m */, "i8", ALLOC_NONE, 5258900); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,66,108,111,99,107,58,58,117,112,100,97,116,101,87,101,105,103,104,116,101,100,80,111,115,105,116,105,111,110,40,41,0] /* void Avoid::Block::u */, "i8", ALLOC_NONE, 5258972); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,66,108,111,99,107,58,58,97,100,100,86,97,114,105,97,98,108,101,40,65,118,111,105,100,58,58,86,97,114,105,97,98,108,101,32,42,41,0] /* void Avoid::Block::a */, "i8", ALLOC_NONE, 5259016); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,103,101,110,101,114,97,116,101,83,116,97,116,105,99,79,114,116,104,111,103,111,110,97,108,86,105,115,71,114,97,112,104,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,41,0] /* void Avoid::generate */, "i8", ALLOC_NONE, 5259068); -allocate([76,97,121,101,114,101,100,79,114,116,104,111,103,111,110,97,108,69,100,103,101,76,105,115,116,32,65,118,111,105,100,58,58,77,105,110,105,109,117,109,84,101,114,109,105,110,97,108,83,112,97,110,110,105,110,103,84,114,101,101,58,58,103,101,116,79,114,116,104,111,103,111,110,97,108,69,100,103,101,115,70,114,111,109,86,101,114,116,101,120,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* LayeredOrthogonalEdg */, "i8", ALLOC_NONE, 5259132); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,77,105,110,105,109,117,109,84,101,114,109,105,110,97,108,83,112,97,110,110,105,110,103,84,114,101,101,58,58,98,117,105,108,100,72,121,112,101,114,69,100,103,101,84,114,101,101,84,111,82,111,111,116,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,98,111,111,108,41,0] /* void Avoid::MinimumT */, "i8", ALLOC_NONE, 5259260); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,77,105,110,105,109,117,109,84,101,114,109,105,110,97,108,83,112,97,110,110,105,110,103,84,114,101,101,58,58,99,111,110,115,116,114,117,99,116,73,110,116,101,114,108,101,97,118,101,100,40,41,0] /* void Avoid::MinimumT */, "i8", ALLOC_NONE, 5259396); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,77,105,110,105,109,117,109,84,101,114,109,105,110,97,108,83,112,97,110,110,105,110,103,84,114,101,101,58,58,99,111,109,109,105,116,84,111,66,114,105,100,103,105,110,103,69,100,103,101,40,65,118,111,105,100,58,58,69,100,103,101,73,110,102,32,42,44,32,117,110,115,105,103,110,101,100,32,105,110,116,32,38,41,0] /* void Avoid::MinimumT */, "i8", ALLOC_NONE, 5259460); -allocate([65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,42,65,118,111,105,100,58,58,77,105,110,105,109,117,109,84,101,114,109,105,110,97,108,83,112,97,110,110,105,110,103,84,114,101,101,58,58,114,101,115,101,116,68,105,115,116,115,70,111,114,80,97,116,104,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,42,41,0] /* Avoid::VertInf __Avo */, "i8", ALLOC_NONE, 5259556); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,77,105,110,105,109,117,109,84,101,114,109,105,110,97,108,83,112,97,110,110,105,110,103,84,114,101,101,58,58,100,114,97,119,70,111,114,101,115,116,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* void Avoid::MinimumT */, "i8", ALLOC_NONE, 5259664); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,83,104,105,102,116,83,101,103,109,101,110,116,58,58,97,100,106,117,115,116,80,111,115,105,116,105,111,110,40,41,0] /* void Avoid::HyperEdg */, "i8", ALLOC_NONE, 5259752); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,78,117,100,103,105,110,103,83,104,105,102,116,83,101,103,109,101,110,116,58,58,99,114,101,97,116,101,83,111,108,118,101,114,86,97,114,105,97,98,108,101,40,99,111,110,115,116,32,98,111,111,108,41,0] /* void Avoid::NudgingS */, "i8", ALLOC_NONE, 5259804); -allocate([65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,58,58,126,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,41,0] /* Avoid::ShapeConnecti */, "i8", ALLOC_NONE, 5259872); -allocate([65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,32,42,44,32,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,44,32,99,111,110,115,116,32,100,111,117,98,108,101,44,32,99,111,110,115,116,32,100,111,117,98,108,101,44,32,99,111,110,115,116,32,100,111,117,98,108,101,44,32,99,111,110,115,116,32,67,111,110,110,68,105,114,70,108,97,103,115,41,0] /* Avoid::ShapeConnecti */, "i8", ALLOC_NONE, 5259924); -allocate([65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,44,32,99,111,110,115,116,32,117,110,115,105,103,110,101,100,32,105,110,116,44,32,99,111,110,115,116,32,67,111,110,110,68,105,114,70,108,97,103,115,41,0] /* Avoid::ShapeConnecti */, "i8", ALLOC_NONE, 5260072); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,67,111,110,110,101,99,116,111,114,67,114,111,115,115,105,110,103,115,58,58,99,111,117,110,116,70,111,114,83,101,103,109,101,110,116,40,115,105,122,101,95,116,44,32,99,111,110,115,116,32,98,111,111,108,41,0] /* void Avoid::Connecto */, "i8", ALLOC_NONE, 5260180); -allocate([98,111,111,108,32,65,118,111,105,100,58,58,118,97,108,105,100,97,116,101,66,101,110,100,80,111,105,110,116,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* bool Avoid::validate */, "i8", ALLOC_NONE, 5260248); -allocate([67,111,110,110,82,101,102,83,101,116,32,65,118,111,105,100,58,58,72,121,112,101,114,101,100,103,101,82,101,114,111,117,116,101,114,58,58,99,97,108,99,72,121,112,101,114,101,100,103,101,67,111,110,110,101,99,116,111,114,115,40,41,0] /* ConnRefSet Avoid::Hy */, "i8", ALLOC_NONE, 5260332); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,101,100,103,101,82,101,114,111,117,116,101,114,58,58,102,105,110,100,65,116,116,97,99,104,101,100,79,98,106,101,99,116,115,40,115,105,122,101,95,116,44,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,44,32,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,44,32,67,111,110,110,82,101,102,83,101,116,32,38,41,0] /* void Avoid::Hyperedg */, "i8", ALLOC_NONE, 5260396); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,101,100,103,101,82,101,114,111,117,116,101,114,58,58,102,105,110,100,65,116,116,97,99,104,101,100,79,98,106,101,99,116,115,40,115,105,122,101,95,116,44,32,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,44,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,44,32,67,111,110,110,82,101,102,83,101,116,32,38,41,0] /* void Avoid::Hyperedg */, "i8", ALLOC_NONE, 5260512); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,101,100,103,101,82,101,114,111,117,116,101,114,58,58,112,101,114,102,111,114,109,82,101,114,111,117,116,105,110,103,40,41,0] /* void Avoid::Hyperedg */, "i8", ALLOC_NONE, 5260628); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,58,58,97,100,100,67,111,110,110,115,40,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,69,100,103,101,32,42,44,32,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,67,111,110,110,82,101,102,76,105,115,116,32,38,44,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,41,0] /* void Avoid::HyperEdg */, "i8", ALLOC_NONE, 5260680); -allocate([115,116,97,116,105,99,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,32,42,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,58,58,109,111,118,101,74,117,110,99,116,105,111,110,65,108,111,110,103,67,111,109,109,111,110,69,100,103,101,40,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,32,42,41,0] /* static Avoid::HyperE */, "i8", ALLOC_NONE, 5260800); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,69,100,103,101,58,58,97,100,100,67,111,110,110,115,40,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,32,42,44,32,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,67,111,110,110,82,101,102,76,105,115,116,32,38,41,0] /* void Avoid::HyperEdg */, "i8", ALLOC_NONE, 5260916); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,69,100,103,101,58,58,115,112,108,105,116,70,114,111,109,78,111,100,101,65,116,80,111,105,110,116,40,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,78,111,100,101,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,41,0] /* void Avoid::HyperEdg */, "i8", ALLOC_NONE, 5261016); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,72,121,112,101,114,69,100,103,101,84,114,101,101,69,100,103,101,58,58,100,105,115,99,111,110,110,101,99,116,69,100,103,101,40,41,0] /* void Avoid::HyperEdg */, "i8", ALLOC_NONE, 5261120); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,118,101,114,116,101,120,86,105,115,105,98,105,108,105,116,121,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,98,111,111,108,44,32,99,111,110,115,116,32,98,111,111,108,41,0] /* void Avoid::vertexVi */, "i8", ALLOC_NONE, 5261168); -allocate([100,111,117,98,108,101,32,65,118,111,105,100,58,58,114,111,116,97,116,105,111,110,97,108,65,110,103,108,101,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,41,0] /* double Avoid::rotati */, "i8", ALLOC_NONE, 5261252); -allocate([105,110,116,32,65,118,111,105,100,58,58,99,111,109,112,97,114,101,95,101,118,101,110,116,115,40,99,111,110,115,116,32,118,111,105,100,32,42,44,32,99,111,110,115,116,32,118,111,105,100,32,42,41,0] /* int Avoid::compare_e */, "i8", ALLOC_NONE, 5261304); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,76,105,115,116,58,58,97,100,100,86,101,114,116,101,120,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* void Avoid::VertInfL */, "i8", ALLOC_NONE, 5261360); -allocate([65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,65,118,111,105,100,58,58,86,101,114,116,73,110,102,76,105,115,116,58,58,114,101,109,111,118,101,86,101,114,116,101,120,40,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* Avoid::VertInf _Avoi */, "i8", ALLOC_NONE, 5261416); -allocate([65,118,111,105,100,58,58,76,105,110,101,83,101,103,109,101,110,116,58,58,76,105,110,101,83,101,103,109,101,110,116,40,99,111,110,115,116,32,100,111,117,98,108,101,32,38,44,32,99,111,110,115,116,32,100,111,117,98,108,101,32,38,44,32,99,111,110,115,116,32,100,111,117,98,108,101,32,38,44,32,98,111,111,108,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,44,32,65,118,111,105,100,58,58,86,101,114,116,73,110,102,32,42,41,0] /* Avoid::LineSegment:: */, "i8", ALLOC_NONE, 5261484); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,76,105,110,101,83,101,103,109,101,110,116,58,58,103,101,110,101,114,97,116,101,86,105,115,105,98,105,108,105,116,121,69,100,103,101,115,70,114,111,109,66,114,101,97,107,112,111,105,110,116,83,101,116,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,115,105,122,101,95,116,41,0] /* void Avoid::LineSegm */, "i8", ALLOC_NONE, 5261608); -allocate([118,111,105,100,32,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,58,58,109,111,118,101,65,116,116,97,99,104,101,100,67,111,110,110,115,40,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,41,0] /* void Avoid::Junction */, "i8", ALLOC_NONE, 5261700); -allocate([65,118,111,105,100,58,58,82,101,99,116,97,110,103,108,101,32,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,58,58,109,97,107,101,82,101,99,116,97,110,103,108,101,40,65,118,111,105,100,58,58,82,111,117,116,101,114,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,105,110,116,32,38,41,0] /* Avoid::Rectangle Avo */, "i8", ALLOC_NONE, 5261768); -allocate([65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,65,99,116,105,111,110,73,110,102,111,40,65,118,111,105,100,58,58,65,99,116,105,111,110,84,121,112,101,44,32,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,32,42,44,32,99,111,110,115,116,32,65,118,111,105,100,58,58,80,111,108,121,103,111,110,32,38,44,32,98,111,111,108,41,0] /* Avoid::ActionInfo::A */, "i8", ALLOC_NONE, 5261860); -allocate([65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,65,99,116,105,111,110,73,110,102,111,40,65,118,111,105,100,58,58,65,99,116,105,111,110,84,121,112,101,44,32,65,118,111,105,100,58,58,83,104,97,112,101,82,101,102,32,42,41,0] /* Avoid::ActionInfo::A */, "i8", ALLOC_NONE, 5261960); -allocate([65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,65,99,116,105,111,110,73,110,102,111,40,65,118,111,105,100,58,58,65,99,116,105,111,110,84,121,112,101,44,32,65,118,111,105,100,58,58,67,111,110,110,82,101,102,32,42,41,0] /* Avoid::ActionInfo::A */, "i8", ALLOC_NONE, 5262028); -allocate([65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,65,99,116,105,111,110,73,110,102,111,40,65,118,111,105,100,58,58,65,99,116,105,111,110,84,121,112,101,44,32,65,118,111,105,100,58,58,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,42,41,0] /* Avoid::ActionInfo::A */, "i8", ALLOC_NONE, 5262096); -allocate([65,118,111,105,100,58,58,65,99,116,105,111,110,73,110,102,111,58,58,65,99,116,105,111,110,73,110,102,111,40,65,118,111,105,100,58,58,65,99,116,105,111,110,84,121,112,101,44,32,65,118,111,105,100,58,58,74,117,110,99,116,105,111,110,82,101,102,32,42,41,0] /* Avoid::ActionInfo::A */, "i8", ALLOC_NONE, 5262176); -allocate(288, "i8", ALLOC_NONE, 5262248); -allocate(168, "i8", ALLOC_NONE, 5262536); -allocate(288, "i8", ALLOC_NONE, 5262704); -allocate(288, "i8", ALLOC_NONE, 5262992); -allocate(168, "i8", ALLOC_NONE, 5263280); -allocate(288, "i8", ALLOC_NONE, 5263448); -allocate(4, "i8", ALLOC_NONE, 5263736); -allocate(4, "i8", ALLOC_NONE, 5263740); -allocate(4, "i8", ALLOC_NONE, 5263744); -allocate(4, "i8", ALLOC_NONE, 5263748); -allocate(4, "i8", ALLOC_NONE, 5263752); -allocate(4, "i8", ALLOC_NONE, 5263756); -allocate(8, "i8", ALLOC_NONE, 5263760); -allocate(8, "i8", ALLOC_NONE, 5263768); -allocate(8, "i8", ALLOC_NONE, 5263776); -allocate(8, "i8", ALLOC_NONE, 5263784); -allocate(12, "i8", ALLOC_NONE, 5263792); -allocate(12, "i8", ALLOC_NONE, 5263804); -allocate(12, "i8", ALLOC_NONE, 5263816); -allocate(12, "i8", ALLOC_NONE, 5263828); -allocate(28, "i8", ALLOC_NONE, 5263840); -allocate(24, "i8", ALLOC_NONE, 5263868); -allocate(8, "i8", ALLOC_NONE, 5263892); -allocate(8, "i8", ALLOC_NONE, 5263900); -allocate(8, "i8", ALLOC_NONE, 5263908); -allocate(8, "i8", ALLOC_NONE, 5263916); -allocate(8, "i8", ALLOC_NONE, 5263924); -allocate(8, "i8", ALLOC_NONE, 5263932); -allocate(8, "i8", ALLOC_NONE, 5263940); -allocate(8, "i8", ALLOC_NONE, 5263948); -allocate(12, "i8", ALLOC_NONE, 5263956); -allocate(8, "i8", ALLOC_NONE, 5263968); -allocate(8, "i8", ALLOC_NONE, 5263976); -allocate(8, "i8", ALLOC_NONE, 5263984); -allocate(148, "i8", ALLOC_NONE, 5263992); -allocate(8, "i8", ALLOC_NONE, 5264140); -allocate(16, "i8", ALLOC_NONE, 5264148); -allocate(8, "i8", ALLOC_NONE, 5264164); -allocate(8, "i8", ALLOC_NONE, 5264172); -allocate(8, "i8", ALLOC_NONE, 5264180); -allocate(8, "i8", ALLOC_NONE, 5264188); -allocate([48,49,50,51,52,53,54,55,56,57,0] /* 0123456789\00 */, "i8", ALLOC_NONE, 5264196); -allocate([48,49,50,51,52,53,54,55,56,57,0] /* 0123456789\00 */, "i8", ALLOC_NONE, 5264208); -allocate([37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0], "i8", ALLOC_NONE, 5264220); -allocate([37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0], "i8", ALLOC_NONE, 5264252); -allocate([37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0], "i8", ALLOC_NONE, 5264272); -allocate([37,0,0,0,89,0,0,0,45,0,0,0,37,0,0,0,109,0,0,0,45,0,0,0,37,0,0,0,100,0,0,0], "i8", ALLOC_NONE, 5264316); -allocate([37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0], "i8", ALLOC_NONE, 5264348); -allocate([37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0], "i8", ALLOC_NONE, 5264380); -allocate([37,72,58,37,77,58,37,83] /* %H:%M:%S */, "i8", ALLOC_NONE, 5264412); -allocate([37,72,58,37,77] /* %H:%M */, "i8", ALLOC_NONE, 5264420); -allocate([37,73,58,37,77,58,37,83,32,37,112] /* %I:%M:%S %p */, "i8", ALLOC_NONE, 5264428); -allocate([37,89,45,37,109,45,37,100] /* %Y-%m-%d */, "i8", ALLOC_NONE, 5264440); -allocate([37,109,47,37,100,47,37,121] /* %m/%d/%y */, "i8", ALLOC_NONE, 5264448); -allocate([37,72,58,37,77,58,37,83] /* %H:%M:%S */, "i8", ALLOC_NONE, 5264456); -allocate([37,0,0,0,0,0] /* %\00\00\00\00\00 */, "i8", ALLOC_NONE, 5264464); -allocate([37,112,0,0,0,0] /* %p\00\00\00\00 */, "i8", ALLOC_NONE, 5264472); -allocate(4, "i8", ALLOC_NONE, 5264480); -allocate(4, "i8", ALLOC_NONE, 5264484); -allocate(4, "i8", ALLOC_NONE, 5264488); -allocate(12, "i8", ALLOC_NONE, 5264492); -allocate(12, "i8", ALLOC_NONE, 5264504); -allocate(12, "i8", ALLOC_NONE, 5264516); -allocate(12, "i8", ALLOC_NONE, 5264528); -allocate(4, "i8", ALLOC_NONE, 5264540); -allocate(4, "i8", ALLOC_NONE, 5264544); -allocate(4, "i8", ALLOC_NONE, 5264548); -allocate(12, "i8", ALLOC_NONE, 5264552); -allocate(12, "i8", ALLOC_NONE, 5264564); -allocate(12, "i8", ALLOC_NONE, 5264576); -allocate(12, "i8", ALLOC_NONE, 5264588); -allocate([0,0,0,0,156,110,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264600); -allocate(1, "i8", ALLOC_NONE, 5264620); -allocate([0,0,0,0,168,110,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264624); -allocate(1, "i8", ALLOC_NONE, 5264644); -allocate([0,0,0,0,180,110,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264648); -allocate(1, "i8", ALLOC_NONE, 5264668); -allocate([0,0,0,0,192,110,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264672); -allocate(1, "i8", ALLOC_NONE, 5264692); -allocate([0,0,0,0,204,110,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264696); -allocate(1, "i8", ALLOC_NONE, 5264716); -allocate([0,0,0,0,248,110,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264720); -allocate(1, "i8", ALLOC_NONE, 5264748); -allocate([0,0,0,0,24,111,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264752); -allocate(1, "i8", ALLOC_NONE, 5264780); -allocate([0,0,0,0,56,111,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264784); -allocate(1, "i8", ALLOC_NONE, 5264812); -allocate([0,0,0,0,88,111,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264816); -allocate(1, "i8", ALLOC_NONE, 5264844); -allocate([0,0,0,0,240,111,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264848); -allocate(1, "i8", ALLOC_NONE, 5264872); -allocate([0,0,0,0,16,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264876); -allocate(1, "i8", ALLOC_NONE, 5264900); -allocate([0,0,0,0,48,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,255,255,255,48,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264904); -allocate(1, "i8", ALLOC_NONE, 5264988); -allocate([0,0,0,0,88,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,255,255,255,88,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5264992); -allocate(1, "i8", ALLOC_NONE, 5265076); -allocate([0,0,0,0,128,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265080); -allocate(1, "i8", ALLOC_NONE, 5265120); -allocate([0,0,0,0,140,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265124); -allocate(1, "i8", ALLOC_NONE, 5265164); -allocate([0,0,0,0,152,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265168); -allocate(1, "i8", ALLOC_NONE, 5265200); -allocate([0,0,0,0,184,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265204); -allocate(1, "i8", ALLOC_NONE, 5265236); -allocate([0,0,0,0,216,112,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265240); -allocate(1, "i8", ALLOC_NONE, 5265256); -allocate([0,0,0,0,224,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265260); -allocate(1, "i8", ALLOC_NONE, 5265280); -allocate([0,0,0,0,236,112,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265284); -allocate(1, "i8", ALLOC_NONE, 5265336); -allocate([0,0,0,0,12,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265340); -allocate(1, "i8", ALLOC_NONE, 5265392); -allocate([0,0,0,0,44,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265396); -allocate(1, "i8", ALLOC_NONE, 5265460); -allocate([0,0,0,0,76,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265464); -allocate(1, "i8", ALLOC_NONE, 5265528); -allocate([0,0,0,0,108,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265532); -allocate(1, "i8", ALLOC_NONE, 5265564); -allocate([0,0,0,0,120,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265568); -allocate(1, "i8", ALLOC_NONE, 5265600); -allocate([0,0,0,0,132,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265604); -allocate(1, "i8", ALLOC_NONE, 5265652); -allocate([0,0,0,0,164,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265656); -allocate(1, "i8", ALLOC_NONE, 5265704); -allocate([0,0,0,0,196,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265708); -allocate(1, "i8", ALLOC_NONE, 5265756); -allocate([0,0,0,0,228,113,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265760); -allocate(1, "i8", ALLOC_NONE, 5265808); -allocate([0,0,0,0,4,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265812); -allocate(1, "i8", ALLOC_NONE, 5265832); -allocate([0,0,0,0,16,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265836); -allocate(1, "i8", ALLOC_NONE, 5265856); -allocate([0,0,0,0,28,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265860); -allocate(1, "i8", ALLOC_NONE, 5265928); -allocate([0,0,0,0,60,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265932); -allocate(1, "i8", ALLOC_NONE, 5265984); -allocate([0,0,0,0,92,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5265988); -allocate(1, "i8", ALLOC_NONE, 5266024); -allocate([0,0,0,0,100,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266028); -allocate(1, "i8", ALLOC_NONE, 5266064); -allocate([56,0,0,0,0,0,0,0,108,114,80,0,0,0,0,0,0,0,0,0,200,255,255,255,200,255,255,255,108,114,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266068); -allocate(1, "i8", ALLOC_NONE, 5266108); -allocate([0,0,0,0,120,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266112); -allocate(1, "i8", ALLOC_NONE, 5266148); -allocate([0,0,0,0,132,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266152); -allocate(1, "i8", ALLOC_NONE, 5266200); -allocate([0,0,0,0,144,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266204); -allocate(1, "i8", ALLOC_NONE, 5266252); -allocate([0,0,0,0,156,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266256); -allocate(1, "i8", ALLOC_NONE, 5266320); -allocate([0,0,0,0,168,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266324); -allocate(1, "i8", ALLOC_NONE, 5266388); -allocate([0,0,0,0,176,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266392); -allocate(1, "i8", ALLOC_NONE, 5266456); -allocate([0,0,0,0,184,114,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266460); -allocate(1, "i8", ALLOC_NONE, 5266496); -allocate([4,0,0,0,0,0,0,0,224,114,80,0,0,0,0,0,0,0,0,0,252,255,255,255,252,255,255,255,224,114,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266500); -allocate(1, "i8", ALLOC_NONE, 5266540); -allocate([4,0,0,0,0,0,0,0,248,114,80,0,0,0,0,0,0,0,0,0,252,255,255,255,252,255,255,255,248,114,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266544); -allocate(1, "i8", ALLOC_NONE, 5266584); -allocate([8,0,0,0,0,0,0,0,16,115,80,0,0,0,0,0,0,0,0,0,248,255,255,255,248,255,255,255,16,115,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266588); -allocate(1, "i8", ALLOC_NONE, 5266628); -allocate([8,0,0,0,0,0,0,0,40,115,80,0,0,0,0,0,0,0,0,0,248,255,255,255,248,255,255,255,40,115,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266632); -allocate(1, "i8", ALLOC_NONE, 5266672); -allocate([0,0,0,0,64,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266676); -allocate(1, "i8", ALLOC_NONE, 5266696); -allocate([0,0,0,0,84,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266700); -allocate(1, "i8", ALLOC_NONE, 5266736); -allocate([0,0,0,0,96,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266740); -allocate(1, "i8", ALLOC_NONE, 5266804); -allocate([0,0,0,0,108,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266808); -allocate(1, "i8", ALLOC_NONE, 5266872); -allocate([0,0,0,0,152,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266876); -allocate(1, "i8", ALLOC_NONE, 5266932); -allocate([0,0,0,0,184,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266936); -allocate(1, "i8", ALLOC_NONE, 5266992); -allocate([0,0,0,0,216,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5266996); -allocate(1, "i8", ALLOC_NONE, 5267052); -allocate([0,0,0,0,248,115,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267056); -allocate(1, "i8", ALLOC_NONE, 5267112); -allocate([0,0,0,0,48,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267116); -allocate(1, "i8", ALLOC_NONE, 5267180); -allocate([0,0,0,0,60,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267184); -allocate(1, "i8", ALLOC_NONE, 5267248); -allocate([0,0,0,0,72,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267252); -allocate(1, "i8", ALLOC_NONE, 5267288); -allocate([0,0,0,0,84,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267292); -allocate(1, "i8", ALLOC_NONE, 5267316); -allocate([0,0,0,0,96,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267320); -allocate(1, "i8", ALLOC_NONE, 5267344); -allocate([0,0,0,0,104,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267348); -allocate(1, "i8", ALLOC_NONE, 5267384); -allocate([0,0,0,0,116,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267388); -allocate(1, "i8", ALLOC_NONE, 5267408); -allocate([0,0,0,0,124,116,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267412); -allocate(1, "i8", ALLOC_NONE, 5267428); -allocate([0,0,0,0,140,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267432); -allocate(1, "i8", ALLOC_NONE, 5267464); -allocate([0,0,0,0,148,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267468); -allocate(1, "i8", ALLOC_NONE, 5267508); -allocate([0,0,0,0,160,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267512); -allocate(1, "i8", ALLOC_NONE, 5267552); -allocate([0,0,0,0,172,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267556); -allocate(1, "i8", ALLOC_NONE, 5267592); -allocate([0,0,0,0,180,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267596); -allocate(1, "i8", ALLOC_NONE, 5267636); -allocate([0,0,0,0,188,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267640); -allocate(1, "i8", ALLOC_NONE, 5267664); -allocate([0,0,0,0,200,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267668); -allocate(1, "i8", ALLOC_NONE, 5267696); -allocate([0,0,0,0,212,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5267700); -allocate(1, "i8", ALLOC_NONE, 5267740); -__ZTVN10__cxxabiv120__si_class_type_infoE=allocate([0,0,0,0,224,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC); -allocate(1, "i8", ALLOC_STATIC); -__ZTVN10__cxxabiv119__pointer_type_infoE=allocate([0,0,0,0,236,116,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC); -allocate(1, "i8", ALLOC_STATIC); -__ZTVN10__cxxabiv117__class_type_infoE=allocate([0,0,0,0,4,117,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], "i8", ALLOC_STATIC); -allocate(1, "i8", ALLOC_STATIC); -allocate([118,0] /* v\00 */, "i8", ALLOC_NONE, 5267744); -allocate([108,0] /* l\00 */, "i8", ALLOC_NONE, 5267748); -allocate([99,0] /* c\00 */, "i8", ALLOC_NONE, 5267752); -allocate([83,116,57,116,121,112,101,95,105,110,102,111,0] /* St9type_info\00 */, "i8", ALLOC_NONE, 5267756); -allocate([83,116,57,101,120,99,101,112,116,105,111,110,0] /* St9exception\00 */, "i8", ALLOC_NONE, 5267772); -allocate([83,116,57,98,97,100,95,97,108,108,111,99,0] /* St9bad_alloc\00 */, "i8", ALLOC_NONE, 5267788); -allocate([83,116,56,98,97,100,95,99,97,115,116,0] /* St8bad_cast\00 */, "i8", ALLOC_NONE, 5267804); -allocate([83,116,49,51,114,117,110,116,105,109,101,95,101,114,114,111,114,0] /* St13runtime_error\00 */, "i8", ALLOC_NONE, 5267816); -allocate([83,116,49,50,108,101,110,103,116,104,95,101,114,114,111,114,0] /* St12length_error\00 */, "i8", ALLOC_NONE, 5267836); -allocate([83,116,49,49,108,111,103,105,99,95,101,114,114,111,114,0] /* St11logic_error\00 */, "i8", ALLOC_NONE, 5267856); -allocate([80,75,99,0] /* PKc\00 */, "i8", ALLOC_NONE, 5267872); -allocate([78,83,116,51,95,95,49,57,116,105,109,101,95,98,97,115,101,69,0] /* NSt3__19time_baseE\0 */, "i8", ALLOC_NONE, 5267876); -allocate([78,83,116,51,95,95,49,57,110,117,108,108,112,116,114,95,116,69,0] /* NSt3__19nullptr_tE\0 */, "i8", ALLOC_NONE, 5267896); -allocate([78,83,116,51,95,95,49,57,109,111,110,101,121,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0] /* NSt3__19money_putIwN */, "i8", ALLOC_NONE, 5267916); -allocate([78,83,116,51,95,95,49,57,109,111,110,101,121,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0] /* NSt3__19money_putIcN */, "i8", ALLOC_NONE, 5267988); -allocate([78,83,116,51,95,95,49,57,109,111,110,101,121,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0] /* NSt3__19money_getIwN */, "i8", ALLOC_NONE, 5268060); -allocate([78,83,116,51,95,95,49,57,109,111,110,101,121,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0] /* NSt3__19money_getIcN */, "i8", ALLOC_NONE, 5268132); -allocate([78,83,116,51,95,95,49,57,98,97,115,105,99,95,105,111,115,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0] /* NSt3__19basic_iosIwN */, "i8", ALLOC_NONE, 5268204); -allocate([78,83,116,51,95,95,49,57,98,97,115,105,99,95,105,111,115,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0] /* NSt3__19basic_iosIcN */, "i8", ALLOC_NONE, 5268248); -allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,112,117,116,73,119,69,69,0] /* NSt3__19__num_putIwE */, "i8", ALLOC_NONE, 5268292); -allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,112,117,116,73,99,69,69,0] /* NSt3__19__num_putIcE */, "i8", ALLOC_NONE, 5268316); -allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,103,101,116,73,119,69,69,0] /* NSt3__19__num_getIwE */, "i8", ALLOC_NONE, 5268340); -allocate([78,83,116,51,95,95,49,57,95,95,110,117,109,95,103,101,116,73,99,69,69,0] /* NSt3__19__num_getIcE */, "i8", ALLOC_NONE, 5268364); -allocate([78,83,116,51,95,95,49,56,116,105,109,101,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0] /* NSt3__18time_putIwNS */, "i8", ALLOC_NONE, 5268388); -allocate([78,83,116,51,95,95,49,56,116,105,109,101,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0] /* NSt3__18time_putIcNS */, "i8", ALLOC_NONE, 5268460); -allocate([78,83,116,51,95,95,49,56,116,105,109,101,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0] /* NSt3__18time_getIwNS */, "i8", ALLOC_NONE, 5268532); -allocate([78,83,116,51,95,95,49,56,116,105,109,101,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0] /* NSt3__18time_getIcNS */, "i8", ALLOC_NONE, 5268604); -allocate([78,83,116,51,95,95,49,56,110,117,109,112,117,110,99,116,73,119,69,69,0] /* NSt3__18numpunctIwEE */, "i8", ALLOC_NONE, 5268676); -allocate([78,83,116,51,95,95,49,56,110,117,109,112,117,110,99,116,73,99,69,69,0] /* NSt3__18numpunctIcEE */, "i8", ALLOC_NONE, 5268700); -allocate([78,83,116,51,95,95,49,56,109,101,115,115,97,103,101,115,73,119,69,69,0] /* NSt3__18messagesIwEE */, "i8", ALLOC_NONE, 5268724); -allocate([78,83,116,51,95,95,49,56,109,101,115,115,97,103,101,115,73,99,69,69,0] /* NSt3__18messagesIcEE */, "i8", ALLOC_NONE, 5268748); -allocate([78,83,116,51,95,95,49,56,105,111,115,95,98,97,115,101,69,0] /* NSt3__18ios_baseE\00 */, "i8", ALLOC_NONE, 5268772); -allocate([78,83,116,51,95,95,49,56,105,111,115,95,98,97,115,101,55,102,97,105,108,117,114,101,69,0] /* NSt3__18ios_base7fai */, "i8", ALLOC_NONE, 5268792); -allocate([78,83,116,51,95,95,49,55,110,117,109,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0] /* NSt3__17num_putIwNS_ */, "i8", ALLOC_NONE, 5268820); -allocate([78,83,116,51,95,95,49,55,110,117,109,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0] /* NSt3__17num_putIcNS_ */, "i8", ALLOC_NONE, 5268888); -allocate([78,83,116,51,95,95,49,55,110,117,109,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0] /* NSt3__17num_getIwNS_ */, "i8", ALLOC_NONE, 5268956); -allocate([78,83,116,51,95,95,49,55,110,117,109,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0] /* NSt3__17num_getIcNS_ */, "i8", ALLOC_NONE, 5269024); -allocate([78,83,116,51,95,95,49,55,99,111,108,108,97,116,101,73,119,69,69,0] /* NSt3__17collateIwEE\ */, "i8", ALLOC_NONE, 5269092); -allocate([78,83,116,51,95,95,49,55,99,111,108,108,97,116,101,73,99,69,69,0] /* NSt3__17collateIcEE\ */, "i8", ALLOC_NONE, 5269112); -allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,119,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIwc10 */, "i8", ALLOC_NONE, 5269132); -allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,99,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIcc10 */, "i8", ALLOC_NONE, 5269168); -allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,68,115,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIDsc1 */, "i8", ALLOC_NONE, 5269204); -allocate([78,83,116,51,95,95,49,55,99,111,100,101,99,118,116,73,68,105,99,49,48,95,109,98,115,116,97,116,101,95,116,69,69,0] /* NSt3__17codecvtIDic1 */, "i8", ALLOC_NONE, 5269240); -allocate([78,83,116,51,95,95,49,54,108,111,99,97,108,101,53,102,97,99,101,116,69,0] /* NSt3__16locale5facet */, "i8", ALLOC_NONE, 5269276); -allocate([78,83,116,51,95,95,49,54,108,111,99,97,108,101,53,95,95,105,109,112,69,0] /* NSt3__16locale5__imp */, "i8", ALLOC_NONE, 5269300); -allocate([78,83,116,51,95,95,49,53,99,116,121,112,101,73,119,69,69,0] /* NSt3__15ctypeIwEE\00 */, "i8", ALLOC_NONE, 5269324); -allocate([78,83,116,51,95,95,49,53,99,116,121,112,101,73,99,69,69,0] /* NSt3__15ctypeIcEE\00 */, "i8", ALLOC_NONE, 5269344); -allocate([78,83,116,51,95,95,49,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,119,69,69,0] /* NSt3__120__time_get_ */, "i8", ALLOC_NONE, 5269364); -allocate([78,83,116,51,95,95,49,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,99,69,69,0] /* NSt3__120__time_get_ */, "i8", ALLOC_NONE, 5269400); -allocate([78,83,116,51,95,95,49,49,57,98,97,115,105,99,95,111,115,116,114,105,110,103,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0] /* NSt3__119basic_ostri */, "i8", ALLOC_NONE, 5269436); -allocate([78,83,116,51,95,95,49,49,57,95,95,105,111,115,116,114,101,97,109,95,99,97,116,101,103,111,114,121,69,0] /* NSt3__119__iostream_ */, "i8", ALLOC_NONE, 5269508); -allocate([78,83,116,51,95,95,49,49,55,95,95,119,105,100,101,110,95,102,114,111,109,95,117,116,102,56,73,76,106,51,50,69,69,69,0] /* NSt3__117__widen_fro */, "i8", ALLOC_NONE, 5269540); -allocate([78,83,116,51,95,95,49,49,54,95,95,110,97,114,114,111,119,95,116,111,95,117,116,102,56,73,76,106,51,50,69,69,69,0] /* NSt3__116__narrow_to */, "i8", ALLOC_NONE, 5269576); -allocate([78,83,116,51,95,95,49,49,53,98,97,115,105,99,95,115,116,114,105,110,103,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0] /* NSt3__115basic_strin */, "i8", ALLOC_NONE, 5269612); -allocate([78,83,116,51,95,95,49,49,53,98,97,115,105,99,95,115,116,114,101,97,109,98,117,102,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0] /* NSt3__115basic_strea */, "i8", ALLOC_NONE, 5269680); -allocate([78,83,116,51,95,95,49,49,53,98,97,115,105,99,95,115,116,114,101,97,109,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0] /* NSt3__115basic_strea */, "i8", ALLOC_NONE, 5269732); -allocate([78,83,116,51,95,95,49,49,52,101,114,114,111,114,95,99,97,116,101,103,111,114,121,69,0] /* NSt3__114error_categ */, "i8", ALLOC_NONE, 5269784); -allocate([78,83,116,51,95,95,49,49,52,95,95,115,104,97,114,101,100,95,99,111,117,110,116,69,0] /* NSt3__114__shared_co */, "i8", ALLOC_NONE, 5269812); -allocate([78,83,116,51,95,95,49,49,52,95,95,110,117,109,95,112,117,116,95,98,97,115,101,69,0] /* NSt3__114__num_put_b */, "i8", ALLOC_NONE, 5269840); -allocate([78,83,116,51,95,95,49,49,52,95,95,110,117,109,95,103,101,116,95,98,97,115,101,69,0] /* NSt3__114__num_get_b */, "i8", ALLOC_NONE, 5269868); -allocate([78,83,116,51,95,95,49,49,51,109,101,115,115,97,103,101,115,95,98,97,115,101,69,0] /* NSt3__113messages_ba */, "i8", ALLOC_NONE, 5269896); -allocate([78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,111,115,116,114,101,97,109,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0] /* NSt3__113basic_ostre */, "i8", ALLOC_NONE, 5269920); -allocate([78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,111,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0] /* NSt3__113basic_ostre */, "i8", ALLOC_NONE, 5269968); -allocate([78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,105,115,116,114,101,97,109,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,0] /* NSt3__113basic_istre */, "i8", ALLOC_NONE, 5270016); -allocate([78,83,116,51,95,95,49,49,51,98,97,115,105,99,95,105,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0] /* NSt3__113basic_istre */, "i8", ALLOC_NONE, 5270064); -allocate([78,83,116,51,95,95,49,49,50,115,121,115,116,101,109,95,101,114,114,111,114,69,0] /* NSt3__112system_erro */, "i8", ALLOC_NONE, 5270112); -allocate([78,83,116,51,95,95,49,49,50,99,111,100,101,99,118,116,95,98,97,115,101,69,0] /* NSt3__112codecvt_bas */, "i8", ALLOC_NONE, 5270136); -allocate([78,83,116,51,95,95,49,49,50,95,95,100,111,95,109,101,115,115,97,103,101,69,0] /* NSt3__112__do_messag */, "i8", ALLOC_NONE, 5270160); -allocate([78,83,116,51,95,95,49,49,49,95,95,115,116,100,111,117,116,98,117,102,73,119,69,69,0] /* NSt3__111__stdoutbuf */, "i8", ALLOC_NONE, 5270184); -allocate([78,83,116,51,95,95,49,49,49,95,95,115,116,100,111,117,116,98,117,102,73,99,69,69,0] /* NSt3__111__stdoutbuf */, "i8", ALLOC_NONE, 5270212); -allocate([78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,112,117,116,73,119,69,69,0] /* NSt3__111__money_put */, "i8", ALLOC_NONE, 5270240); -allocate([78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,112,117,116,73,99,69,69,0] /* NSt3__111__money_put */, "i8", ALLOC_NONE, 5270268); -allocate([78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,103,101,116,73,119,69,69,0] /* NSt3__111__money_get */, "i8", ALLOC_NONE, 5270296); -allocate([78,83,116,51,95,95,49,49,49,95,95,109,111,110,101,121,95,103,101,116,73,99,69,69,0] /* NSt3__111__money_get */, "i8", ALLOC_NONE, 5270324); -allocate([78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,49,69,69,69,0] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5270352); -allocate([78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,48,69,69,69,0] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5270380); -allocate([78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,49,69,69,69,0] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5270408); -allocate([78,83,116,51,95,95,49,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,48,69,69,69,0] /* NSt3__110moneypunctI */, "i8", ALLOC_NONE, 5270436); -allocate([78,83,116,51,95,95,49,49,48,109,111,110,101,121,95,98,97,115,101,69,0] /* NSt3__110money_baseE */, "i8", ALLOC_NONE, 5270464); -allocate([78,83,116,51,95,95,49,49,48,99,116,121,112,101,95,98,97,115,101,69,0] /* NSt3__110ctype_baseE */, "i8", ALLOC_NONE, 5270488); -allocate([78,83,116,51,95,95,49,49,48,95,95,116,105,109,101,95,112,117,116,69,0] /* NSt3__110__time_putE */, "i8", ALLOC_NONE, 5270512); -allocate([78,83,116,51,95,95,49,49,48,95,95,115,116,100,105,110,98,117,102,73,119,69,69,0] /* NSt3__110__stdinbufI */, "i8", ALLOC_NONE, 5270536); -allocate([78,83,116,51,95,95,49,49,48,95,95,115,116,100,105,110,98,117,102,73,99,69,69,0] /* NSt3__110__stdinbufI */, "i8", ALLOC_NONE, 5270560); -allocate([78,53,65,118,111,105,100,57,82,101,99,116,97,110,103,108,101,69,0] /* N5Avoid9RectangleE\0 */, "i8", ALLOC_NONE, 5270584); -allocate([78,53,65,118,111,105,100,56,83,104,97,112,101,82,101,102,69,0] /* N5Avoid8ShapeRefE\00 */, "i8", ALLOC_NONE, 5270604); -allocate([78,53,65,118,111,105,100,56,79,98,115,116,97,99,108,101,69,0] /* N5Avoid8ObstacleE\00 */, "i8", ALLOC_NONE, 5270624); -allocate([78,53,65,118,111,105,100,55,80,111,108,121,103,111,110,69,0] /* N5Avoid7PolygonE\00 */, "i8", ALLOC_NONE, 5270644); -allocate([78,53,65,118,111,105,100,54,82,111,117,116,101,114,69,0] /* N5Avoid6RouterE\00 */, "i8", ALLOC_NONE, 5270664); -allocate([78,53,65,118,111,105,100,52,78,111,100,101,69,0] /* N5Avoid4NodeE\00 */, "i8", ALLOC_NONE, 5270680); -allocate([78,53,65,118,111,105,100,50,50,85,110,115,97,116,105,115,102,105,97,98,108,101,69,120,99,101,112,116,105,111,110,69,0] /* N5Avoid22Unsatisfiab */, "i8", ALLOC_NONE, 5270696); -allocate([78,53,65,118,111,105,100,50,50,84,111,112,111,108,111,103,121,65,100,100,111,110,73,110,116,101,114,102,97,99,101,69,0] /* N5Avoid22TopologyAdd */, "i8", ALLOC_NONE, 5270732); -allocate([78,53,65,118,111,105,100,50,49,72,121,112,101,114,69,100,103,101,83,104,105,102,116,83,101,103,109,101,110,116,69,0] /* N5Avoid21HyperEdgeSh */, "i8", ALLOC_NONE, 5270768); -allocate([78,53,65,118,111,105,100,49,57,78,117,100,103,105,110,103,83,104,105,102,116,83,101,103,109,101,110,116,69,0] /* N5Avoid19NudgingShif */, "i8", ALLOC_NONE, 5270800); -allocate([78,53,65,118,111,105,100,49,54,80,111,108,121,103,111,110,73,110,116,101,114,102,97,99,101,69,0] /* N5Avoid16PolygonInte */, "i8", ALLOC_NONE, 5270832); -allocate([78,53,65,118,111,105,100,49,50,83,104,105,102,116,83,101,103,109,101,110,116,69,0] /* N5Avoid12ShiftSegmen */, "i8", ALLOC_NONE, 5270860); -allocate([78,53,65,118,111,105,100,49,49,74,117,110,99,116,105,111,110,82,101,102,69,0] /* N5Avoid11JunctionRef */, "i8", ALLOC_NONE, 5270884); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,50,51,95,95,102,117,110,100,97,109,101,110,116,97,108,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv123__fun */, "i8", ALLOC_NONE, 5270908); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,50,49,95,95,118,109,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv121__vmi */, "i8", ALLOC_NONE, 5270948); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv120__si_ */, "i8", ALLOC_NONE, 5270988); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,49,57,95,95,112,111,105,110,116,101,114,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv119__poi */, "i8", ALLOC_NONE, 5271028); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,112,98,97,115,101,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv117__pba */, "i8", ALLOC_NONE, 5271064); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv117__cla */, "i8", ALLOC_NONE, 5271100); -allocate([78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0] /* N10__cxxabiv116__shi */, "i8", ALLOC_NONE, 5271136); -allocate(8, "i8", ALLOC_NONE, 5271172); -__ZTIc=allocate(8, "i8", ALLOC_STATIC); -allocate(8, "i8", ALLOC_NONE, 5271180); -allocate(8, "i8", ALLOC_NONE, 5271188); -allocate([0,0,0,0,0,0,0,0,148,110,80,0], "i8", ALLOC_NONE, 5271196); -allocate([0,0,0,0,0,0,0,0,148,110,80,0], "i8", ALLOC_NONE, 5271208); -allocate([0,0,0,0,0,0,0,0,148,110,80,0], "i8", ALLOC_NONE, 5271220); -allocate([0,0,0,0,0,0,0,0,204,110,80,0], "i8", ALLOC_NONE, 5271232); -allocate([0,0,0,0,0,0,0,0,148,110,80,0], "i8", ALLOC_NONE, 5271244); -allocate([0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5271256); -allocate(8, "i8", ALLOC_NONE, 5271272); -allocate(8, "i8", ALLOC_NONE, 5271280); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,120,115,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271288); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,128,115,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271320); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,136,115,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271352); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,144,115,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271384); -allocate([0,0,0,0,0,0,0,0,216,112,80,0], "i8", ALLOC_NONE, 5271416); -allocate([0,0,0,0,0,0,0,0,216,112,80,0], "i8", ALLOC_NONE, 5271428); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,200,114,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271440); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,200,114,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271464); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,208,114,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271488); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,208,114,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271512); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,40,116,80,0,0,8,0,0], "i8", ALLOC_NONE, 5271536); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,40,116,80,0,0,8,0,0], "i8", ALLOC_NONE, 5271568); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,4,114,80,0,2,0,0,0,232,110,80,0,2,0,0,0,92,114,80,0,0,8,0,0], "i8", ALLOC_NONE, 5271600); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,4,114,80,0,2,0,0,0,232,110,80,0,2,0,0,0,100,114,80,0,0,8,0,0], "i8", ALLOC_NONE, 5271640); -allocate([0,0,0,0,0,0,0,0,4,114,80,0], "i8", ALLOC_NONE, 5271680); -allocate([0,0,0,0,0,0,0,0,4,114,80,0], "i8", ALLOC_NONE, 5271692); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,216,114,80,0,2,0,0,0], "i8", ALLOC_NONE, 5271704); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,216,114,80,0,2,0,0,0], "i8", ALLOC_NONE, 5271736); -allocate(8, "i8", ALLOC_NONE, 5271768); -allocate([0,0,0,0,0,0,0,0,64,115,80,0], "i8", ALLOC_NONE, 5271776); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,144,111,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271788); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,168,111,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271820); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,192,111,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271852); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,216,111,80,0,0,0,0,0], "i8", ALLOC_NONE, 5271884); -allocate([0,0,0,0,0,0,0,0,4,114,80,0], "i8", ALLOC_NONE, 5271916); -allocate([0,0,0,0,0,0,0,0,4,114,80,0], "i8", ALLOC_NONE, 5271928); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,76,115,80,0,2,0,0,0], "i8", ALLOC_NONE, 5271940); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,76,115,80,0,2,0,0,0], "i8", ALLOC_NONE, 5271972); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,76,115,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272004); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,76,115,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272036); -allocate([0,0,0,0,0,0,0,0,192,114,80,0], "i8", ALLOC_NONE, 5272068); -allocate([0,0,0,0,0,0,0,0,4,114,80,0], "i8", ALLOC_NONE, 5272080); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,32,116,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272092); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,32,116,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272124); -allocate(8, "i8", ALLOC_NONE, 5272156); -allocate(8, "i8", ALLOC_NONE, 5272164); -allocate([0,0,0,0,0,0,0,0,248,114,80,0], "i8", ALLOC_NONE, 5272172); -allocate([0,0,0,0,0,0,0,0,84,115,80,0], "i8", ALLOC_NONE, 5272184); -allocate([0,0,0,0,0,0,0,0,228,113,80,0], "i8", ALLOC_NONE, 5272196); -allocate([0,0,0,0,0,0,0,0,228,113,80,0], "i8", ALLOC_NONE, 5272208); -allocate([0,0,0,0,0,0,0,0,176,114,80,0], "i8", ALLOC_NONE, 5272220); -allocate(8, "i8", ALLOC_NONE, 5272232); -allocate(8, "i8", ALLOC_NONE, 5272240); -allocate(8, "i8", ALLOC_NONE, 5272248); -allocate(8, "i8", ALLOC_NONE, 5272256); -allocate(8, "i8", ALLOC_NONE, 5272264); -allocate(8, "i8", ALLOC_NONE, 5272272); -allocate(8, "i8", ALLOC_NONE, 5272280); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,120,111,80,0,3,244,255,255], "i8", ALLOC_NONE, 5272288); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,132,111,80,0,3,244,255,255], "i8", ALLOC_NONE, 5272312); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,120,111,80,0,3,244,255,255], "i8", ALLOC_NONE, 5272336); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,132,111,80,0,3,244,255,255], "i8", ALLOC_NONE, 5272360); -allocate([0,0,0,0,0,0,0,0,180,110,80,0], "i8", ALLOC_NONE, 5272384); -allocate(8, "i8", ALLOC_NONE, 5272396); -allocate([0,0,0,0,0,0,0,0,184,114,80,0], "i8", ALLOC_NONE, 5272404); -allocate([0,0,0,0,0,0,0,0,168,114,80,0], "i8", ALLOC_NONE, 5272416); -allocate([0,0,0,0,0,0,0,0,176,114,80,0], "i8", ALLOC_NONE, 5272428); -allocate(8, "i8", ALLOC_NONE, 5272440); -allocate(8, "i8", ALLOC_NONE, 5272448); -allocate(8, "i8", ALLOC_NONE, 5272456); -allocate(8, "i8", ALLOC_NONE, 5272464); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,24,116,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272472); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,24,116,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272504); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,24,116,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272536); -allocate([0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,4,114,80,0,2,0,0,0,24,116,80,0,2,0,0,0], "i8", ALLOC_NONE, 5272568); -allocate(8, "i8", ALLOC_NONE, 5272600); -allocate(8, "i8", ALLOC_NONE, 5272608); -allocate(8, "i8", ALLOC_NONE, 5272616); -allocate([0,0,0,0,0,0,0,0,168,114,80,0], "i8", ALLOC_NONE, 5272624); -allocate([0,0,0,0,0,0,0,0,176,114,80,0], "i8", ALLOC_NONE, 5272636); -allocate([0,0,0,0,0,0,0,0,104,116,80,0], "i8", ALLOC_NONE, 5272648); -allocate([0,0,0,0,0,0,0,0,96,116,80,0], "i8", ALLOC_NONE, 5272660); -allocate(8, "i8", ALLOC_NONE, 5272672); -allocate([0,0,0,0,0,0,0,0,172,116,80,0], "i8", ALLOC_NONE, 5272680); -allocate(8, "i8", ALLOC_NONE, 5272692); -allocate(8, "i8", ALLOC_NONE, 5272700); -allocate(8, "i8", ALLOC_NONE, 5272708); -allocate(8, "i8", ALLOC_NONE, 5272716); -allocate([0,0,0,0,0,0,0,0,180,116,80,0], "i8", ALLOC_NONE, 5272724); -allocate([0,0,0,0,0,0,0,0,180,116,80,0], "i8", ALLOC_NONE, 5272736); -allocate(8, "i8", ALLOC_NONE, 5272748); -allocate(8, "i8", ALLOC_NONE, 5272756); -allocate([0,0,0,0,0,0,0,0,96,116,80,0], "i8", ALLOC_NONE, 5272764); -allocate([0,0,0,0,0,0,0,0,16,117,80,0], "i8", ALLOC_NONE, 5272776); -allocate([0,0,0,0,0,0,0,0,4,117,80,0], "i8", ALLOC_NONE, 5272788); -allocate([0,0,0,0,0,0,0,0,4,117,80,0], "i8", ALLOC_NONE, 5272800); -allocate([0,0,0,0,0,0,0,0,248,116,80,0], "i8", ALLOC_NONE, 5272812); -allocate([0,0,0,0,0,0,0,0,16,117,80,0], "i8", ALLOC_NONE, 5272824); -allocate([0,0,0,0,0,0,0,0,16,117,80,0], "i8", ALLOC_NONE, 5272836); -allocate([0,0,0,0,0,0,0,0,140,110,80,0], "i8", ALLOC_NONE, 5272848); -allocate([56,0,0,0,0,0,0,0,248,114,80,0,0,0,0,0,0,0,0,0,200,255,255,255,200,255,255,255,248,114,80,0,0,0,0,0,0,0,0,0], "i8", ALLOC_NONE, 5272860); -allocate(52, "i8", ALLOC_NONE, 5272900); -allocate(52, "i8", ALLOC_NONE, 5272952); -allocate(56, "i8", ALLOC_NONE, 5273004); -allocate(52, "i8", ALLOC_NONE, 5273060); -allocate(52, "i8", ALLOC_NONE, 5273112); -allocate(56, "i8", ALLOC_NONE, 5273164); -allocate([255,255,255,255], "i8", ALLOC_NONE, 5273220); -allocate([255,255,255,255], "i8", ALLOC_NONE, 5273224); -allocate(8, "i8", ALLOC_NONE, 5273228); -allocate(8, "i8", ALLOC_NONE, 5273236); -allocate(8, "i8", ALLOC_NONE, 5273244); -allocate(8, "i8", ALLOC_NONE, 5273252); -allocate(8, "i8", ALLOC_NONE, 5273260); -allocate(8, "i8", ALLOC_NONE, 5273268); -allocate(8, "i8", ALLOC_NONE, 5273276); -allocate(8, "i8", ALLOC_NONE, 5273284); -allocate(8, "i8", ALLOC_NONE, 5273292); -allocate(8, "i8", ALLOC_NONE, 5273300); -allocate(8, "i8", ALLOC_NONE, 5273308); -allocate(8, "i8", ALLOC_NONE, 5273316); -allocate(8, "i8", ALLOC_NONE, 5273324); -allocate(8, "i8", ALLOC_NONE, 5273332); -allocate(8, "i8", ALLOC_NONE, 5273340); -allocate(8, "i8", ALLOC_NONE, 5273348); -allocate(8, "i8", ALLOC_NONE, 5273356); -allocate(8, "i8", ALLOC_NONE, 5273364); -allocate(8, "i8", ALLOC_NONE, 5273372); -allocate(8, "i8", ALLOC_NONE, 5273380); -allocate(8, "i8", ALLOC_NONE, 5273388); -allocate(8, "i8", ALLOC_NONE, 5273396); -allocate(4, "i8", ALLOC_NONE, 5273404); -allocate(84, "i8", ALLOC_NONE, 5273408); -allocate(84, "i8", ALLOC_NONE, 5273492); -allocate(84, "i8", ALLOC_NONE, 5273576); -allocate(8, "i8", ALLOC_NONE, 5273660); -allocate(8, "i8", ALLOC_NONE, 5273668); -allocate(88, "i8", ALLOC_NONE, 5273676); -allocate(84, "i8", ALLOC_NONE, 5273764); -allocate(84, "i8", ALLOC_NONE, 5273848); -allocate(84, "i8", ALLOC_NONE, 5273932); -allocate(88, "i8", ALLOC_NONE, 5274016); -allocate(1, "i8", ALLOC_NONE, 5274104); -allocate([48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,65,66,67,68,69,70,120,88,43,45,112,80,105,73,110,78,0] /* 0123456789abcdefABCD */, "i8", ALLOC_NONE, 5274108); -allocate(8, "i8", ALLOC_NONE, 5274144); -allocate(8, "i8", ALLOC_NONE, 5274152); -allocate(8, "i8", ALLOC_NONE, 5274160); -allocate(8, "i8", ALLOC_NONE, 5274168); -allocate([0,0,0,0,0,0,2,0], "i8", ALLOC_NONE, 5274176); -allocate(8, "i8", ALLOC_NONE, 5274184); -allocate(8, "i8", ALLOC_NONE, 5274192); -allocate(8, "i8", ALLOC_NONE, 5274200); -allocate(8, "i8", ALLOC_NONE, 5274208); -allocate(4, "i8", ALLOC_NONE, 5274216); -allocate(4, "i8", ALLOC_NONE, 5274220); -allocate(8, "i8", ALLOC_NONE, 5274224); -allocate(8, "i8", ALLOC_NONE, 5274232); -allocate(8, "i8", ALLOC_NONE, 5274240); -allocate(8, "i8", ALLOC_NONE, 5274248); -allocate(8, "i8", ALLOC_NONE, 5274256); -allocate(8, "i8", ALLOC_NONE, 5274264); -allocate(8, "i8", ALLOC_NONE, 5274272); -allocate(8, "i8", ALLOC_NONE, 5274280); -allocate(8, "i8", ALLOC_NONE, 5274288); -allocate(8, "i8", ALLOC_NONE, 5274296); -allocate(8, "i8", ALLOC_NONE, 5274304); -allocate(8, "i8", ALLOC_NONE, 5274312); -allocate(8, "i8", ALLOC_NONE, 5274320); -allocate(8, "i8", ALLOC_NONE, 5274328); -allocate(8, "i8", ALLOC_NONE, 5274336); -allocate(8, "i8", ALLOC_NONE, 5274344); -allocate(8, "i8", ALLOC_NONE, 5274352); -allocate(8, "i8", ALLOC_NONE, 5274360); -allocate(8, "i8", ALLOC_NONE, 5274368); -allocate(8, "i8", ALLOC_NONE, 5274376); -allocate(8, "i8", ALLOC_NONE, 5274384); -allocate(8, "i8", ALLOC_NONE, 5274392); -allocate(8, "i8", ALLOC_NONE, 5274400); -allocate(8, "i8", ALLOC_NONE, 5274408); -allocate(8, "i8", ALLOC_NONE, 5274416); -allocate(8, "i8", ALLOC_NONE, 5274424); -allocate(8, "i8", ALLOC_NONE, 5274432); -allocate(8, "i8", ALLOC_NONE, 5274440); -allocate(8, "i8", ALLOC_NONE, 5274448); -allocate(8, "i8", ALLOC_NONE, 5274456); -allocate(8, "i8", ALLOC_NONE, 5274464); -allocate(8, "i8", ALLOC_NONE, 5274472); -allocate(8, "i8", ALLOC_NONE, 5274480); -allocate(8, "i8", ALLOC_NONE, 5274488); -allocate(8, "i8", ALLOC_NONE, 5274496); -allocate(8, "i8", ALLOC_NONE, 5274504); -allocate(8, "i8", ALLOC_NONE, 5274512); -allocate(8, "i8", ALLOC_NONE, 5274520); -allocate(8, "i8", ALLOC_NONE, 5274528); -allocate(8, "i8", ALLOC_NONE, 5274536); -allocate(8, "i8", ALLOC_NONE, 5274544); -allocate(8, "i8", ALLOC_NONE, 5274552); -allocate(8, "i8", ALLOC_NONE, 5274560); -allocate(8, "i8", ALLOC_NONE, 5274568); -HEAP32[((5264608)>>2)]=(420); -HEAP32[((5264612)>>2)]=(394); -HEAP32[((5264616)>>2)]=(688); -HEAP32[((5264632)>>2)]=(452); -HEAP32[((5264636)>>2)]=(528); -HEAP32[((5264640)>>2)]=(252); -HEAP32[((5264656)>>2)]=(52); -HEAP32[((5264660)>>2)]=(890); -HEAP32[((5264664)>>2)]=(268); -HEAP32[((5264680)>>2)]=(84); -HEAP32[((5264684)>>2)]=(24); -HEAP32[((5264688)>>2)]=(734); -HEAP32[((5264704)>>2)]=(8); -HEAP32[((5264708)>>2)]=(50); -HEAP32[((5264712)>>2)]=(734); -HEAP32[((5264728)>>2)]=(536); -HEAP32[((5264732)>>2)]=(274); -HEAP32[((5264736)>>2)]=(138); -HEAP32[((5264740)>>2)]=(584); -HEAP32[((5264744)>>2)]=(60); -HEAP32[((5264760)>>2)]=(812); -HEAP32[((5264764)>>2)]=(594); -HEAP32[((5264768)>>2)]=(138); -HEAP32[((5264772)>>2)]=(840); -HEAP32[((5264776)>>2)]=(120); -HEAP32[((5264792)>>2)]=(526); -HEAP32[((5264796)>>2)]=(600); -HEAP32[((5264800)>>2)]=(138); -HEAP32[((5264804)>>2)]=(586); -HEAP32[((5264808)>>2)]=(860); -HEAP32[((5264824)>>2)]=(884); -HEAP32[((5264828)>>2)]=(464); -HEAP32[((5264832)>>2)]=(138); -HEAP32[((5264836)>>2)]=(570); -HEAP32[((5264840)>>2)]=(668); -HEAP32[((5264856)>>2)]=(872); -HEAP32[((5264860)>>2)]=(46); -HEAP32[((5264864)>>2)]=(138); -HEAP32[((5264868)>>2)]=(146); -HEAP32[((5264884)>>2)]=(524); -HEAP32[((5264888)>>2)]=(372); -HEAP32[((5264892)>>2)]=(138); -HEAP32[((5264896)>>2)]=(216); -HEAP32[((5264912)>>2)]=(102); -HEAP32[((5264916)>>2)]=(374); -HEAP32[((5264920)>>2)]=(138); -HEAP32[((5264924)>>2)]=(774); -HEAP32[((5264928)>>2)]=(28); -HEAP32[((5264932)>>2)]=(602); -HEAP32[((5264936)>>2)]=(38); -HEAP32[((5264940)>>2)]=(248); -HEAP32[((5264944)>>2)]=(778); -HEAP32[((5264948)>>2)]=(284); -HEAP32[((5264960)>>2)]=(134); -HEAP32[((5264964)>>2)]=(56); -HEAP32[((5264968)>>2)]=(224); -HEAP32[((5264972)>>2)]=(90); -HEAP32[((5264976)>>2)]=(10); -HEAP32[((5264980)>>2)]=(208); -HEAP32[((5264984)>>2)]=(814); -HEAP32[((5265000)>>2)]=(852); -HEAP32[((5265004)>>2)]=(792); -HEAP32[((5265008)>>2)]=(138); -HEAP32[((5265012)>>2)]=(130); -HEAP32[((5265016)>>2)]=(156); -HEAP32[((5265020)>>2)]=(816); -HEAP32[((5265024)>>2)]=(264); -HEAP32[((5265028)>>2)]=(206); -HEAP32[((5265032)>>2)]=(20); -HEAP32[((5265036)>>2)]=(754); -HEAP32[((5265048)>>2)]=(448); -HEAP32[((5265052)>>2)]=(632); -HEAP32[((5265056)>>2)]=(756); -HEAP32[((5265060)>>2)]=(802); -HEAP32[((5265064)>>2)]=(400); -HEAP32[((5265068)>>2)]=(298); -HEAP32[((5265072)>>2)]=(346); -HEAP32[((5265088)>>2)]=(550); -HEAP32[((5265092)>>2)]=(610); -HEAP32[((5265096)>>2)]=(138); -HEAP32[((5265100)>>2)]=(322); -HEAP32[((5265104)>>2)]=(282); -HEAP32[((5265108)>>2)]=(136); -HEAP32[((5265112)>>2)]=(454); -HEAP32[((5265116)>>2)]=(554); -HEAP32[((5265132)>>2)]=(148); -HEAP32[((5265136)>>2)]=(218); -HEAP32[((5265140)>>2)]=(138); -HEAP32[((5265144)>>2)]=(292); -HEAP32[((5265148)>>2)]=(590); -HEAP32[((5265152)>>2)]=(198); -HEAP32[((5265156)>>2)]=(578); -HEAP32[((5265160)>>2)]=(6); -HEAP32[((5265176)>>2)]=(856); -HEAP32[((5265180)>>2)]=(2); -HEAP32[((5265184)>>2)]=(138); -HEAP32[((5265188)>>2)]=(494); -HEAP32[((5265192)>>2)]=(878); -HEAP32[((5265196)>>2)]=(686); -HEAP32[((5265212)>>2)]=(132); -HEAP32[((5265216)>>2)]=(12); -HEAP32[((5265220)>>2)]=(138); -HEAP32[((5265224)>>2)]=(788); -HEAP32[((5265228)>>2)]=(260); -HEAP32[((5265232)>>2)]=(498); -HEAP32[((5265248)>>2)]=(456); -HEAP32[((5265252)>>2)]=(388); -HEAP32[((5265268)>>2)]=(520); -HEAP32[((5265272)>>2)]=(462); -HEAP32[((5265276)>>2)]=(268); -HEAP32[((5265292)>>2)]=(16); -HEAP32[((5265296)>>2)]=(548); -HEAP32[((5265300)>>2)]=(138); -HEAP32[((5265304)>>2)]=(516); -HEAP32[((5265308)>>2)]=(100); -HEAP32[((5265312)>>2)]=(94); -HEAP32[((5265316)>>2)]=(98); -HEAP32[((5265320)>>2)]=(92); -HEAP32[((5265324)>>2)]=(110); -HEAP32[((5265328)>>2)]=(108); -HEAP32[((5265332)>>2)]=(192); -HEAP32[((5265348)>>2)]=(318); -HEAP32[((5265352)>>2)]=(308); -HEAP32[((5265356)>>2)]=(138); -HEAP32[((5265360)>>2)]=(650); -HEAP32[((5265364)>>2)]=(654); -HEAP32[((5265368)>>2)]=(644); -HEAP32[((5265372)>>2)]=(652); -HEAP32[((5265376)>>2)]=(316); -HEAP32[((5265380)>>2)]=(648); -HEAP32[((5265384)>>2)]=(646); -HEAP32[((5265388)>>2)]=(552); -HEAP32[((5265404)>>2)]=(104); -HEAP32[((5265408)>>2)]=(58); -HEAP32[((5265412)>>2)]=(138); -HEAP32[((5265416)>>2)]=(714); -HEAP32[((5265420)>>2)]=(712); -HEAP32[((5265424)>>2)]=(702); -HEAP32[((5265428)>>2)]=(706); -HEAP32[((5265432)>>2)]=(588); -HEAP32[((5265436)>>2)]=(710); -HEAP32[((5265440)>>2)]=(700); -HEAP32[((5265444)>>2)]=(722); -HEAP32[((5265448)>>2)]=(718); -HEAP32[((5265452)>>2)]=(716); -HEAP32[((5265456)>>2)]=(432); -HEAP32[((5265472)>>2)]=(162); -HEAP32[((5265476)>>2)]=(4); -HEAP32[((5265480)>>2)]=(138); -HEAP32[((5265484)>>2)]=(848); -HEAP32[((5265488)>>2)]=(838); -HEAP32[((5265492)>>2)]=(832); -HEAP32[((5265496)>>2)]=(834); -HEAP32[((5265500)>>2)]=(810); -HEAP32[((5265504)>>2)]=(836); -HEAP32[((5265508)>>2)]=(830); -HEAP32[((5265512)>>2)]=(846); -HEAP32[((5265516)>>2)]=(844); -HEAP32[((5265520)>>2)]=(842); -HEAP32[((5265524)>>2)]=(708); -HEAP32[((5265540)>>2)]=(246); -HEAP32[((5265544)>>2)]=(300); -HEAP32[((5265548)>>2)]=(138); -HEAP32[((5265552)>>2)]=(428); -HEAP32[((5265556)>>2)]=(640); -HEAP32[((5265560)>>2)]=(376); -HEAP32[((5265576)>>2)]=(76); -HEAP32[((5265580)>>2)]=(556); -HEAP32[((5265584)>>2)]=(138); -HEAP32[((5265588)>>2)]=(626); -HEAP32[((5265592)>>2)]=(744); -HEAP32[((5265596)>>2)]=(54); -HEAP32[((5265612)>>2)]=(176); -HEAP32[((5265616)>>2)]=(442); -HEAP32[((5265620)>>2)]=(138); -HEAP32[((5265624)>>2)]=(634); -HEAP32[((5265628)>>2)]=(168); -HEAP32[((5265632)>>2)]=(624); -HEAP32[((5265636)>>2)]=(114); -HEAP32[((5265640)>>2)]=(398); -HEAP32[((5265644)>>2)]=(128); -HEAP32[((5265648)>>2)]=(486); -HEAP32[((5265664)>>2)]=(818); -HEAP32[((5265668)>>2)]=(196); -HEAP32[((5265672)>>2)]=(138); -HEAP32[((5265676)>>2)]=(64); -HEAP32[((5265680)>>2)]=(364); -HEAP32[((5265684)>>2)]=(210); -HEAP32[((5265688)>>2)]=(726); -HEAP32[((5265692)>>2)]=(684); -HEAP32[((5265696)>>2)]=(320); -HEAP32[((5265700)>>2)]=(678); -HEAP32[((5265716)>>2)]=(160); -HEAP32[((5265720)>>2)]=(446); -HEAP32[((5265724)>>2)]=(138); -HEAP32[((5265728)>>2)]=(874); -HEAP32[((5265732)>>2)]=(170); -HEAP32[((5265736)>>2)]=(82); -HEAP32[((5265740)>>2)]=(880); -HEAP32[((5265744)>>2)]=(304); -HEAP32[((5265748)>>2)]=(306); -HEAP32[((5265752)>>2)]=(124); -HEAP32[((5265768)>>2)]=(226); -HEAP32[((5265772)>>2)]=(496); -HEAP32[((5265776)>>2)]=(138); -HEAP32[((5265780)>>2)]=(414); -HEAP32[((5265784)>>2)]=(418); -HEAP32[((5265788)>>2)]=(666); -HEAP32[((5265792)>>2)]=(238); -HEAP32[((5265796)>>2)]=(480); -HEAP32[((5265800)>>2)]=(178); -HEAP32[((5265804)>>2)]=(416); -HEAP32[((5265820)>>2)]=(14); -HEAP32[((5265824)>>2)]=(86); -HEAP32[((5265828)>>2)]=(138); -HEAP32[((5265844)>>2)]=(450); -HEAP32[((5265848)>>2)]=(508); -HEAP32[((5265852)>>2)]=(138); -HEAP32[((5265868)>>2)]=(876); -HEAP32[((5265872)>>2)]=(266); -HEAP32[((5265876)>>2)]=(138); -HEAP32[((5265880)>>2)]=(466); -HEAP32[((5265884)>>2)]=(232); -HEAP32[((5265888)>>2)]=(412); -HEAP32[((5265892)>>2)]=(864); -HEAP32[((5265896)>>2)]=(234); -HEAP32[((5265900)>>2)]=(670); -HEAP32[((5265904)>>2)]=(616); -HEAP32[((5265908)>>2)]=(70); -HEAP32[((5265912)>>2)]=(144); -HEAP32[((5265916)>>2)]=(760); -HEAP32[((5265920)>>2)]=(350); -HEAP32[((5265924)>>2)]=(236); -HEAP32[((5265940)>>2)]=(254); -HEAP32[((5265944)>>2)]=(96); -HEAP32[((5265948)>>2)]=(138); -HEAP32[((5265952)>>2)]=(32); -HEAP32[((5265956)>>2)]=(62); -HEAP32[((5265960)>>2)]=(436); -HEAP32[((5265964)>>2)]=(752); -HEAP32[((5265968)>>2)]=(172); -HEAP32[((5265972)>>2)]=(440); -HEAP32[((5265976)>>2)]=(530); -HEAP32[((5265980)>>2)]=(474); -HEAP32[((5265996)>>2)]=(134); -HEAP32[((5266000)>>2)]=(56); -HEAP32[((5266004)>>2)]=(224); -HEAP32[((5266008)>>2)]=(90); -HEAP32[((5266012)>>2)]=(10); -HEAP32[((5266016)>>2)]=(208); -HEAP32[((5266020)>>2)]=(814); -HEAP32[((5266036)>>2)]=(448); -HEAP32[((5266040)>>2)]=(632); -HEAP32[((5266044)>>2)]=(756); -HEAP32[((5266048)>>2)]=(802); -HEAP32[((5266052)>>2)]=(400); -HEAP32[((5266056)>>2)]=(298); -HEAP32[((5266060)>>2)]=(346); -HEAP32[((5266080)>>2)]=(720); -HEAP32[((5266084)>>2)]=(656); -HEAP32[((5266100)>>2)]=(80); -HEAP32[((5266104)>>2)]=(344); -HEAP32[((5266120)>>2)]=(222); -HEAP32[((5266124)>>2)]=(780); -HEAP32[((5266128)>>2)]=(512); -HEAP32[((5266132)>>2)]=(676); -HEAP32[((5266136)>>2)]=(404); -HEAP32[((5266140)>>2)]=(746); -HEAP32[((5266144)>>2)]=(736); -HEAP32[((5266160)>>2)]=(532); -HEAP32[((5266164)>>2)]=(278); -HEAP32[((5266168)>>2)]=(138); -HEAP32[((5266172)>>2)]=(414); -HEAP32[((5266176)>>2)]=(418); -HEAP32[((5266180)>>2)]=(666); -HEAP32[((5266184)>>2)]=(238); -HEAP32[((5266188)>>2)]=(480); -HEAP32[((5266192)>>2)]=(178); -HEAP32[((5266196)>>2)]=(416); -HEAP32[((5266212)>>2)]=(894); -HEAP32[((5266216)>>2)]=(482); -HEAP32[((5266220)>>2)]=(138); -HEAP32[((5266224)>>2)]=(414); -HEAP32[((5266228)>>2)]=(418); -HEAP32[((5266232)>>2)]=(666); -HEAP32[((5266236)>>2)]=(238); -HEAP32[((5266240)>>2)]=(480); -HEAP32[((5266244)>>2)]=(178); -HEAP32[((5266248)>>2)]=(416); -HEAP32[((5266264)>>2)]=(140); -HEAP32[((5266268)>>2)]=(766); -HEAP32[((5266272)>>2)]=(614); -HEAP32[((5266276)>>2)]=(806); -HEAP32[((5266280)>>2)]=(658); -HEAP32[((5266284)>>2)]=(48); -HEAP32[((5266288)>>2)]=(326); -HEAP32[((5266292)>>2)]=(598); -HEAP32[((5266296)>>2)]=(430); -HEAP32[((5266300)>>2)]=(258); -HEAP32[((5266304)>>2)]=(72); -HEAP32[((5266308)>>2)]=(724); -HEAP32[((5266312)>>2)]=(410); -HEAP32[((5266316)>>2)]=(286); -HEAP32[((5266332)>>2)]=(424); -HEAP32[((5266336)>>2)]=(822); -HEAP32[((5266340)>>2)]=(240); -HEAP32[((5266344)>>2)]=(490); -HEAP32[((5266348)>>2)]=(312); -HEAP32[((5266352)>>2)]=(582); -HEAP32[((5266356)>>2)]=(618); -HEAP32[((5266360)>>2)]=(694); -HEAP32[((5266364)>>2)]=(730); -HEAP32[((5266368)>>2)]=(184); -HEAP32[((5266372)>>2)]=(164); -HEAP32[((5266376)>>2)]=(152); -HEAP32[((5266380)>>2)]=(886); -HEAP32[((5266384)>>2)]=(604); -HEAP32[((5266400)>>2)]=(26); -HEAP32[((5266404)>>2)]=(396); -HEAP32[((5266408)>>2)]=(614); -HEAP32[((5266412)>>2)]=(806); -HEAP32[((5266416)>>2)]=(800); -HEAP32[((5266420)>>2)]=(380); -HEAP32[((5266424)>>2)]=(326); -HEAP32[((5266428)>>2)]=(598); -HEAP32[((5266432)>>2)]=(430); -HEAP32[((5266436)>>2)]=(42); -HEAP32[((5266440)>>2)]=(72); -HEAP32[((5266444)>>2)]=(824); -HEAP32[((5266448)>>2)]=(410); -HEAP32[((5266452)>>2)]=(798); -HEAP32[((5266468)>>2)]=(476); -HEAP32[((5266472)>>2)]=(642); -HEAP32[((5266476)>>2)]=(608); -HEAP32[((5266480)>>2)]=(676); -HEAP32[((5266484)>>2)]=(404); -HEAP32[((5266488)>>2)]=(746); -HEAP32[((5266492)>>2)]=(608); -HEAP32[((5266512)>>2)]=(122); -HEAP32[((5266516)>>2)]=(740); -HEAP32[((5266532)>>2)]=(472); -HEAP32[((5266536)>>2)]=(422); -HEAP32[((5266556)>>2)]=(768); -HEAP32[((5266560)>>2)]=(826); -HEAP32[((5266576)>>2)]=(366); -HEAP32[((5266580)>>2)]=(672); -HEAP32[((5266600)>>2)]=(288); -HEAP32[((5266604)>>2)]=(892); -HEAP32[((5266620)>>2)]=(566); -HEAP32[((5266624)>>2)]=(820); -HEAP32[((5266644)>>2)]=(362); -HEAP32[((5266648)>>2)]=(698); -HEAP32[((5266664)>>2)]=(458); -HEAP32[((5266668)>>2)]=(158); -HEAP32[((5266684)>>2)]=(862); -HEAP32[((5266688)>>2)]=(568); -HEAP32[((5266692)>>2)]=(268); -HEAP32[((5266708)>>2)]=(352); -HEAP32[((5266712)>>2)]=(628); -HEAP32[((5266716)>>2)]=(608); -HEAP32[((5266720)>>2)]=(676); -HEAP32[((5266724)>>2)]=(404); -HEAP32[((5266728)>>2)]=(746); -HEAP32[((5266732)>>2)]=(88); -HEAP32[((5266748)>>2)]=(858); -HEAP32[((5266752)>>2)]=(572); -HEAP32[((5266756)>>2)]=(228); -HEAP32[((5266760)>>2)]=(490); -HEAP32[((5266764)>>2)]=(312); -HEAP32[((5266768)>>2)]=(582); -HEAP32[((5266772)>>2)]=(354); -HEAP32[((5266776)>>2)]=(694); -HEAP32[((5266780)>>2)]=(730); -HEAP32[((5266784)>>2)]=(184); -HEAP32[((5266788)>>2)]=(164); -HEAP32[((5266792)>>2)]=(152); -HEAP32[((5266796)>>2)]=(886); -HEAP32[((5266800)>>2)]=(828); -HEAP32[((5266816)>>2)]=(502); -HEAP32[((5266820)>>2)]=(562); -HEAP32[((5266824)>>2)]=(382); -HEAP32[((5266828)>>2)]=(806); -HEAP32[((5266832)>>2)]=(800); -HEAP32[((5266836)>>2)]=(380); -HEAP32[((5266840)>>2)]=(620); -HEAP32[((5266844)>>2)]=(598); -HEAP32[((5266848)>>2)]=(430); -HEAP32[((5266852)>>2)]=(42); -HEAP32[((5266856)>>2)]=(72); -HEAP32[((5266860)>>2)]=(824); -HEAP32[((5266864)>>2)]=(410); -HEAP32[((5266868)>>2)]=(220); -HEAP32[((5266884)>>2)]=(784); -HEAP32[((5266888)>>2)]=(468); -HEAP32[((5266892)>>2)]=(138); -HEAP32[((5266896)>>2)]=(444); -HEAP32[((5266900)>>2)]=(762); -HEAP32[((5266904)>>2)]=(518); -HEAP32[((5266908)>>2)]=(870); -HEAP32[((5266912)>>2)]=(68); -HEAP32[((5266916)>>2)]=(340); -HEAP32[((5266920)>>2)]=(338); -HEAP32[((5266924)>>2)]=(262); -HEAP32[((5266928)>>2)]=(438); -HEAP32[((5266944)>>2)]=(358); -HEAP32[((5266948)>>2)]=(174); -HEAP32[((5266952)>>2)]=(138); -HEAP32[((5266956)>>2)]=(742); -HEAP32[((5266960)>>2)]=(750); -HEAP32[((5266964)>>2)]=(690); -HEAP32[((5266968)>>2)]=(786); -HEAP32[((5266972)>>2)]=(808); -HEAP32[((5266976)>>2)]=(294); -HEAP32[((5266980)>>2)]=(748); -HEAP32[((5266984)>>2)]=(558); -HEAP32[((5266988)>>2)]=(166); -HEAP32[((5267004)>>2)]=(794); -HEAP32[((5267008)>>2)]=(392); -HEAP32[((5267012)>>2)]=(138); -HEAP32[((5267016)>>2)]=(112); -HEAP32[((5267020)>>2)]=(386); -HEAP32[((5267024)>>2)]=(522); -HEAP32[((5267028)>>2)]=(506); -HEAP32[((5267032)>>2)]=(882); -HEAP32[((5267036)>>2)]=(560); -HEAP32[((5267040)>>2)]=(664); -HEAP32[((5267044)>>2)]=(580); -HEAP32[((5267048)>>2)]=(360); -HEAP32[((5267064)>>2)]=(256); -HEAP32[((5267068)>>2)]=(546); -HEAP32[((5267072)>>2)]=(138); -HEAP32[((5267076)>>2)]=(696); -HEAP32[((5267080)>>2)]=(728); -HEAP32[((5267084)>>2)]=(334); -HEAP32[((5267088)>>2)]=(758); -HEAP32[((5267092)>>2)]=(302); -HEAP32[((5267096)>>2)]=(242); -HEAP32[((5267100)>>2)]=(514); -HEAP32[((5267104)>>2)]=(738); -HEAP32[((5267108)>>2)]=(732); -HEAP32[((5267124)>>2)]=(290); -HEAP32[((5267128)>>2)]=(44); -HEAP32[((5267132)>>2)]=(116); -HEAP32[((5267136)>>2)]=(490); -HEAP32[((5267140)>>2)]=(312); -HEAP32[((5267144)>>2)]=(582); -HEAP32[((5267148)>>2)]=(618); -HEAP32[((5267152)>>2)]=(694); -HEAP32[((5267156)>>2)]=(730); -HEAP32[((5267160)>>2)]=(460); -HEAP32[((5267164)>>2)]=(576); -HEAP32[((5267168)>>2)]=(212); -HEAP32[((5267172)>>2)]=(886); -HEAP32[((5267176)>>2)]=(604); -HEAP32[((5267192)>>2)]=(36); -HEAP32[((5267196)>>2)]=(770); -HEAP32[((5267200)>>2)]=(636); -HEAP32[((5267204)>>2)]=(806); -HEAP32[((5267208)>>2)]=(800); -HEAP32[((5267212)>>2)]=(380); -HEAP32[((5267216)>>2)]=(326); -HEAP32[((5267220)>>2)]=(598); -HEAP32[((5267224)>>2)]=(430); -HEAP32[((5267228)>>2)]=(674); -HEAP32[((5267232)>>2)]=(150); -HEAP32[((5267236)>>2)]=(40); -HEAP32[((5267240)>>2)]=(410); -HEAP32[((5267244)>>2)]=(798); -HEAP32[((5267260)>>2)]=(190); -HEAP32[((5267264)>>2)]=(776); -HEAP32[((5267268)>>2)]=(180); -HEAP32[((5267272)>>2)]=(796); -HEAP32[((5267276)>>2)]=(154); -HEAP32[((5267280)>>2)]=(574); -HEAP32[((5267284)>>2)]=(126); -HEAP32[((5267300)>>2)]=(272); -HEAP32[((5267304)>>2)]=(324); -HEAP32[((5267308)>>2)]=(18); -HEAP32[((5267312)>>2)]=(868); -HEAP32[((5267328)>>2)]=(804); -HEAP32[((5267332)>>2)]=(188); -HEAP32[((5267336)>>2)]=(608); -HEAP32[((5267340)>>2)]=(608); -HEAP32[((5267356)>>2)]=(230); -HEAP32[((5267360)>>2)]=(504); -HEAP32[((5267364)>>2)]=(180); -HEAP32[((5267368)>>2)]=(796); -HEAP32[((5267372)>>2)]=(154); -HEAP32[((5267376)>>2)]=(574); -HEAP32[((5267380)>>2)]=(126); -HEAP32[((5267396)>>2)]=(790); -HEAP32[((5267400)>>2)]=(866); -HEAP32[((5267404)>>2)]=(478); -HEAP32[((5267420)>>2)]=(390); -HEAP32[((5267424)>>2)]=(682); -HEAP32[((5267440)>>2)]=(142); -HEAP32[((5267444)>>2)]=(434); -HEAP32[((5267448)>>2)]=(182); -HEAP32[((5267452)>>2)]=(402); -HEAP32[((5267456)>>2)]=(406); -HEAP32[((5267460)>>2)]=(66); -HEAP32[((5267476)>>2)]=(328); -HEAP32[((5267480)>>2)]=(606); -HEAP32[((5267484)>>2)]=(638); -HEAP32[((5267488)>>2)]=(332); -HEAP32[((5267492)>>2)]=(538); -HEAP32[((5267496)>>2)]=(704); -HEAP32[((5267500)>>2)]=(244); -HEAP32[((5267504)>>2)]=(30); -HEAP32[((5267520)>>2)]=(348); -HEAP32[((5267524)>>2)]=(592); -HEAP32[((5267528)>>2)]=(596); -HEAP32[((5267532)>>2)]=(22); -HEAP32[((5267536)>>2)]=(74); -HEAP32[((5267540)>>2)]=(662); -HEAP32[((5267544)>>2)]=(106); -HEAP32[((5267548)>>2)]=(186); -HEAP32[((5267564)>>2)]=(378); -HEAP32[((5267568)>>2)]=(408); -HEAP32[((5267572)>>2)]=(608); -HEAP32[((5267576)>>2)]=(608); -HEAP32[((5267580)>>2)]=(608); -HEAP32[((5267584)>>2)]=(608); -HEAP32[((5267588)>>2)]=(608); -HEAP32[((5267604)>>2)]=(500); -HEAP32[((5267608)>>2)]=(630); -HEAP32[((5267612)>>2)]=(608); -HEAP32[((5267616)>>2)]=(608); -HEAP32[((5267620)>>2)]=(608); -HEAP32[((5267624)>>2)]=(608); -HEAP32[((5267628)>>2)]=(608); -HEAP32[((5267632)>>2)]=(608); -HEAP32[((5267648)>>2)]=(782); -HEAP32[((5267652)>>2)]=(484); -HEAP32[((5267656)>>2)]=(384); -HEAP32[((5267660)>>2)]=(310); -HEAP32[((5267676)>>2)]=(214); -HEAP32[((5267680)>>2)]=(280); -HEAP32[((5267684)>>2)]=(200); -HEAP32[((5267688)>>2)]=(488); -HEAP32[((5267692)>>2)]=(692); -HEAP32[((5267708)>>2)]=(368); -HEAP32[((5267712)>>2)]=(660); -HEAP32[((5267716)>>2)]=(200); -HEAP32[((5267720)>>2)]=(488); -HEAP32[((5267724)>>2)]=(250); -HEAP32[((5267728)>>2)]=(78); -HEAP32[((5267732)>>2)]=(764); -HEAP32[((5267736)>>2)]=(342); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(8))>>2)]=(370); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(12))>>2)]=(426); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(16))>>2)]=(200); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(20))>>2)]=(488); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(24))>>2)]=(250); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(28))>>2)]=(118); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(32))>>2)]=(296); -HEAP32[(((__ZTVN10__cxxabiv120__si_class_type_infoE)+(36))>>2)]=(336); -HEAP32[(((__ZTVN10__cxxabiv119__pointer_type_infoE)+(8))>>2)]=(470); -HEAP32[(((__ZTVN10__cxxabiv119__pointer_type_infoE)+(12))>>2)]=(202); -HEAP32[(((__ZTVN10__cxxabiv119__pointer_type_infoE)+(16))>>2)]=(200); -HEAP32[(((__ZTVN10__cxxabiv119__pointer_type_infoE)+(20))>>2)]=(488); -HEAP32[(((__ZTVN10__cxxabiv119__pointer_type_infoE)+(24))>>2)]=(612); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(8))>>2)]=(564); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(12))>>2)]=(854); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(16))>>2)]=(200); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(20))>>2)]=(488); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(24))>>2)]=(250); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(28))>>2)]=(680); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(32))>>2)]=(330); -HEAP32[(((__ZTVN10__cxxabiv117__class_type_infoE)+(36))>>2)]=(510); -HEAP32[((5271172)>>2)]=(((5267676)|0)); -HEAP32[((5271176)>>2)]=((5267744)|0); -HEAP32[((__ZTIc)>>2)]=(((5267676)|0)); -HEAP32[(((__ZTIc)+(4))>>2)]=((5267752)|0); -HEAP32[((5271180)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5271184)>>2)]=((5267756)|0); -HEAP32[((5271188)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5271192)>>2)]=((5267772)|0); -HEAP32[((5271196)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271200)>>2)]=((5267788)|0); -HEAP32[((5271208)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271212)>>2)]=((5267804)|0); -HEAP32[((5271220)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271224)>>2)]=((5267816)|0); -HEAP32[((5271232)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271236)>>2)]=((5267836)|0); -HEAP32[((5271244)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271248)>>2)]=((5267856)|0); -HEAP32[((5271256)>>2)]=(((__ZTVN10__cxxabiv119__pointer_type_infoE+8)|0)); -HEAP32[((5271260)>>2)]=((5267872)|0); -HEAP32[((5271268)>>2)]=__ZTIc; -HEAP32[((5271272)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5271276)>>2)]=((5267876)|0); -HEAP32[((5271280)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5271284)>>2)]=((5267896)|0); -HEAP32[((5271288)>>2)]=(((5267708)|0)); -HEAP32[((5271292)>>2)]=((5267916)|0); -HEAP32[((5271320)>>2)]=(((5267708)|0)); -HEAP32[((5271324)>>2)]=((5267988)|0); -HEAP32[((5271352)>>2)]=(((5267708)|0)); -HEAP32[((5271356)>>2)]=((5268060)|0); -HEAP32[((5271384)>>2)]=(((5267708)|0)); -HEAP32[((5271388)>>2)]=((5268132)|0); -HEAP32[((5271416)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271420)>>2)]=((5268204)|0); -HEAP32[((5271428)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271432)>>2)]=((5268248)|0); -HEAP32[((5271440)>>2)]=(((5267708)|0)); -HEAP32[((5271444)>>2)]=((5268292)|0); -HEAP32[((5271464)>>2)]=(((5267708)|0)); -HEAP32[((5271468)>>2)]=((5268316)|0); -HEAP32[((5271488)>>2)]=(((5267708)|0)); -HEAP32[((5271492)>>2)]=((5268340)|0); -HEAP32[((5271512)>>2)]=(((5267708)|0)); -HEAP32[((5271516)>>2)]=((5268364)|0); -HEAP32[((5271536)>>2)]=(((5267708)|0)); -HEAP32[((5271540)>>2)]=((5268388)|0); -HEAP32[((5271568)>>2)]=(((5267708)|0)); -HEAP32[((5271572)>>2)]=((5268460)|0); -HEAP32[((5271600)>>2)]=(((5267708)|0)); -HEAP32[((5271604)>>2)]=((5268532)|0); -HEAP32[((5271640)>>2)]=(((5267708)|0)); -HEAP32[((5271644)>>2)]=((5268604)|0); -HEAP32[((5271680)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271684)>>2)]=((5268676)|0); -HEAP32[((5271692)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271696)>>2)]=((5268700)|0); -HEAP32[((5271704)>>2)]=(((5267708)|0)); -HEAP32[((5271708)>>2)]=((5268724)|0); -HEAP32[((5271736)>>2)]=(((5267708)|0)); -HEAP32[((5271740)>>2)]=((5268748)|0); -HEAP32[((5271768)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5271772)>>2)]=((5268772)|0); -HEAP32[((5271776)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271780)>>2)]=((5268792)|0); -HEAP32[((5271788)>>2)]=(((5267708)|0)); -HEAP32[((5271792)>>2)]=((5268820)|0); -HEAP32[((5271820)>>2)]=(((5267708)|0)); -HEAP32[((5271824)>>2)]=((5268888)|0); -HEAP32[((5271852)>>2)]=(((5267708)|0)); -HEAP32[((5271856)>>2)]=((5268956)|0); -HEAP32[((5271884)>>2)]=(((5267708)|0)); -HEAP32[((5271888)>>2)]=((5269024)|0); -HEAP32[((5271916)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271920)>>2)]=((5269092)|0); -HEAP32[((5271928)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5271932)>>2)]=((5269112)|0); -HEAP32[((5271940)>>2)]=(((5267708)|0)); -HEAP32[((5271944)>>2)]=((5269132)|0); -HEAP32[((5271972)>>2)]=(((5267708)|0)); -HEAP32[((5271976)>>2)]=((5269168)|0); -HEAP32[((5272004)>>2)]=(((5267708)|0)); -HEAP32[((5272008)>>2)]=((5269204)|0); -HEAP32[((5272036)>>2)]=(((5267708)|0)); -HEAP32[((5272040)>>2)]=((5269240)|0); -HEAP32[((5272068)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272072)>>2)]=((5269276)|0); -HEAP32[((5272080)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272084)>>2)]=((5269300)|0); -HEAP32[((5272092)>>2)]=(((5267708)|0)); -HEAP32[((5272096)>>2)]=((5269324)|0); -HEAP32[((5272124)>>2)]=(((5267708)|0)); -HEAP32[((5272128)>>2)]=((5269344)|0); -HEAP32[((5272156)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272160)>>2)]=((5269364)|0); -HEAP32[((5272164)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272168)>>2)]=((5269400)|0); -HEAP32[((5272172)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272176)>>2)]=((5269436)|0); -HEAP32[((5272184)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272188)>>2)]=((5269508)|0); -HEAP32[((5272196)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272200)>>2)]=((5269540)|0); -HEAP32[((5272208)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272212)>>2)]=((5269576)|0); -HEAP32[((5272220)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272224)>>2)]=((5269612)|0); -HEAP32[((5272232)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272236)>>2)]=((5269680)|0); -HEAP32[((5272240)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272244)>>2)]=((5269732)|0); -HEAP32[((5272248)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272252)>>2)]=((5269784)|0); -HEAP32[((5272256)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272260)>>2)]=((5269812)|0); -HEAP32[((5272264)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272268)>>2)]=((5269840)|0); -HEAP32[((5272272)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272276)>>2)]=((5269868)|0); -HEAP32[((5272280)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272284)>>2)]=((5269896)|0); -HEAP32[((5272288)>>2)]=(((5267708)|0)); -HEAP32[((5272292)>>2)]=((5269920)|0); -HEAP32[((5272312)>>2)]=(((5267708)|0)); -HEAP32[((5272316)>>2)]=((5269968)|0); -HEAP32[((5272336)>>2)]=(((5267708)|0)); -HEAP32[((5272340)>>2)]=((5270016)|0); -HEAP32[((5272360)>>2)]=(((5267708)|0)); -HEAP32[((5272364)>>2)]=((5270064)|0); -HEAP32[((5272384)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272388)>>2)]=((5270112)|0); -HEAP32[((5272396)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272400)>>2)]=((5270136)|0); -HEAP32[((5272404)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272408)>>2)]=((5270160)|0); -HEAP32[((5272416)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272420)>>2)]=((5270184)|0); -HEAP32[((5272428)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272432)>>2)]=((5270212)|0); -HEAP32[((5272440)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272444)>>2)]=((5270240)|0); -HEAP32[((5272448)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272452)>>2)]=((5270268)|0); -HEAP32[((5272456)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272460)>>2)]=((5270296)|0); -HEAP32[((5272464)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272468)>>2)]=((5270324)|0); -HEAP32[((5272472)>>2)]=(((5267708)|0)); -HEAP32[((5272476)>>2)]=((5270352)|0); -HEAP32[((5272504)>>2)]=(((5267708)|0)); -HEAP32[((5272508)>>2)]=((5270380)|0); -HEAP32[((5272536)>>2)]=(((5267708)|0)); -HEAP32[((5272540)>>2)]=((5270408)|0); -HEAP32[((5272568)>>2)]=(((5267708)|0)); -HEAP32[((5272572)>>2)]=((5270436)|0); -HEAP32[((5272600)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272604)>>2)]=((5270464)|0); -HEAP32[((5272608)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272612)>>2)]=((5270488)|0); -HEAP32[((5272616)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272620)>>2)]=((5270512)|0); -HEAP32[((5272624)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272628)>>2)]=((5270536)|0); -HEAP32[((5272636)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272640)>>2)]=((5270560)|0); -HEAP32[((5272648)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272652)>>2)]=((5270584)|0); -HEAP32[((5272660)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272664)>>2)]=((5270604)|0); -HEAP32[((5272672)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272676)>>2)]=((5270624)|0); -HEAP32[((5272680)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272684)>>2)]=((5270644)|0); -HEAP32[((5272692)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272696)>>2)]=((5270664)|0); -HEAP32[((5272700)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272704)>>2)]=((5270680)|0); -HEAP32[((5272708)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272712)>>2)]=((5270696)|0); -HEAP32[((5272716)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272720)>>2)]=((5270732)|0); -HEAP32[((5272724)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272728)>>2)]=((5270768)|0); -HEAP32[((5272736)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272740)>>2)]=((5270800)|0); -HEAP32[((5272748)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272752)>>2)]=((5270832)|0); -HEAP32[((5272756)>>2)]=(((__ZTVN10__cxxabiv117__class_type_infoE+8)|0)); -HEAP32[((5272760)>>2)]=((5270860)|0); -HEAP32[((5272764)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272768)>>2)]=((5270884)|0); -HEAP32[((5272776)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272780)>>2)]=((5270908)|0); -HEAP32[((5272788)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272792)>>2)]=((5270948)|0); -HEAP32[((5272800)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272804)>>2)]=((5270988)|0); -HEAP32[((5272812)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272816)>>2)]=((5271028)|0); -HEAP32[((5272824)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272828)>>2)]=((5271064)|0); -HEAP32[((5272836)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272840)>>2)]=((5271100)|0); -HEAP32[((5272848)>>2)]=(((__ZTVN10__cxxabiv120__si_class_type_infoE+8)|0)); -HEAP32[((5272852)>>2)]=((5271136)|0); -HEAP32[((5272872)>>2)]=(768); -HEAP32[((5272876)>>2)]=(826); -HEAP32[((5272892)>>2)]=(366); -HEAP32[((5272896)>>2)]=(672); - - function ___gxx_personality_v0() { - } - - - function _memcpy(dest, src, num) { - dest = dest|0; src = src|0; num = num|0; - var ret = 0; - ret = dest|0; - if ((dest&3) == (src&3)) { - while (dest & 3) { - if ((num|0) == 0) return ret|0; - HEAP8[(dest)]=HEAP8[(src)]; - dest = (dest+1)|0; - src = (src+1)|0; - num = (num-1)|0; - } - while ((num|0) >= 4) { - HEAP32[((dest)>>2)]=HEAP32[((src)>>2)]; - dest = (dest+4)|0; - src = (src+4)|0; - num = (num-4)|0; - } - } - while ((num|0) > 0) { - HEAP8[(dest)]=HEAP8[(src)]; - dest = (dest+1)|0; - src = (src+1)|0; - num = (num-1)|0; - } - return ret|0; - }var _llvm_memcpy_p0i8_p0i8_i32=_memcpy; - - function ___cxa_call_unexpected(exception) { - Module.printErr('Unexpected exception thrown, this is not properly supported - aborting'); - ABORT = true; - throw exception; - } - - function ___cxa_pure_virtual() { - ABORT = true; - throw 'Pure virtual function called!'; - } - - function ___assert_func(filename, line, func, condition) { - throw 'Assertion failed: ' + (condition ? Pointer_stringify(condition) : 'unknown condition') + ', at: ' + [filename ? Pointer_stringify(filename) : 'unknown filename', line, func ? Pointer_stringify(func) : 'unknown function'] + ' at ' + new Error().stack; - } - - - - - var ERRNO_CODES={E2BIG:7,EACCES:13,EADDRINUSE:98,EADDRNOTAVAIL:99,EAFNOSUPPORT:97,EAGAIN:11,EALREADY:114,EBADF:9,EBADMSG:74,EBUSY:16,ECANCELED:125,ECHILD:10,ECONNABORTED:103,ECONNREFUSED:111,ECONNRESET:104,EDEADLK:35,EDESTADDRREQ:89,EDOM:33,EDQUOT:122,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:113,EIDRM:43,EILSEQ:84,EINPROGRESS:115,EINTR:4,EINVAL:22,EIO:5,EISCONN:106,EISDIR:21,ELOOP:40,EMFILE:24,EMLINK:31,EMSGSIZE:90,EMULTIHOP:72,ENAMETOOLONG:36,ENETDOWN:100,ENETRESET:102,ENETUNREACH:101,ENFILE:23,ENOBUFS:105,ENODATA:61,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:37,ENOLINK:67,ENOMEM:12,ENOMSG:42,ENOPROTOOPT:92,ENOSPC:28,ENOSR:63,ENOSTR:60,ENOSYS:38,ENOTCONN:107,ENOTDIR:20,ENOTEMPTY:39,ENOTRECOVERABLE:131,ENOTSOCK:88,ENOTSUP:95,ENOTTY:25,ENXIO:6,EOVERFLOW:75,EOWNERDEAD:130,EPERM:1,EPIPE:32,EPROTO:71,EPROTONOSUPPORT:93,EPROTOTYPE:91,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:116,ETIME:62,ETIMEDOUT:110,ETXTBSY:26,EWOULDBLOCK:11,EXDEV:18}; - - function ___setErrNo(value) { - // For convenient setting and returning of errno. - if (!___setErrNo.ret) ___setErrNo.ret = allocate([0], 'i32', ALLOC_STATIC); - HEAP32[((___setErrNo.ret)>>2)]=value - return value; - } - - var _stdin=allocate(1, "i32*", ALLOC_STACK); - - var _stdout=allocate(1, "i32*", ALLOC_STACK); - - var _stderr=allocate(1, "i32*", ALLOC_STACK); - - var __impure_ptr=allocate(1, "i32*", ALLOC_STACK);var FS={currentPath:"/",nextInode:2,streams:[null],ignorePermissions:true,joinPath:function (parts, forceRelative) { - var ret = parts[0]; - for (var i = 1; i < parts.length; i++) { - if (ret[ret.length-1] != '/') ret += '/'; - ret += parts[i]; - } - if (forceRelative && ret[0] == '/') ret = ret.substr(1); - return ret; - },absolutePath:function (relative, base) { - if (typeof relative !== 'string') return null; - if (base === undefined) base = FS.currentPath; - if (relative && relative[0] == '/') base = ''; - var full = base + '/' + relative; - var parts = full.split('/').reverse(); - var absolute = ['']; - while (parts.length) { - var part = parts.pop(); - if (part == '' || part == '.') { - // Nothing. - } else if (part == '..') { - if (absolute.length > 1) absolute.pop(); - } else { - absolute.push(part); - } - } - return absolute.length == 1 ? '/' : absolute.join('/'); - },analyzePath:function (path, dontResolveLastLink, linksVisited) { - var ret = { - isRoot: false, - exists: false, - error: 0, - name: null, - path: null, - object: null, - parentExists: false, - parentPath: null, - parentObject: null - }; - path = FS.absolutePath(path); - if (path == '/') { - ret.isRoot = true; - ret.exists = ret.parentExists = true; - ret.name = '/'; - ret.path = ret.parentPath = '/'; - ret.object = ret.parentObject = FS.root; - } else if (path !== null) { - linksVisited = linksVisited || 0; - path = path.slice(1).split('/'); - var current = FS.root; - var traversed = ['']; - while (path.length) { - if (path.length == 1 && current.isFolder) { - ret.parentExists = true; - ret.parentPath = traversed.length == 1 ? '/' : traversed.join('/'); - ret.parentObject = current; - ret.name = path[0]; - } - var target = path.shift(); - if (!current.isFolder) { - ret.error = ERRNO_CODES.ENOTDIR; - break; - } else if (!current.read) { - ret.error = ERRNO_CODES.EACCES; - break; - } else if (!current.contents.hasOwnProperty(target)) { - ret.error = ERRNO_CODES.ENOENT; - break; - } - current = current.contents[target]; - if (current.link && !(dontResolveLastLink && path.length == 0)) { - if (linksVisited > 40) { // Usual Linux SYMLOOP_MAX. - ret.error = ERRNO_CODES.ELOOP; - break; - } - var link = FS.absolutePath(current.link, traversed.join('/')); - ret = FS.analyzePath([link].concat(path).join('/'), - dontResolveLastLink, linksVisited + 1); - return ret; - } - traversed.push(target); - if (path.length == 0) { - ret.exists = true; - ret.path = traversed.join('/'); - ret.object = current; - } - } - } - return ret; - },findObject:function (path, dontResolveLastLink) { - FS.ensureRoot(); - var ret = FS.analyzePath(path, dontResolveLastLink); - if (ret.exists) { - return ret.object; - } else { - ___setErrNo(ret.error); - return null; - } - },createObject:function (parent, name, properties, canRead, canWrite) { - if (!parent) parent = '/'; - if (typeof parent === 'string') parent = FS.findObject(parent); - - if (!parent) { - ___setErrNo(ERRNO_CODES.EACCES); - throw new Error('Parent path must exist.'); - } - if (!parent.isFolder) { - ___setErrNo(ERRNO_CODES.ENOTDIR); - throw new Error('Parent must be a folder.'); - } - if (!parent.write && !FS.ignorePermissions) { - ___setErrNo(ERRNO_CODES.EACCES); - throw new Error('Parent folder must be writeable.'); - } - if (!name || name == '.' || name == '..') { - ___setErrNo(ERRNO_CODES.ENOENT); - throw new Error('Name must not be empty.'); - } - if (parent.contents.hasOwnProperty(name)) { - ___setErrNo(ERRNO_CODES.EEXIST); - throw new Error("Can't overwrite object."); - } - - parent.contents[name] = { - read: canRead === undefined ? true : canRead, - write: canWrite === undefined ? false : canWrite, - timestamp: Date.now(), - inodeNumber: FS.nextInode++ - }; - for (var key in properties) { - if (properties.hasOwnProperty(key)) { - parent.contents[name][key] = properties[key]; - } - } - - return parent.contents[name]; - },createFolder:function (parent, name, canRead, canWrite) { - var properties = {isFolder: true, isDevice: false, contents: {}}; - return FS.createObject(parent, name, properties, canRead, canWrite); - },createPath:function (parent, path, canRead, canWrite) { - var current = FS.findObject(parent); - if (current === null) throw new Error('Invalid parent.'); - path = path.split('/').reverse(); - while (path.length) { - var part = path.pop(); - if (!part) continue; - if (!current.contents.hasOwnProperty(part)) { - FS.createFolder(current, part, canRead, canWrite); - } - current = current.contents[part]; - } - return current; - },createFile:function (parent, name, properties, canRead, canWrite) { - properties.isFolder = false; - return FS.createObject(parent, name, properties, canRead, canWrite); - },createDataFile:function (parent, name, data, canRead, canWrite) { - if (typeof data === 'string') { - var dataArray = new Array(data.length); - for (var i = 0, len = data.length; i < len; ++i) dataArray[i] = data.charCodeAt(i); - data = dataArray; - } - var properties = { - isDevice: false, - contents: data.subarray ? data.subarray(0) : data // as an optimization, create a new array wrapper (not buffer) here, to help JS engines understand this object - }; - return FS.createFile(parent, name, properties, canRead, canWrite); - },createLazyFile:function (parent, name, url, canRead, canWrite) { - - 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'; - // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse. - var LazyUint8Array = function(chunkSize, length) { - this.length = length; - this.chunkSize = chunkSize; - this.chunks = []; // Loaded chunks. Index is the chunk number - } - LazyUint8Array.prototype.get = function(idx) { - if (idx > this.length-1 || idx < 0) { - return undefined; - } - var chunkOffset = idx % chunkSize; - var chunkNum = Math.floor(idx / chunkSize); - return this.getter(chunkNum)[chunkOffset]; - } - LazyUint8Array.prototype.setDataGetter = function(getter) { - this.getter = getter; - } - - // 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 chunkSize = 1024*1024; // Chunk size in bytes - if (!hasByteServing) chunkSize = datalength; - - // Function to get a range from the remote URL. - 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!"); - - // 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. - 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 = new LazyUint8Array(chunkSize, datalength); - lazyArray.setDataGetter(function(chunkNum) { - var start = chunkNum * lazyArray.chunkSize; - var end = (chunkNum+1) * lazyArray.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]; - }); - var properties = { isDevice: false, contents: lazyArray }; - } else { - var properties = { isDevice: false, url: url }; - } - - return FS.createFile(parent, name, properties, canRead, canWrite); - },createPreloadedFile:function (parent, name, url, canRead, canWrite, onload, onerror, dontCreateFile) { - Browser.ensureObjects(); - var fullname = FS.joinPath([parent, name], true); - function processData(byteArray) { - function finish(byteArray) { - if (!dontCreateFile) { - FS.createDataFile(parent, name, byteArray, canRead, canWrite); - } - if (onload) onload(); - removeRunDependency('cp ' + fullname); - } - 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('cp ' + fullname); - }); - handled = true; - } - }); - if (!handled) finish(byteArray); - } - addRunDependency('cp ' + fullname); - if (typeof url == 'string') { - Browser.asyncLoad(url, function(byteArray) { - processData(byteArray); - }, onerror); - } else { - processData(url); - } - },createLink:function (parent, name, target, canRead, canWrite) { - var properties = {isDevice: false, link: target}; - return FS.createFile(parent, name, properties, canRead, canWrite); - },createDevice:function (parent, name, input, output) { - if (!(input || output)) { - throw new Error('A device must have at least one callback defined.'); - } - var ops = {isDevice: true, input: input, output: output}; - return FS.createFile(parent, name, ops, Boolean(input), Boolean(output)); - },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']) { - // 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(Module['read'](obj.url), true); - } catch (e) { - success = false; - } - } else { - throw new Error('Cannot load without read() or XMLHttpRequest.'); - } - if (!success) ___setErrNo(ERRNO_CODES.EIO); - return success; - },ensureRoot:function () { - if (FS.root) return; - // The main file system tree. All the contents are inside this. - FS.root = { - read: true, - write: true, - isFolder: true, - isDevice: false, - timestamp: Date.now(), - inodeNumber: 1, - contents: {} - }; - },init:function (input, output, error) { - // Make sure we initialize only once. - 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.ensureRoot(); - - // Allow Module.stdin etc. to provide defaults, if none explicitly passed to us here - input = input || Module['stdin']; - output = output || Module['stdout']; - error = error || Module['stderr']; - - // Default handlers. - var stdinOverridden = true, stdoutOverridden = true, stderrOverridden = true; - if (!input) { - stdinOverridden = false; - input = function() { - if (!input.cache || !input.cache.length) { - var result; - if (typeof window != 'undefined' && - typeof window.prompt == 'function') { - // Browser. - result = window.prompt('Input: '); - if (result === null) result = String.fromCharCode(0); // cancel ==> EOF - } else if (typeof readline == 'function') { - // Command line. - result = readline(); - } - if (!result) result = ''; - input.cache = intArrayFromString(result + '\n', true); - } - return input.cache.shift(); - }; - } - var utf8 = new Runtime.UTF8Processor(); - function simpleOutput(val) { - if (val === null || val === '\n'.charCodeAt(0)) { - output.printer(output.buffer.join('')); - output.buffer = []; - } else { - output.buffer.push(utf8.processCChar(val)); - } - } - if (!output) { - stdoutOverridden = false; - output = simpleOutput; - } - if (!output.printer) output.printer = Module['print']; - if (!output.buffer) output.buffer = []; - if (!error) { - stderrOverridden = false; - error = simpleOutput; - } - if (!error.printer) error.printer = Module['print']; - if (!error.buffer) error.buffer = []; - - // Create the temporary folder, if not already created - try { - FS.createFolder('/', 'tmp', true, true); - } catch(e) {} - - // Create the I/O devices. - var devFolder = FS.createFolder('/', 'dev', true, true); - var stdin = FS.createDevice(devFolder, 'stdin', input); - var stdout = FS.createDevice(devFolder, 'stdout', null, output); - var stderr = FS.createDevice(devFolder, 'stderr', null, error); - FS.createDevice(devFolder, 'tty', input, output); - - // Create default streams. - FS.streams[1] = { - path: '/dev/stdin', - object: stdin, - position: 0, - isRead: true, - isWrite: false, - isAppend: false, - isTerminal: !stdinOverridden, - error: false, - eof: false, - ungotten: [] - }; - FS.streams[2] = { - path: '/dev/stdout', - object: stdout, - position: 0, - isRead: false, - isWrite: true, - isAppend: false, - isTerminal: !stdoutOverridden, - error: false, - eof: false, - ungotten: [] - }; - FS.streams[3] = { - path: '/dev/stderr', - object: stderr, - position: 0, - isRead: false, - isWrite: true, - isAppend: false, - isTerminal: !stderrOverridden, - error: false, - eof: false, - ungotten: [] - }; - assert(Math.max(_stdin, _stdout, _stderr) < 128); // make sure these are low, we flatten arrays with these - HEAP32[((_stdin)>>2)]=1; - HEAP32[((_stdout)>>2)]=2; - HEAP32[((_stderr)>>2)]=3; - - // Other system paths - FS.createPath('/', 'dev/shm/tmp', true, true); // temp files - - // Newlib initialization - for (var i = FS.streams.length; i < Math.max(_stdin, _stdout, _stderr) + 4; i++) { - FS.streams[i] = null; // Make sure to keep FS.streams dense - } - FS.streams[_stdin] = FS.streams[1]; - FS.streams[_stdout] = FS.streams[2]; - FS.streams[_stderr] = FS.streams[3]; - allocate([ allocate( - [0, 0, 0, 0, _stdin, 0, 0, 0, _stdout, 0, 0, 0, _stderr, 0, 0, 0], - 'void*', ALLOC_STATIC) ], 'void*', ALLOC_NONE, __impure_ptr); - },quit:function () { - if (!FS.init.initialized) return; - // Flush any partially-printed lines in stdout and stderr. Careful, they may have been closed - if (FS.streams[2] && FS.streams[2].object.output.buffer.length > 0) FS.streams[2].object.output('\n'.charCodeAt(0)); - if (FS.streams[3] && FS.streams[3].object.output.buffer.length > 0) FS.streams[3].object.output('\n'.charCodeAt(0)); - },standardizePath:function (path) { - if (path.substr(0, 2) == './') path = path.substr(2); - return path; - },deleteFile:function (path) { - path = FS.analyzePath(path); - if (!path.parentExists || !path.exists) { - throw 'Invalid path ' + path; - } - delete path.parentObject.contents[path.name]; - }}; - - - function _pwrite(fildes, buf, nbyte, offset) { - // ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html - var stream = FS.streams[fildes]; - if (!stream || stream.object.isDevice) { - ___setErrNo(ERRNO_CODES.EBADF); - return -1; - } else if (!stream.isWrite) { - ___setErrNo(ERRNO_CODES.EACCES); - return -1; - } else if (stream.object.isFolder) { - ___setErrNo(ERRNO_CODES.EISDIR); - return -1; - } else if (nbyte < 0 || offset < 0) { - ___setErrNo(ERRNO_CODES.EINVAL); - return -1; - } else { - var contents = stream.object.contents; - while (contents.length < offset) contents.push(0); - for (var i = 0; i < nbyte; i++) { - contents[offset + i] = HEAPU8[(((buf)+(i))|0)]; - } - stream.object.timestamp = Date.now(); - return i; - } - }function _write(fildes, buf, nbyte) { - // ssize_t write(int fildes, const void *buf, size_t nbyte); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/write.html - var stream = FS.streams[fildes]; - if (!stream) { - ___setErrNo(ERRNO_CODES.EBADF); - return -1; - } else if (!stream.isWrite) { - ___setErrNo(ERRNO_CODES.EACCES); - return -1; - } else if (nbyte < 0) { - ___setErrNo(ERRNO_CODES.EINVAL); - return -1; - } else { - if (stream.object.isDevice) { - if (stream.object.output) { - for (var i = 0; i < nbyte; i++) { - try { - stream.object.output(HEAP8[(((buf)+(i))|0)]); - } catch (e) { - ___setErrNo(ERRNO_CODES.EIO); - return -1; - } - } - stream.object.timestamp = Date.now(); - return i; - } else { - ___setErrNo(ERRNO_CODES.ENXIO); - return -1; - } - } else { - var bytesWritten = _pwrite(fildes, buf, nbyte, stream.position); - if (bytesWritten != -1) stream.position += bytesWritten; - return bytesWritten; - } - } - }function _fwrite(ptr, size, nitems, stream) { - // size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict stream); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/fwrite.html - var bytesToWrite = nitems * size; - if (bytesToWrite == 0) return 0; - var bytesWritten = _write(stream, ptr, bytesToWrite); - if (bytesWritten == -1) { - if (FS.streams[stream]) FS.streams[stream].error = true; - return 0; - } else { - return Math.floor(bytesWritten / size); - } - } - - - function _strlen(ptr) { - ptr = ptr|0; - var curr = 0; - curr = ptr; - while (HEAP8[(curr)]|0 != 0) { - curr = (curr + 1)|0; - } - return (curr - ptr)|0; - }function __formatString(format, varargs) { - var textIndex = format; - var argIndex = 0; - function getNextArg(type) { - // NOTE: Explicitly ignoring type safety. Otherwise this fails: - // int x = 4; printf("%c\n", (char)x); - var ret; - if (type === 'double') { - ret = (HEAP32[((tempDoublePtr)>>2)]=HEAP32[(((varargs)+(argIndex))>>2)],HEAP32[(((tempDoublePtr)+(4))>>2)]=HEAP32[(((varargs)+((argIndex)+(4)))>>2)],HEAPF64[(tempDoublePtr)>>3]); - } else if (type == 'i64') { - ret = [HEAP32[(((varargs)+(argIndex))>>2)], - HEAP32[(((varargs)+(argIndex+4))>>2)]]; - } else { - type = 'i32'; // varargs are always i32, i64, or double - ret = HEAP32[(((varargs)+(argIndex))>>2)]; - } - argIndex += Runtime.getNativeFieldSize(type); - return ret; - } - - var ret = []; - var curr, next, currArg; - while(1) { - var startTextIndex = textIndex; - curr = HEAP8[(textIndex)]; - if (curr === 0) break; - next = HEAP8[((textIndex+1)|0)]; - if (curr == '%'.charCodeAt(0)) { - // Handle flags. - var flagAlwaysSigned = false; - var flagLeftAlign = false; - var flagAlternative = false; - var flagZeroPad = false; - flagsLoop: while (1) { - switch (next) { - case '+'.charCodeAt(0): - flagAlwaysSigned = true; - break; - case '-'.charCodeAt(0): - flagLeftAlign = true; - break; - case '#'.charCodeAt(0): - flagAlternative = true; - break; - case '0'.charCodeAt(0): - if (flagZeroPad) { - break flagsLoop; - } else { - flagZeroPad = true; - break; - } - default: - break flagsLoop; - } - textIndex++; - next = HEAP8[((textIndex+1)|0)]; - } - - // Handle width. - var width = 0; - if (next == '*'.charCodeAt(0)) { - width = getNextArg('i32'); - textIndex++; - next = HEAP8[((textIndex+1)|0)]; - } else { - while (next >= '0'.charCodeAt(0) && next <= '9'.charCodeAt(0)) { - width = width * 10 + (next - '0'.charCodeAt(0)); - textIndex++; - next = HEAP8[((textIndex+1)|0)]; - } - } - - // Handle precision. - var precisionSet = false; - if (next == '.'.charCodeAt(0)) { - var precision = 0; - precisionSet = true; - textIndex++; - next = HEAP8[((textIndex+1)|0)]; - if (next == '*'.charCodeAt(0)) { - precision = getNextArg('i32'); - textIndex++; - } else { - while(1) { - var precisionChr = HEAP8[((textIndex+1)|0)]; - if (precisionChr < '0'.charCodeAt(0) || - precisionChr > '9'.charCodeAt(0)) break; - precision = precision * 10 + (precisionChr - '0'.charCodeAt(0)); - textIndex++; - } - } - next = HEAP8[((textIndex+1)|0)]; - } else { - var precision = 6; // Standard default. - } - - // Handle integer sizes. WARNING: These assume a 32-bit architecture! - var argSize; - switch (String.fromCharCode(next)) { - case 'h': - var nextNext = HEAP8[((textIndex+2)|0)]; - if (nextNext == 'h'.charCodeAt(0)) { - textIndex++; - argSize = 1; // char (actually i32 in varargs) - } else { - argSize = 2; // short (actually i32 in varargs) - } - break; - case 'l': - var nextNext = HEAP8[((textIndex+2)|0)]; - if (nextNext == 'l'.charCodeAt(0)) { - textIndex++; - argSize = 8; // long long - } else { - argSize = 4; // long - } - break; - case 'L': // long long - case 'q': // int64_t - case 'j': // intmax_t - argSize = 8; - break; - case 'z': // size_t - case 't': // ptrdiff_t - case 'I': // signed ptrdiff_t or unsigned size_t - argSize = 4; - break; - default: - argSize = null; - } - if (argSize) textIndex++; - next = HEAP8[((textIndex+1)|0)]; - - // Handle type specifier. - if (['d', 'i', 'u', 'o', 'x', 'X', 'p'].indexOf(String.fromCharCode(next)) != -1) { - // Integer. - var signed = next == 'd'.charCodeAt(0) || next == 'i'.charCodeAt(0); - argSize = argSize || 4; - var currArg = getNextArg('i' + (argSize * 8)); - var origArg = currArg; - var argText; - // Flatten i64-1 [low, high] into a (slightly rounded) double - if (argSize == 8) { - currArg = Runtime.makeBigInt(currArg[0], currArg[1], next == 'u'.charCodeAt(0)); - } - // Truncate to requested size. - if (argSize <= 4) { - var limit = Math.pow(256, argSize) - 1; - currArg = (signed ? reSign : unSign)(currArg & limit, argSize * 8); - } - // Format the number. - var currAbsArg = Math.abs(currArg); - var prefix = ''; - if (next == 'd'.charCodeAt(0) || next == 'i'.charCodeAt(0)) { - if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], null); else - argText = reSign(currArg, 8 * argSize, 1).toString(10); - } else if (next == 'u'.charCodeAt(0)) { - if (argSize == 8 && i64Math) argText = i64Math.stringify(origArg[0], origArg[1], true); else - argText = unSign(currArg, 8 * argSize, 1).toString(10); - currArg = Math.abs(currArg); - } else if (next == 'o'.charCodeAt(0)) { - argText = (flagAlternative ? '0' : '') + currAbsArg.toString(8); - } else if (next == 'x'.charCodeAt(0) || next == 'X'.charCodeAt(0)) { - prefix = flagAlternative ? '0x' : ''; - if (argSize == 8 && i64Math) argText = (origArg[1]>>>0).toString(16) + (origArg[0]>>>0).toString(16); else - if (currArg < 0) { - // Represent negative numbers in hex as 2's complement. - currArg = -currArg; - argText = (currAbsArg - 1).toString(16); - var buffer = []; - for (var i = 0; i < argText.length; i++) { - buffer.push((0xF - parseInt(argText[i], 16)).toString(16)); - } - argText = buffer.join(''); - while (argText.length < argSize * 2) argText = 'f' + argText; - } else { - argText = currAbsArg.toString(16); - } - if (next == 'X'.charCodeAt(0)) { - prefix = prefix.toUpperCase(); - argText = argText.toUpperCase(); - } - } else if (next == 'p'.charCodeAt(0)) { - if (currAbsArg === 0) { - argText = '(nil)'; - } else { - prefix = '0x'; - argText = currAbsArg.toString(16); - } - } - if (precisionSet) { - while (argText.length < precision) { - argText = '0' + argText; - } - } - - // Add sign if needed - if (flagAlwaysSigned) { - if (currArg < 0) { - prefix = '-' + prefix; - } else { - prefix = '+' + prefix; - } - } - - // Add padding. - while (prefix.length + argText.length < width) { - if (flagLeftAlign) { - argText += ' '; - } else { - if (flagZeroPad) { - argText = '0' + argText; - } else { - prefix = ' ' + prefix; - } - } - } - - // Insert the result into the buffer. - argText = prefix + argText; - argText.split('').forEach(function(chr) { - ret.push(chr.charCodeAt(0)); - }); - } else if (['f', 'F', 'e', 'E', 'g', 'G'].indexOf(String.fromCharCode(next)) != -1) { - // Float. - var currArg = getNextArg('double'); - var argText; - - if (isNaN(currArg)) { - argText = 'nan'; - flagZeroPad = false; - } else if (!isFinite(currArg)) { - argText = (currArg < 0 ? '-' : '') + 'inf'; - flagZeroPad = false; - } else { - var isGeneral = false; - var effectivePrecision = Math.min(precision, 20); - - // Convert g/G to f/F or e/E, as per: - // http://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html - if (next == 'g'.charCodeAt(0) || next == 'G'.charCodeAt(0)) { - isGeneral = true; - precision = precision || 1; - var exponent = parseInt(currArg.toExponential(effectivePrecision).split('e')[1], 10); - if (precision > exponent && exponent >= -4) { - next = ((next == 'g'.charCodeAt(0)) ? 'f' : 'F').charCodeAt(0); - precision -= exponent + 1; - } else { - next = ((next == 'g'.charCodeAt(0)) ? 'e' : 'E').charCodeAt(0); - precision--; - } - effectivePrecision = Math.min(precision, 20); - } - - if (next == 'e'.charCodeAt(0) || next == 'E'.charCodeAt(0)) { - argText = currArg.toExponential(effectivePrecision); - // Make sure the exponent has at least 2 digits. - if (/[eE][-+]\d$/.test(argText)) { - argText = argText.slice(0, -1) + '0' + argText.slice(-1); - } - } else if (next == 'f'.charCodeAt(0) || next == 'F'.charCodeAt(0)) { - argText = currArg.toFixed(effectivePrecision); - } - - var parts = argText.split('e'); - if (isGeneral && !flagAlternative) { - // Discard trailing zeros and periods. - while (parts[0].length > 1 && parts[0].indexOf('.') != -1 && - (parts[0].slice(-1) == '0' || parts[0].slice(-1) == '.')) { - parts[0] = parts[0].slice(0, -1); - } - } else { - // Make sure we have a period in alternative mode. - if (flagAlternative && argText.indexOf('.') == -1) parts[0] += '.'; - // Zero pad until required precision. - while (precision > effectivePrecision++) parts[0] += '0'; - } - argText = parts[0] + (parts.length > 1 ? 'e' + parts[1] : ''); - - // Capitalize 'E' if needed. - if (next == 'E'.charCodeAt(0)) argText = argText.toUpperCase(); - - // Add sign. - if (flagAlwaysSigned && currArg >= 0) { - argText = '+' + argText; - } - } - - // Add padding. - while (argText.length < width) { - if (flagLeftAlign) { - argText += ' '; - } else { - if (flagZeroPad && (argText[0] == '-' || argText[0] == '+')) { - argText = argText[0] + '0' + argText.slice(1); - } else { - argText = (flagZeroPad ? '0' : ' ') + argText; - } - } - } - - // Adjust case. - if (next < 'a'.charCodeAt(0)) argText = argText.toUpperCase(); - - // Insert the result into the buffer. - argText.split('').forEach(function(chr) { - ret.push(chr.charCodeAt(0)); - }); - } else if (next == 's'.charCodeAt(0)) { - // String. - var arg = getNextArg('i8*') || nullString; - var argLength = _strlen(arg); - if (precisionSet) argLength = Math.min(argLength, precision); - if (!flagLeftAlign) { - while (argLength < width--) { - ret.push(' '.charCodeAt(0)); - } - } - for (var i = 0; i < argLength; i++) { - ret.push(HEAPU8[((arg++)|0)]); - } - if (flagLeftAlign) { - while (argLength < width--) { - ret.push(' '.charCodeAt(0)); - } - } - } else if (next == 'c'.charCodeAt(0)) { - // Character. - if (flagLeftAlign) ret.push(getNextArg('i8')); - while (--width > 0) { - ret.push(' '.charCodeAt(0)); - } - if (!flagLeftAlign) ret.push(getNextArg('i8')); - } else if (next == 'n'.charCodeAt(0)) { - // Write the length written so far to the next parameter. - var ptr = getNextArg('i32*'); - HEAP32[((ptr)>>2)]=ret.length - } else if (next == '%'.charCodeAt(0)) { - // Literal percent sign. - ret.push(curr); - } else { - // Unknown specifiers remain untouched. - for (var i = startTextIndex; i < textIndex + 2; i++) { - ret.push(HEAP8[(i)]); - } - } - textIndex += 2; - // TODO: Support a/A (hex float) and m (last error) specifiers. - // TODO: Support %1${specifier} for arg selection. - } else { - ret.push(curr); - textIndex += 1; - } - } - return ret; - }function _fprintf(stream, format, varargs) { - // int fprintf(FILE *restrict stream, const char *restrict format, ...); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html - var result = __formatString(format, varargs); - var stack = Runtime.stackSave(); - var ret = _fwrite(allocate(result, 'i8', ALLOC_STACK), 1, result.length, stream); - Runtime.stackRestore(stack); - return ret; - } -var _llvm_va_start; // stub for _llvm_va_start - - var _vfprintf=_fprintf; - - function _llvm_va_end() {} - - var _llvm_memcpy_p0i8_p0i8_i64=_memcpy; - - function _abort() { - ABORT = true; - throw 'abort() at ' + (new Error().stack); - } - - var _abs=Math.abs; - - function _fflush(stream) { - // int fflush(FILE *stream); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/fflush.html - var flush = function(filedes) { - // Right now we write all data directly, except for output devices. - if (FS.streams[filedes] && FS.streams[filedes].object.output) { - if (!FS.streams[filedes].isTerminal) { // don't flush terminals, it would cause a \n to also appear - FS.streams[filedes].object.output(null); - } - } - }; - try { - if (stream === 0) { - for (var i = 0; i < FS.streams.length; i++) if (FS.streams[i]) flush(i); - } else { - flush(stream); - } - return 0; - } catch (e) { - ___setErrNo(ERRNO_CODES.EIO); - return -1; - } - } - - function _llvm_umul_with_overflow_i32(x, y) { - x = x>>>0; - y = y>>>0; - return (tempRet0 = x*y > 4294967295,(x*y)>>>0); - } - - - function _memmove(dest, src, num) { - dest = dest|0; src = src|0; num = num|0; - if (((src|0) < (dest|0)) & ((dest|0) < ((src + num)|0))) { - // Unlikely case: Copy backwards in a safe manner - src = (src + num)|0; - dest = (dest + num)|0; - while ((num|0) > 0) { - dest = (dest - 1)|0; - src = (src - 1)|0; - num = (num - 1)|0; - HEAP8[(dest)]=HEAP8[(src)]; - } - } else { - _memcpy(dest, src, num); - } - }var _llvm_memmove_p0i8_p0i8_i32=_memmove; - - - function __ZSt18uncaught_exceptionv() { // std::uncaught_exception() - return !!__ZSt18uncaught_exceptionv.uncaught_exception; - }function ___cxa_begin_catch(ptr) { - __ZSt18uncaught_exceptionv.uncaught_exception--; - return ptr; - } - - - function _llvm_eh_exception() { - return HEAP32[((_llvm_eh_exception.buf)>>2)]; - } - - - function ___cxa_free_exception(ptr) { - return _free(ptr); - }function ___cxa_end_catch() { - if (___cxa_end_catch.rethrown) { - ___cxa_end_catch.rethrown = false; - return; - } - // Clear state flag. - __THREW__ = 0; - // Clear type. - HEAP32[(((_llvm_eh_exception.buf)+(4))>>2)]=0 - // Call destructor if one is registered then clear it. - var ptr = HEAP32[((_llvm_eh_exception.buf)>>2)]; - var destructor = HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]; - if (destructor) { - Runtime.dynCall('vi', destructor, [ptr]); - HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]=0 - } - // Free ptr if it isn't null. - if (ptr) { - ___cxa_free_exception(ptr); - HEAP32[((_llvm_eh_exception.buf)>>2)]=0 - } - }function ___cxa_rethrow() { - ___cxa_end_catch.rethrown = true; - throw HEAP32[((_llvm_eh_exception.buf)>>2)] + " - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.";; - } - - - - function _memset(ptr, value, num) { - ptr = ptr|0; value = value|0; num = num|0; - var stop = 0, value4 = 0, stop4 = 0, unaligned = 0; - stop = (ptr + num)|0; - if (num|0 >= 20) { - // This is unaligned, but quite large, so work hard to get to aligned settings - unaligned = ptr & 3; - value4 = value | (value << 8) | (value << 16) | (value << 24); - stop4 = stop & ~3; - if (unaligned) { - unaligned = (ptr + 4 - unaligned)|0; - while ((ptr|0) < (unaligned|0)) { // no need to check for stop, since we have large num - HEAP8[(ptr)]=value; - ptr = (ptr+1)|0; - } - } - while ((ptr|0) < (stop4|0)) { - HEAP32[((ptr)>>2)]=value4; - ptr = (ptr+4)|0; - } - } - while ((ptr|0) < (stop|0)) { - HEAP8[(ptr)]=value; - ptr = (ptr+1)|0; - } - }var _llvm_memset_p0i8_i32=_memset; - - var _fabs=Math.abs; - - var _sqrt=Math.sqrt; - - var _atan=Math.atan; - - function _log10(x) { - return Math.log(x) / Math.LN10; - } - - var _atan2=Math.atan2; - - function _clock() { - if (_clock.start === undefined) _clock.start = Date.now(); - return Math.floor((Date.now() - _clock.start) * (1000/1000)); - } - - var _cos=Math.cos; - - var _sin=Math.sin; - - function _strcpy(pdest, psrc) { - var i = 0; - do { - HEAP8[((pdest+i)|0)]=HEAP8[((psrc+i)|0)]; - i ++; - } while (HEAP8[(((psrc)+(i-1))|0)] != 0); - return pdest; - } - - function _qsort(base, num, size, cmp) { - if (num == 0 || size == 0) return; - // forward calls to the JavaScript sort method - // first, sort the items logically - var comparator = function(x, y) { - return Runtime.dynCall('iii', cmp, [x, y]); - } - var keys = []; - for (var i = 0; i < num; i++) keys.push(i); - keys.sort(function(a, b) { - return comparator(base+a*size, base+b*size); - }); - // apply the sort - var temp = _malloc(num*size); - _memcpy(temp, base, num*size); - for (var i = 0; i < num; i++) { - if (keys[i] == i) continue; // already in place - _memcpy(base+i*size, temp+keys[i]*size, size); - } - _free(temp); - } - - function _llvm_eh_typeid_for(type) { - return type; - } - - function ___cxa_get_exception_ptr(ptr) { - return ptr; - } - - function ___cxa_allocate_exception(size) { - return _malloc(size); - } - - - - - function ___cxa_is_number_type(type) { - var isNumber = false; - try { if (type == __ZTIi) isNumber = true } catch(e){} - try { if (type == __ZTIj) isNumber = true } catch(e){} - try { if (type == __ZTIl) isNumber = true } catch(e){} - try { if (type == __ZTIm) isNumber = true } catch(e){} - try { if (type == __ZTIx) isNumber = true } catch(e){} - try { if (type == __ZTIy) isNumber = true } catch(e){} - try { if (type == __ZTIf) isNumber = true } catch(e){} - try { if (type == __ZTId) isNumber = true } catch(e){} - try { if (type == __ZTIe) isNumber = true } catch(e){} - try { if (type == __ZTIc) isNumber = true } catch(e){} - try { if (type == __ZTIa) isNumber = true } catch(e){} - try { if (type == __ZTIh) isNumber = true } catch(e){} - try { if (type == __ZTIs) isNumber = true } catch(e){} - try { if (type == __ZTIt) isNumber = true } catch(e){} - return isNumber; - }function ___cxa_does_inherit(definiteType, possibilityType, possibility) { - if (possibility == 0) return false; - if (possibilityType == 0 || possibilityType == definiteType) - return true; - var possibility_type_info; - if (___cxa_is_number_type(possibilityType)) { - possibility_type_info = possibilityType; - } else { - var possibility_type_infoAddr = HEAP32[((possibilityType)>>2)] - 8; - possibility_type_info = HEAP32[((possibility_type_infoAddr)>>2)]; - } - switch (possibility_type_info) { - case 0: // possibility is a pointer - // See if definite type is a pointer - var definite_type_infoAddr = HEAP32[((definiteType)>>2)] - 8; - var definite_type_info = HEAP32[((definite_type_infoAddr)>>2)]; - if (definite_type_info == 0) { - // Also a pointer; compare base types of pointers - var defPointerBaseAddr = definiteType+8; - var defPointerBaseType = HEAP32[((defPointerBaseAddr)>>2)]; - var possPointerBaseAddr = possibilityType+8; - var possPointerBaseType = HEAP32[((possPointerBaseAddr)>>2)]; - return ___cxa_does_inherit(defPointerBaseType, possPointerBaseType, possibility); - } else - return false; // one pointer and one non-pointer - case 1: // class with no base class - return false; - case 2: // class with base class - var parentTypeAddr = possibilityType + 8; - var parentType = HEAP32[((parentTypeAddr)>>2)]; - return ___cxa_does_inherit(definiteType, parentType, possibility); - default: - return false; // some unencountered type - } - }function ___cxa_find_matching_catch(thrown, throwntype, typeArray) { - // If throwntype is a pointer, this means a pointer has been - // thrown. When a pointer is thrown, actually what's thrown - // is a pointer to the pointer. We'll dereference it. - if (throwntype != 0 && !___cxa_is_number_type(throwntype)) { - var throwntypeInfoAddr= HEAP32[((throwntype)>>2)] - 8; - var throwntypeInfo= HEAP32[((throwntypeInfoAddr)>>2)]; - if (throwntypeInfo == 0) - thrown = HEAP32[((thrown)>>2)]; - } - // The different catch blocks are denoted by different types. - // Due to inheritance, those types may not precisely match the - // type of the thrown object. Find one which matches, and - // return the type of the catch block which should be called. - for (var i = 0; i < typeArray.length; i++) { - if (___cxa_does_inherit(typeArray[i], throwntype, thrown)) - return (tempRet0 = typeArray[i],thrown); - } - // Shouldn't happen unless we have bogus data in typeArray - // or encounter a type for which emscripten doesn't have suitable - // typeinfo defined. Best-efforts match just in case. - return (tempRet0 = throwntype,thrown); - }function ___cxa_throw(ptr, type, destructor) { - if (!___cxa_throw.initialized) { - try { - HEAP32[((__ZTVN10__cxxabiv119__pointer_type_infoE)>>2)]=0; // Workaround for libcxxabi integration bug - } catch(e){} - try { - HEAP32[((__ZTVN10__cxxabiv117__class_type_infoE)>>2)]=1; // Workaround for libcxxabi integration bug - } catch(e){} - try { - HEAP32[((__ZTVN10__cxxabiv120__si_class_type_infoE)>>2)]=2; // Workaround for libcxxabi integration bug - } catch(e){} - ___cxa_throw.initialized = true; - } - HEAP32[((_llvm_eh_exception.buf)>>2)]=ptr - HEAP32[(((_llvm_eh_exception.buf)+(4))>>2)]=type - HEAP32[(((_llvm_eh_exception.buf)+(8))>>2)]=destructor - if (!("uncaught_exception" in __ZSt18uncaught_exceptionv)) { - __ZSt18uncaught_exceptionv.uncaught_exception = 1; - } else { - __ZSt18uncaught_exceptionv.uncaught_exception++; - } - 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 _pthread_mutex_lock() {} - - function _pthread_mutex_unlock() {} - - function ___cxa_guard_acquire(variable) { - if (!HEAP8[(variable)]) { // ignore SAFE_HEAP stuff because llvm mixes i64 and i8 here - HEAP8[(variable)]=1; - return 1; - } - return 0; - } - - function ___cxa_guard_abort() {} - - function ___cxa_guard_release() {} - - function _pthread_cond_broadcast() {} - - function _pthread_cond_wait() {} - - - function _atexit(func, arg) { - __ATEXIT__.unshift({ func: func, arg: arg }); - }var ___cxa_atexit=_atexit; - - - function _ungetc(c, stream) { - // int ungetc(int c, FILE *stream); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/ungetc.html - if (FS.streams[stream]) { - c = unSign(c & 0xFF); - FS.streams[stream].ungotten.push(c); - return c; - } else { - return -1; - } - } - - - - - function _pread(fildes, buf, nbyte, offset) { - // ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html - var stream = FS.streams[fildes]; - if (!stream || stream.object.isDevice) { - ___setErrNo(ERRNO_CODES.EBADF); - return -1; - } else if (!stream.isRead) { - ___setErrNo(ERRNO_CODES.EACCES); - return -1; - } else if (stream.object.isFolder) { - ___setErrNo(ERRNO_CODES.EISDIR); - return -1; - } else if (nbyte < 0 || offset < 0) { - ___setErrNo(ERRNO_CODES.EINVAL); - return -1; - } else { - var bytesRead = 0; - while (stream.ungotten.length && nbyte > 0) { - HEAP8[((buf++)|0)]=stream.ungotten.pop() - nbyte--; - bytesRead++; - } - var contents = stream.object.contents; - var size = Math.min(contents.length - offset, nbyte); - if (contents.subarray || contents.slice) { // typed array or normal array - for (var i = 0; i < size; i++) { - HEAP8[(((buf)+(i))|0)]=contents[offset + i] - } - } else { - for (var i = 0; i < size; i++) { // LazyUint8Array from sync binary XHR - HEAP8[(((buf)+(i))|0)]=contents.get(offset + i) - } - } - bytesRead += size; - return bytesRead; - } - }function _read(fildes, buf, nbyte) { - // ssize_t read(int fildes, void *buf, size_t nbyte); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/read.html - var stream = FS.streams[fildes]; - if (!stream) { - ___setErrNo(ERRNO_CODES.EBADF); - return -1; - } else if (!stream.isRead) { - ___setErrNo(ERRNO_CODES.EACCES); - return -1; - } else if (nbyte < 0) { - ___setErrNo(ERRNO_CODES.EINVAL); - return -1; - } else { - var bytesRead; - if (stream.object.isDevice) { - if (stream.object.input) { - bytesRead = 0; - while (stream.ungotten.length && nbyte > 0) { - HEAP8[((buf++)|0)]=stream.ungotten.pop() - nbyte--; - bytesRead++; - } - for (var i = 0; i < nbyte; i++) { - try { - var result = stream.object.input(); - } catch (e) { - ___setErrNo(ERRNO_CODES.EIO); - return -1; - } - if (result === null || result === undefined) break; - bytesRead++; - HEAP8[(((buf)+(i))|0)]=result - } - return bytesRead; - } else { - ___setErrNo(ERRNO_CODES.ENXIO); - return -1; - } - } else { - var ungotSize = stream.ungotten.length; - bytesRead = _pread(fildes, buf, nbyte, stream.position); - if (bytesRead != -1) { - stream.position += (stream.ungotten.length - ungotSize) + bytesRead; - } - return bytesRead; - } - } - }function _fgetc(stream) { - // int fgetc(FILE *stream); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/fgetc.html - if (!FS.streams[stream]) return -1; - var streamObj = FS.streams[stream]; - if (streamObj.eof || streamObj.error) return -1; - var ret = _read(stream, _fgetc.ret, 1); - if (ret == 0) { - streamObj.eof = true; - return -1; - } else if (ret == -1) { - streamObj.error = true; - return -1; - } else { - return HEAPU8[((_fgetc.ret)|0)]; - } - }var _getc=_fgetc; - - - function ___errno_location() { - return ___setErrNo.ret; - }var ___errno=___errno_location; - - - - var ERRNO_MESSAGES={1:"Operation not permitted",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"Input/output error",6:"No such device or address",8:"Exec format error",9:"Bad file descriptor",10:"No child processes",11:"Resource temporarily unavailable",12:"Cannot allocate memory",13:"Permission denied",14:"Bad address",16:"Device or resource busy",17:"File exists",18:"Invalid 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:"Inappropriate ioctl for device",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:"Numerical argument out of domain",34:"Numerical result out of range",35:"Resource deadlock avoided",36:"File name too long",37:"No locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many levels of symbolic links",42:"No message of desired type",43:"Identifier removed",60:"Device not a stream",61:"No data available",62:"Timer expired",63:"Out of streams resources",67:"Link has been severed",71:"Protocol error",72:"Multihop attempted",74:"Bad message",75:"Value too large for defined data type",84:"Invalid or incomplete multibyte or wide character",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:"Protocol not supported",95:"Operation not supported",97:"Address family not supported by protocol",98:"Address already in use",99:"Cannot assign requested address",100:"Network is down",101:"Network is unreachable",102:"Network dropped connection on reset",103:"Software caused connection abort",104:"Connection reset by peer",105:"No buffer space available",106:"Transport endpoint is already connected",107:"Transport endpoint is not connected",110:"Connection timed out",111:"Connection refused",113:"No route to host",114:"Operation already in progress",115:"Operation now in progress",116:"Stale NFS file handle",122:"Disk quota exceeded",125:"Operation canceled",130:"Owner died",131:"State not recoverable"};function _strerror_r(errnum, strerrbuf, buflen) { - if (errnum in ERRNO_MESSAGES) { - if (ERRNO_MESSAGES[errnum].length > buflen - 1) { - return ___setErrNo(ERRNO_CODES.ERANGE); - } else { - var msg = ERRNO_MESSAGES[errnum]; - for (var i = 0; i < msg.length; i++) { - HEAP8[(((strerrbuf)+(i))|0)]=msg.charCodeAt(i) - } - HEAP8[(((strerrbuf)+(i))|0)]=0 - return 0; - } - } else { - return ___setErrNo(ERRNO_CODES.EINVAL); - } - }function _strerror(errnum) { - if (!_strerror.buffer) _strerror.buffer = _malloc(256); - _strerror_r(errnum, _strerror.buffer, 256); - return _strerror.buffer; - } - - function _snprintf(s, n, format, varargs) { - // int snprintf(char *restrict s, size_t n, const char *restrict format, ...); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html - var result = __formatString(format, varargs); - var limit = (n === undefined) ? result.length - : Math.min(result.length, Math.max(n - 1, 0)); - if (s < 0) { - s = -s; - var buf = _malloc(limit+1); - HEAP32[((s)>>2)]=buf; - s = buf; - } - for (var i = 0; i < limit; i++) { - HEAP8[(((s)+(i))|0)]=result[i]; - } - if (limit < n || (n === undefined)) HEAP8[(((s)+(i))|0)]=0; - return result.length; - } - - function _wmemmove() { throw 'wmemmove not implemented' } - - function _wmemset() { throw 'wmemset not implemented' } - - function _wmemcpy() { throw 'wmemcpy not implemented' } - - function _wcslen() { throw 'wcslen not implemented' } - - - - function _isxdigit(chr) { - return (chr >= '0'.charCodeAt(0) && chr <= '9'.charCodeAt(0)) || - (chr >= 'a'.charCodeAt(0) && chr <= 'f'.charCodeAt(0)) || - (chr >= 'A'.charCodeAt(0) && chr <= 'F'.charCodeAt(0)); - }var _isxdigit_l=_isxdigit; - - - function _isdigit(chr) { - return chr >= '0'.charCodeAt(0) && chr <= '9'.charCodeAt(0); - }var _isdigit_l=_isdigit; - - - - function __isFloat(text) { - return !!(/^[+-]?[0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?$/.exec(text)); - }function __scanString(format, get, unget, varargs) { - if (!__scanString.whiteSpace) { - __scanString.whiteSpace = {}; - __scanString.whiteSpace[' '.charCodeAt(0)] = 1; - __scanString.whiteSpace['\t'.charCodeAt(0)] = 1; - __scanString.whiteSpace['\n'.charCodeAt(0)] = 1; - __scanString.whiteSpace[' '] = 1; - __scanString.whiteSpace['\t'] = 1; - __scanString.whiteSpace['\n'] = 1; - } - // Supports %x, %4x, %d.%d, %lld, %s, %f, %lf. - // TODO: Support all format specifiers. - format = Pointer_stringify(format); - var soFar = 0; - if (format.indexOf('%n') >= 0) { - // need to track soFar - var _get = get; - get = function() { - soFar++; - return _get(); - } - var _unget = unget; - unget = function() { - soFar--; - return _unget(); - } - } - var formatIndex = 0; - var argsi = 0; - var fields = 0; - var argIndex = 0; - var next; - - mainLoop: - for (var formatIndex = 0; formatIndex < format.length;) { - if (format[formatIndex] === '%' && format[formatIndex+1] == 'n') { - var argPtr = HEAP32[(((varargs)+(argIndex))>>2)]; - argIndex += Runtime.getNativeFieldSize('void*'); - HEAP32[((argPtr)>>2)]=soFar; - formatIndex += 2; - continue; - } - - // TODO: Support strings like "%5c" etc. - if (format[formatIndex] === '%' && format[formatIndex+1] == 'c') { - var argPtr = HEAP32[(((varargs)+(argIndex))>>2)]; - argIndex += Runtime.getNativeFieldSize('void*'); - fields++; - next = get(); - HEAP8[(argPtr)]=next - formatIndex += 2; - continue; - } - - // remove whitespace - while (1) { - next = get(); - if (next == 0) return fields; - if (!(next in __scanString.whiteSpace)) break; - } - unget(); - - if (format[formatIndex] === '%') { - formatIndex++; - var maxSpecifierStart = formatIndex; - while (format[formatIndex].charCodeAt(0) >= '0'.charCodeAt(0) && - format[formatIndex].charCodeAt(0) <= '9'.charCodeAt(0)) { - formatIndex++; - } - var max_; - if (formatIndex != maxSpecifierStart) { - max_ = parseInt(format.slice(maxSpecifierStart, formatIndex), 10); - } - var long_ = false; - var half = false; - var longLong = false; - if (format[formatIndex] == 'l') { - long_ = true; - formatIndex++; - if(format[formatIndex] == 'l') { - longLong = true; - formatIndex++; - } - } else if (format[formatIndex] == 'h') { - half = true; - formatIndex++; - } - var type = format[formatIndex]; - formatIndex++; - var curr = 0; - var buffer = []; - // Read characters according to the format. floats are trickier, they may be in an unfloat state in the middle, then be a valid float later - if (type == 'f' || type == 'e' || type == 'g' || type == 'E') { - var last = 0; - next = get(); - while (next > 0) { - buffer.push(String.fromCharCode(next)); - if (__isFloat(buffer.join(''))) { - last = buffer.length; - } - next = get(); - } - for (var i = 0; i < buffer.length - last + 1; i++) { - unget(); - } - buffer.length = last; - } else { - next = get(); - var first = true; - while ((curr < max_ || isNaN(max_)) && next > 0) { - if (!(next in __scanString.whiteSpace) && // stop on whitespace - (type == 's' || - ((type === 'd' || type == 'u' || type == 'i') && ((next >= '0'.charCodeAt(0) && next <= '9'.charCodeAt(0)) || - (first && next == '-'.charCodeAt(0)))) || - (type === 'x' && (next >= '0'.charCodeAt(0) && next <= '9'.charCodeAt(0) || - next >= 'a'.charCodeAt(0) && next <= 'f'.charCodeAt(0) || - next >= 'A'.charCodeAt(0) && next <= 'F'.charCodeAt(0)))) && - (formatIndex >= format.length || next !== format[formatIndex].charCodeAt(0))) { // Stop when we read something that is coming up - buffer.push(String.fromCharCode(next)); - next = get(); - curr++; - first = false; - } else { - break; - } - } - unget(); - } - if (buffer.length === 0) return 0; // Failure. - var text = buffer.join(''); - var argPtr = HEAP32[(((varargs)+(argIndex))>>2)]; - argIndex += Runtime.getNativeFieldSize('void*'); - switch (type) { - case 'd': case 'u': case 'i': - if (half) { - HEAP16[((argPtr)>>1)]=parseInt(text, 10); - } else if(longLong) { - (tempI64 = [parseInt(text, 10)>>>0,Math.min(Math.floor((parseInt(text, 10))/4294967296), 4294967295)>>>0],HEAP32[((argPtr)>>2)]=tempI64[0],HEAP32[(((argPtr)+(4))>>2)]=tempI64[1]); - } else { - HEAP32[((argPtr)>>2)]=parseInt(text, 10); - } - break; - case 'x': - HEAP32[((argPtr)>>2)]=parseInt(text, 16) - break; - case 'f': - case 'e': - case 'g': - case 'E': - // fallthrough intended - if (long_) { - (HEAPF64[(tempDoublePtr)>>3]=parseFloat(text),HEAP32[((argPtr)>>2)]=HEAP32[((tempDoublePtr)>>2)],HEAP32[(((argPtr)+(4))>>2)]=HEAP32[(((tempDoublePtr)+(4))>>2)]) - } else { - HEAPF32[((argPtr)>>2)]=parseFloat(text) - } - break; - case 's': - var array = intArrayFromString(text); - for (var j = 0; j < array.length; j++) { - HEAP8[(((argPtr)+(j))|0)]=array[j] - } - break; - } - fields++; - } else if (format[formatIndex] in __scanString.whiteSpace) { - next = get(); - while (next in __scanString.whiteSpace) { - if (next <= 0) break mainLoop; // End of input. - next = get(); - } - unget(next); - formatIndex++; - } else { - // Not a specifier. - next = get(); - if (format[formatIndex].charCodeAt(0) !== next) { - unget(next); - break mainLoop; - } - formatIndex++; - } - } - return fields; - }function _sscanf(s, format, varargs) { - // int sscanf(const char *restrict s, const char *restrict format, ... ); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/scanf.html - var index = 0; - var get = function() { return HEAP8[(((s)+(index++))|0)]; }; - var unget = function() { index--; }; - return __scanString(format, get, unget, varargs); - } - - function __Z7catopenPKci() { throw 'catopen not implemented' } - - function __Z7catgetsP8_nl_catdiiPKc() { throw 'catgets not implemented' } - - function __Z8catcloseP8_nl_catd() { throw 'catclose not implemented' } - - function _newlocale(mask, locale, base) { - return 0; - } - - function _freelocale(locale) {} - - function ___ctype_b_loc() { - // http://refspecs.freestandards.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/baselib---ctype-b-loc.html - var me = ___ctype_b_loc; - if (!me.ret) { - var values = [ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, - 0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,8195,8194,8194,8194,8194,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,24577,49156,49156,49156, - 49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,49156,55304,55304,55304,55304,55304,55304,55304,55304, - 55304,55304,49156,49156,49156,49156,49156,49156,49156,54536,54536,54536,54536,54536,54536,50440,50440,50440,50440,50440, - 50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,50440,49156,49156,49156,49156,49156, - 49156,54792,54792,54792,54792,54792,54792,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696,50696, - 50696,50696,50696,50696,50696,50696,50696,49156,49156,49156,49156,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 - ]; - var i16size = 2; - var arr = _malloc(values.length * i16size); - for (var i = 0; i < values.length; i++) { - HEAP16[(((arr)+(i * i16size))>>1)]=values[i] - } - me.ret = allocate([arr + 128 * i16size], 'i16*', ALLOC_NORMAL); - } - return me.ret; - } - - function ___ctype_tolower_loc() { - // http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/libutil---ctype-tolower-loc.html - var me = ___ctype_tolower_loc; - if (!me.ret) { - var values = [ - 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157, - 158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187, - 188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217, - 218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247, - 248,249,250,251,252,253,254,-1,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, - 33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,97,98,99,100,101,102,103, - 104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,91,92,93,94,95,96,97,98,99,100,101,102,103, - 104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133, - 134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163, - 164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193, - 194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223, - 224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253, - 254,255 - ]; - var i32size = 4; - var arr = _malloc(values.length * i32size); - for (var i = 0; i < values.length; i++) { - HEAP32[(((arr)+(i * i32size))>>2)]=values[i] - } - me.ret = allocate([arr + 128 * i32size], 'i32*', ALLOC_NORMAL); - } - return me.ret; - } - - function ___ctype_toupper_loc() { - // http://refspecs.freestandards.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/libutil---ctype-toupper-loc.html - var me = ___ctype_toupper_loc; - if (!me.ret) { - var values = [ - 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157, - 158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187, - 188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217, - 218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247, - 248,249,250,251,252,253,254,-1,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, - 33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72, - 73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80, - 81,82,83,84,85,86,87,88,89,90,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144, - 145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174, - 175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204, - 205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234, - 235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255 - ]; - var i32size = 4; - var arr = _malloc(values.length * i32size); - for (var i = 0; i < values.length; i++) { - HEAP32[(((arr)+(i * i32size))>>2)]=values[i] - } - me.ret = allocate([arr + 128 * i32size], 'i32*', ALLOC_NORMAL); - } - return me.ret; - } - - - function _strftime(s, maxsize, format, timeptr) { - // 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 - // TODO: Implement. - return 0; - }var _strftime_l=_strftime; - - - - - function _isspace(chr) { - return chr in { 32: 0, 9: 0, 10: 0, 11: 0, 12: 0, 13: 0 }; - }function _strtod(str, endptr) { - var origin = str; - - // Skip space. - while (_isspace(HEAP8[(str)])) str++; - - // Check for a plus/minus sign. - var multiplier = 1; - if (HEAP8[(str)] == '-'.charCodeAt(0)) { - multiplier = -1; - str++; - } else if (HEAP8[(str)] == '+'.charCodeAt(0)) { - str++; - } - - var chr; - var ret = 0; - - // Get whole part. - var whole = false; - while(1) { - chr = HEAP8[(str)]; - if (!_isdigit(chr)) break; - whole = true; - ret = ret*10 + chr - '0'.charCodeAt(0); - str++; - } - - // Get fractional part. - var fraction = false; - if (HEAP8[(str)] == '.'.charCodeAt(0)) { - str++; - var mul = 1/10; - while(1) { - chr = HEAP8[(str)]; - if (!_isdigit(chr)) break; - fraction = true; - ret += mul*(chr - '0'.charCodeAt(0)); - mul /= 10; - str++; - } - } - - if (!whole && !fraction) { - if (endptr) { - HEAP32[((endptr)>>2)]=origin - } - return 0; - } - - // Get exponent part. - chr = HEAP8[(str)]; - if (chr == 'e'.charCodeAt(0) || chr == 'E'.charCodeAt(0)) { - str++; - var exponent = 0; - var expNegative = false; - chr = HEAP8[(str)]; - if (chr == '-'.charCodeAt(0)) { - expNegative = true; - str++; - } else if (chr == '+'.charCodeAt(0)) { - str++; - } - chr = HEAP8[(str)]; - while(1) { - if (!_isdigit(chr)) break; - exponent = exponent*10 + chr - '0'.charCodeAt(0); - str++; - chr = HEAP8[(str)]; - } - if (expNegative) exponent = -exponent; - ret *= Math.pow(10, exponent); - } - - // Set end pointer. - if (endptr) { - HEAP32[((endptr)>>2)]=str - } - - return ret * multiplier; - }var _strtold=_strtod;var _strtold_l=_strtold; - - - - function __parseInt64(str, endptr, base, min, max, unsign) { - var start = str; - // Skip space. - while (_isspace(HEAP8[(str)])) str++; - - // Check for a plus/minus sign. - if (HEAP8[(str)] == '-'.charCodeAt(0)) { - str++; - } else if (HEAP8[(str)] == '+'.charCodeAt(0)) { - str++; - } - - // Find base. - var ok = false; - var finalBase = base; - if (!finalBase) { - if (HEAP8[(str)] == '0'.charCodeAt(0)) { - if (HEAP8[((str+1)|0)] == 'x'.charCodeAt(0) || - HEAP8[((str+1)|0)] == 'X'.charCodeAt(0)) { - finalBase = 16; - str += 2; - } else { - finalBase = 8; - str++; - ok = true; // we saw an initial zero, perhaps the entire thing is just "0" - } - } - } - if (!finalBase) finalBase = 10; - - // Get digits. - var chr; - while ((chr = HEAP8[(str)]) != 0) { - var digit = parseInt(String.fromCharCode(chr), finalBase); - if (isNaN(digit)) { - break; - } else { - str++; - ok = true; - } - } - if (!ok) { - ___setErrNo(ERRNO_CODES.EINVAL); - return (tempRet0 = 0,0); - } - - // Set end pointer. - if (endptr) { - HEAP32[((endptr)>>2)]=str - } - - try { - i64Math.fromString(Pointer_stringify(start, str - start), finalBase, min, max, unsign); - } catch(e) { - ___setErrNo(ERRNO_CODES.ERANGE); // not quite correct - } - - return (tempRet0 = HEAP32[(((tempDoublePtr)+(4))>>2)],HEAP32[((tempDoublePtr)>>2)]); - }function _strtoull(str, endptr, base) { - return __parseInt64(str, endptr, base, 0, '18446744073709551615', true); // ULONG_MAX. - }var _strtoull_l=_strtoull; - - - function _strtoll(str, endptr, base) { - return __parseInt64(str, endptr, base, '-9223372036854775808', '9223372036854775807'); // LLONG_MIN, LLONG_MAX. - }var _strtoll_l=_strtoll; - - function _uselocale(locale) { - return 0; - } - - function _mbsrtowcs() { throw 'mbsrtowcs not implemented' } - - function _mbrlen() { throw 'mbrlen not implemented' } - - function ___locale_mb_cur_max() { throw '__locale_mb_cur_max not implemented' } - - function _mbtowc(pwc, pmb, maxx) { - // XXX doesn't really handle multibyte at all - if (!pmb) return 0; - maxx = Math.min(85, maxx); - var i; - for (i = 0; i < maxx; i++) { - var curr = HEAP8[(pmb)]; - if (pwc) { - HEAP8[(pwc)]=curr; - HEAP8[(((pwc)+(1))|0)]=0; - pwc += 2; - } - pmb++; - if (!curr) break; - } - return i; - } - - function _mbrtowc() { throw 'mbrtowc not implemented' } - - function _mbsnrtowcs() { throw 'mbsnrtowcs not implemented' } - - function _wcrtomb(s, wc, ps) { - // XXX doesn't really handle multibyte at all - if (s) { - HEAP8[(s)]=wc; - } - return 1; - } - - function _wcsnrtombs() { throw 'wcsnrtombs not implemented' } - - - - function _sprintf(s, format, varargs) { - // int sprintf(char *restrict s, const char *restrict format, ...); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/printf.html - return _snprintf(s, undefined, format, varargs); - }function _asprintf(s, format, varargs) { - return _sprintf(-s, format, varargs); - }var _vasprintf=_asprintf; - - var _vsnprintf=_snprintf; - - var _vsprintf=_sprintf; - - var _vsscanf=_sscanf; - - var _llvm_memset_p0i8_i64=_memset; - - function _sysconf(name) { - // long sysconf(int name); - // http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html - switch(name) { - case 8: return PAGE_SIZE; - case 54: - case 56: - case 21: - case 61: - case 63: - case 22: - case 67: - case 23: - case 24: - case 25: - case 26: - case 27: - case 69: - case 28: - case 101: - case 70: - case 71: - case 29: - case 30: - case 199: - case 75: - case 76: - case 32: - case 43: - case 44: - case 80: - case 46: - case 47: - case 45: - case 48: - case 49: - case 42: - case 82: - case 33: - case 7: - case 108: - case 109: - case 107: - case 112: - case 119: - case 121: - return 200809; - case 13: - case 104: - case 94: - case 95: - case 34: - case 35: - case 77: - case 81: - case 83: - case 84: - case 85: - case 86: - case 87: - case 88: - case 89: - case 90: - case 91: - case 94: - case 95: - case 110: - case 111: - case 113: - case 114: - case 115: - case 116: - case 117: - case 118: - case 120: - case 40: - case 16: - case 79: - case 19: - return -1; - case 92: - case 93: - case 5: - case 72: - case 6: - case 74: - case 92: - case 93: - case 96: - case 97: - case 98: - case 99: - case 102: - case 103: - case 105: - return 1; - case 38: - case 66: - case 50: - case 51: - case 4: - return 1024; - case 15: - case 64: - case 41: - return 32; - case 55: - case 37: - case 17: - return 2147483647; - case 18: - case 1: - return 47839; - case 59: - case 57: - return 99; - case 68: - case 58: - return 2048; - case 0: return 2097152; - case 3: return 65536; - case 14: return 32768; - case 73: return 32767; - case 39: return 16384; - case 60: return 1000; - case 106: return 700; - case 52: return 256; - case 62: return 255; - case 2: return 100; - case 65: return 64; - case 36: return 20; - case 100: return 16; - case 20: return 6; - case 53: return 4; - } - ___setErrNo(ERRNO_CODES.EINVAL); - return -1; - } - - function _time(ptr) { - var ret = Math.floor(Date.now()/1000); - if (ptr) { - HEAP32[((ptr)>>2)]=ret - } - return ret; - } - - function _sbrk(bytes) { - // Implement a Linux-like 'memory area' for our 'process'. - // Changes the size of the memory area by |bytes|; returns the - // address of the previous top ('break') of the memory area - - // We need to make sure no one else allocates unfreeable memory! - // We must control this entirely. So we don't even need to do - // unfreeable allocations - the HEAP is ours, from STATICTOP up. - // TODO: We could in theory slice off the top of the HEAP when - // sbrk gets a negative increment in |bytes|... - var self = _sbrk; - if (!self.called) { - STATICTOP = alignMemoryPage(STATICTOP); // make sure we start out aligned - self.called = true; - _sbrk.DYNAMIC_START = STATICTOP; - } - var ret = STATICTOP; - if (bytes != 0) Runtime.staticAlloc(bytes); - return ret; // Previous break location. - } - - - function _fputs(s, stream) { - // int fputs(const char *restrict s, FILE *restrict stream); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/fputs.html - return _write(stream, s, _strlen(s)); - } - - function _fputc(c, stream) { - // int fputc(int c, FILE *stream); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/fputc.html - var chr = unSign(c & 0xFF); - HEAP8[((_fputc.ret)|0)]=chr - var ret = _write(stream, _fputc.ret, 1); - if (ret == -1) { - if (FS.streams[stream]) FS.streams[stream].error = true; - return -1; - } else { - return chr; - } - }function _puts(s) { - // int puts(const char *s); - // http://pubs.opengroup.org/onlinepubs/000095399/functions/puts.html - // NOTE: puts() always writes an extra newline. - var stdout = HEAP32[((_stdout)>>2)]; - var ret = _fputs(s, stdout); - if (ret < 0) { - return ret; - } else { - var newlineRet = _fputc('\n'.charCodeAt(0), stdout); - return (newlineRet < 0) ? -1 : ret + 1; - } - } - - var _llvm_memmove_p0i8_p0i8_i64=_memmove; - - - - - - - var Browser={mainLoop:{scheduler:null,shouldPause:false,paused:false,queue:[],pause:function () { - Browser.mainLoop.shouldPause = true; - },resume:function () { - if (Browser.mainLoop.paused) { - Browser.mainLoop.paused = false; - Browser.mainLoop.scheduler(); - } - Browser.mainLoop.shouldPause = false; - },updateStatus:function () { - if (Module['setStatus']) { - var message = Module['statusMessage'] || 'Please wait...'; - var remaining = Browser.mainLoop.remainingBlockers; - var expected = Browser.mainLoop.expectedBlockers; - if (remaining) { - if (remaining < expected) { - Module['setStatus'](message + ' (' + (expected - remaining) + '/' + expected + ')'); - } else { - Module['setStatus'](message); - } - } else { - Module['setStatus'](''); - } - } - }},pointerLock:false,moduleContextCreatedCallbacks:[],workers:[],ensureObjects:function () { - if (Browser.ensured) return; - Browser.ensured = true; - try { - new Blob(); - Browser.hasBlobConstructor = true; - } catch(e) { - Browser.hasBlobConstructor = false; - console.log("warning: no blob constructor, cannot create blobs with mimetypes"); - } - Browser.BlobBuilder = typeof MozBlobBuilder != "undefined" ? MozBlobBuilder : (typeof WebKitBlobBuilder != "undefined" ? WebKitBlobBuilder : (!Browser.hasBlobConstructor ? console.log("warning: no BlobBuilder") : null)); - Browser.URLObject = typeof window != "undefined" ? (window.URL ? window.URL : window.webkitURL) : console.log("warning: cannot create object URLs"); - - // Support for plugins that can process preloaded files. You can add more of these to - // your app by creating and appending to Module.preloadPlugins. - // - // Each plugin is asked if it can handle a file based on the file's name. If it can, - // it is given the file's raw data. When it is done, it calls a callback with the file's - // (possibly modified) data. For example, a plugin might decompress a file, or it - // might create some side data structure for use later (like an Image element, etc.). - - function getMimetype(name) { - return { - 'jpg': 'image/jpeg', - 'jpeg': 'image/jpeg', - 'png': 'image/png', - 'bmp': 'image/bmp', - 'ogg': 'audio/ogg', - 'wav': 'audio/wav', - 'mp3': 'audio/mpeg' - }[name.substr(-3)]; - return ret; - } - - if (!Module["preloadPlugins"]) Module["preloadPlugins"] = []; - - var imagePlugin = {}; - imagePlugin['canHandle'] = function(name) { - return !Module.noImageDecoding && /\.(jpg|jpeg|png|bmp)$/.exec(name); - }; - imagePlugin['handle'] = function(byteArray, name, onload, onerror) { - var b = null; - if (Browser.hasBlobConstructor) { - try { - b = new Blob([byteArray], { type: getMimetype(name) }); - } catch(e) { - Runtime.warnOnce('Blob constructor present but fails: ' + e + '; falling back to blob builder'); - } - } - if (!b) { - var bb = new Browser.BlobBuilder(); - bb.append((new Uint8Array(byteArray)).buffer); // we need to pass a buffer, and must copy the array to get the right data range - b = bb.getBlob(); - } - var url = Browser.URLObject.createObjectURL(b); - var img = new Image(); - img.onload = function() { - assert(img.complete, 'Image ' + name + ' could not be decoded'); - var canvas = document.createElement('canvas'); - canvas.width = img.width; - canvas.height = img.height; - var ctx = canvas.getContext('2d'); - ctx.drawImage(img, 0, 0); - Module["preloadedImages"][name] = canvas; - Browser.URLObject.revokeObjectURL(url); - if (onload) onload(byteArray); - }; - img.onerror = function(event) { - console.log('Image ' + url + ' could not be decoded'); - if (onerror) onerror(); - }; - img.src = url; - }; - Module['preloadPlugins'].push(imagePlugin); - - var audioPlugin = {}; - audioPlugin['canHandle'] = function(name) { - return !Module.noAudioDecoding && name.substr(-4) in { '.ogg': 1, '.wav': 1, '.mp3': 1 }; - }; - audioPlugin['handle'] = function(byteArray, name, onload, onerror) { - var done = false; - function finish(audio) { - if (done) return; - done = true; - Module["preloadedAudios"][name] = audio; - if (onload) onload(byteArray); - } - function fail() { - if (done) return; - done = true; - Module["preloadedAudios"][name] = new Audio(); // empty shim - if (onerror) onerror(); - } - if (Browser.hasBlobConstructor) { - try { - var b = new Blob([byteArray], { type: getMimetype(name) }); - } catch(e) { - return fail(); - } - var url = Browser.URLObject.createObjectURL(b); // XXX we never revoke this! - var audio = new Audio(); - audio.addEventListener('canplaythrough', function() { finish(audio) }, false); // use addEventListener due to chromium bug 124926 - audio.onerror = function(event) { - if (done) return; - console.log('warning: browser could not fully decode audio ' + name + ', trying slower base64 approach'); - function encode64(data) { - var BASE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; - var PAD = '='; - var ret = ''; - var leftchar = 0; - var leftbits = 0; - for (var i = 0; i < data.length; i++) { - leftchar = (leftchar << 8) | data[i]; - leftbits += 8; - while (leftbits >= 6) { - var curr = (leftchar >> (leftbits-6)) & 0x3f; - leftbits -= 6; - ret += BASE[curr]; - } - } - if (leftbits == 2) { - ret += BASE[(leftchar&3) << 4]; - ret += PAD + PAD; - } else if (leftbits == 4) { - ret += BASE[(leftchar&0xf) << 2]; - ret += PAD; - } - return ret; - } - audio.src = 'data:audio/x-' + name.substr(-3) + ';base64,' + encode64(byteArray); - finish(audio); // we don't wait for confirmation this worked - but it's worth trying - }; - audio.src = url; - // workaround for chrome bug 124926 - we do not always get oncanplaythrough or onerror - setTimeout(function() { - finish(audio); // try to use it even though it is not necessarily ready to play - }, 10000); - } else { - return fail(); - } - }; - Module['preloadPlugins'].push(audioPlugin); - },createContext:function (canvas, useWebGL, setInModule) { - var ctx; - try { - if (useWebGL) { - ctx = canvas.getContext('experimental-webgl', { - alpha: false, - }); - } else { - ctx = canvas.getContext('2d'); - } - if (!ctx) throw ':('; - } catch (e) { - Module.print('Could not create canvas - ' + e); - return null; - } - if (useWebGL) { - // Set the background of the WebGL canvas to black - canvas.style.backgroundColor = "black"; - - // Warn on context loss - canvas.addEventListener('webglcontextlost', function(event) { - alert('WebGL context lost. You will need to reload the page.'); - }, false); - } - if (setInModule) { - Module.ctx = ctx; - Module.useWebGL = useWebGL; - Browser.moduleContextCreatedCallbacks.forEach(function(callback) { callback() }); - } - return ctx; - },destroyContext:function (canvas, useWebGL, setInModule) {},requestFullScreen:function () { - var canvas = Module['canvas']; - function fullScreenChange() { - var isFullScreen = false; - if ((document['webkitFullScreenElement'] || document['webkitFullscreenElement'] || - document['mozFullScreenElement'] || document['mozFullscreenElement'] || - document['fullScreenElement'] || document['fullscreenElement']) === canvas) { - canvas.requestPointerLock = canvas['requestPointerLock'] || - canvas['mozRequestPointerLock'] || - canvas['webkitRequestPointerLock']; - canvas.requestPointerLock(); - isFullScreen = true; - } - if (Module['onFullScreen']) Module['onFullScreen'](isFullScreen); - } - - document.addEventListener('fullscreenchange', fullScreenChange, false); - document.addEventListener('mozfullscreenchange', fullScreenChange, false); - document.addEventListener('webkitfullscreenchange', fullScreenChange, false); - - function pointerLockChange() { - Browser.pointerLock = document['pointerLockElement'] === canvas || - document['mozPointerLockElement'] === canvas || - document['webkitPointerLockElement'] === canvas; - } - - document.addEventListener('pointerlockchange', pointerLockChange, false); - document.addEventListener('mozpointerlockchange', pointerLockChange, false); - document.addEventListener('webkitpointerlockchange', pointerLockChange, false); - - canvas.requestFullScreen = canvas['requestFullScreen'] || - canvas['mozRequestFullScreen'] || - (canvas['webkitRequestFullScreen'] ? function() { canvas['webkitRequestFullScreen'](Element['ALLOW_KEYBOARD_INPUT']) } : null); - canvas.requestFullScreen(); - },requestAnimationFrame:function (func) { - if (!window.requestAnimationFrame) { - window.requestAnimationFrame = window['requestAnimationFrame'] || - window['mozRequestAnimationFrame'] || - window['webkitRequestAnimationFrame'] || - window['msRequestAnimationFrame'] || - window['oRequestAnimationFrame'] || - window['setTimeout']; - } - window.requestAnimationFrame(func); - },getMovementX:function (event) { - return event['movementX'] || - event['mozMovementX'] || - event['webkitMovementX'] || - 0; - },getMovementY:function (event) { - return event['movementY'] || - event['mozMovementY'] || - event['webkitMovementY'] || - 0; - },xhrLoad:function (url, onload, onerror) { - var xhr = new XMLHttpRequest(); - xhr.open('GET', url, true); - xhr.responseType = 'arraybuffer'; - xhr.onload = function() { - if (xhr.status == 200) { - onload(xhr.response); - } else { - onerror(); - } - }; - xhr.onerror = onerror; - xhr.send(null); - },asyncLoad:function (url, onload, onerror, noRunDep) { - Browser.xhrLoad(url, function(arrayBuffer) { - assert(arrayBuffer, 'Loading data file "' + url + '" failed (no arrayBuffer).'); - onload(new Uint8Array(arrayBuffer)); - if (!noRunDep) removeRunDependency('al ' + url); - }, function(event) { - if (onerror) { - onerror(); - } else { - throw 'Loading data file "' + url + '" failed.'; - } - }); - if (!noRunDep) addRunDependency('al ' + url); - },resizeListeners:[],updateResizeListeners:function () { - var canvas = Module['canvas']; - Browser.resizeListeners.forEach(function(listener) { - listener(canvas.width, canvas.height); - }); - },setCanvasSize:function (width, height, noUpdates) { - var canvas = Module['canvas']; - canvas.width = width; - canvas.height = height; - if (!noUpdates) Browser.updateResizeListeners(); - }}; -__ATINIT__.unshift({ func: function() { if (!Module["noFSInit"] && !FS.init.initialized) FS.init() } });__ATMAIN__.push({ func: function() { FS.ignorePermissions = false } });__ATEXIT__.push({ func: function() { FS.quit() } });Module["FS_createFolder"] = FS.createFolder;Module["FS_createPath"] = FS.createPath;Module["FS_createDataFile"] = FS.createDataFile;Module["FS_createPreloadedFile"] = FS.createPreloadedFile;Module["FS_createLazyFile"] = FS.createLazyFile;Module["FS_createLink"] = FS.createLink;Module["FS_createDevice"] = FS.createDevice; -___setErrNo(0); -_llvm_eh_exception.buf = allocate(12, "void*", ALLOC_STATIC); -_fgetc.ret = allocate([0], "i8", ALLOC_STATIC); -_fputc.ret = allocate([0], "i8", ALLOC_STATIC); -Module["requestFullScreen"] = function() { Browser.requestFullScreen() }; - Module["requestAnimationFrame"] = function(func) { Browser.requestAnimationFrame(func) }; - Module["pauseMainLoop"] = function() { Browser.mainLoop.pause() }; - Module["resumeMainLoop"] = function() { Browser.mainLoop.resume() }; - - - -var FUNCTION_TABLE = [0,0,__ZNSt3__18messagesIwED0Ev,0,__ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,0,__ZNKSt3__18numpunctIcE12do_falsenameEv,0,__ZNSt11logic_errorD1Ev,0,__ZNKSt3__120__time_get_c_storageIwE3__rEv,0,__ZNSt3__18messagesIcED0Ev,0,__ZNSt3__16locale5facetD1Ev,0,__ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev,0,__ZNK5Avoid8ShapeRef8positionEv,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm,0,__ZN5Avoid19NudgingShiftSegment9highPointEv,0,__ZNSt12length_errorD0Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED1Ev,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm,0,__ZNK5Avoid21HyperEdgeShiftSegment9immovableEv,0,__ZNKSt3__15ctypeIcE10do_toupperEc,0,__ZNSt3__16locale2id6__initEv,0,__ZNSt3__110__stdinbufIcED1Ev,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm,0,__ZNSt3__110__stdinbufIcE9pbackfailEi,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9underflowEv,0,__ZNSt3__110__stdinbufIwED0Ev,0,__ZNSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekposENS_4fposI10_mbstate_tEEj,0,__ZNSt11logic_errorD0Ev,0,__ZNSt13runtime_errorD1Ev,0,__ZNKSt3__17collateIcE7do_hashEPKcS3_,0,__ZNKSt3__120__time_get_c_storageIwE8__monthsEv,0,__ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,0,__ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE,0,__ZNKSt3__15ctypeIcE10do_toupperEPcPKc,0,__ZNKSt3__17codecvtIcc10_mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_,0,__ZNK5Avoid22TopologyAddonInterface18outputDeletionCodeEP7__sFILE,0,__ZNKSt3__110moneypunctIwLb1EE16do_positive_signEv,0,__ZNKSt3__15ctypeIwE10do_tolowerEPwPKw,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5uflowEv,0,__ZNK5Avoid19NudgingShiftSegment8lowPointEv,0,__ZNSt3__17collateIcED1Ev,0,__ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,0,__ZTv0_n12_NSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_,0,__ZNSt12length_errorD1Ev,0,__ZNSt3__16locale5facetD0Ev,0,__ZNKSt3__112__do_message7messageEi,0,__ZNKSt3__120__time_get_c_storageIwE3__cEv,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx,0,__ZNSt3__15ctypeIcED0Ev,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl,0,__ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev,0,__ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev,0,__ZNK5Avoid19NudgingShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd,0,__ZNKSt3__110moneypunctIcLb1EE16do_decimal_pointEv,0,__ZNKSt3__17codecvtIwc10_mbstate_tE11do_encodingEv,0,__ZNSt3__110__stdinbufIwE5imbueERKNS_6localeE,0,__ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,0,__ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE,0,__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE13do_max_lengthEv,0,__ZNK5Avoid7Polygon2atEj,0,__ZNKSt3__17codecvtIwc10_mbstate_tE9do_lengthERS1_PKcS5_j,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv,0,__ZNSt3__18messagesIcED1Ev,0,__ZNKSt3__120__time_get_c_storageIwE7__weeksEv,0,__ZNKSt3__18numpunctIwE11do_groupingEv,0,__ZNSt3__16locale5facet16__on_zero_sharedEv,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev,0,__ZN5Avoid22TopologyAddonInterfaceD1Ev,0,__ZNKSt3__15ctypeIwE8do_widenEc,0,__ZNKSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc,0,__ZNSt3__18numpunctIcED1Ev,0,__ZNSt3__110__stdinbufIcE5uflowEv,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj,0,__ZNK5Avoid7Polygon4sizeEv,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm,0,__ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev,0,__ZNSt3__17codecvtIDsc10_mbstate_tED1Ev,0,__ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5uflowEv,0,__ZNKSt3__110moneypunctIwLb0EE13do_neg_formatEv,0,__ZNKSt3__17codecvtIwc10_mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_,0,__ZNKSt3__15ctypeIcE8do_widenEc,0,__ZNSt3__110moneypunctIwLb0EED0Ev,0,__ZNSt3__17codecvtIwc10_mbstate_tED1Ev,0,__ZNKSt3__17codecvtIDic10_mbstate_tE9do_lengthERS1_PKcS5_j,0,__ZN5Avoid7Polygon5clearEv,0,__ZNK5Avoid22TopologyAddonInterface5cloneEv,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9underflowEv,0,__ZNK5Avoid19NudgingShiftSegment9immovableEv,0,__ZN5Avoid8ObstacleD0Ev,0,__ZN5Avoid9RectangleD1Ev,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv,0,__ZN5Avoid13manhattanDistERKNS_5PointES2_,0,__ZNSt3__17codecvtIcc10_mbstate_tED0Ev,0,__ZNKSt3__18numpunctIcE11do_groupingEv,0,__ZNK10__cxxabiv116__shim_type_info5noop1Ev,0,__ZN10__cxxabiv119__pointer_type_infoD0Ev,0,__ZN5Avoid22UnsatisfiableExceptionD1Ev,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm,0,__ZNKSt3__120__time_get_c_storageIwE3__xEv,0,__ZNKSt3__17codecvtIcc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_,0,__ZNSt3__110__stdinbufIwE9pbackfailEj,0,__ZN10__cxxabiv123__fundamental_type_infoD1Ev,0,__ZNKSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc,0,__ZNSt3__18numpunctIcED0Ev,0,__ZNSt3__111__stdoutbufIcE8overflowEi,0,__ZNSt3__119__iostream_categoryD1Ev,0,__ZNKSt3__120__time_get_c_storageIwE7__am_pmEv,0,__ZNSt3__17codecvtIDic10_mbstate_tED1Ev,0,__ZNSt3__111__stdoutbufIwE5imbueERKNS_6localeE,0,__ZN5Avoid7PolygonD1Ev,0,__ZNKSt3__15ctypeIwE5do_isEPKwS3_Pt,0,__ZNKSt3__15ctypeIwE10do_toupperEw,0,__ZNKSt3__15ctypeIwE9do_narrowEPKwS3_cPc,0,__ZNKSt3__17codecvtIDic10_mbstate_tE11do_encodingEv,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE,0,__ZNKSt3__110moneypunctIcLb0EE16do_negative_signEv,0,__ZNK5Avoid21HyperEdgeShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj,0,__ZNSt3__17collateIwED1Ev,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm,0,__ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv,0,__ZNKSt8bad_cast4whatEv,0,__ZNSt3__15ctypeIcED1Ev,0,__ZNSt3__110moneypunctIcLb0EED1Ev,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9underflowEv,0,__ZNKSt3__18messagesIcE6do_getEiiiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE,0,__ZNKSt3__110moneypunctIwLb1EE13do_pos_formatEv,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm,0,__ZNSt3__15ctypeIwED0Ev,0,__ZNKSt13runtime_error4whatEv,0,_free,0,__ZN5Avoid8ShapeRefD1Ev,0,__ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,0,___cxx_global_array_dtor132,0,__ZNSt3__117__widen_from_utf8ILj32EED0Ev,0,__ZN10__cxxabiv123__fundamental_type_infoD0Ev,0,__ZNKSt3__18numpunctIwE16do_thousands_sepEv,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE8overflowEi,0,__ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev,0,__ZNSt3__110__stdinbufIwED1Ev,0,__ZNKSt3__18numpunctIcE16do_decimal_pointEv,0,__ZNKSt3__110moneypunctIwLb0EE16do_negative_signEv,0,__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,0,__ZNKSt3__120__time_get_c_storageIcE3__xEv,0,__ZNSt3__17collateIwED0Ev,0,__ZNKSt3__110moneypunctIcLb0EE16do_positive_signEv,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE16do_always_noconvEv,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE9do_lengthERS1_PKcS5_j,0,__ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,0,__ZNK5Avoid11JunctionRef10outputCodeEP7__sFILE,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj,0,__ZNSt3__18ios_base4InitD1Ev,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy,0,__ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev,0,__ZNKSt3__17codecvtIcc10_mbstate_tE9do_lengthERS1_PKcS5_j,0,__ZNKSt3__18numpunctIwE16do_decimal_pointEv,0,__ZN5Avoid8ShapeRefD0Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4syncEv,0,__ZN5Avoid21HyperEdgeShiftSegmentD1Ev,0,__ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,0,__ZN5Avoid21HyperEdgeShiftSegment9highPointEv,0,__ZNKSt3__110moneypunctIcLb0EE11do_groupingEv,0,__ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,0,__ZNKSt3__110moneypunctIwLb1EE14do_frac_digitsEv,0,__ZNKSt3__110moneypunctIwLb1EE16do_negative_signEv,0,__ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,0,__ZTv0_n12_NSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev,0,__ZNKSt3__120__time_get_c_storageIcE3__XEv,0,__ZN5Avoid19NudgingShiftSegmentD1Ev,0,__ZNKSt3__15ctypeIwE9do_narrowEwc,0,__ZNSt3__112__do_messageD1Ev,0,__ZNSt3__111__stdoutbufIwE4syncEv,0,__ZN5Avoid14compare_eventsEPKvS1_,0,__ZNSt3__110moneypunctIwLb0EED1Ev,0,__ZNKSt3__110moneypunctIcLb1EE13do_neg_formatEv,0,__ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev,0,__ZNKSt3__17codecvtIcc10_mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_,0,__ZTv0_n12_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev,0,__ZN10__cxxabiv121__vmi_class_type_infoD1Ev,0,__ZN10__cxxabiv120__si_class_type_infoD1Ev,0,__ZNSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,0,__ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,0,__ZNKSt3__17collateIwE7do_hashEPKwS3_,0,__ZN5Avoid16PolygonInterfaceD1Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI10_mbstate_tEEj,0,__ZNSt3__111__stdoutbufIcE5imbueERKNS_6localeE,0,__ZNK5Avoid11JunctionRef8positionEv,0,__ZNKSt3__110moneypunctIcLb1EE16do_thousands_sepEv,0,__ZNSt3__18ios_baseD0Ev,0,__ZN5Avoid4NodeD1Ev,0,__ZNSt3__110moneypunctIcLb1EED0Ev,0,__ZNSt9bad_allocD0Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED0Ev,0,__ZNKSt3__17codecvtIwc10_mbstate_tE16do_always_noconvEv,0,__ZNKSt3__120__time_get_c_storageIcE3__rEv,0,__ZN5Avoid22TopologyAddonInterface25improveOrthogonalTopologyEPNS_6RouterE,0,__ZNKSt3__114error_category10equivalentEiRKNS_15error_conditionE,0,__ZNK5Avoid22TopologyAddonInterface10outputCodeEP7__sFILE,0,__ZN5Avoid16PolygonInterfaceD0Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKci,0,__ZNKSt3__15ctypeIwE10do_scan_isEtPKwS3_,0,__ZNKSt3__17codecvtIDic10_mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_,0,__ZNKSt3__17codecvtIDic10_mbstate_tE13do_max_lengthEv,0,__ZNKSt3__17codecvtIDic10_mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_,0,__ZNSt9bad_allocD1Ev,0,__ZTv0_n12_NSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED1Ev,0,__ZN10__cxxabiv120__si_class_type_infoD0Ev,0,__ZNKSt3__17collateIwE10do_compareEPKwS3_S3_S3_,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPci,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv,0,__ZN5Avoid22TopologyAddonInterfaceD0Ev,0,__ZNKSt3__15ctypeIcE10do_tolowerEc,0,__ZNKSt3__110moneypunctIwLb1EE13do_neg_formatEv,0,__ZNKSt3__15ctypeIcE8do_widenEPKcS3_Pc,0,__ZNSt3__17codecvtIwc10_mbstate_tED0Ev,0,__ZNKSt3__110moneypunctIwLb1EE16do_decimal_pointEv,0,__ZNSt3__17codecvtIDsc10_mbstate_tED0Ev,0,__ZNKSt3__120__time_get_c_storageIcE7__weeksEv,0,__ZNSt3__16locale5__impD1Ev,0,__ZNSt8bad_castD1Ev,0,__ZNKSt3__18numpunctIwE11do_truenameEv,0,__ZNSt3__18ios_baseD1Ev,0,__ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev,0,__ZNSt3__110__stdinbufIwE9underflowEv,0,__ZNSt3__18ios_base7failureD0Ev,0,__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,0,__ZNKSt3__15ctypeIwE5do_isEtw,0,__ZNSt3__110moneypunctIwLb1EED0Ev,0,__ZN10__cxxabiv119__pointer_type_infoD1Ev,0,__ZTv0_n12_NSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev,0,__ZNKSt3__15ctypeIcE9do_narrowEPKcS3_cPc,0,__ZNSt3__114error_categoryD1Ev,0,__ZNK5Avoid6Router11newObjectIdEv,0,__ZNKSt3__17codecvtIDic10_mbstate_tE16do_always_noconvEv,0,__ZNSt3__116__narrow_to_utf8ILj32EED0Ev,0,__ZN5Avoid11JunctionRefD0Ev,0,__ZNKSt3__17codecvtIwc10_mbstate_tE13do_max_lengthEv,0,__ZNK10__cxxabiv116__shim_type_info5noop2Ev,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6setbufEPwi,0,___cxx_global_array_dtor108,0,__ZNKSt3__18messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,0,__ZNSt3__17codecvtIDic10_mbstate_tED0Ev,0,__ZNKSt3__18messagesIcE8do_closeEi,0,__ZN5Avoid12ShiftSegmentD1Ev,0,__ZNSt3__111__stdoutbufIcED1Ev,0,__ZN5Avoid7PolygonD0Ev,0,__ZNKSt3__110moneypunctIcLb1EE14do_curr_symbolEv,0,__ZNSt3__16locale5__impD0Ev,0,__ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi,0,__ZNKSt3__119__iostream_category4nameEv,0,__ZNKSt3__110moneypunctIcLb0EE14do_frac_digitsEv,0,__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb,0,__ZNKSt3__110moneypunctIwLb1EE11do_groupingEv,0,__ZNSt3__18ios_base7failureD1Ev,0,__ZNKSt3__110moneypunctIcLb1EE11do_groupingEv,0,__ZNSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev,0,__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev,0,__ZNSt8bad_castD0Ev,0,__ZNKSt3__15ctypeIcE9do_narrowEcc,0,__ZNSt3__117__widen_from_utf8ILj32EED1Ev,0,__ZNSt3__112__do_nothingEPv,0,__ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev,0,__ZNK5Avoid21HyperEdgeShiftSegment8lowPointEv,0,___cxx_global_array_dtor83,0,___cxx_global_array_dtor80,0,___cxx_global_array_dtor147,0,__ZNSt3__110moneypunctIcLb0EED0Ev,0,__ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,0,__ZNSt3__18numpunctIwED1Ev,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv,0,__ZNKSt3__18numpunctIwE12do_falsenameEv,0,__ZNSt3__17collateIcED0Ev,0,__ZNKSt3__110moneypunctIwLb0EE13do_pos_formatEv,0,__ZNKSt3__110moneypunctIcLb1EE16do_negative_signEv,0,__ZNSt3__111__stdoutbufIcED0Ev,0,__ZN10__cxxabiv117__class_type_infoD1Ev,0,__ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev,0,__ZNSt3__112system_errorD0Ev,0,__ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe,0,__ZNSt3__111__stdoutbufIwED0Ev,0,__ZNK5Avoid7Polygon2idEv,0,__ZNSt3__110__stdinbufIwE5uflowEv,0,__ZNKSt3__18numpunctIcE11do_truenameEv,0,__ZNKSt3__110moneypunctIcLb1EE13do_pos_formatEv,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI10_mbstate_tEEj,0,__ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe,0,__ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_,0,__ZNKSt3__18numpunctIcE16do_thousands_sepEv,0,__ZN5Avoid19NudgingShiftSegmentD0Ev,0,__ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,0,__ZN5Avoid19NudgingShiftSegment8lowPointEv,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9showmanycEv,0,__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE8overflowEj,0,__ZN5Avoid21HyperEdgeShiftSegmentD0Ev,0,___cxa_pure_virtual,0,__ZNSt3__18numpunctIwED0Ev,0,__ZNK10__cxxabiv119__pointer_type_info9can_catchEPKNS_16__shim_type_infoERPv,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE,0,__ZNKSt3__15ctypeIwE10do_tolowerEw,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE4syncEv,0,__ZNSt3__111__stdoutbufIcE4syncEv,0,__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev,0,__ZNKSt3__17codecvtIwc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_,0,__ZNKSt3__17collateIcE10do_compareEPKcS3_S3_S3_,0,__ZNSt3__112__do_messageD0Ev,0,__ZN5Avoid12ShiftSegmentD0Ev,0,__ZNKSt3__120__time_get_c_storageIcE8__monthsEv,0,__ZNKSt3__17codecvtIwc10_mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_,0,__ZNSt3__110__stdinbufIcE5imbueERKNS_6localeE,0,__ZN5Avoid21HyperEdgeShiftSegment8lowPointEv,0,__ZNKSt3__17collateIwE12do_transformEPKwS3_,0,__ZNSt3__114error_categoryD0Ev,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm,0,__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl,0,__ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj,0,__ZN10__cxxabiv121__vmi_class_type_infoD0Ev,0,__ZNK5Avoid19NudgingShiftSegment9highPointEv,0,__ZNKSt3__110moneypunctIcLb1EE14do_frac_digitsEv,0,__ZNKSt3__17codecvtIDic10_mbstate_tE10do_unshiftERS1_PcS4_RS4_,0,__ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE,0,__ZNKSt3__15ctypeIwE10do_toupperEPwPKw,0,__ZTv0_n12_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev,0,__ZNSt3__110__stdinbufIcE9underflowEv,0,__ZNKSt3__114error_category23default_error_conditionEi,0,__ZNKSt3__17codecvtIcc10_mbstate_tE13do_max_lengthEv,0,__ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib,0,__ZN5Avoid4NodeD0Ev,0,__ZNKSt3__17codecvtIcc10_mbstate_tE16do_always_noconvEv,0,__ZNKSt3__18messagesIwE8do_closeEi,0,__ZNKSt9bad_alloc4whatEv,0,__ZNKSt3__110moneypunctIwLb0EE11do_groupingEv,0,__ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9showmanycEv,0,__ZNKSt3__110moneypunctIcLb0EE16do_decimal_pointEv,0,__ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx,0,__ZNK5Avoid21HyperEdgeShiftSegment9highPointEv,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd,0,__ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev,0,__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9pbackfailEi,0,__ZNKSt3__17codecvtIcc10_mbstate_tE11do_encodingEv,0,__ZNKSt3__110moneypunctIcLb0EE16do_thousands_sepEv,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwi,0,__ZNKSt3__110moneypunctIcLb0EE13do_neg_formatEv,0,__ZNKSt11logic_error4whatEv,0,__ZNKSt3__119__iostream_category7messageEi,0,__ZNKSt3__110moneypunctIcLb0EE13do_pos_formatEv,0,__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev,0,__ZNKSt3__110moneypunctIwLb0EE16do_decimal_pointEv,0,__ZNKSt3__17collateIcE12do_transformEPKcS3_,0,__ZNKSt3__114error_category10equivalentERKNS_10error_codeEi,0,__ZNKSt3__110moneypunctIwLb0EE14do_frac_digitsEv,0,__ZNKSt3__110moneypunctIwLb0EE16do_thousands_sepEv,0,__ZNKSt3__15ctypeIcE10do_tolowerEPcPKc,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc,0,__ZNKSt3__120__time_get_c_storageIcE7__am_pmEv,0,__ZNKSt3__110moneypunctIcLb0EE14do_curr_symbolEv,0,__ZNKSt3__15ctypeIwE8do_widenEPKcS3_Pw,0,__ZNKSt3__110moneypunctIwLb1EE16do_thousands_sepEv,0,__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib,0,__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev,0,__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev,0,__ZNSt3__110__stdinbufIcED0Ev,0,__ZN5Avoid13euclideanDistERKNS_5PointES2_,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv,0,__ZN5Avoid9RectangleD0Ev,0,__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm,0,__ZNSt3__119__iostream_categoryD0Ev,0,__ZN5Avoid11JunctionRefD1Ev,0,__ZNSt3__110moneypunctIwLb1EED1Ev,0,__ZNKSt3__110moneypunctIwLb0EE14do_curr_symbolEv,0,__ZNKSt3__18messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE,0,__ZN5Avoid6RouterD1Ev,0,__ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev,0,__ZNSt3__110moneypunctIcLb1EED1Ev,0,__ZNK5Avoid7Polygon5emptyEv,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8overflowEi,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj,0,__ZNKSt3__120__time_get_c_storageIcE3__cEv,0,__ZN5Avoid8ObstacleD1Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6setbufEPci,0,__ZNKSt3__110moneypunctIwLb0EE16do_positive_signEv,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_,0,__ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev,0,__ZNKSt3__120__time_get_c_storageIwE3__XEv,0,__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm,0,__ZNSt3__17codecvtIcc10_mbstate_tED1Ev,0,__ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED0Ev,0,__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi,0,__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev,0,__ZNSt3__111__stdoutbufIwE8overflowEj,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl,0,__ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf,0,__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb,0,___cxx_global_array_dtor,0,__ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev,0,__ZN10__cxxabiv117__class_type_infoD0Ev,0,__ZNSt3__18messagesIwED1Ev,0,__ZNSt3__111__stdoutbufIwED1Ev,0,__ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE,0,__ZNSt3__112system_errorD1Ev,0,__ZNKSt3__15ctypeIwE11do_scan_notEtPKwS3_,0,__ZN5Avoid6RouterD0Ev,0,__ZNK5Avoid8ShapeRef10outputCodeEP7__sFILE,0,__ZNKSt3__110moneypunctIwLb1EE14do_curr_symbolEv,0,__ZNSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_,0,__ZNSt3__15ctypeIwED1Ev,0,__ZNKSt3__18messagesIwE6do_getEiiiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE,0,__ZNKSt3__17codecvtIDsc10_mbstate_tE11do_encodingEv,0,__ZNKSt3__110moneypunctIcLb1EE16do_positive_signEv,0,__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev,0,__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwi,0,__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev,0,__ZNSt13runtime_errorD0Ev,0,__ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev,0,__ZNSt3__116__narrow_to_utf8ILj32EED1Ev,0]; - -function __ZN5Avoid16PolygonInterfaceD1Ev(r1) { - return; -} -function __ZN5Avoid16PolygonInterfaceC2ERKS0_(r1) { - HEAP32[r1 >> 2] = 5267564; - return; -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEE18__construct_at_endIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP8[r2] = HEAP8[r1]; - r5 = HEAP32[r4]; - } - r6 = r5 + 1 | 0; - HEAP32[r4] = r6; - r7 = r1 + 1 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function _createRouter() { - var r1; - r1 = __Znwj(892); - __ZN5Avoid6RouterC1Ej(r1); - return r1; -} -Module["_createRouter"] = _createRouter; -function _createShape(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9; - r6 = STACKTOP; - STACKTOP = STACKTOP + 92 | 0; - r7 = r6; - r8 = r6 + 44; - r9 = r6 + 68; - __ZN5Avoid5PointC1Edd(r8, r2, r3); - __ZN5Avoid5PointC1Edd(r9, r4, r5); - __ZN5Avoid9RectangleC1ERKNS_5PointES3_(r7, r8, r9); - r9 = __Znwj(96); - __ZN5Avoid8ShapeRefC1EPNS_6RouterERNS_7PolygonEj(r9, r1, r7 | 0); - __ZN5Avoid9RectangleD1Ev(r7); - STACKTOP = r6; - return r9; -} -Module["_createShape"] = _createShape; -function __ZN5Avoid9RectangleD1Ev(r1) { - __ZN5Avoid9RectangleD2Ev(r1); - return; -} -function _moveShape(r1, r2, r3, r4) { - __ZN5Avoid6Router9moveShapeEPNS_8ShapeRefEdd(r1, r2, r3, r4); - return; -} -Module["_moveShape"] = _moveShape; -function _moveShapeRect(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10; - r7 = STACKTOP; - STACKTOP = STACKTOP + 92 | 0; - r8 = r7; - r9 = r7 + 44; - r10 = r7 + 68; - __ZN5Avoid5PointC1Edd(r9, r3, r4); - __ZN5Avoid5PointC1Edd(r10, r5, r6); - __ZN5Avoid9RectangleC1ERKNS_5PointES3_(r8, r9, r10); - __ZN5Avoid6Router9moveShapeEPNS_8ShapeRefERKNS_7PolygonEb(r1, r2, r8 | 0); - __ZN5Avoid9RectangleD1Ev(r8); - STACKTOP = r7; - return; -} -Module["_moveShapeRect"] = _moveShapeRect; -function _processTransaction(r1) { - __ZN5Avoid6Router18processTransactionEv(r1); - return; -} -Module["_processTransaction"] = _processTransaction; -function _disconnect(r1, r2) { - __ZN5Avoid6Router15deleteConnectorEPNS_7ConnRefE(r1, r2); - return; -} -Module["_disconnect"] = _disconnect; -function _displayRoute(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r5 = r4; - __ZN5Avoid7PolygonC1ERKS0_(r5, __ZN5Avoid7ConnRef12displayRouteEv(r1)); - r1 = r2; - r2 = __ZNK5Avoid7Polygon4sizeEv(r5) << 1; - if ((r3 | 0) != 0 & (r2 | 0) != 0) { - r6 = 0; - } else { - r7 = r2 >>> 0 > r3 >>> 0; - r8 = r7 ? r3 : r2; - __ZN5Avoid7PolygonD1Ev(r5); - STACKTOP = r4; - return r8; - } - while (1) { - r9 = __ZNK5Avoid7Polygon2atEj(r5, r6 >>> 1); - r10 = r9 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r9 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = (r6 << 3) + r1 | 0; - HEAPF64[tempDoublePtr >> 3] = r11, HEAP32[r10 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r10 = ((r6 | 1) << 3) + r1 | 0; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r10 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r10 = r6 + 2 | 0; - if (r10 >>> 0 < r3 >>> 0 & r10 >>> 0 < r2 >>> 0) { - r6 = r10; - } else { - break; - } - } - r7 = r2 >>> 0 > r3 >>> 0; - r8 = r7 ? r3 : r2; - __ZN5Avoid7PolygonD1Ev(r5); - STACKTOP = r4; - return r8; -} -Module["_displayRoute"] = _displayRoute; -function __ZN5Avoid7PolygonC1ERKS0_(r1, r2) { - __ZN5Avoid7PolygonC2ERKS0_(r1, r2); - return; -} -function __ZN5Avoid7PolygonD1Ev(r1) { - __ZN5Avoid7PolygonD2Ev(r1); - return; -} -function _createShapeConnectionPin(r1, r2, r3, r4) { - var r5; - r5 = __Znwj(72); - __ZN5Avoid18ShapeConnectionPinC1EPNS_8ShapeRefEjdddj(r5, r1, r2, r3, r4); - return r5; -} -Module["_createShapeConnectionPin"] = _createShapeConnectionPin; -function __ZN5Avoid7PolygonD2Ev(r1) { - HEAP32[r1 >> 2] = 5267356; - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED1Ev(r1 + 32 | 0); - __ZNSt3__16vectorIcNS_9allocatorIcEEED1Ev(r1 + 20 | 0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r1 + 8 | 0); - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED1Ev(r1) { - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEED1Ev(r1) { - __ZNSt3__16vectorIcNS_9allocatorIcEEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIN5Avoid5PointENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIN5Avoid5PointENS_9allocatorIS2_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEED2Ev(r1) { - __ZNSt3__113__vector_baseIcNS_9allocatorIcEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIcNS_9allocatorIcEEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZN5Avoid7PolygonC2ERKS0_(r1, r2) { - __ZN5Avoid16PolygonInterfaceC2ERKS0_(r1 | 0); - HEAP32[r1 >> 2] = 5267356; - HEAP32[r1 + 4 >> 2] = HEAP32[r2 + 4 >> 2]; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r1 + 8 | 0, r2 + 8 | 0); - __ZNSt3__16vectorIcNS_9allocatorIcEEEC1ERKS3_(r1 + 20 | 0, r2 + 20 | 0); - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEEC1ERKS7_(r1 + 32 | 0, r2 + 32 | 0); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r1, r2) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC2ERKS5_(r1, r2); - return; -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEEC1ERKS3_(r1, r2) { - __ZNSt3__16vectorIcNS_9allocatorIcEEEC2ERKS3_(r1, r2); - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEEC1ERKS7_(r1, r2) { - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEEC2ERKS7_(r1, r2); - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEEC2ERKS7_(r1, r2) { - var r3, r4, r5; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2 + 4 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r2 | 0; - r2 = HEAP32[r5 >> 2]; - if ((r4 | 0) == (r2 | 0)) { - return; - } - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE8allocateEj(r1, (r4 - r2 | 0) / 28 & -1); - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, HEAP32[r5 >> 2], HEAP32[r3 >> 2]); - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r6 = (r2 + 4 | 0) >> 2; - r7 = (r1 + 4 | 0) >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r5 = HEAP32[r4]; - } - r7 = r5 + 28 | 0; - HEAP32[r4] = r7; - r6 = r1 + 28 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEEC2ERKS3_(r1, r2) { - var r3, r4, r5; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2 + 4 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r2 | 0; - r2 = HEAP32[r5 >> 2]; - if ((r4 | 0) == (r2 | 0)) { - return; - } - __ZNSt3__16vectorIcNS_9allocatorIcEEE8allocateEj(r1, r4 - r2 | 0); - __ZNSt3__16vectorIcNS_9allocatorIcEEE18__construct_at_endIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_(r1, HEAP32[r5 >> 2], HEAP32[r3 >> 2]); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC2ERKS5_(r1, r2) { - var r3, r4, r5; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2 + 4 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r2 | 0; - r2 = HEAP32[r5 >> 2]; - if ((r4 | 0) == (r2 | 0)) { - return; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8allocateEj(r1, (r4 - r2 | 0) / 24 & -1); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, HEAP32[r5 >> 2], HEAP32[r3 >> 2]); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2 >> 2; - r7 = r1 >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r5 = HEAP32[r4]; - } - r7 = r5 + 24 | 0; - HEAP32[r4] = r7; - r6 = r1 + 24 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZN5Avoid16PolygonInterfaceD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZN5Avoid9RectangleD2Ev(r1) { - __ZN5Avoid7PolygonD2Ev(r1 | 0); - return; -} -function __ZN5Avoid18ShapeConnectionPinC1EPNS_8ShapeRefEjdddj(r1, r2, r3, r4, r5) { - __ZN5Avoid18ShapeConnectionPinC2EPNS_8ShapeRefEjdddj(r1, r2, r3, r4, r5); - return; -} -function __ZN5Avoid18ShapeConnectionPinC2EPNS_8ShapeRefEjdddj(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11; - r6 = STACKTOP; - STACKTOP = STACKTOP + 76 | 0; - r7 = r6; - r8 = r6 + 8; - r9 = r6 + 32; - r10 = (r1 + 4 | 0) >> 2; - HEAP32[r10] = r2; - HEAP32[r1 + 8 >> 2] = 0; - r2 = r1 + 12 | 0; - HEAP32[r2 >> 2] = r3; - r3 = r1 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r3 = r1 + 24 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r3 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 40 >> 2] = 0; - r3 = r1 + 44 | 0; - HEAP8[r3] = 1; - r11 = r1 + 48 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r11 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1 + 56 | 0); - r11 = (r1 + 68 | 0) >> 2; - HEAP32[r11] = 0; - if ((HEAP32[r10] | 0) == 0) { - ___assert_func(5253024, 53, 5259924, 5250120); - } - if ((HEAP32[r2 >> 2] | 0) == 0) { - ___assert_func(5253024, 54, 5259924, 5248448); - } - if (r4 < 0 | r4 > 1) { - __ZN5Avoid10err_printfEPKcz(5247076, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - if (r5 < 0 | r5 > 1) { - __ZN5Avoid10err_printfEPKcz(5246176, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - r5 = HEAP32[r10]; - r4 = (r1 | 0) >> 2; - HEAP32[r4] = __ZNK5Avoid8Obstacle6routerEv(HEAP32[r5 + 4 >> 2]); - __ZN5Avoid8Obstacle16addConnectionPinEPNS_18ShapeConnectionPinE(r5, r1); - __ZN5Avoid6VertIDC1Ejtt(r7, __ZNK5Avoid8Obstacle2idEv(HEAP32[HEAP32[r10] + 8 >> 2]), 9, 5); - r10 = __Znwj(140); - r5 = HEAP32[r4]; - __ZN5Avoid7PolygonC1Ev(r9); - __ZNK5Avoid18ShapeConnectionPin8positionERKNS_7PolygonE(r8, r1, r9); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r10, r5, r7, r8, 1); - HEAP32[r11] = r10; - __ZN5Avoid7PolygonD1Ev(r9); - r9 = __ZNK5Avoid18ShapeConnectionPin10directionsEv(r1); - HEAP32[HEAP32[r11] + 120 >> 2] = r9; - r9 = HEAP32[r11]; - if ((HEAP32[r9 + 120 >> 2] | 0) == 15) { - HEAP8[r3] = 0; - } - if ((HEAP8[HEAP32[r4] + 888 | 0] & 1) << 24 >> 24 == 0) { - STACKTOP = r6; - return; - } - __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(r9, 0); - STACKTOP = r6; - return; -} -__ZN5Avoid18ShapeConnectionPinC2EPNS_8ShapeRefEjdddj["X"] = 1; -function __ZN5Avoid10err_printfEPKcz(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - HEAP32[r4 >> 2] = r2; - _fprintf(HEAP32[_stderr >> 2], r1, HEAP32[r4 >> 2]); - STACKTOP = r3; - return; -} -function _connect(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10; - r6 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - r7 = r6; - r8 = r6 + 48; - r9 = r6 + 72; - r10 = r6 + 120; - __ZN5Avoid5PointC1Edd(r8, r2, r3); - __ZN5Avoid7ConnEndC1ERKNS_5PointE(r7, r8); - __ZN5Avoid5PointC1Edd(r10, r4, r5); - __ZN5Avoid7ConnEndC1ERKNS_5PointE(r9, r10); - r10 = __Znwj(172); - __ZN5Avoid7ConnRefC1EPNS_6RouterERKNS_7ConnEndES5_j(r10, r1, r7, r9); - __ZN5Avoid7ConnEndD1Ev(r9); - __ZN5Avoid7ConnEndD1Ev(r7); - STACKTOP = r6; - return r10; -} -Module["_connect"] = _connect; -function _connectShapes(r1, r2, r3, r4, r5) { - var r6, r7, r8; - r6 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - r7 = r6; - r8 = r6 + 48; - __ZN5Avoid7ConnEndC1EPNS_8ShapeRefEj(r7, r2, r4); - __ZN5Avoid7ConnEndC1EPNS_8ShapeRefEj(r8, r3, r5); - r5 = __Znwj(172); - __ZN5Avoid7ConnRefC1EPNS_6RouterERKNS_7ConnEndES5_j(r5, r1, r7, r8); - __ZN5Avoid7ConnEndD1Ev(r8); - __ZN5Avoid7ConnEndD1Ev(r7); - STACKTOP = r6; - return r5; -} -Module["_connectShapes"] = _connectShapes; -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 153391689) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 * 28 & -1); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r3 + (r2 * 28 & -1) | 0; - return; - } -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEE8allocateEj(r1, r2) { - var r3; - if ((r2 | 0) < 0) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r3 + r2 | 0; - return; - } -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 * 24 & -1); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r3 + (r2 * 24 & -1) | 0; - return; - } -} -function __ZNK5Avoid18ShapeConnectionPin10directionsEv(r1) { - var r2, r3, r4, r5; - r2 = HEAP32[r1 + 40 >> 2]; - if ((r2 | 0) != 0) { - return r2; - } - r2 = r1 + 16 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r3 == 0) { - r4 = 4; - } else { - if (r3 != 1) { - r4 = 0; - break; - } - r4 = 8; - } - } while (0); - r3 = r1 + 24 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r1 == 0) { - r5 = r4 | 1; - } else { - if (r1 != 1) { - r5 = r4; - break; - } - r5 = r4 | 2; - } - } while (0); - return (r5 | 0) == 0 ? 15 : r5; -} -function __ZN5Avoid18ShapeConnectionPin12setExclusiveEb(r1) { - HEAP8[r1 + 44 | 0] = 0; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNK5Avoid18ShapeConnectionPin8positionERKNS_7PolygonE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - r6 = HEAP32[r2 + 8 >> 2]; - if ((r6 | 0) != 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r6 >> 2] + 8 >> 2]](r1, r6); - STACKTOP = r4; - return; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 12 >> 2]](r3)) { - r7 = __ZNK5Avoid8ShapeRef7polygonEv(HEAP32[r2 + 4 >> 2]); - } else { - r7 = r3; - } - r3 = r7; - L173 : do { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r7) | 0) == 0) { - r8 = -1.7976931348623157e+308; - r9 = 1.7976931348623157e+308; - r10 = -1.7976931348623157e+308; - r11 = 1.7976931348623157e+308; - } else { - r6 = r7 + 8 | 0; - r12 = -1.7976931348623157e+308; - r13 = 1.7976931348623157e+308; - r14 = -1.7976931348623157e+308; - r15 = 1.7976931348623157e+308; - r16 = 0; - while (1) { - r17 = HEAP32[r6 >> 2]; - r18 = r17 + (r16 * 24 & -1) | 0; - r19 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r18 = r19 < r15 ? r19 : r15; - r20 = r14 < r19 ? r19 : r14; - r19 = r17 + (r16 * 24 & -1) + 8 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r19 = r17 < r13 ? r17 : r13; - r21 = r12 < r17 ? r17 : r12; - r17 = r16 + 1 | 0; - if (r17 >>> 0 < FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r7) >>> 0) { - r12 = r21; - r13 = r19; - r14 = r20; - r15 = r18; - r16 = r17; - } else { - r8 = r21; - r9 = r19; - r10 = r20; - r11 = r18; - break L173; - } - } - } - } while (0); - __ZN5Avoid5PointC1Ev(r5); - r7 = (r5 + 20 | 0) >> 1; - HEAP16[r7] = 8; - r3 = r2 + 16 | 0; - r16 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r16 == 0) { - r3 = r2 + 32 | 0; - r15 = r11 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r5 | 0; - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP16[r7] = 6; - } else { - if (r16 == 1) { - r3 = r2 + 32 | 0; - r15 = r10 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r5 | 0; - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP16[r7] = 4; - break; - } else { - r3 = r11 + (r10 - r11) * r16; - r15 = r5 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r15 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r15 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - break; - } - } - } while (0); - r16 = r2 + 24 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r11 == 0) { - r16 = r2 + 32 | 0; - r10 = r9 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r16 = r5 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r10, HEAP32[r16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r16 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP16[r7] = 5; - } else { - if (r11 == 1) { - r16 = r2 + 32 | 0; - r10 = r8 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r16 = r5 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r10, HEAP32[r16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r16 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP16[r7] = 7; - break; - } else { - r16 = r9 + (r8 - r9) * r11; - r10 = r5 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r16, HEAP32[r10 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - break; - } - } - } while (0); - r11 = r1 >> 2; - r1 = r5 >> 2; - HEAP32[r11] = HEAP32[r1]; - HEAP32[r11 + 1] = HEAP32[r1 + 1]; - HEAP32[r11 + 2] = HEAP32[r1 + 2]; - HEAP32[r11 + 3] = HEAP32[r1 + 3]; - HEAP32[r11 + 4] = HEAP32[r1 + 4]; - HEAP32[r11 + 5] = HEAP32[r1 + 5]; - STACKTOP = r4; - return; -} -__ZNK5Avoid18ShapeConnectionPin8positionERKNS_7PolygonE["X"] = 1; -function __ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid18ShapeConnectionPinC1EPNS_11JunctionRefEjj(r1, r2) { - __ZN5Avoid18ShapeConnectionPinC2EPNS_11JunctionRefEjj(r1, r2); - return; -} -function __ZN5Avoid18ShapeConnectionPinC2EPNS_11JunctionRefEjj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - r4 = r3; - r5 = r3 + 8; - HEAP32[r1 + 4 >> 2] = 0; - r6 = (r1 + 8 | 0) >> 2; - HEAP32[r6] = r2; - HEAP32[r1 + 12 >> 2] = 2147483646; - r2 = (r1 + 16 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - HEAP32[r1 + 40 >> 2] = 15; - HEAP8[r1 + 44 | 0] = 1; - r2 = r1 + 48 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1 + 56 | 0); - r2 = r1 + 68 | 0; - HEAP32[r2 >> 2] = 0; - r7 = HEAP32[r6]; - if ((r7 | 0) == 0) { - ___assert_func(5253024, 104, 5260072, 5245464); - r8 = HEAP32[r6]; - } else { - r8 = r7; - } - r7 = (r1 | 0) >> 2; - HEAP32[r7] = __ZNK5Avoid8Obstacle6routerEv(HEAP32[r8 + 4 >> 2]); - __ZN5Avoid8Obstacle16addConnectionPinEPNS_18ShapeConnectionPinE(r8, r1); - __ZN5Avoid6VertIDC1Ejtt(r4, __ZNK5Avoid8Obstacle2idEv(HEAP32[HEAP32[r6] + 8 >> 2]), 9, 5); - r1 = __Znwj(140); - r8 = HEAP32[r7]; - r9 = HEAP32[r6]; - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 8 >> 2]](r5, r9); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r1, r8, r4, r5, 1); - HEAP32[r2 >> 2] = r1; - HEAP32[r1 + 120 >> 2] = 15; - if ((HEAP8[HEAP32[r7] + 888 | 0] & 1) << 24 >> 24 == 0) { - STACKTOP = r3; - return; - } - __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(r1, 0); - STACKTOP = r3; - return; -} -__ZN5Avoid18ShapeConnectionPinC2EPNS_11JunctionRefEjj["X"] = 1; -function __ZN5Avoid18ShapeConnectionPinD1Ev(r1) { - __ZN5Avoid18ShapeConnectionPinD2Ev(r1); - return; -} -function __ZN5Avoid18ShapeConnectionPinD2Ev(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9; - r2 = 0; - r3 = r1 + 4 | 0; - r4 = HEAP32[r3 >> 2]; - do { - if ((r4 | 0) == 0) { - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - if ((r6 | 0) == 0) { - ___assert_func(5253024, 123, 5259872, 5244676); - r7 = HEAP32[r3 >> 2]; - if ((r7 | 0) != 0) { - r8 = r7; - r2 = 223; - break; - } - r7 = HEAP32[r5 >> 2]; - if ((r7 | 0) == 0) { - break; - } else { - r9 = r7; - } - } else { - r9 = r6; - } - __ZN5Avoid8Obstacle19removeConnectionPinEPNS_18ShapeConnectionPinE(r9, r1); - break; - } else { - r8 = r4; - r2 = 223; - } - } while (0); - if (r2 == 223) { - __ZN5Avoid8Obstacle19removeConnectionPinEPNS_18ShapeConnectionPinE(r8, r1); - } - r8 = r1 + 56 | 0; - r2 = r1 + 64 | 0; - L220 : do { - if ((HEAP32[r2 >> 2] | 0) != 0) { - r4 = r8 | 0; - while (1) { - __ZN5Avoid7ConnEnd13freeActivePinEv(HEAP32[HEAP32[r4 >> 2] + 16 >> 2]); - if ((HEAP32[r2 >> 2] | 0) == 0) { - break L220; - } - } - } - } while (0); - r2 = (r1 + 68 | 0) >> 2; - r4 = HEAP32[r2]; - if ((r4 | 0) == 0) { - __ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r8); - return; - } - __ZN5Avoid7VertInf15removeFromGraphEb(r4, 1); - __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(HEAP32[r1 >> 2] + 100 | 0, HEAP32[r2]); - r1 = HEAP32[r2]; - if ((r1 | 0) != 0) { - __ZN5Avoid7VertInfD1Ev(r1); - __ZdlPv(r1); - } - HEAP32[r2] = 0; - __ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r8); - return; -} -__ZN5Avoid18ShapeConnectionPinD2Ev["X"] = 1; -function __ZN5Avoid18ShapeConnectionPin16updateVisibilityEv(r1) { - var r2; - r2 = r1 + 68 | 0; - __ZN5Avoid7VertInf15removeFromGraphEb(HEAP32[r2 >> 2], 1); - if ((HEAP8[HEAP32[r1 >> 2] + 888 | 0] & 1) << 24 >> 24 == 0) { - return; - } - __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(HEAP32[r2 >> 2], 0); - return; -} -function __ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_5PointE(r1, r2) { - __ZN5Avoid7VertInf5ResetERKNS_5PointE(r1, r2); - return; -} -function __ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_7PolygonE(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = HEAP32[r1 + 68 >> 2]; - __ZNK5Avoid18ShapeConnectionPin8positionERKNS_7PolygonE(r4, r1, r2); - __ZN5Avoid7VertInf5ResetERKNS_5PointE(r5, r4); - STACKTOP = r3; - return; -} -function __ZNK5Avoid18ShapeConnectionPin10outputCodeEP7__sFILE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = STACKTOP; - r4 = r1 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - L243 : do { - if ((r5 | 0) == 0) { - r6 = r1 + 8 | 0; - r7 = HEAP32[r6 >> 2]; - do { - if ((r7 | 0) == 0) { - ___assert_func(5253024, 286, 5254508, 5244676); - r8 = HEAP32[r4 >> 2]; - if ((r8 | 0) != 0) { - r9 = r8; - break L243; - } - r8 = HEAP32[r6 >> 2]; - if ((r8 | 0) != 0) { - r10 = r8; - break; - } - STACKTOP = r3; - return; - } else { - r10 = r7; - } - } while (0); - r7 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r10 + 8 >> 2]); - r6 = HEAP32[r1 + 12 >> 2]; - r8 = HEAP32[r1 + 40 >> 2]; - _fprintf(r2, 5252944, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = r7, HEAP32[tempInt + 4 >> 2] = r6, HEAP32[tempInt + 8 >> 2] = r8, tempInt)); - STACKTOP = r3; - return; - } else { - r9 = r5; - } - } while (0); - r5 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r9 + 8 >> 2]); - r9 = HEAP32[r1 + 12 >> 2]; - r10 = r1 + 16 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r1 + 24 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r1 + 32 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = HEAP32[r1 + 40 >> 2]; - _fprintf(r2, 5243500, (tempInt = STACKTOP, STACKTOP = STACKTOP + 36 | 0, HEAP32[tempInt >> 2] = r5, HEAP32[tempInt + 4 >> 2] = r9, HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 24 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 28 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAP32[tempInt + 32 >> 2] = r10, tempInt)); - STACKTOP = r3; - return; -} -function __ZNK5Avoid18ShapeConnectionPin18containingObjectIdEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10; - r2 = r1 + 4 | 0; - r3 = HEAP32[r2 >> 2]; - do { - if ((r3 | 0) == 0) { - r4 = r1 + 8 | 0; - r5 = HEAP32[r4 >> 2]; - if ((r5 | 0) == 0) { - ___assert_func(5253024, 304, 5254440, 5244676); - r6 = HEAP32[r2 >> 2]; - if ((r6 | 0) != 0) { - r7 = r6; - break; - } - r8 = HEAP32[r4 >> 2]; - } else { - r8 = r5; - } - r9 = HEAP32[r8 + 8 >> 2]; - r10 = __ZNK5Avoid8Obstacle2idEv(r9); - return r10; - } else { - r7 = r3; - } - } while (0); - r9 = HEAP32[r7 + 8 >> 2]; - r10 = __ZNK5Avoid8Obstacle2idEv(r9); - return r10; -} -function __ZNK5Avoid18ShapeConnectionPinltERKS0_(r1, r2) { - var r3, r4, r5, r6; - if ((HEAP32[r1 >> 2] | 0) != (HEAP32[r2 >> 2] | 0)) { - ___assert_func(5253024, 343, 5254356, 5252372); - } - if ((__ZNK5Avoid18ShapeConnectionPin18containingObjectIdEv(r1) | 0) != (__ZNK5Avoid18ShapeConnectionPin18containingObjectIdEv(r2) | 0)) { - r3 = __ZNK5Avoid18ShapeConnectionPin18containingObjectIdEv(r1) >>> 0 < __ZNK5Avoid18ShapeConnectionPin18containingObjectIdEv(r2) >>> 0; - return r3; - } - r4 = HEAP32[r1 + 12 >> 2]; - r5 = HEAP32[r2 + 12 >> 2]; - if ((r4 | 0) != (r5 | 0)) { - r3 = r4 >>> 0 < r5 >>> 0; - return r3; - } - r5 = HEAP32[r1 + 40 >> 2]; - r4 = HEAP32[r2 + 40 >> 2]; - if ((r5 | 0) != (r4 | 0)) { - r3 = r5 >>> 0 < r4 >>> 0; - return r3; - } - r4 = r1 + 16 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r2 + 16 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r5 != r6) { - r3 = r5 < r6; - return r3; - } - r6 = r1 + 24 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r2 + 24 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r5 != r4) { - r3 = r5 < r4; - return r3; - } else { - r4 = r1 + 32 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r2 + 32 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r1 != r2 & r1 < r2; - return r3; - } -} -__ZNK5Avoid18ShapeConnectionPinltERKS0_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1); - return; -} -function __ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZN5Avoid7ConnRefC1EPNS_6RouterEj(r1, r2) { - __ZN5Avoid7ConnRefC2EPNS_6RouterEj(r1, r2); - return; -} -function __ZN5Avoid7ConnRefC2EPNS_6RouterEj(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = (r1 | 0) >> 2; - HEAP32[r3] = r2; - HEAP32[r1 + 8 >> 2] = __ZNK5Avoid6Router13validConnTypeENS_8ConnTypeE(r2); - r2 = r1 + 12 | 0; - HEAP32[r2 >> 2] = 0; - r4 = r1 + 16 | 0; - HEAP8[r4] = HEAP8[r4] & -48 | 1; - r4 = r1 + 20 | 0; - __ZN5Avoid7PolygonC1Ev(r4); - __ZN5Avoid7PolygonC1Ev(r1 + 64 | 0); - r5 = r1 + 108 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = r1 + 120 | 0; - for (r6 = r5 >> 2, r7 = r6 + 13; r6 < r7; r6++) { - HEAP32[r6] = 0; - } - r5 = HEAP32[r3]; - if ((r5 | 0) == 0) { - ___assert_func(5251956, 65, 5257272, 5251428); - r8 = HEAP32[r3]; - } else { - r8 = r5; - } - HEAP32[r1 + 4 >> 2] = __ZN5Avoid6Router8assignIdEj(r8); - __ZN5Avoid7Polygon5clearEv(r4); - HEAP32[r2 >> 2] = __ZN5Avoid23ConnRerouteFlagDelegate7addConnEPNS_7ConnRefE(HEAP32[r3] + 760 | 0, r1); - return; -} -__ZN5Avoid7ConnRefC2EPNS_6RouterEj["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZN5Avoid7ConnRefC1EPNS_6RouterERKNS_7ConnEndES5_j(r1, r2, r3, r4) { - __ZN5Avoid7ConnRefC2EPNS_6RouterERKNS_7ConnEndES5_j(r1, r2, r3, r4); - return; -} -function __ZN5Avoid7ConnRefC2EPNS_6RouterERKNS_7ConnEndES5_j(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = (r1 | 0) >> 2; - HEAP32[r5] = r2; - HEAP32[r1 + 8 >> 2] = __ZNK5Avoid6Router13validConnTypeENS_8ConnTypeE(r2); - r2 = r1 + 12 | 0; - HEAP32[r2 >> 2] = 0; - r6 = r1 + 16 | 0; - HEAP8[r6] = HEAP8[r6] & -48 | 1; - r6 = r1 + 20 | 0; - __ZN5Avoid7PolygonC1Ev(r6); - __ZN5Avoid7PolygonC1Ev(r1 + 64 | 0); - r7 = r1 + 108 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 120 >> 2] = 0; - HEAP32[r1 + 124 >> 2] = 0; - r7 = r1 + 132 | 0; - for (r8 = r7 >> 2, r9 = r8 + 10; r8 < r9; r8++) { - HEAP32[r8] = 0; - } - r7 = HEAP32[r5]; - if ((r7 | 0) == 0) { - ___assert_func(5251956, 93, 5257336, 5251428); - r10 = HEAP32[r5]; - } else { - r10 = r7; - } - HEAP32[r1 + 4 >> 2] = __ZN5Avoid6Router8assignIdEj(r10); - __ZN5Avoid7Polygon5clearEv(r6); - __ZN5Avoid7ConnRef12setEndpointsERKNS_7ConnEndES3_(r1, r3, r4); - HEAP32[r2 >> 2] = __ZN5Avoid23ConnRerouteFlagDelegate7addConnEPNS_7ConnRefE(HEAP32[r5] + 760 | 0, r1); - return; -} -__ZN5Avoid7ConnRefC2EPNS_6RouterERKNS_7ConnEndES5_j["X"] = 1; -function __ZN5Avoid7ConnRef12setEndpointsERKNS_7ConnEndES3_(r1, r2, r3) { - var r4, r5; - r4 = r1 | 0; - r5 = r1; - __ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb(HEAP32[r4 >> 2], r5, 1, r2, 0); - __ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb(HEAP32[r4 >> 2], r5, 2, r3, 0); - return; -} -function __ZN5Avoid7ConnRefD1Ev(r1) { - __ZN5Avoid7ConnRefD2Ev(r1); - return; -} -function __ZNK5Avoid7ConnRef11routingTypeEv(r1) { - return r1; -} -function __ZNK5Avoid7ConnRef2idEv(r1) { - return r1; -} -function __ZNK5Avoid7ConnRef3srcEv(r1) { - return r1; -} -function __ZNK5Avoid7ConnRef3dstEv(r1) { - return r1; -} -function __ZN5Avoid7ConnRef15makePathInvalidEv(r1) { - var r2; - r2 = r1 + 16 | 0; - HEAP8[r2] = HEAP8[r2] | 1; - return; -} -function __ZNK5Avoid7ConnRef15endpointAnchorsEv(r1, r2) { - var r3; - r3 = r1; - HEAP32[r3 >> 2] = 0; - HEAP32[r3 + 4 >> 2] = 0; - r3 = HEAP32[r2 + 140 >> 2]; - if ((r3 | 0) != 0) { - HEAP32[r1 >> 2] = HEAP32[r3 + 36 >> 2]; - } - r3 = HEAP32[r2 + 144 >> 2]; - if ((r3 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = HEAP32[r3 + 36 >> 2]; - return; -} -function __ZNK5Avoid7ConnRef5routeEv(r1) { - return r1 + 20 | 0; -} -function __ZN5Avoid7ConnRef8routeRefEv(r1) { - return r1 + 20 | 0; -} -function __ZN5Avoid7ConnRefD2Ev(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r2 = STACKTOP; - r3 = (r1 | 0) >> 2; - r4 = HEAP32[r3]; - if ((HEAP8[r4 + 689 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid10err_printfEPKcz(5248264, (tempInt = STACKTOP, STACKTOP = STACKTOP + 1 | 0, STACKTOP = STACKTOP + 3 >> 2 << 2, HEAP32[tempInt >> 2] = 0, tempInt)); - __ZN5Avoid10err_printfEPKcz(5246948, (tempInt = STACKTOP, STACKTOP = STACKTOP + 1 | 0, STACKTOP = STACKTOP + 3 >> 2 << 2, HEAP32[tempInt >> 2] = 0, tempInt)); - _abort(); - r5 = HEAP32[r3]; - } else { - r5 = r4; - } - __ZN5Avoid23ConnRerouteFlagDelegate10removeConnEPNS_7ConnRefE(r5 + 760 | 0, r1); - __ZN5Avoid6Router29removeObjectFromQueuedActionsEPKv(HEAP32[r3], r1); - __ZN5Avoid7ConnRef10freeRoutesEv(r1); - r5 = (r1 + 120 | 0) >> 2; - r4 = HEAP32[r5]; - if ((r4 | 0) != 0) { - __ZN5Avoid7VertInf15removeFromGraphEb(r4, 1); - __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(HEAP32[r3] + 100 | 0, HEAP32[r5]); - r4 = HEAP32[r5]; - if ((r4 | 0) != 0) { - __ZN5Avoid7VertInfD1Ev(r4); - __ZdlPv(r4); - } - HEAP32[r5] = 0; - } - r5 = r1 + 140 | 0; - r4 = HEAP32[r5 >> 2]; - if ((r4 | 0) != 0) { - __ZN5Avoid7ConnEndD1Ev(r4); - __ZdlPv(r4); - HEAP32[r5 >> 2] = 0; - } - r5 = (r1 + 124 | 0) >> 2; - r4 = HEAP32[r5]; - if ((r4 | 0) != 0) { - __ZN5Avoid7VertInf15removeFromGraphEb(r4, 1); - __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(HEAP32[r3] + 100 | 0, HEAP32[r5]); - r4 = HEAP32[r5]; - if ((r4 | 0) != 0) { - __ZN5Avoid7VertInfD1Ev(r4); - __ZdlPv(r4); - } - HEAP32[r5] = 0; - } - r5 = r1 + 144 | 0; - r4 = HEAP32[r5 >> 2]; - if ((r4 | 0) != 0) { - __ZN5Avoid7ConnEndD1Ev(r4); - __ZdlPv(r4); - HEAP32[r5 >> 2] = 0; - } - r5 = r1 + 160 | 0; - r4 = (r1 + 164 | 0) >> 2; - r6 = HEAP32[r4]; - r7 = (r5 | 0) >> 2; - r8 = HEAP32[r7]; - L363 : do { - if ((r6 | 0) == (r8 | 0)) { - r9 = r6; - } else { - r10 = 0; - r11 = r8; - while (1) { - __ZN5Avoid7VertInf15removeFromGraphEb(HEAP32[r11 + (r10 << 2) >> 2], 1); - __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(HEAP32[r3] + 100 | 0, HEAP32[HEAP32[r7] + (r10 << 2) >> 2]); - r12 = HEAP32[r7]; - r13 = HEAP32[r12 + (r10 << 2) >> 2]; - if ((r13 | 0) == 0) { - r14 = r12; - } else { - __ZN5Avoid7VertInfD1Ev(r13); - __ZdlPv(r13); - r14 = HEAP32[r7]; - } - r13 = r10 + 1 | 0; - if (r13 >>> 0 < HEAP32[r4] - r14 >> 2 >>> 0) { - r10 = r13; - r11 = r14; - } else { - r9 = r14; - break L363; - } - } - } - } while (0); - HEAP32[r4] = r9; - if ((HEAP8[r1 + 16 | 0] & 8) << 24 >> 24 == 0) { - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r5); - r15 = r1 + 148 | 0; - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED1Ev(r15); - r16 = r1 + 64 | 0; - __ZN5Avoid7PolygonD1Ev(r16); - r17 = r1 + 20 | 0; - __ZN5Avoid7PolygonD1Ev(r17); - STACKTOP = r2; - return; - } - __ZN5Avoid7ConnRef12makeInactiveEv(r1); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r5); - r15 = r1 + 148 | 0; - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED1Ev(r15); - r16 = r1 + 64 | 0; - __ZN5Avoid7PolygonD1Ev(r16); - r17 = r1 + 20 | 0; - __ZN5Avoid7PolygonD1Ev(r17); - STACKTOP = r2; - return; -} -__ZN5Avoid7ConnRefD2Ev["X"] = 1; -function __ZN5Avoid7ConnRef10freeRoutesEv(r1) { - __ZN5Avoid7Polygon5clearEv(r1 + 20 | 0); - __ZN5Avoid7Polygon5clearEv(r1 + 64 | 0); - return; -} -function __ZN5Avoid7ConnRef12makeInactiveEv(r1) { - var r2, r3; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r1 + 16 | 0; - if ((HEAP8[r3] & 8) << 24 >> 24 == 0) { - ___assert_func(5251956, 544, 5257716, 5244836); - } - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r2, HEAP32[r1 >> 2] + 16 | 0, HEAP32[r1 + 116 >> 2]); - HEAP8[r3] = HEAP8[r3] & -9; - STACKTOP = r2; - return; -} -function __ZNK5Avoid7ConnRef18routingCheckpointsEv(r1, r2) { - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEEC1ERKS5_(r1, r2 + 148 | 0); - return; -} -function __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEEC1ERKS5_(r1, r2) { - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEEC2ERKS5_(r1, r2); - return; -} -function __ZN5Avoid7ConnRef21common_updateEndPointEjNS_7ConnEndE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r4 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - r5 = r4; - r6 = r4 + 24; - __ZNK5Avoid7ConnEnd8positionEv(r5, r3); - if ((r2 - 1 | 0) >>> 0 >= 2) { - ___assert_func(5251956, 225, 5257544, 5246032); - } - HEAP32[r3 + 40 >> 2] = 0; - if ((HEAP8[r1 + 16 | 0] & 8) << 24 >> 24 == 0) { - __ZN5Avoid7ConnRef10makeActiveEv(r1); - } - r7 = (r3 | 0) >> 2; - r8 = __ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r7]) ? 17 : 1; - __ZN5Avoid6VertIDC1Ejtt(r6, HEAP32[r1 + 4 >> 2], r2 & 65535, r8); - do { - if ((r2 | 0) == 1) { - r8 = r1 + 120 | 0, r9 = r8 >> 2; - r10 = HEAP32[r9]; - if ((r10 | 0) == 0) { - r11 = __Znwj(140); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r11, HEAP32[r1 >> 2], r6, r5, 1); - r12 = r11; - HEAP32[r9] = r12; - r13 = r12; - } else { - __ZN5Avoid7VertInf5ResetERKNS_6VertIDERKNS_5PointE(r10, r6, r5); - r13 = HEAP32[r9]; - } - HEAP32[r13 + 120 >> 2] = __ZNK5Avoid7ConnEnd10directionsEv(r3); - r10 = (r1 + 140 | 0) >> 2; - r12 = HEAP32[r10]; - if ((r12 | 0) != 0) { - __ZN5Avoid7ConnEndD1Ev(r12); - __ZdlPv(r12); - HEAP32[r10] = 0; - } - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r7])) { - r14 = r8; - break; - } - r12 = __Znwj(48); - r11 = r12; - r15 = r3; - for (r16 = r15 >> 2, r17 = r12 >> 2, r18 = r16 + 12; r16 < r18; r16++, r17++) { - HEAP32[r17] = HEAP32[r16]; - } - HEAP32[r10] = r11; - __ZN5Avoid7ConnEnd7connectEPNS_7ConnRefE(r11, r1); - HEAP32[HEAP32[r9] + 120 >> 2] = 0; - r14 = r8; - } else { - r12 = r1 + 124 | 0, r15 = r12 >> 2; - r19 = HEAP32[r15]; - if ((r19 | 0) == 0) { - r20 = __Znwj(140); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r20, HEAP32[r1 >> 2], r6, r5, 1); - r21 = r20; - HEAP32[r15] = r21; - r22 = r21; - } else { - __ZN5Avoid7VertInf5ResetERKNS_6VertIDERKNS_5PointE(r19, r6, r5); - r22 = HEAP32[r15]; - } - HEAP32[r22 + 120 >> 2] = __ZNK5Avoid7ConnEnd10directionsEv(r3); - r19 = (r1 + 144 | 0) >> 2; - r21 = HEAP32[r19]; - if ((r21 | 0) != 0) { - __ZN5Avoid7ConnEndD1Ev(r21); - __ZdlPv(r21); - HEAP32[r19] = 0; - } - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r7])) { - r14 = r12; - break; - } - r21 = __Znwj(48); - r20 = r21; - r23 = r3; - for (r16 = r23 >> 2, r17 = r21 >> 2, r18 = r16 + 12; r16 < r18; r16++, r17++) { - HEAP32[r17] = HEAP32[r16]; - } - HEAP32[r19] = r20; - __ZN5Avoid7ConnEnd7connectEPNS_7ConnRefE(r20, r1); - HEAP32[HEAP32[r15] + 120 >> 2] = 0; - r14 = r12; - } - } while (0); - __ZN5Avoid7VertInf15removeFromGraphEb(HEAP32[r14 >> 2], 1); - __ZN5Avoid7ConnRef15makePathInvalidEv(r1); - __ZN5Avoid6Router25setStaticGraphInvalidatedEb(HEAP32[r1 >> 2]); - STACKTOP = r4; - return; -} -__ZN5Avoid7ConnRef21common_updateEndPointEjNS_7ConnEndE["X"] = 1; -function __ZN5Avoid7ConnRef10makeActiveEv(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r3 = r2; - r4 = r2 + 4; - r5 = r1 + 16 | 0; - if ((HEAP8[r5] & 8) << 24 >> 24 != 0) { - ___assert_func(5251956, 521, 5257788, 5245748); - } - r6 = HEAP32[r1 >> 2]; - r7 = HEAP32[r6 + 20 >> 2]; - HEAP32[r4 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r3, r6 + 16 | 0, r7, r4); - HEAP32[r1 + 116 >> 2] = HEAP32[r3 >> 2]; - HEAP8[r5] = HEAP8[r5] | 8; - STACKTOP = r2; - return; -} -function __ZNK5Avoid7ConnRef27getConnEndForEndpointVertexEPNS_7VertInfERNS_7ConnEndE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r4 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - r5 = r4; - r6 = r4 + 48; - r7 = r4 + 72; - r8 = r4 + 120; - if ((r2 | 0) == 0) { - r9 = __ZNK5Avoid7ConnRef2idEv(HEAP32[r1 + 4 >> 2]); - __ZN5Avoid10err_printfEPKcz(5245204, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r9, tempInt)); - r10 = 0; - STACKTOP = r4; - return r10; - } - r9 = r1 + 120 | 0; - if ((HEAP32[r9 >> 2] | 0) == (r2 | 0)) { - r11 = HEAP32[r1 + 140 >> 2]; - if ((r11 | 0) == 0) { - r12 = r2 + 12 | 0; - r13 = r2 + 20 | 0; - __ZN5Avoid5PointC1Edd(r6, (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7ConnEndC1ERKNS_5PointEj(r5, r6, HEAP32[HEAP32[r9 >> 2] + 120 >> 2]); - r9 = r3; - r6 = r5; - for (r14 = r6 >> 2, r15 = r9 >> 2, r16 = r14 + 12; r14 < r16; r14++, r15++) { - HEAP32[r15] = HEAP32[r14]; - } - __ZN5Avoid7ConnEndD1Ev(r5); - r10 = 1; - STACKTOP = r4; - return r10; - } else { - r5 = r3; - r9 = r11; - for (r14 = r9 >> 2, r15 = r5 >> 2, r16 = r14 + 12; r14 < r16; r14++, r15++) { - HEAP32[r15] = HEAP32[r14]; - } - r10 = 1; - STACKTOP = r4; - return r10; - } - } - r5 = r1 + 124 | 0; - if ((HEAP32[r5 >> 2] | 0) != (r2 | 0)) { - r10 = 0; - STACKTOP = r4; - return r10; - } - r9 = HEAP32[r1 + 144 >> 2]; - if ((r9 | 0) == 0) { - r1 = r2 + 12 | 0; - r11 = r2 + 20 | 0; - __ZN5Avoid5PointC1Edd(r8, (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7ConnEndC1ERKNS_5PointEj(r7, r8, HEAP32[HEAP32[r5 >> 2] + 120 >> 2]); - r5 = r3; - r8 = r7; - for (r14 = r8 >> 2, r15 = r5 >> 2, r16 = r14 + 12; r14 < r16; r14++, r15++) { - HEAP32[r15] = HEAP32[r14]; - } - __ZN5Avoid7ConnEndD1Ev(r7); - r10 = 1; - STACKTOP = r4; - return r10; - } else { - r7 = r3; - r3 = r9; - for (r14 = r3 >> 2, r15 = r7 >> 2, r16 = r14 + 12; r14 < r16; r14++, r15++) { - HEAP32[r15] = HEAP32[r14]; - } - r10 = 1; - STACKTOP = r4; - return r10; - } -} -__ZNK5Avoid7ConnRef27getConnEndForEndpointVertexEPNS_7VertInfERNS_7ConnEndE["X"] = 1; -function __ZNSt3__14pairIN5Avoid7ConnEndES2_ED1Ev(r1) { - __ZNSt3__14pairIN5Avoid7ConnEndES2_ED2Ev(r1); - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8; - r5 = __Znwj(12); - r6 = r5; - r7 = r5; - HEAP32[r7 >> 2] = 0; - r8 = r5 + 8 | 0; - if ((r8 | 0) != 0) { - HEAP32[r8 >> 2] = HEAP32[r4 >> 2]; - } - r4 = (r3 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = r6; - HEAP32[r7 >> 2] = HEAP32[r4]; - HEAP32[r4] = r6; - HEAP32[r5 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - HEAP32[r1 >> 2] = r6; - return; -} -function __ZN5Avoid7ConnRef14freeActivePinsEv(r1) { - var r2; - r2 = HEAP32[r1 + 140 >> 2]; - if ((r2 | 0) != 0) { - __ZN5Avoid7ConnEnd13freeActivePinEv(r2); - } - r2 = HEAP32[r1 + 144 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZN5Avoid7ConnEnd13freeActivePinEv(r2); - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZN5Avoid7ConnRef9set_routeERKNS_7PolygonE(r1, r2) { - var r3; - if ((r1 + 64 | 0) == (r2 | 0)) { - return; - } - r3 = r1 + 72 | 0; - r1 = r2 + 8 | 0; - if ((r3 | 0) == (r1 | 0)) { - return; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r3, HEAP32[r1 >> 2], HEAP32[r2 + 12 >> 2]); - return; -} -function __ZN5Avoid7ConnRef12displayRouteEv(r1) { - var r2, r3, r4; - r2 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r3 = r2; - r4 = r1 + 64 | 0; - if (!__ZNK5Avoid7Polygon5emptyEv(r4)) { - STACKTOP = r2; - return r4; - } - __ZNK5Avoid7Polygon8simplifyEv(r3, r1 + 20 | 0); - __ZN5Avoid7PolygonaSERKS0_(r4, r3); - __ZN5Avoid7PolygonD1Ev(r3); - STACKTOP = r2; - return r4; -} -function __ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = r1 >> 2; - r5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r6 = r5; - r7 = r6; - r8 = r3; - for (r3 = r8 >> 2, r9 = r7 >> 2, r10 = r3 + 12; r3 < r10; r3++, r9++) { - HEAP32[r9] = HEAP32[r3]; - } - __ZN5Avoid7ConnRef21common_updateEndPointEjNS_7ConnEndE(r1, r2, r6); - __ZN5Avoid7ConnEndD1Ev(r6); - if ((HEAP8[HEAP32[r4] + 888 | 0] & 1) << 24 >> 24 == 0) { - STACKTOP = r5; - return; - } - if ((r2 | 0) == 1) { - r2 = HEAP32[r4 + 35]; - do { - if ((r2 | 0) != 0) { - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r2 >> 2])) { - break; - } - STACKTOP = r5; - return; - } - } while (0); - __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(HEAP32[r4 + 30], HEAP32[r4 + 31]); - STACKTOP = r5; - return; - } else { - r2 = HEAP32[r4 + 36]; - do { - if ((r2 | 0) != 0) { - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r2 >> 2])) { - break; - } - STACKTOP = r5; - return; - } - } while (0); - __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(HEAP32[r4 + 31], HEAP32[r4 + 30]); - STACKTOP = r5; - return; - } -} -__ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE["X"] = 1; -function __ZNK5Avoid7ConnRef16endpointConnEndsEv(r1, r2) { - var r3, r4; - r3 = r1 | 0; - __ZN5Avoid7ConnEndC1Ev(r3); - r4 = r1 + 48 | 0; - __ZN5Avoid7ConnEndC1Ev(r4); - __ZNK5Avoid7ConnRef27getConnEndForEndpointVertexEPNS_7VertInfERNS_7ConnEndE(r2, HEAP32[r2 + 120 >> 2], r3); - __ZNK5Avoid7ConnRef27getConnEndForEndpointVertexEPNS_7VertInfERNS_7ConnEndE(r2, HEAP32[r2 + 124 >> 2], r4); - return; -} -function __ZNK5Avoid7ConnRef6routerEv(r1) { - return r1; -} -function __ZN5Avoid7ConnRef5startEv(r1) { - return r1; -} -function __ZNK5Avoid6VertID15isConnectionPinEv(r1) { - return (r1 & 4) << 16 >> 16 != 0; -} -function __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r1, r2, r3, r4, r5, r6) { - var r7, r8; - r7 = (r3 - r1) * (r6 - r2) - (r4 - r2) * (r5 - r1); - if (r7 < 0) { - r8 = -1; - return r8; - } - r8 = r7 > 0 & 1; - return r8; -} -function __ZN5Avoid7PolygonaSERKS0_(r1, r2) { - var r3; - r3 = r2 >> 2; - HEAP32[r1 + 4 >> 2] = HEAP32[r3 + 1]; - if ((r1 | 0) == (r2 | 0)) { - return; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1 + 8 | 0, HEAP32[r3 + 2], HEAP32[r3 + 3]); - __ZNSt3__16vectorIcNS_9allocatorIcEEE6assignIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_(r1 + 20 | 0, HEAP32[r3 + 5], HEAP32[r3 + 6]); - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1 + 32 | 0, HEAP32[r3 + 8], HEAP32[r3 + 9]); - return; -} -function __ZN5Avoid7ConnRef15performCallbackEv(r1) { - var r2; - r2 = HEAP32[r1 + 132 >> 2]; - if ((r2 | 0) == 0) { - return; - } - FUNCTION_TABLE[r2](HEAP32[r1 + 136 >> 2]); - return; -} -function __ZN5Avoid17validateBendPointEPNS_7VertInfES1_S1_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32; - if (__ZNK5Avoid6VertID15isConnectionPinEv(HEAP16[r2 + 10 >> 1])) { - r4 = 1; - return r4; - } - if ((r1 | 0) == 0 | (r3 | 0) == 0) { - r4 = 1; - return r4; - } - if ((r2 | 0) == 0) { - ___assert_func(5251956, 759, 5260248, 5249764); - } - r5 = HEAP32[r2 + 44 >> 2]; - r6 = HEAP32[r2 + 48 >> 2]; - if ((r5 | 0) == 0) { - ___assert_func(5251956, 762, 5260248, 5249520); - } - if ((r6 | 0) == 0) { - ___assert_func(5251956, 763, 5260248, 5249296); - } - r7 = r1 + 12 | 0; - r8 = r2 + 12 | 0; - r9 = r3 + 12 | 0; - if (__ZNK5Avoid5PointeqERKS0_(r7, r8)) { - r4 = 1; - return r4; - } - if (__ZNK5Avoid5PointeqERKS0_(r8, r9)) { - r4 = 1; - return r4; - } - r10 = (r7 | 0) >> 2; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]); - r11 = (r1 + 20 | 0) >> 2; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 1], HEAPF64[tempDoublePtr >> 3]); - r12 = (r8 | 0) >> 2; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]); - r13 = (r2 + 20 | 0) >> 2; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r14 = (r9 | 0) >> 2; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 1], HEAPF64[tempDoublePtr >> 3]); - r15 = (r3 + 20 | 0) >> 2; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 1], HEAPF64[tempDoublePtr >> 3]); - r16 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r7, r1, r8, r2, r9, r3); - if ((r16 | 0) == 0) { - r4 = 0; - return r4; - } - r17 = (r5 + 12 | 0) >> 2; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]); - r19 = (r5 + 20 | 0) >> 2; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r20 = (r6 + 12 | 0) >> 2; - r21 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 1], HEAPF64[tempDoublePtr >> 3]); - r22 = (r6 + 20 | 0) >> 2; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 1], HEAPF64[tempDoublePtr >> 3]); - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r18, r5, r8, r2, r21, r6) | 0) > 0) { - r23 = r7; - r24 = r1; - r25 = r8; - r26 = r2; - r27 = r21; - r28 = r6; - r29 = r18; - r30 = r5; - r31 = r9; - r32 = r3; - } else { - ___assert_func(5251956, 798, 5260248, 5249008); - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 1], HEAPF64[tempDoublePtr >> 3]); - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]); - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 1], HEAPF64[tempDoublePtr >> 3]); - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 1], HEAPF64[tempDoublePtr >> 3]); - r22 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]); - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r23 = r3; - r24 = r10; - r25 = r11; - r26 = r12; - r27 = r13; - r28 = r20; - r29 = r22; - r30 = r17; - r31 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 1], HEAPF64[tempDoublePtr >> 3]); - r32 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 1], HEAPF64[tempDoublePtr >> 3]); - } - r15 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r23, r24, r25, r26, r27, r28); - r14 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r23, r24, r25, r26, r29, r30); - if ((r15 | 0) > 0) { - return (r16 | 0) > 0 & (r14 | 0) > -1 & (__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r25, r26, r31, r32, r27, r28) | 0) > -1; - } - r4 = (r14 & r16 | 0) < 0 & (__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r25, r26, r31, r32, r29, r30) | 0) < 1; - return r4; -} -__ZN5Avoid17validateBendPointEPNS_7VertInfES1_S1_["X"] = 1; -function __ZN5Avoid7ConnRef29assignConnectionPinVisibilityEb(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = r2 + 140 | 0; - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 | 0) == 0) { - r6 = 0; - } else { - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r5 >> 2])) { - r6 = 0; - break; - } - r7 = r2 + 120 | 0; - __ZN5Avoid7VertInf15removeFromGraphEb(HEAP32[r7 >> 2], 1); - if (!r3) { - r6 = 1; - break; - } - __ZN5Avoid7ConnEnd21assignPinVisibilityToEPNS_7VertInfES2_(HEAP32[r4 >> 2], HEAP32[r7 >> 2], HEAP32[r2 + 124 >> 2]); - r6 = 1; - } - } while (0); - r4 = r2 + 144 | 0; - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 | 0) == 0) { - r8 = 0; - } else { - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r5 >> 2])) { - r8 = 0; - break; - } - r7 = r2 + 124 | 0; - __ZN5Avoid7VertInf15removeFromGraphEb(HEAP32[r7 >> 2], 1); - if (!r3) { - r8 = 1; - break; - } - __ZN5Avoid7ConnEnd21assignPinVisibilityToEPNS_7VertInfES2_(HEAP32[r4 >> 2], HEAP32[r7 >> 2], HEAP32[r2 + 120 >> 2]); - r8 = 1; - } - } while (0); - HEAP8[r1 | 0] = r6; - HEAP8[r1 + 1 | 0] = r8; - return; -} -function __ZN5Avoid7ConnRef12generatePathEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30; - r2 = r1 >> 2; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = r4 + 16; - r8 = r4 + 28; - r9 = r4 + 40; - r10 = r4 + 44; - r11 = r1 + 16 | 0; - r12 = HEAP8[r11]; - if ((r12 & 3) << 24 >> 24 == 0) { - r13 = 0; - STACKTOP = r4; - return r13; - } - r14 = r1 + 124 | 0; - if ((HEAP32[r14 >> 2] | 0) == 0) { - r13 = 0; - STACKTOP = r4; - return r13; - } - r15 = r1 + 120 | 0; - r16 = HEAP32[r15 >> 2]; - if ((r16 | 0) == 0) { - r13 = 0; - STACKTOP = r4; - return r13; - } - HEAP8[r11] = r12 & -4; - HEAP32[r2 + 32] = r16; - __ZN5Avoid7ConnRef29assignConnectionPinVisibilityEb(r5, r1, 1); - r16 = (r6 | 0) >> 2; - HEAP32[r16] = 0; - r12 = (r6 + 4 | 0) >> 2; - HEAP32[r12] = 0; - HEAP32[r6 + 8 >> 2] = 0; - r17 = (r7 | 0) >> 2; - HEAP32[r17] = 0; - r18 = (r7 + 4 | 0) >> 2; - HEAP32[r18] = 0; - HEAP32[r7 + 8 >> 2] = 0; - if ((HEAP32[r2 + 37] | 0) == (HEAP32[r2 + 38] | 0)) { - __ZN5Avoid7ConnRef20generateStandardPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE(r1, r6, r7); - } else { - __ZN5Avoid7ConnRef23generateCheckpointsPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE(r1, r6, r7); - } - r19 = HEAP32[r17]; - if (HEAP32[r18] - r19 >> 2 >>> 0 > 1) { - r20 = r19; - } else { - ___assert_func(5251956, 894, 5257752, 5248784); - r20 = HEAP32[r17]; - } - if ((HEAP32[r20 >> 2] | 0) == (__ZNK5Avoid7ConnRef3srcEv(HEAP32[r15 >> 2]) | 0)) { - r21 = r20; - } else { - ___assert_func(5251956, 895, 5257752, 5248644); - r21 = HEAP32[r17]; - } - if ((HEAP32[r21 + ((HEAP32[r18] - r21 >> 2) - 1 << 2) >> 2] | 0) != (__ZNK5Avoid7ConnRef3dstEv(HEAP32[r14 >> 2]) | 0)) { - ___assert_func(5251956, 896, 5257752, 5248532); - } - r14 = r1 + 12 | 0; - if ((HEAP32[r14 >> 2] | 0) == 0) { - ___assert_func(5251956, 897, 5257752, 5248472); - } - r21 = HEAP32[r17]; - L578 : do { - if (HEAP32[r18] - r21 >> 2 >>> 0 > 1) { - r20 = r1 | 0; - r15 = r1 + 8 | 0; - r19 = 1; - r22 = r21; - while (1) { - do { - if ((HEAP8[HEAP32[r20 >> 2] + 141 | 0] & 1) << 24 >> 24 == 0) { - r3 = 555; - } else { - if ((HEAP32[r15 >> 2] | 0) != 1) { - r3 = 555; - break; - } - r23 = __ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_(HEAP32[r22 + (r19 - 1 << 2) >> 2], HEAP32[r22 + (r19 << 2) >> 2]); - if ((r23 | 0) == 0) { - r24 = r22; - break; - } - __ZN5Avoid7EdgeInf7addConnEPb(r23, HEAP32[r14 >> 2]); - r24 = HEAP32[r17]; - break; - } - } while (0); - if (r3 == 555) { - r3 = 0; - HEAP8[r11] = HEAP8[r11] | 2; - r24 = r22; - } - r23 = HEAP32[r24 + (r19 << 2) >> 2]; - r25 = HEAP32[r23 + 100 >> 2]; - do { - if ((r25 | 0) != 0) { - if (!__ZNK5Avoid5PointeqERKS0_(r25 + 12 | 0, r23 + 12 | 0)) { - break; - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r25 + 10 >> 1])) { - break; - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r23 + 10 >> 1])) { - break; - } - if ((Math.abs(HEAPU16[r25 + 8 >> 1] - HEAPU16[r23 + 8 >> 1] | 0) | 0) != 2) { - break; - } - ___assert_func(5251956, 922, 5257752, 5248396); - } - } while (0); - r23 = r19 + 1 | 0; - r25 = HEAP32[r17]; - if (r23 >>> 0 < HEAP32[r18] - r25 >> 2 >>> 0) { - r19 = r23; - r22 = r25; - } else { - r26 = r25; - break L578; - } - } - } else { - r26 = r21; - } - } while (0); - r21 = r8 | 0; - HEAP32[r21 >> 2] = 0; - r24 = (r8 + 4 | 0) >> 2; - HEAP32[r24] = 0; - HEAP32[r8 + 8 >> 2] = 0; - r11 = HEAP32[r16]; - r3 = HEAP32[r12]; - do { - if (((r3 - r11 | 0) / 24 & -1) >>> 0 > 2) { - if ((HEAP8[r5 | 0] & 1) << 24 >> 24 == 0) { - r27 = r11; - r28 = r3; - r29 = r11; - break; - } - __ZN5Avoid7ConnEnd12usePinVertexEPNS_7VertInfE(HEAP32[r2 + 35], HEAP32[r26 + 4 >> 2]); - r27 = r11 + 24 | 0; - r28 = HEAP32[r12]; - r29 = HEAP32[r16]; - } else { - r27 = r11; - r28 = r3; - r29 = r11; - } - } while (0); - do { - if (((r28 - r29 | 0) / 24 & -1) >>> 0 > 2) { - if ((HEAP8[r5 + 1 | 0] & 1) << 24 >> 24 == 0) { - r30 = r3; - break; - } - r11 = HEAP32[r17]; - __ZN5Avoid7ConnEnd12usePinVertexEPNS_7VertInfE(HEAP32[r2 + 36], HEAP32[r11 + ((HEAP32[r18] - r11 >> 2) - 2 << 2) >> 2]); - r30 = r3 - 24 | 0; - } else { - r30 = r3; - } - } while (0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueES9_E4typeENS7_IPKS2_EESB_SB_(r9, r8, HEAP32[r24], r27, r30); - __ZN5Avoid7ConnRef29assignConnectionPinVisibilityEb(r10, r1, 0); - __ZN5Avoid7ConnRef10freeRoutesEv(r1); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1 + 28 | 0, HEAP32[r21 >> 2], HEAP32[r24]); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r8); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r7); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r6); - r13 = 1; - STACKTOP = r4; - return r13; -} -__ZN5Avoid7ConnRef12generatePathEv["X"] = 1; -function __ZN5Avoid7ConnRef20generateStandardPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 16; - r8 = r1 + 124 | 0; - r9 = HEAP32[r8 >> 2]; - r10 = __ZNK5Avoid7ConnRef5routeEv(r1); - r11 = (r1 | 0) >> 2; - r12 = HEAP32[r11]; - do { - if ((HEAP8[r12 + 144 | 0] & 1) << 24 >> 24 == 0) { - r13 = 0; - } else { - if ((HEAP8[r12 + 139 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5251956, 1077, 5257624, 5247856); - } - r14 = r10; - if (FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 16 >> 2]](r10) >>> 0 <= 2) { - r13 = 0; - break; - } - if (!__ZNK5Avoid5PointeqERKS0_(HEAP32[r1 + 120 >> 2] + 12 | 0, HEAP32[r10 + 8 >> 2])) { - r13 = 0; - break; - } - r15 = FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 16 >> 2]](r10) - 2 | 0; - if ((r15 | 0) == 0) { - ___assert_func(5251956, 1096, 5257624, 5247696); - } - r14 = FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 24 >> 2]](r10, r15); - __ZN5Avoid6VertIDC1Ejtt(r5, HEAP32[r14 + 16 >> 2], HEAP16[r14 + 20 >> 1], 0); - HEAP32[r1 + 128 >> 2] = __ZN5Avoid11VertInfList13getVertexByIDERKNS_6VertIDE(HEAP32[r11] + 100 | 0, r5); - r13 = r15; - } - } while (0); - r5 = r1; - r12 = (r1 + 120 | 0) >> 2; - r15 = r9; - r14 = (r1 + 128 | 0) >> 2; - r16 = r10; - r17 = r13; - L625 : while (1) { - r13 = __ZNK5Avoid7ConnRef3srcEv(HEAP32[r12]); - __ZN5Avoid9aStarPathEPNS_7ConnRefEPNS_7VertInfES3_S3_(r5, r13, __ZNK5Avoid7ConnRef3dstEv(HEAP32[r8 >> 2]), __ZN5Avoid7ConnRef5startEv(HEAP32[r14])); - if ((__ZNK5Avoid7VertInf15pathLeadsBackToEPKS0_(r15, HEAP32[r12]) | 0) == 0) { - if ((r17 | 0) == 0) { - break; - } - r13 = r17 - 1 | 0; - r18 = FUNCTION_TABLE[HEAP32[HEAP32[r16 >> 2] + 24 >> 2]](r10, r13); - __ZN5Avoid6VertIDC1Ejtt(r6, HEAP32[r18 + 16 >> 2], HEAP16[r18 + 20 >> 1], (r13 | 0) == 0 & 1); - r18 = __ZN5Avoid11VertInfList13getVertexByIDERKNS_6VertIDE(HEAP32[r11] + 100 | 0, r6); - HEAP32[r14] = r18; - if ((r18 | 0) != 0) { - r17 = r13; - continue; - } - ___assert_func(5251956, 1127, 5257624, 5247664); - r17 = r13; - continue; - } - if ((HEAP8[HEAP32[r11] + 144 | 0] & 1) << 24 >> 24 == 0) { - break; - } - if ((r9 | 0) == (HEAP32[HEAP32[r14] + 100 >> 2] | 0)) { - break; - } else { - r19 = 0; - r20 = r9; - } - while (1) { - r13 = r20 + 100 | 0; - if (!__ZN5Avoid17validateBendPointEPNS_7VertInfES1_S1_(HEAP32[r13 >> 2], r20, r19)) { - break; - } - r18 = HEAP32[r13 >> 2]; - if ((r18 | 0) == (HEAP32[HEAP32[r14] + 100 >> 2] | 0)) { - break L625; - } else { - r19 = r20; - r20 = r18; - } - } - if ((r17 | 0) == 0) { - break; - } - r18 = r17 - 1 | 0; - r13 = FUNCTION_TABLE[HEAP32[HEAP32[r16 >> 2] + 24 >> 2]](r10, r18); - __ZN5Avoid6VertIDC1Ejtt(r7, HEAP32[r13 + 16 >> 2], HEAP16[r13 + 20 >> 1], (r18 | 0) == 0 & 1); - r13 = __ZN5Avoid11VertInfList13getVertexByIDERKNS_6VertIDE(HEAP32[r11] + 100 | 0, r7); - HEAP32[r14] = r13; - if ((r13 | 0) != 0) { - r17 = r18; - continue; - } - ___assert_func(5251956, 1164, 5257624, 5247664); - r17 = r18; - } - r17 = __ZNK5Avoid7VertInf15pathLeadsBackToEPKS0_(r15, HEAP32[r12]); - if (r17 >>> 0 < 2) { - r15 = r1 + 16 | 0; - HEAP8[r15] = HEAP8[r15] | 1; - HEAP32[r9 + 100 >> 2] = HEAP32[r12]; - r21 = 2; - } else { - r21 = r17; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6resizeEj(r2, r21); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6resizeEj(r3, r21); - if ((r9 | 0) == (HEAP32[r12] | 0)) { - r22 = r9; - r23 = r3 | 0; - r24 = r2 | 0, r25 = r24 >> 2; - r26 = r1 + 4 | 0; - r27 = HEAP32[r23 >> 2]; - HEAP32[r27 >> 2] = r22; - r28 = HEAP32[r25]; - r29 = HEAP32[r12]; - r30 = r29 + 12 | 0; - r31 = r28; - r32 = r30; - HEAP32[r31 >> 2] = HEAP32[r32 >> 2]; - HEAP32[r31 + 4 >> 2] = HEAP32[r32 + 4 >> 2]; - HEAP32[r31 + 8 >> 2] = HEAP32[r32 + 8 >> 2]; - HEAP32[r31 + 12 >> 2] = HEAP32[r32 + 12 >> 2]; - HEAP32[r31 + 16 >> 2] = HEAP32[r32 + 16 >> 2]; - HEAP16[r31 + 20 >> 1] = HEAP16[r32 + 20 >> 1]; - r33 = HEAP32[r26 >> 2]; - r34 = r33 | -2147483648; - r35 = HEAP32[r25]; - r36 = r35 + 16 | 0; - HEAP32[r36 >> 2] = r34; - r37 = HEAP32[r25]; - r38 = r37 + 20 | 0; - HEAP16[r38 >> 1] = 8; - STACKTOP = r4; - return; - } - r17 = r2 | 0, r2 = r17 >> 2; - r15 = r3 | 0; - r3 = r1 + 4 | 0; - r1 = r9; - r9 = r21; - while (1) { - r21 = r9 - 1 | 0; - r14 = HEAP32[r2] + (r21 * 24 & -1) | 0; - r7 = r1 + 12 | 0; - HEAP32[r14 >> 2] = HEAP32[r7 >> 2]; - HEAP32[r14 + 4 >> 2] = HEAP32[r7 + 4 >> 2]; - HEAP32[r14 + 8 >> 2] = HEAP32[r7 + 8 >> 2]; - HEAP32[r14 + 12 >> 2] = HEAP32[r7 + 12 >> 2]; - HEAP32[r14 + 16 >> 2] = HEAP32[r7 + 16 >> 2]; - HEAP16[r14 + 20 >> 1] = HEAP16[r7 + 20 >> 1]; - HEAP32[HEAP32[r15 >> 2] + (r21 << 2) >> 2] = r1; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r1 + 10 >> 1])) { - HEAP32[HEAP32[r2] + (r21 * 24 & -1) + 16 >> 2] = HEAP32[r3 >> 2]; - HEAP16[HEAP32[r2] + (r21 * 24 & -1) + 20 >> 1] = 8; - } else { - HEAP32[HEAP32[r2] + (r21 * 24 & -1) + 16 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP16[HEAP32[r2] + (r21 * 24 & -1) + 20 >> 1] = HEAP16[r1 + 8 >> 1]; - } - r7 = HEAP32[r1 + 100 >> 2]; - if ((r7 | 0) == (HEAP32[r12] | 0)) { - r22 = r7; - r23 = r15; - r24 = r17, r25 = r24 >> 2; - r26 = r3; - break; - } else { - r1 = r7; - r9 = r21; - } - } - r27 = HEAP32[r23 >> 2]; - HEAP32[r27 >> 2] = r22; - r28 = HEAP32[r25]; - r29 = HEAP32[r12]; - r30 = r29 + 12 | 0; - r31 = r28; - r32 = r30; - HEAP32[r31 >> 2] = HEAP32[r32 >> 2]; - HEAP32[r31 + 4 >> 2] = HEAP32[r32 + 4 >> 2]; - HEAP32[r31 + 8 >> 2] = HEAP32[r32 + 8 >> 2]; - HEAP32[r31 + 12 >> 2] = HEAP32[r32 + 12 >> 2]; - HEAP32[r31 + 16 >> 2] = HEAP32[r32 + 16 >> 2]; - HEAP16[r31 + 20 >> 1] = HEAP16[r32 + 20 >> 1]; - r33 = HEAP32[r26 >> 2]; - r34 = r33 | -2147483648; - r35 = HEAP32[r25]; - r36 = r35 + 16 | 0; - HEAP32[r36 >> 2] = r34; - r37 = HEAP32[r25]; - r38 = r37 + 20 | 0; - HEAP16[r38 >> 1] = 8; - STACKTOP = r4; - return; -} -__ZN5Avoid7ConnRef20generateStandardPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE["X"] = 1; -function __ZN5Avoid7ConnRef23generateCheckpointsPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 220 | 0; - r6 = r5; - r7 = r5 + 20; - r8 = r5 + 40; - r9 = r5 + 60; - r10 = r5 + 80; - r11 = r5 + 100; - r12 = r5 + 120; - r13 = r5 + 140; - r14 = r5 + 160; - r15 = r5 + 180; - r16 = r5 + 200; - r17 = r5 + 212; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEEC1ERKS6_(r16, r1 + 160 | 0); - r18 = (r16 | 0) >> 2; - r19 = HEAP32[r18]; - r20 = (r1 + 120 | 0) >> 2; - HEAP32[r17 >> 2] = __ZNK5Avoid7ConnRef3srcEv(HEAP32[r20]); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6insertENS_11__wrap_iterIPKS3_EERS8_(r5 + 216, r16, r19, r17); - r17 = (r1 + 124 | 0) >> 2; - r19 = __ZNK5Avoid7ConnRef3dstEv(HEAP32[r17]); - r21 = (r16 + 4 | 0) >> 2; - r22 = HEAP32[r21]; - r23 = r16 + 8 | 0; - r24 = r23 | 0; - r25 = HEAP32[r24 >> 2]; - if (r22 >>> 0 < r25 >>> 0) { - if ((r22 | 0) == 0) { - r26 = 0; - } else { - HEAP32[r22 >> 2] = r19; - r26 = HEAP32[r21]; - } - HEAP32[r21] = r26 + 4 | 0; - } else { - r26 = HEAP32[r18]; - r27 = r22 - r26 + 4 >> 2 | 0; - if (r27 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r28 = HEAP32[r24 >> 2]; - r29 = HEAP32[r18]; - } else { - r28 = r25; - r29 = r26; - } - r26 = r29; - r29 = r28 - r26 | 0; - if (r29 >> 2 >>> 0 > 536870910) { - r30 = 1073741823; - } else { - r28 = r29 >> 1; - r30 = r28 >>> 0 < r27 >>> 0 ? r27 : r28; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r15, r30, HEAP32[r21] - r26 >> 2, r23); - r23 = (r15 + 8 | 0) >> 2; - r26 = HEAP32[r23]; - r30 = r15 + 12 | 0; - do { - if ((r26 | 0) == (HEAP32[r30 >> 2] | 0)) { - r28 = (r15 + 4 | 0) >> 2; - r27 = HEAP32[r28]; - r29 = r15 | 0; - r25 = HEAP32[r29 >> 2]; - if (r27 >>> 0 > r25 >>> 0) { - r24 = r27; - r22 = (r24 - r25 + 4 >> 2 | 0) / -2 & -1; - r31 = (r22 << 2) + r27 | 0; - r32 = r26 - r24 | 0; - _memmove(r31, r27, r32, 4, 0); - r24 = ((r32 >> 2) + r22 << 2) + r27 | 0; - HEAP32[r23] = r24; - HEAP32[r28] = r31; - r33 = r24; - break; - } - r24 = r26 - r25 >> 1; - r31 = (r24 | 0) == 0 ? 1 : r24; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r14, r31, r31 >>> 2, HEAP32[r15 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r14, r27, r26); - r31 = r14 | 0; - HEAP32[r29 >> 2] = HEAP32[r31 >> 2]; - HEAP32[r31 >> 2] = r25; - r25 = r14 + 4 | 0; - HEAP32[r28] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r27; - r27 = r14 + 8 | 0; - r25 = HEAP32[r27 >> 2]; - HEAP32[r23] = r25; - HEAP32[r27 >> 2] = r26; - r27 = r14 + 12 | 0; - HEAP32[r30 >> 2] = HEAP32[r27 >> 2]; - HEAP32[r27 >> 2] = r26; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r14); - r33 = r25; - } else { - r33 = r26; - } - } while (0); - if ((r33 | 0) == 0) { - r34 = 0; - } else { - HEAP32[r33 >> 2] = r19; - r34 = r33; - } - HEAP32[r23] = r34 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r16, r15); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r15); - } - r15 = (r2 | 0) >> 2; - r34 = (r2 + 4 | 0) >> 2; - HEAP32[r34] = HEAP32[r15]; - r23 = (r3 | 0) >> 2; - r33 = (r3 + 4 | 0) >> 2; - HEAP32[r33] = HEAP32[r23]; - r19 = __ZNK5Avoid7ConnRef3srcEv(HEAP32[r20]) + 12 | 0; - r26 = HEAP32[r34]; - r14 = r2 + 8 | 0; - r30 = (r14 | 0) >> 2; - r25 = HEAP32[r30]; - if (r26 >>> 0 < r25 >>> 0) { - if ((r26 | 0) == 0) { - r35 = 0; - } else { - r27 = r26 >> 2; - r28 = r19 >> 2; - HEAP32[r27] = HEAP32[r28]; - HEAP32[r27 + 1] = HEAP32[r28 + 1]; - HEAP32[r27 + 2] = HEAP32[r28 + 2]; - HEAP32[r27 + 3] = HEAP32[r28 + 3]; - HEAP32[r27 + 4] = HEAP32[r28 + 4]; - HEAP32[r27 + 5] = HEAP32[r28 + 5]; - r35 = HEAP32[r34]; - } - HEAP32[r34] = r35 + 24 | 0; - } else { - r35 = HEAP32[r15]; - r28 = ((r26 - r35 | 0) / 24 & -1) + 1 | 0; - if (r28 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r36 = HEAP32[r30]; - r37 = HEAP32[r15]; - } else { - r36 = r25; - r37 = r35; - } - r35 = r37; - r37 = (r36 - r35 | 0) / 24 & -1; - if (r37 >>> 0 > 89478484) { - r38 = 178956970; - } else { - r36 = r37 << 1; - r38 = r36 >>> 0 < r28 >>> 0 ? r28 : r36; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r13, r38, (HEAP32[r34] - r35 | 0) / 24 & -1, r14); - r35 = (r13 + 8 | 0) >> 2; - r38 = HEAP32[r35]; - r36 = r13 + 12 | 0; - do { - if ((r38 | 0) == (HEAP32[r36 >> 2] | 0)) { - r28 = (r13 + 4 | 0) >> 2; - r37 = HEAP32[r28]; - r25 = r13 | 0; - r26 = HEAP32[r25 >> 2]; - if (r37 >>> 0 > r26 >>> 0) { - r27 = r37; - r31 = (((r27 - r26 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r29 = r37 + (r31 * 24 & -1) | 0; - r24 = r38 - r27 | 0; - _memmove(r29, r37, r24, 4, 0); - r27 = r37 + ((((r24 | 0) / 24 & -1) + r31) * 24 & -1) | 0; - HEAP32[r35] = r27; - HEAP32[r28] = r29; - r39 = r27; - break; - } - r27 = ((r38 - r26 | 0) / 24 & -1) << 1; - r29 = (r27 | 0) == 0 ? 1 : r27; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r12, r29, r29 >>> 2, HEAP32[r13 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r12, r37, r38); - r29 = r12 | 0; - HEAP32[r25 >> 2] = HEAP32[r29 >> 2]; - HEAP32[r29 >> 2] = r26; - r26 = r12 + 4 | 0; - HEAP32[r28] = HEAP32[r26 >> 2]; - HEAP32[r26 >> 2] = r37; - r37 = r12 + 8 | 0; - r26 = HEAP32[r37 >> 2]; - HEAP32[r35] = r26; - HEAP32[r37 >> 2] = r38; - r37 = r12 + 12 | 0; - HEAP32[r36 >> 2] = HEAP32[r37 >> 2]; - HEAP32[r37 >> 2] = r38; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r12); - r39 = r26; - } else { - r39 = r38; - } - } while (0); - if ((r39 | 0) != 0) { - r38 = r39 >> 2; - r12 = r19 >> 2; - HEAP32[r38] = HEAP32[r12]; - HEAP32[r38 + 1] = HEAP32[r12 + 1]; - HEAP32[r38 + 2] = HEAP32[r12 + 2]; - HEAP32[r38 + 3] = HEAP32[r12 + 3]; - HEAP32[r38 + 4] = HEAP32[r12 + 4]; - HEAP32[r38 + 5] = HEAP32[r12 + 5]; - } - HEAP32[r35] = r39 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r2, r13); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r13); - } - r13 = __ZNK5Avoid7ConnRef3srcEv(HEAP32[r20]); - r20 = HEAP32[r33]; - r39 = r3 + 8 | 0; - r35 = (r39 | 0) >> 2; - r12 = HEAP32[r35]; - if (r20 >>> 0 < r12 >>> 0) { - if ((r20 | 0) == 0) { - r40 = 0; - } else { - HEAP32[r20 >> 2] = r13; - r40 = HEAP32[r33]; - } - HEAP32[r33] = r40 + 4 | 0; - } else { - r40 = HEAP32[r23]; - r38 = r20 - r40 + 4 >> 2 | 0; - if (r38 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r41 = HEAP32[r35]; - r42 = HEAP32[r23]; - } else { - r41 = r12; - r42 = r40; - } - r40 = r42; - r42 = r41 - r40 | 0; - if (r42 >> 2 >>> 0 > 536870910) { - r43 = 1073741823; - } else { - r41 = r42 >> 1; - r43 = r41 >>> 0 < r38 >>> 0 ? r38 : r41; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r11, r43, HEAP32[r33] - r40 >> 2, r39); - r40 = (r11 + 8 | 0) >> 2; - r43 = HEAP32[r40]; - r41 = r11 + 12 | 0; - do { - if ((r43 | 0) == (HEAP32[r41 >> 2] | 0)) { - r38 = (r11 + 4 | 0) >> 2; - r42 = HEAP32[r38]; - r12 = r11 | 0; - r20 = HEAP32[r12 >> 2]; - if (r42 >>> 0 > r20 >>> 0) { - r19 = r42; - r36 = (r19 - r20 + 4 >> 2 | 0) / -2 & -1; - r26 = (r36 << 2) + r42 | 0; - r37 = r43 - r19 | 0; - _memmove(r26, r42, r37, 4, 0); - r19 = ((r37 >> 2) + r36 << 2) + r42 | 0; - HEAP32[r40] = r19; - HEAP32[r38] = r26; - r44 = r19; - break; - } - r19 = r43 - r20 >> 1; - r26 = (r19 | 0) == 0 ? 1 : r19; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r10, r26, r26 >>> 2, HEAP32[r11 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r10, r42, r43); - r26 = r10 | 0; - HEAP32[r12 >> 2] = HEAP32[r26 >> 2]; - HEAP32[r26 >> 2] = r20; - r20 = r10 + 4 | 0; - HEAP32[r38] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r42; - r42 = r10 + 8 | 0; - r20 = HEAP32[r42 >> 2]; - HEAP32[r40] = r20; - HEAP32[r42 >> 2] = r43; - r42 = r10 + 12 | 0; - HEAP32[r41 >> 2] = HEAP32[r42 >> 2]; - HEAP32[r42 >> 2] = r43; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r10); - r44 = r20; - } else { - r44 = r43; - } - } while (0); - if ((r44 | 0) == 0) { - r45 = 0; - } else { - HEAP32[r44 >> 2] = r13; - r45 = r44; - } - HEAP32[r40] = r45 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r3, r11); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r11); - } - r11 = HEAP32[r21]; - r45 = HEAP32[r18]; - if (r11 - r45 >> 2 >>> 0 <= 1) { - r46 = r1 + 4 | 0, r47 = r46 >> 2; - r48 = HEAP32[r47]; - r49 = r48 | -2147483648; - r50 = HEAP32[r34]; - r51 = HEAP32[r15]; - r52 = r50; - r53 = r51; - r54 = r52 - r53 | 0; - r55 = (r54 | 0) / 24 & -1; - r56 = r55 - 1 | 0; - r57 = r51 + (r56 * 24 & -1) + 16 | 0, r58 = r57 >> 2; - HEAP32[r58] = r49; - r59 = HEAP32[r34]; - r60 = HEAP32[r15]; - r61 = r59; - r62 = r60; - r63 = r61 - r62 | 0; - r64 = (r63 | 0) / 24 & -1; - r65 = r64 - 1 | 0; - r66 = r60 + (r65 * 24 & -1) + 20 | 0, r67 = r66 >> 1; - HEAP16[r67] = 8; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r16); - STACKTOP = r5; - return; - } - r40 = r1 + 148 | 0; - r44 = r1; - r13 = r1 + 16 | 0; - r43 = r39; - r39 = (r7 + 8 | 0) >> 2; - r10 = r7 + 12 | 0; - r41 = (r7 + 4 | 0) >> 2; - r20 = r7 | 0; - r42 = r7 + 16 | 0; - r38 = r6 | 0; - r26 = r6 + 4 | 0; - r12 = r6 + 8 | 0; - r19 = r6 + 12 | 0; - r36 = r14; - r14 = (r9 + 8 | 0) >> 2; - r37 = r9 + 12 | 0; - r28 = (r9 + 4 | 0) >> 2; - r29 = r9 | 0; - r25 = r9 + 16 | 0; - r27 = r8 | 0; - r31 = r8 + 4 | 0; - r24 = r8 + 8 | 0; - r22 = r8 + 12 | 0; - r32 = r1 + 4 | 0; - r1 = 1; - r68 = 0; - r69 = r45; - r45 = r11; - L738 : while (1) { - r11 = (r68 | 0) != 0; - r70 = r68 - 1 | 0; - r71 = r1; - r72 = r69; - r73 = r45; - while (1) { - r74 = HEAP32[r72 + (r68 << 2) >> 2]; - r75 = HEAP32[r72 + (r71 << 2) >> 2]; - do { - if (r11) { - r76 = HEAP32[HEAP32[r40 >> 2] + (r70 << 5) + 28 >> 2]; - if ((r76 | 0) == 15) { - r77 = r73; - r78 = r72; - break; - } - __ZN5Avoid7VertInf20setVisibleDirectionsEj(r74, r76); - r77 = HEAP32[r21]; - r78 = HEAP32[r18]; - } else { - r77 = r73; - r78 = r72; - } - } while (0); - r79 = r71 + 1 | 0; - do { - if (r79 >>> 0 < r77 - r78 >> 2 >>> 0) { - r76 = HEAP32[HEAP32[r40 >> 2] + (r71 - 1 << 5) + 24 >> 2]; - if ((r76 | 0) == 15) { - break; - } - __ZN5Avoid7VertInf20setVisibleDirectionsEj(r75, r76); - } - } while (0); - __ZN5Avoid9aStarPathEPNS_7ConnRefEPNS_7VertInfES3_S3_(r44, r74, r75, 0); - if (r11) { - __ZN5Avoid7VertInf20setVisibleDirectionsEj(r74, 15); - } - r76 = r75; - if (r79 >>> 0 < HEAP32[r21] - HEAP32[r18] >> 2 >>> 0) { - __ZN5Avoid7VertInf20setVisibleDirectionsEj(r76, 15); - } - r80 = __ZNK5Avoid7VertInf15pathLeadsBackToEPKS0_(r76, r74); - if ((r80 | 0) > 1) { - break; - } - do { - if ((r79 | 0) == (HEAP32[r33] - HEAP32[r23] >> 2 | 0)) { - HEAP8[r13] = HEAP8[r13] | 1; - r76 = __ZNK5Avoid7ConnRef3dstEv(HEAP32[r17]) + 12 | 0; - r81 = HEAP32[r34]; - r82 = HEAP32[r30]; - if (r81 >>> 0 < r82 >>> 0) { - if ((r81 | 0) == 0) { - r83 = 0; - } else { - r84 = r81 >> 2; - r85 = r76 >> 2; - HEAP32[r84] = HEAP32[r85]; - HEAP32[r84 + 1] = HEAP32[r85 + 1]; - HEAP32[r84 + 2] = HEAP32[r85 + 2]; - HEAP32[r84 + 3] = HEAP32[r85 + 3]; - HEAP32[r84 + 4] = HEAP32[r85 + 4]; - HEAP32[r84 + 5] = HEAP32[r85 + 5]; - r83 = HEAP32[r34]; - } - HEAP32[r34] = r83 + 24 | 0; - } else { - r85 = HEAP32[r15]; - r84 = ((r81 - r85 | 0) / 24 & -1) + 1 | 0; - if (r84 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r86 = HEAP32[r30]; - r87 = HEAP32[r15]; - } else { - r86 = r82; - r87 = r85; - } - r85 = r87; - r82 = (r86 - r85 | 0) / 24 & -1; - if (r82 >>> 0 > 89478484) { - r88 = 178956970; - } else { - r81 = r82 << 1; - r88 = r81 >>> 0 < r84 >>> 0 ? r84 : r81; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r9, r88, (HEAP32[r34] - r85 | 0) / 24 & -1, r36); - r85 = HEAP32[r14]; - do { - if ((r85 | 0) == (HEAP32[r37 >> 2] | 0)) { - r81 = HEAP32[r28]; - r84 = HEAP32[r29 >> 2]; - if (r81 >>> 0 > r84 >>> 0) { - r82 = r81; - r89 = (((r82 - r84 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r90 = r81 + (r89 * 24 & -1) | 0; - r91 = r85 - r82 | 0; - _memmove(r90, r81, r91, 4, 0); - r82 = r81 + ((((r91 | 0) / 24 & -1) + r89) * 24 & -1) | 0; - HEAP32[r14] = r82; - HEAP32[r28] = r90; - r92 = r82; - break; - } - r82 = ((r85 - r84 | 0) / 24 & -1) << 1; - r90 = (r82 | 0) == 0 ? 1 : r82; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r8, r90, r90 >>> 2, HEAP32[r25 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r8, r81, r85); - HEAP32[r29 >> 2] = HEAP32[r27 >> 2]; - HEAP32[r27 >> 2] = r84; - HEAP32[r28] = HEAP32[r31 >> 2]; - HEAP32[r31 >> 2] = r81; - r81 = HEAP32[r24 >> 2]; - HEAP32[r14] = r81; - HEAP32[r24 >> 2] = r85; - HEAP32[r37 >> 2] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r85; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r8); - r92 = r81; - } else { - r92 = r85; - } - } while (0); - if ((r92 | 0) != 0) { - r85 = r92 >> 2; - r81 = r76 >> 2; - HEAP32[r85] = HEAP32[r81]; - HEAP32[r85 + 1] = HEAP32[r81 + 1]; - HEAP32[r85 + 2] = HEAP32[r81 + 2]; - HEAP32[r85 + 3] = HEAP32[r81 + 3]; - HEAP32[r85 + 4] = HEAP32[r81 + 4]; - HEAP32[r85 + 5] = HEAP32[r81 + 5]; - } - HEAP32[r14] = r92 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r2, r9); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r9); - } - r81 = __ZNK5Avoid7ConnRef3dstEv(HEAP32[r17]); - r85 = HEAP32[r33]; - r84 = HEAP32[r35]; - if (r85 >>> 0 < r84 >>> 0) { - if ((r85 | 0) == 0) { - r93 = 0; - } else { - HEAP32[r85 >> 2] = r81; - r93 = HEAP32[r33]; - } - HEAP32[r33] = r93 + 4 | 0; - } else { - r90 = HEAP32[r23]; - r82 = r85 - r90 + 4 >> 2 | 0; - if (r82 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r94 = HEAP32[r35]; - r95 = HEAP32[r23]; - } else { - r94 = r84; - r95 = r90; - } - r90 = r95; - r84 = r94 - r90 | 0; - if (r84 >> 2 >>> 0 > 536870910) { - r96 = 1073741823; - } else { - r85 = r84 >> 1; - r96 = r85 >>> 0 < r82 >>> 0 ? r82 : r85; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r7, r96, HEAP32[r33] - r90 >> 2, r43); - r90 = HEAP32[r39]; - do { - if ((r90 | 0) == (HEAP32[r10 >> 2] | 0)) { - r85 = HEAP32[r41]; - r82 = HEAP32[r20 >> 2]; - if (r85 >>> 0 > r82 >>> 0) { - r84 = r85; - r89 = (r84 - r82 + 4 >> 2 | 0) / -2 & -1; - r91 = (r89 << 2) + r85 | 0; - r97 = r90 - r84 | 0; - _memmove(r91, r85, r97, 4, 0); - r84 = ((r97 >> 2) + r89 << 2) + r85 | 0; - HEAP32[r39] = r84; - HEAP32[r41] = r91; - r98 = r84; - break; - } - r84 = r90 - r82 >> 1; - r91 = (r84 | 0) == 0 ? 1 : r84; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r6, r91, r91 >>> 2, HEAP32[r42 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r6, r85, r90); - HEAP32[r20 >> 2] = HEAP32[r38 >> 2]; - HEAP32[r38 >> 2] = r82; - HEAP32[r41] = HEAP32[r26 >> 2]; - HEAP32[r26 >> 2] = r85; - r85 = HEAP32[r12 >> 2]; - HEAP32[r39] = r85; - HEAP32[r12 >> 2] = r90; - HEAP32[r10 >> 2] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r90; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r6); - r98 = r85; - } else { - r98 = r90; - } - } while (0); - if ((r98 | 0) == 0) { - r99 = 0; - } else { - HEAP32[r98 >> 2] = r81; - r99 = r98; - } - HEAP32[r39] = r99 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r3, r7); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r7); - } - if ((HEAP32[r34] - HEAP32[r15] | 0) == 48) { - break; - } - ___assert_func(5251956, 1051, 5257448, 5248164); - } else { - r90 = __ZNK5Avoid7ConnRef2idEv(HEAP32[r32 >> 2]); - r76 = HEAP32[HEAP32[r18] + (r71 << 2) >> 2]; - r85 = r76 + 12 | 0; - r82 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r85 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r85 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r85 = r76 + 20 | 0; - r76 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r85 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r85 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid10err_printfEPKcz(5247896, (tempInt = STACKTOP, STACKTOP = STACKTOP + 20 | 0, HEAP32[tempInt >> 2] = r90, HEAPF64[tempDoublePtr >> 3] = r82, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r76, HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - _fflush(HEAP32[_stderr >> 2]); - } - } while (0); - r74 = HEAP32[r21]; - r76 = HEAP32[r18]; - if (r79 >>> 0 < r74 - r76 >> 2 >>> 0) { - r71 = r79; - r72 = r76; - r73 = r74; - } else { - r46 = r32, r47 = r46 >> 2; - r4 = 755; - break L738; - } - } - r73 = (HEAP32[r34] - HEAP32[r15] | 0) / 24 & -1; - r72 = r80 - 1 + r73 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6resizeEj(r2, r72); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6resizeEj(r3, r72); - r72 = HEAP32[r15]; - r11 = ((HEAP32[r34] - r72 | 0) / 24 & -1) - 1 | 0; - L820 : do { - if (r11 >>> 0 >= r73 >>> 0) { - r70 = r75; - r74 = r11; - r76 = r72; - while (1) { - r82 = r76 + (r74 * 24 & -1) | 0; - r90 = r70 + 12 | 0; - HEAP32[r82 >> 2] = HEAP32[r90 >> 2]; - HEAP32[r82 + 4 >> 2] = HEAP32[r90 + 4 >> 2]; - HEAP32[r82 + 8 >> 2] = HEAP32[r90 + 8 >> 2]; - HEAP32[r82 + 12 >> 2] = HEAP32[r90 + 12 >> 2]; - HEAP32[r82 + 16 >> 2] = HEAP32[r90 + 16 >> 2]; - HEAP16[r82 + 20 >> 1] = HEAP16[r90 + 20 >> 1]; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r70 + 10 >> 1])) { - HEAP32[HEAP32[r15] + (r74 * 24 & -1) + 16 >> 2] = HEAP32[r32 >> 2]; - HEAP16[HEAP32[r15] + (r74 * 24 & -1) + 20 >> 1] = 8; - } else { - HEAP32[HEAP32[r15] + (r74 * 24 & -1) + 16 >> 2] = HEAP32[r70 + 4 >> 2]; - HEAP16[HEAP32[r15] + (r74 * 24 & -1) + 20 >> 1] = HEAP16[r70 + 8 >> 1]; - } - HEAP32[HEAP32[r23] + (r74 << 2) >> 2] = r70; - r90 = r74 - 1 | 0; - if (r90 >>> 0 < r73 >>> 0) { - break L820; - } - r70 = HEAP32[r70 + 100 >> 2]; - r74 = r90; - r76 = HEAP32[r15]; - } - } - } while (0); - r73 = HEAP32[r21]; - r72 = HEAP32[r18]; - if (r79 >>> 0 < r73 - r72 >> 2 >>> 0) { - r1 = r79; - r68 = r71; - r69 = r72; - r45 = r73; - } else { - r46 = r32, r47 = r46 >> 2; - r4 = 754; - break; - } - } - if (r4 == 754) { - r48 = HEAP32[r47]; - r49 = r48 | -2147483648; - r50 = HEAP32[r34]; - r51 = HEAP32[r15]; - r52 = r50; - r53 = r51; - r54 = r52 - r53 | 0; - r55 = (r54 | 0) / 24 & -1; - r56 = r55 - 1 | 0; - r57 = r51 + (r56 * 24 & -1) + 16 | 0, r58 = r57 >> 2; - HEAP32[r58] = r49; - r59 = HEAP32[r34]; - r60 = HEAP32[r15]; - r61 = r59; - r62 = r60; - r63 = r61 - r62 | 0; - r64 = (r63 | 0) / 24 & -1; - r65 = r64 - 1 | 0; - r66 = r60 + (r65 * 24 & -1) + 20 | 0, r67 = r66 >> 1; - HEAP16[r67] = 8; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r16); - STACKTOP = r5; - return; - } else if (r4 == 755) { - r48 = HEAP32[r47]; - r49 = r48 | -2147483648; - r50 = HEAP32[r34]; - r51 = HEAP32[r15]; - r52 = r50; - r53 = r51; - r54 = r52 - r53 | 0; - r55 = (r54 | 0) / 24 & -1; - r56 = r55 - 1 | 0; - r57 = r51 + (r56 * 24 & -1) + 16 | 0, r58 = r57 >> 2; - HEAP32[r58] = r49; - r59 = HEAP32[r34]; - r60 = HEAP32[r15]; - r61 = r59; - r62 = r60; - r63 = r61 - r62 | 0; - r64 = (r63 | 0) / 24 & -1; - r65 = r64 - 1 | 0; - r66 = r60 + (r65 * 24 & -1) + 20 | 0, r67 = r66 >> 1; - HEAP16[r67] = 8; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r16); - STACKTOP = r5; - return; - } -} -__ZN5Avoid7ConnRef23generateCheckpointsPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE["X"] = 1; -function __ZNK5Avoid6VertID8isConnPtEv(r1) { - return (r1 & 1) << 16 >> 16 != 0; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEEC1ERKS6_(r1, r2) { - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEEC2ERKS6_(r1, r2); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6resizeEj(r1, r2) { - var r3, r4, r5; - r3 = r1 + 4 | 0; - r4 = HEAP32[r1 >> 2]; - r5 = (HEAP32[r3 >> 2] - r4 | 0) / 24 & -1; - if (r5 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8__appendEj(r1, r2 - r5 | 0); - return; - } - if (r5 >>> 0 <= r2 >>> 0) { - return; - } - HEAP32[r3 >> 2] = r4 + (r2 * 24 & -1) | 0; - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6resizeEj(r1, r2) { - var r3, r4, r5; - r3 = r1 + 4 | 0; - r4 = HEAP32[r1 >> 2]; - r5 = HEAP32[r3 >> 2] - r4 >> 2; - if (r5 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE8__appendEj(r1, r2 - r5 | 0); - return; - } - if (r5 >>> 0 <= r2 >>> 0) { - return; - } - HEAP32[r3 >> 2] = (r2 << 2) + r4 | 0; - return; -} -function __ZNK5Avoid7ConnRef20possibleDstPinPointsEv(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == 0) { - STACKTOP = r3; - return; - } - __ZNK5Avoid7ConnEnd17possiblePinPointsEv(r4, r2); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, HEAP32[r4 >> 2], HEAP32[r4 + 4 >> 2]); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZN5Avoid7PtOrderC1Ev(r1) { - __ZN5Avoid7PtOrderC2Ev(r1); - return; -} -function __ZN5Avoid7PtOrderC2Ev(r1) { - var r2, r3, r4; - r2 = r1 + 28 | 0; - r3 = r2; - r4 = (r1 + 4 | 0) >> 2; - HEAP32[r4] = 0; - HEAP32[r4 + 1] = 0; - HEAP32[r4 + 2] = 0; - HEAP32[r4 + 3] = 0; - HEAP32[r4 + 4] = 0; - HEAP32[r4 + 5] = 0; - HEAP32[r2 >> 2] = r3; - HEAP32[r1 + 32 >> 2] = r3; - HEAP32[r1 + 36 >> 2] = 0; - r3 = r1 + 40 | 0; - r2 = r3; - HEAP32[r3 >> 2] = r2; - HEAP32[r1 + 44 >> 2] = r2; - r2 = r1; - tempBigInt = 0; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - r2 = (r1 + 48 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - HEAP32[r2 + 6] = 0; - return; -} -function __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED1Ev(r1) { - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED2Ev(r1); - return; -} -function __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZN5Avoid7PtOrderD1Ev(r1) { - __ZN5Avoid7PtOrderD2Ev(r1); - return; -} -function __ZN5Avoid7PtOrderD2Ev(r1) { - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED1Ev(r1 + 64 | 0); - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED1Ev(r1 + 52 | 0); - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED1Ev(r1 + 40 | 0); - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED1Ev(r1 + 28 | 0); - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED1Ev(r1 + 16 | 0); - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED1Ev(r1 + 4 | 0); - return; -} -function __ZN5Avoid7PtOrder4sortEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55; - r3 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r4 = r3; - r5 = r3 + 20; - r6 = r3 + 40, r7 = r6 >> 2; - r8 = r3 + 52; - r9 = r3 + 56; - r10 = r3 + 68; - r11 = r3 + 92, r12 = r11 >> 2; - r13 = r3 + 96, r14 = r13 >> 2; - HEAP8[r1 + r2 | 0] = 1; - r15 = r1 + (r2 * 12 & -1) + 8 | 0; - r16 = (r1 + (r2 * 12 & -1) + 4 | 0) >> 2; - r17 = HEAP32[r15 >> 2] - HEAP32[r16] >> 3; - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEEC1Ej(r6, r17); - r18 = (r17 | 0) == 0; - L866 : do { - if (!r18) { - r19 = HEAP32[r7]; - r20 = 0; - while (1) { - HEAP8[r8] = 0; - __ZNSt3__16vectorIbNS_9allocatorIbEEE6assignEjRKb(r19 + (r20 * 12 & -1) | 0, r17, r8); - r21 = r20 + 1 | 0; - if (r21 >>> 0 < r17 >>> 0) { - r20 = r21; - } else { - break L866; - } - } - } - } while (0); - __ZNSt3__16vectorIiNS_9allocatorIiEEEC1Ej(r9, r17); - r8 = r10 | 0; - r20 = r10 + 4 | 0; - r19 = r10 + 16 | 0; - r21 = r10 + 20 | 0; - r22 = r10 >> 2; - HEAP32[r22] = 0; - HEAP32[r22 + 1] = 0; - HEAP32[r22 + 2] = 0; - HEAP32[r22 + 3] = 0; - HEAP32[r22 + 4] = 0; - HEAP32[r22 + 5] = 0; - r22 = HEAP32[r1 + (r2 * 12 & -1) + 32 >> 2]; - r23 = r1 + (r2 * 12 & -1) + 28 | 0; - L873 : do { - if ((r22 | 0) != (r23 | 0)) { - r24 = HEAP32[r7]; - r25 = r22, r26 = r25 >> 2; - while (1) { - r27 = HEAP32[r26 + 3]; - r28 = (r27 >>> 5 << 2) + HEAP32[r24 + (HEAP32[r26 + 2] * 12 & -1) >> 2] | 0; - HEAP32[r28 >> 2] = HEAP32[r28 >> 2] | 1 << (r27 & 31); - r27 = HEAP32[r26 + 1]; - if ((r27 | 0) == (r23 | 0)) { - break L873; - } else { - r25 = r27, r26 = r25 >> 2; - } - } - } - } while (0); - HEAP32[r12] = 0; - L878 : do { - if (!r18) { - r23 = HEAP32[r9 >> 2]; - r22 = HEAP32[r7]; - r25 = 0; - while (1) { - r26 = r25 >>> 5; - r24 = 1 << (r25 & 31); - r27 = 0; - r28 = 0; - while (1) { - r29 = ((HEAP32[HEAP32[r22 + (r28 * 12 & -1) >> 2] + (r26 << 2) >> 2] & r24 | 0) != 0 & 1) + r27 | 0; - r30 = r28 + 1 | 0; - if ((r30 | 0) == (r17 | 0)) { - break; - } else { - r27 = r29; - r28 = r30; - } - } - HEAP32[r23 + (r25 << 2) >> 2] = r29; - if ((r29 | 0) == 0) { - __ZNSt3__15dequeIjNS_9allocatorIjEEE9push_backERKj(r8, r11); - r31 = HEAP32[r12]; - } else { - r31 = r25; - } - r28 = r31 + 1 | 0; - HEAP32[r12] = r28; - if (r28 >>> 0 < r17 >>> 0) { - r25 = r28; - } else { - break L878; - } - } - } - } while (0); - if ((HEAP32[r21 >> 2] | 0) == 0) { - __ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED1Ev(r10); - __ZNSt3__16vectorIiNS_9allocatorIiEEED1Ev(r9); - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED1Ev(r6); - STACKTOP = r3; - return; - } - r12 = r1 + (r2 * 12 & -1) + 52 | 0; - r31 = (r1 + (r2 * 12 & -1) + 56 | 0) >> 2; - r11 = r1 + (r2 * 12 & -1) + 60 | 0; - r2 = r11 | 0; - r1 = r11; - r11 = r12 | 0; - r29 = (r5 + 8 | 0) >> 2; - r7 = r5 + 12 | 0; - r25 = (r5 + 4 | 0) >> 2; - r23 = r5 | 0; - r22 = r5 + 16 | 0; - r28 = r4 | 0; - r27 = r4 + 4 | 0; - r24 = r4 + 8 | 0; - r26 = r4 + 12 | 0; - r30 = r6 | 0; - r32 = r9 | 0; - while (1) { - r33 = HEAP32[r19 >> 2]; - r34 = HEAP32[HEAP32[HEAP32[r20 >> 2] + (r33 >>> 10 << 2) >> 2] + ((r33 & 1023) << 2) >> 2]; - if (r34 >>> 0 >= HEAP32[r15 >> 2] - HEAP32[r16] >> 3 >>> 0) { - ___assert_func(5251956, 1378, 5256800, 5247300); - } - __ZNSt3__15dequeIjNS_9allocatorIjEEE9pop_frontEv(r8); - r33 = HEAP32[r16]; - r35 = (r34 << 3) + r33 | 0; - r36 = HEAP32[r31]; - r37 = HEAP32[r2 >> 2]; - if (r36 >>> 0 < r37 >>> 0) { - if ((r36 | 0) == 0) { - r38 = 0; - } else { - HEAP32[r36 >> 2] = HEAP32[r35 >> 2]; - HEAP32[r36 + 4 >> 2] = HEAP32[r33 + (r34 << 3) + 4 >> 2]; - r38 = HEAP32[r31]; - } - HEAP32[r31] = r38 + 8 | 0; - } else { - r39 = HEAP32[r11 >> 2]; - r40 = r36 - r39 + 8 >> 3 | 0; - if (r40 >>> 0 > 536870911) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r41 = HEAP32[r2 >> 2]; - r42 = HEAP32[r11 >> 2]; - } else { - r41 = r37; - r42 = r39; - } - r39 = r42; - r37 = r41 - r39 | 0; - if (r37 >> 3 >>> 0 > 268435454) { - r43 = 536870911; - } else { - r36 = r37 >> 2; - r43 = r36 >>> 0 < r40 >>> 0 ? r40 : r36; - } - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_(r5, r43, HEAP32[r31] - r39 >> 3, r1); - r39 = HEAP32[r29]; - do { - if ((r39 | 0) == (HEAP32[r7 >> 2] | 0)) { - r36 = HEAP32[r25]; - r40 = r36; - r37 = HEAP32[r23 >> 2]; - if (r36 >>> 0 <= r37 >>> 0) { - r44 = r39 - r37 >> 2; - r45 = (r44 | 0) == 0 ? 1 : r44; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_(r4, r45, r45 >>> 2, HEAP32[r22 >> 2]); - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESH_SH_(r4, r36, r39); - HEAP32[r23 >> 2] = HEAP32[r28 >> 2]; - HEAP32[r28 >> 2] = r37; - HEAP32[r25] = HEAP32[r27 >> 2]; - HEAP32[r27 >> 2] = r36; - r45 = HEAP32[r24 >> 2]; - HEAP32[r29] = r45; - HEAP32[r24 >> 2] = r39; - HEAP32[r7 >> 2] = HEAP32[r26 >> 2]; - HEAP32[r26 >> 2] = r39; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev(r4); - r46 = r45; - break; - } - r45 = (r40 - r37 + 8 >> 3 | 0) / -2 & -1; - r37 = (r45 << 3) + r36 | 0; - if ((r36 | 0) == (r39 | 0)) { - r47 = r37; - r48 = r39; - } else { - r44 = r45 + ((r39 - 8 + -r40 | 0) >>> 3) | 0; - r40 = r37; - r37 = r36; - while (1) { - HEAP32[r40 >> 2] = HEAP32[r37 >> 2]; - HEAP32[r40 + 4 >> 2] = HEAP32[r37 + 4 >> 2]; - r49 = r37 + 8 | 0; - if ((r49 | 0) == (r39 | 0)) { - break; - } else { - r40 = r40 + 8 | 0; - r37 = r49; - } - } - r47 = (r44 + 1 << 3) + r36 | 0; - r48 = HEAP32[r25]; - } - HEAP32[r29] = r47; - HEAP32[r25] = (r45 << 3) + r48 | 0; - r46 = r47; - } else { - r46 = r39; - } - } while (0); - if ((r46 | 0) == 0) { - r50 = 0; - } else { - HEAP32[r46 >> 2] = HEAP32[r35 >> 2]; - HEAP32[r46 + 4 >> 2] = HEAP32[r33 + (r34 << 3) + 4 >> 2]; - r50 = HEAP32[r29]; - } - HEAP32[r29] = r50 + 8 | 0; - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS9_EE(r12, r5); - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev(r5); - } - HEAP32[r14] = 0; - L930 : do { - if (!r18) { - r39 = HEAP32[r30 >> 2] + (r34 * 12 & -1) | 0; - r37 = HEAP32[r32 >> 2]; - r40 = 0; - while (1) { - r49 = (r40 >>> 5 << 2) + HEAP32[r39 >> 2] | 0; - r51 = 1 << (r40 & 31); - r52 = HEAP32[r49 >> 2]; - do { - if ((r52 & r51 | 0) == 0) { - r53 = r40; - } else { - HEAP32[r49 >> 2] = r52 & (r51 ^ -1); - r54 = (r40 << 2) + r37 | 0; - r55 = HEAP32[r54 >> 2] - 1 | 0; - HEAP32[r54 >> 2] = r55; - if ((r55 | 0) != 0) { - r53 = r40; - break; - } - __ZNSt3__15dequeIjNS_9allocatorIjEEE9push_backERKj(r8, r13); - r53 = HEAP32[r14]; - } - } while (0); - r51 = r53 + 1 | 0; - HEAP32[r14] = r51; - if (r51 >>> 0 < r17 >>> 0) { - r40 = r51; - } else { - break L930; - } - } - } - } while (0); - if ((HEAP32[r21 >> 2] | 0) == 0) { - break; - } - } - __ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED1Ev(r10); - __ZNSt3__16vectorIiNS_9allocatorIiEEED1Ev(r9); - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED1Ev(r6); - STACKTOP = r3; - return; -} -__ZN5Avoid7PtOrder4sortEj["X"] = 1; -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueES9_E4typeENS7_IPKS2_EESB_SB_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r6 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r7 = r6; - r8 = HEAP32[r2 >> 2]; - r9 = r8; - r10 = (r3 - r9 | 0) / 24 & -1; - r3 = r8 + (r10 * 24 & -1) | 0; - r11 = r4; - r12 = r5 - r11 | 0; - r13 = (r12 | 0) / 24 & -1; - if ((r12 | 0) <= 0) { - r14 = r3; - r15 = r1 | 0, r16 = r15 >> 2; - HEAP32[r16] = r14; - STACKTOP = r6; - return; - } - r12 = r2 + 8 | 0; - r17 = HEAP32[r2 + 4 >> 2]; - r18 = HEAP32[r12 >> 2]; - r19 = r17; - if ((r13 | 0) <= ((r18 - r19 | 0) / 24 & -1 | 0)) { - r20 = (r19 - r3 | 0) / 24 & -1; - if ((r13 | 0) > (r20 | 0)) { - r21 = r4 + (r20 * 24 & -1) | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r2, r21, r5); - r22 = r20; - r23 = r21; - } else { - r22 = r13; - r23 = r5; - } - if ((r22 | 0) <= 0) { - r14 = r3; - r15 = r1 | 0, r16 = r15 >> 2; - HEAP32[r16] = r14; - STACKTOP = r6; - return; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE12__move_rangeEPS2_S6_S6_(r2, r3, r17, r8 + ((r13 + r10) * 24 & -1) | 0); - _memmove(r3, r4, r23 - r11 | 0, 4, 0); - r14 = r3; - r15 = r1 | 0, r16 = r15 >> 2; - HEAP32[r16] = r14; - STACKTOP = r6; - return; - } - r11 = ((r19 - r9 | 0) / 24 & -1) + r13 | 0; - if (r11 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r13 = (r18 - r9 | 0) / 24 & -1; - if (r13 >>> 0 > 89478484) { - r24 = 178956970; - } else { - r9 = r13 << 1; - r24 = r9 >>> 0 < r11 >>> 0 ? r11 : r9; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r7, r24, r10, r12); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r7, r4, r5); - r5 = __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EEPS2_(r2, r7, r3); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r7); - r14 = r5; - r15 = r1 | 0, r16 = r15 >> 2; - HEAP32[r16] = r14; - STACKTOP = r6; - return; -} -__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueES9_E4typeENS7_IPKS2_EESB_SB_["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6insertENS_11__wrap_iterIPKS3_EERS8_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r5 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r6 = r5; - r7 = r5 + 20; - r8 = HEAP32[r2 >> 2]; - r9 = r8; - r10 = r3 - r9 >> 2; - r3 = (r10 << 2) + r8 | 0; - r11 = (r2 + 4 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r2 + 8 | 0; - r14 = HEAP32[r13 >> 2]; - if (r12 >>> 0 < r14 >>> 0) { - if ((r3 | 0) == (r12 | 0)) { - if ((r3 | 0) == 0) { - r15 = 0; - } else { - HEAP32[r3 >> 2] = HEAP32[r4 >> 2]; - r15 = HEAP32[r11]; - } - HEAP32[r11] = r15 + 4 | 0; - r16 = r3; - r17 = r1 | 0, r18 = r17 >> 2; - HEAP32[r18] = r16; - STACKTOP = r5; - return; - } else { - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE12__move_rangeEPS3_S7_S7_(r2, r3, r12, (r10 + 1 << 2) + r8 | 0); - if (r3 >>> 0 > r4 >>> 0) { - r19 = r4; - } else { - r19 = HEAP32[r11] >>> 0 > r4 >>> 0 ? r4 + 4 | 0 : r4; - } - HEAP32[r3 >> 2] = HEAP32[r19 >> 2]; - r16 = r3; - r17 = r1 | 0, r18 = r17 >> 2; - HEAP32[r18] = r16; - STACKTOP = r5; - return; - } - } - r19 = r12 - r9 + 4 >> 2 | 0; - if (r19 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r12 = r14 - r9 | 0; - if (r12 >> 2 >>> 0 > 536870910) { - r20 = 1073741823; - } else { - r9 = r12 >> 1; - r20 = r9 >>> 0 < r19 >>> 0 ? r19 : r9; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r7, r20, r10, r13); - r13 = (r7 + 8 | 0) >> 2; - r10 = HEAP32[r13]; - r20 = r7 + 12 | 0; - do { - if ((r10 | 0) == (HEAP32[r20 >> 2] | 0)) { - r9 = (r7 + 4 | 0) >> 2; - r19 = HEAP32[r9]; - r12 = r7 | 0; - r14 = HEAP32[r12 >> 2]; - if (r19 >>> 0 > r14 >>> 0) { - r11 = r19; - r8 = (r11 - r14 + 4 >> 2 | 0) / -2 & -1; - r15 = (r8 << 2) + r19 | 0; - r21 = r10 - r11 | 0; - _memmove(r15, r19, r21, 4, 0); - r11 = ((r21 >> 2) + r8 << 2) + r19 | 0; - HEAP32[r13] = r11; - HEAP32[r9] = r15; - r22 = r11; - break; - } - r11 = r10 - r14 >> 1; - r15 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r6, r15, r15 >>> 2, HEAP32[r7 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r6, r19, r10); - r15 = r6 | 0; - HEAP32[r12 >> 2] = HEAP32[r15 >> 2]; - HEAP32[r15 >> 2] = r14; - r14 = r6 + 4 | 0; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r19; - r19 = r6 + 8 | 0; - r14 = HEAP32[r19 >> 2]; - HEAP32[r13] = r14; - HEAP32[r19 >> 2] = r10; - r19 = r6 + 12 | 0; - HEAP32[r20 >> 2] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r10; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r6); - r22 = r14; - } else { - r22 = r10; - } - } while (0); - if ((r22 | 0) == 0) { - r23 = 0; - } else { - HEAP32[r22 >> 2] = HEAP32[r4 >> 2]; - r23 = r22; - } - HEAP32[r13] = r23 + 4 | 0; - r23 = __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EEPS3_(r2, r7, r3); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r7); - r16 = r23; - r17 = r1 | 0, r18 = r17 >> 2; - HEAP32[r18] = r16; - STACKTOP = r5; - return; -} -__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6insertENS_11__wrap_iterIPKS3_EERS8_["X"] = 1; -function __ZN5Avoid18ConnectorCrossingsC2ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r1, r2, r3, r4, r5, r6) { - var r7; - r7 = r1 >> 2; - HEAP32[r7] = r2; - HEAP8[r1 + 4 | 0] = r3 & 1; - HEAP32[r7 + 2] = r4; - HEAP8[r1 + 12 | 0] = 0; - HEAP32[r7 + 4] = r5; - HEAP32[r7 + 5] = r6; - HEAP32[r7 + 8] = 0; - HEAP32[r7 + 9] = 0; - HEAP32[r7 + 10] = 0; - return; -} -function __ZN5Avoid18ConnectorCrossings5clearEv(r1) { - var r2; - HEAP32[r1 + 24 >> 2] = 0; - HEAP32[r1 + 28 >> 2] = 0; - r2 = r1 + 44 | 0; - HEAPF64[tempDoublePtr >> 3] = 1.7976931348623157e+308, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r1 + 52 | 0; - HEAPF64[tempDoublePtr >> 3] = 1.7976931348623157e+308, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -function __ZN5Avoid7PtOrder11positionForEjPKNS_7ConnRefE(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = 0; - if ((HEAP8[r1 + r2 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid7PtOrder4sortEj(r1, r2); - } - r5 = HEAP32[r1 + (r2 * 12 & -1) + 52 >> 2]; - r6 = HEAP32[r1 + (r2 * 12 & -1) + 56 >> 2] - r5 >> 3; - r2 = 0; - while (1) { - if (r2 >>> 0 >= r6 >>> 0) { - r7 = -1; - r4 = 906; - break; - } - if ((HEAP32[r5 + (r2 << 3) + 4 >> 2] | 0) == (r3 | 0)) { - r7 = r2; - r4 = 905; - break; - } else { - r2 = r2 + 1 | 0; - } - } - if (r4 == 906) { - return r7; - } else if (r4 == 905) { - return r7; - } -} -function __ZN5Avoid7PtOrder16addOrderedPointsEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEES9_b(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12; - r6 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r7 = r6; - r8 = r6 + 8; - r9 = r6 + 16; - r10 = r5 ? r4 : r3; - r11 = HEAP32[r10 >> 2]; - HEAP32[r7 >> 2] = r11; - r12 = HEAP32[r10 + 4 >> 2]; - HEAP32[r7 + 4 >> 2] = r12; - r10 = r5 ? r3 : r4; - r4 = HEAP32[r10 >> 2]; - HEAP32[r8 >> 2] = r4; - r3 = HEAP32[r10 + 4 >> 2]; - HEAP32[r8 + 4 >> 2] = r3; - if ((r11 | 0) == (r4 | 0) & (r12 | 0) == (r3 | 0)) { - ___assert_func(5251956, 1319, 5256840, 5247440); - } - r3 = __ZN5Avoid7PtOrder11insertPointEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEE(r1, r2, r7); - HEAP32[r9 >> 2] = __ZN5Avoid7PtOrder11insertPointEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEE(r1, r2, r8); - HEAP32[r9 + 4 >> 2] = r3; - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9push_backERKS2_(r1 + (r2 * 12 & -1) + 28 | 0, r9); - STACKTOP = r6; - return; -} -function __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9push_backERKS2_(r1, r2) { - var r3, r4, r5, r6; - r3 = __Znwj(16), r4 = r3 >> 2; - r5 = r3; - r6 = r3 + 8 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r4 + 3] = HEAP32[r2 + 4 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r5; - HEAP32[r4] = HEAP32[r2]; - HEAP32[r2] = r5; - HEAP32[r4 + 1] = r1; - r4 = r1 + 8 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEEC1Ej(r1, r2) { - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEEC2Ej(r1, r2); - return; -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEE6assignEjRKb(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = STACKTOP; - STACKTOP = STACKTOP + 28 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 16; - r8 = r1 + 4 | 0; - HEAP32[r8 >> 2] = 0; - if ((r2 | 0) == 0) { - STACKTOP = r4; - return; - } - r9 = r1 + 8 | 0; - r10 = HEAP32[r9 >> 2]; - if (r10 << 5 >>> 0 < r2 >>> 0) { - r11 = r7 | 0; - HEAP32[r11 >> 2] = 0; - r12 = r7 + 4 | 0; - HEAP32[r12 >> 2] = 0; - HEAP32[r7 + 8 >> 2] = 0; - if ((r2 | 0) < 0) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r13 = HEAP32[r9 >> 2]; - } else { - r13 = r10; - } - if (r13 << 5 >>> 0 > 1073741822) { - r14 = 2147483647; - } else { - r10 = r13 << 6; - r13 = r2 + 31 & -32; - r14 = r10 >>> 0 < r13 >>> 0 ? r13 : r10; - } - __ZNSt3__16vectorIbNS_9allocatorIbEEE7reserveEj(r7, r14); - HEAP32[r12 >> 2] = r2; - __ZNSt3__16vectorIbNS_9allocatorIbEEE4swapERS3_(r1, r7); - __ZNSt3__16vectorIbNS_9allocatorIbEEED1Ev(HEAP32[r11 >> 2]); - } else { - HEAP32[r8 >> 2] = r2; - } - r8 = HEAP32[r1 >> 2]; - if ((HEAP8[r3] & 1) << 24 >> 24 == 0) { - HEAP32[r6 >> 2] = r8; - HEAP32[r6 + 4 >> 2] = 0; - __ZNSt3__114__fill_n_falseINS_6vectorIbNS_9allocatorIbEEEEEEvNS_14__bit_iteratorIT_Lb0EEENS6_9size_typeE(r6, r2); - STACKTOP = r4; - return; - } else { - HEAP32[r5 >> 2] = r8; - HEAP32[r5 + 4 >> 2] = 0; - __ZNSt3__113__fill_n_trueINS_6vectorIbNS_9allocatorIbEEEEEEvNS_14__bit_iteratorIT_Lb0EEENS6_9size_typeE(r5, r2); - STACKTOP = r4; - return; - } -} -__ZNSt3__16vectorIbNS_9allocatorIbEEE6assignEjRKb["X"] = 1; -function __ZNSt3__16vectorIiNS_9allocatorIiEEEC1Ej(r1, r2) { - __ZNSt3__16vectorIiNS_9allocatorIiEEEC2Ej(r1, r2); - return; -} -function __ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED1Ev(r1) { - __ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIiNS_9allocatorIiEEED1Ev(r1) { - __ZNSt3__16vectorIiNS_9allocatorIiEEED2Ev(r1); - return; -} -function __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED1Ev(r1) { - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid22splitBranchingSegmentsERNS_7PolygonEbS1_d(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r7 = r6; - r8 = r6 + 4; - r9 = r6 + 8; - r10 = r6 + 12; - r11 = r3 + 8 | 0; - r12 = (r11 | 0) >> 2; - r13 = HEAP32[r12]; - r14 = r3 + 12 | 0; - r3 = HEAP32[r14 >> 2]; - if ((r13 | 0) == (r3 | 0)) { - STACKTOP = r6; - return; - } - r15 = r1 + 8 | 0; - r16 = (r15 | 0) >> 2; - r17 = (r1 + 12 | 0) >> 2; - r1 = r9 | 0; - r18 = r7 | 0; - r19 = r8 | 0; - r20 = r10 | 0; - r21 = r13; - r22 = r13; - r13 = r3; - while (1) { - if ((r21 | 0) == (r22 | 0)) { - r23 = r22; - r24 = r13; - } else { - r3 = HEAP32[r16]; - r25 = HEAP32[r17]; - L1050 : do { - if ((r3 | 0) == (r25 | 0)) { - r26 = r21; - } else { - r27 = r3; - r28 = r21; - r29 = r25; - while (1) { - r30 = r27 - 24 | 0; - r31 = r28; - r32 = r29; - while (1) { - r33 = (r27 | 0) == (HEAP32[r16] | 0); - if (r33 & r2) { - r5 = 942; - break; - } - r34 = r31 - 24 | 0; - r35 = r33 ? r32 : r27; - r36 = r35 - 24 | 0; - if ((r34 | 0) == (HEAP32[r12] | 0)) { - if (__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r36, r27, r34, r4)) { - r5 = 946; - break; - } - } - if (__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r36, r27, r31, r4)) { - r5 = 949; - break; - } - if (!r2) { - r5 = 955; - break; - } - if ((r30 | 0) != (HEAP32[r16] | 0)) { - r5 = 955; - break; - } - if (!__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r34, r31, r36, r4)) { - r5 = 955; - break; - } - r33 = r35 - 24 + 20 | 0; - HEAP16[r33 >> 1] = __ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_(r34, r31, HEAP16[r33 >> 1]) & 65535; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_(r9, r11, r31, r36); - r33 = HEAP32[r1 >> 2]; - r35 = HEAP32[r17]; - if ((r27 | 0) == (r35 | 0)) { - r26 = r33; - break L1050; - } else { - r31 = r33; - r32 = r35; - } - } - do { - if (r5 == 942) { - r5 = 0; - r37 = r31; - r38 = r27 + 24 | 0; - } else if (r5 == 955) { - r5 = 0; - if (__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r34, r31, r27, r4)) { - r32 = r27 + 20 | 0; - HEAP16[r32 >> 1] = __ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_(r34, r31, HEAP16[r32 >> 1]) & 65535; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_(r10, r11, r31, r27); - r39 = HEAP32[r20 >> 2]; - } else { - r39 = r31; - } - r37 = r39; - r38 = r27 + 24 | 0; - } else if (r5 == 946) { - r5 = 0; - r32 = r31 - 24 + 20 | 0; - HEAP16[r32 >> 1] = __ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_(r36, r27, HEAP16[r32 >> 1]) & 65535; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_(r7, r15, r27, r34); - r32 = HEAP32[r18 >> 2]; - if ((r32 | 0) == (HEAP32[r16] | 0)) { - r37 = r31; - r38 = r32; - break; - } - r37 = r31; - r38 = r32 - 24 | 0; - } else if (r5 == 949) { - r5 = 0; - r32 = r31 + 20 | 0; - HEAP16[r32 >> 1] = __ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_(r36, r27, HEAP16[r32 >> 1]) & 65535; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_(r8, r15, r27, r31); - r32 = HEAP32[r19 >> 2]; - if ((r32 | 0) == (HEAP32[r16] | 0)) { - r37 = r31; - r38 = r32; - break; - } - r37 = r31; - r38 = r32 - 24 | 0; - } - } while (0); - r31 = HEAP32[r17]; - if ((r38 | 0) == (r31 | 0)) { - r26 = r37; - break L1050; - } else { - r27 = r38; - r28 = r37; - r29 = r31; - } - } - } - } while (0); - r23 = r26; - r24 = HEAP32[r14 >> 2]; - } - r25 = r23 + 24 | 0; - if ((r25 | 0) == (r24 | 0)) { - break; - } - r21 = r25; - r22 = HEAP32[r12]; - r13 = r24; - } - STACKTOP = r6; - return; -} -__ZN5Avoid22splitBranchingSegmentsERNS_7PolygonEbS1_d["X"] = 1; -function __ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - if (r3 << 16 >> 16 != 8) { - r4 = r3 & 65535; - return r4; - } - r3 = r1 + 20 | 0; - r5 = HEAP16[r3 >> 1]; - r6 = r5 & 65535; - if ((r5 - 4 & 65535) < 4) { - r4 = r6; - return r4; - } - r7 = r2 + 20 | 0; - r8 = HEAP16[r7 >> 1]; - if ((r8 - 4 & 65535) < 4) { - r4 = r8 & 65535; - return r4; - } - if (((r8 | r5) & 65535) < 4) { - return r5 << 16 >> 16 == r8 << 16 >> 16 ? r6 + 4 | 0 : r6; - } - r6 = (r1 | 0) >> 2; - r8 = (r2 | 0) >> 2; - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3])) { - r9 = r5; - } else { - r10 = r1 + 8 | 0; - r11 = r2 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r9 = r5; - break; - } - ___assert_func(5251956, 1439, 5255820, 5245832); - r9 = HEAP16[r3 >> 1]; - } - } while (0); - if (r9 << 16 >> 16 != 8) { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3])) { - return (r9 - 2 & 65535) < 2 ? 6 : 4; - } - if (r9 << 16 >> 16 == 0 | r9 << 16 >> 16 == 3) { - r4 = 7; - return r4; - } - r4 = 5; - return r4; - } - r9 = HEAP16[r7 >> 1]; - if (r9 << 16 >> 16 == 8) { - r4 = 8; - return r4; - } - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3])) { - r4 = (r9 - 2 & 65535) < 2 ? 6 : 4; - return r4; - } - if (r9 << 16 >> 16 == 0 | r9 << 16 >> 16 == 3) { - r4 = 7; - return r4; - } - r4 = 5; - return r4; -} -__ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_["X"] = 1; -function __ZN5Avoid18ConnectorCrossingsC1ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r1, r2, r3, r4, r5, r6) { - __ZN5Avoid18ConnectorCrossingsC2ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r1, r2, r3, r4, r5, r6); - return; -} -function __ZN5Avoid7PtOrder11insertPointEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r6 = r5; - r7 = r5 + 20; - r8 = r1 + (r2 * 12 & -1) + 4 | 0; - r9 = (r1 + (r2 * 12 & -1) + 8 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = r8 | 0; - r12 = HEAP32[r11 >> 2]; - r13 = r12; - r14 = r10 - r13 >> 3; - r15 = (r3 + 4 | 0) >> 2; - r16 = 0; - while (1) { - if (r16 >>> 0 >= r14 >>> 0) { - break; - } - if ((HEAP32[r12 + (r16 << 3) + 4 >> 2] | 0) == (HEAP32[r15] | 0)) { - r17 = r16; - r4 = 1021; - break; - } else { - r16 = r16 + 1 | 0; - } - } - if (r4 == 1021) { - STACKTOP = r5; - return r17; - } - r4 = r1 + (r2 * 12 & -1) + 12 | 0; - r2 = HEAP32[r4 >> 2]; - if (r10 >>> 0 < r2 >>> 0) { - if ((r10 | 0) == 0) { - r18 = 0; - } else { - HEAP32[r10 >> 2] = HEAP32[r3 >> 2]; - HEAP32[r10 + 4 >> 2] = HEAP32[r15]; - r18 = HEAP32[r9]; - } - r10 = r18 + 8 | 0; - HEAP32[r9] = r10; - r19 = r10; - } else { - r10 = r14 + 1 | 0; - if (r10 >>> 0 > 536870911) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r18 = r2 - r13 | 0; - if (r18 >> 3 >>> 0 > 268435454) { - r20 = 536870911; - } else { - r13 = r18 >> 2; - r20 = r13 >>> 0 < r10 >>> 0 ? r10 : r13; - } - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_(r7, r20, r14, r4); - r4 = (r7 + 8 | 0) >> 2; - r14 = HEAP32[r4]; - r20 = r7 + 12 | 0; - do { - if ((r14 | 0) == (HEAP32[r20 >> 2] | 0)) { - r13 = (r7 + 4 | 0) >> 2; - r10 = HEAP32[r13]; - r18 = r10; - r2 = r7 | 0; - r1 = HEAP32[r2 >> 2]; - if (r10 >>> 0 <= r1 >>> 0) { - r16 = r14 - r1 >> 2; - r12 = (r16 | 0) == 0 ? 1 : r16; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_(r6, r12, r12 >>> 2, HEAP32[r7 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESH_SH_(r6, r10, r14); - r12 = r6 | 0; - HEAP32[r2 >> 2] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r1; - r12 = r6 + 4 | 0; - HEAP32[r13] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r10; - r12 = r6 + 8 | 0; - r2 = HEAP32[r12 >> 2]; - HEAP32[r4] = r2; - HEAP32[r12 >> 2] = r14; - r12 = r6 + 12 | 0; - HEAP32[r20 >> 2] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev(r6); - r21 = r2; - break; - } - r2 = (r18 - r1 + 8 >> 3 | 0) / -2 & -1; - r1 = (r2 << 3) + r10 | 0; - if ((r10 | 0) == (r14 | 0)) { - r22 = r1; - r23 = r14; - } else { - r12 = r2 + ((r14 - 8 + -r18 | 0) >>> 3) + 1 | 0; - r18 = r1; - r1 = r10; - while (1) { - HEAP32[r18 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r18 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - r16 = r1 + 8 | 0; - if ((r16 | 0) == (r14 | 0)) { - break; - } else { - r18 = r18 + 8 | 0; - r1 = r16; - } - } - r22 = (r12 << 3) + r10 | 0; - r23 = HEAP32[r13]; - } - HEAP32[r4] = r22; - HEAP32[r13] = (r2 << 3) + r23 | 0; - r21 = r22; - } else { - r21 = r14; - } - } while (0); - if ((r21 | 0) == 0) { - r24 = 0; - } else { - HEAP32[r21 >> 2] = HEAP32[r3 >> 2]; - HEAP32[r21 + 4 >> 2] = HEAP32[r15]; - r24 = HEAP32[r4]; - } - HEAP32[r4] = r24 + 8 | 0; - __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS9_EE(r8, r7); - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev(r7); - r19 = HEAP32[r9]; - } - r17 = (r19 - HEAP32[r11 >> 2] >> 3) - 1 | 0; - STACKTOP = r5; - return r17; -} -__ZN5Avoid7PtOrder11insertPointEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEE["X"] = 1; -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r5 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r6 = r5; - r7 = r5 + 20; - r8 = HEAP32[r2 >> 2]; - r9 = r8; - r10 = (r3 - r9 | 0) / 24 & -1; - r3 = r8 + (r10 * 24 & -1) | 0; - r11 = (r2 + 4 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r2 + 8 | 0; - r14 = HEAP32[r13 >> 2]; - if (r12 >>> 0 < r14 >>> 0) { - if ((r3 | 0) == (r12 | 0)) { - if ((r3 | 0) == 0) { - r15 = 0; - } else { - r16 = r3 >> 2; - r17 = r4 >> 2; - HEAP32[r16] = HEAP32[r17]; - HEAP32[r16 + 1] = HEAP32[r17 + 1]; - HEAP32[r16 + 2] = HEAP32[r17 + 2]; - HEAP32[r16 + 3] = HEAP32[r17 + 3]; - HEAP32[r16 + 4] = HEAP32[r17 + 4]; - HEAP32[r16 + 5] = HEAP32[r17 + 5]; - r15 = HEAP32[r11]; - } - HEAP32[r11] = r15 + 24 | 0; - r18 = r3; - r19 = r1 | 0, r20 = r19 >> 2; - HEAP32[r20] = r18; - STACKTOP = r5; - return; - } else { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE12__move_rangeEPS2_S6_S6_(r2, r3, r12, r8 + ((r10 + 1) * 24 & -1) | 0); - if (r3 >>> 0 > r4 >>> 0) { - r21 = r4; - } else { - r21 = HEAP32[r11] >>> 0 > r4 >>> 0 ? r4 + 24 | 0 : r4; - } - r11 = r3; - r8 = r21; - HEAP32[r11 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r11 + 4 >> 2] = HEAP32[r8 + 4 >> 2]; - HEAP32[r11 + 8 >> 2] = HEAP32[r8 + 8 >> 2]; - HEAP32[r11 + 12 >> 2] = HEAP32[r8 + 12 >> 2]; - HEAP32[r11 + 16 >> 2] = HEAP32[r8 + 16 >> 2]; - HEAP16[r11 + 20 >> 1] = HEAP16[r8 + 20 >> 1]; - r18 = r3; - r19 = r1 | 0, r20 = r19 >> 2; - HEAP32[r20] = r18; - STACKTOP = r5; - return; - } - } - r8 = ((r12 - r9 | 0) / 24 & -1) + 1 | 0; - if (r8 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r12 = (r14 - r9 | 0) / 24 & -1; - if (r12 >>> 0 > 89478484) { - r22 = 178956970; - } else { - r9 = r12 << 1; - r22 = r9 >>> 0 < r8 >>> 0 ? r8 : r9; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r7, r22, r10, r13); - r13 = (r7 + 8 | 0) >> 2; - r10 = HEAP32[r13]; - r22 = r7 + 12 | 0; - do { - if ((r10 | 0) == (HEAP32[r22 >> 2] | 0)) { - r9 = (r7 + 4 | 0) >> 2; - r8 = HEAP32[r9]; - r12 = r7 | 0; - r14 = HEAP32[r12 >> 2]; - if (r8 >>> 0 > r14 >>> 0) { - r11 = r8; - r21 = (((r11 - r14 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r15 = r8 + (r21 * 24 & -1) | 0; - r17 = r10 - r11 | 0; - _memmove(r15, r8, r17, 4, 0); - r11 = r8 + ((((r17 | 0) / 24 & -1) + r21) * 24 & -1) | 0; - HEAP32[r13] = r11; - HEAP32[r9] = r15; - r23 = r11; - break; - } - r11 = ((r10 - r14 | 0) / 24 & -1) << 1; - r15 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r6, r15, r15 >>> 2, HEAP32[r7 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r6, r8, r10); - r15 = r6 | 0; - HEAP32[r12 >> 2] = HEAP32[r15 >> 2]; - HEAP32[r15 >> 2] = r14; - r14 = r6 + 4 | 0; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r8; - r8 = r6 + 8 | 0; - r14 = HEAP32[r8 >> 2]; - HEAP32[r13] = r14; - HEAP32[r8 >> 2] = r10; - r8 = r6 + 12 | 0; - HEAP32[r22 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r8 >> 2] = r10; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r6); - r23 = r14; - } else { - r23 = r10; - } - } while (0); - if ((r23 | 0) != 0) { - r10 = r23 >> 2; - r6 = r4 >> 2; - HEAP32[r10] = HEAP32[r6]; - HEAP32[r10 + 1] = HEAP32[r6 + 1]; - HEAP32[r10 + 2] = HEAP32[r6 + 2]; - HEAP32[r10 + 3] = HEAP32[r6 + 3]; - HEAP32[r10 + 4] = HEAP32[r6 + 4]; - HEAP32[r10 + 5] = HEAP32[r6 + 5]; - } - HEAP32[r13] = r23 + 24 | 0; - r23 = __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EEPS2_(r2, r7, r3); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r7); - r18 = r23; - r19 = r1 | 0, r20 = r19 >> 2; - HEAP32[r20] = r18; - STACKTOP = r5; - return; -} -__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_["X"] = 1; -function __ZN5Avoid18ConnectorCrossings15countForSegmentEjb(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114, r115, r116, r117, r118, r119, r120, r121, r122, r123, r124, r125, r126, r127, r128, r129, r130, r131, r132, r133, r134, r135, r136, r137, r138, r139, r140, r141, r142; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 356 | 0; - r6 = r5; - r7 = r5 + 8; - r8 = r5 + 28; - r9 = r5 + 48; - r10 = r5 + 56; - r11 = r5 + 64; - r12 = r5 + 160; - r13 = r5 + 256; - r14 = r5 + 268; - r15 = r5 + 276; - r16 = r5 + 284; - r17 = r5 + 292; - r18 = r5 + 300; - r19 = r5 + 308; - r20 = r5 + 316; - r21 = r5 + 324; - r22 = r5 + 332; - __ZN5Avoid18ConnectorCrossings5clearEv(r1); - if ((HEAP8[r1 + 12 | 0] & 1) << 24 >> 24 == 0) { - r23 = r2; - } else { - r24 = (r1 + 8 | 0) >> 2; - r25 = HEAP32[r24]; - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 16 >> 2]](r25); - r25 = (HEAP8[r1 + 4 | 0] & 1) << 24 >> 24 != 0; - __ZN5Avoid22splitBranchingSegmentsERNS_7PolygonEbS1_d(HEAP32[r1 >> 2], r25, HEAP32[r24], r25 ? 0 : 2.220446049250313e-16); - r25 = HEAP32[r24]; - r23 = r2 - r26 + FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 16 >> 2]](r25) | 0; - } - if ((r23 | 0) == 0) { - ___assert_func(5251956, 1684, 5260180, 5247168); - } - r25 = (r1 + 8 | 0) >> 2; - r26 = HEAP32[r25]; - if (r23 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r26 >> 2] + 16 >> 2]](r26) >>> 0) { - ___assert_func(5251956, 1685, 5260180, 5247052); - } - r26 = (r1 + 16 | 0) >> 2; - r2 = HEAP32[r26]; - if ((r2 | 0) == 0) { - r27 = 1; - } else { - r27 = (__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r2 + 8 >> 2]) | 0) != 2; - } - r2 = (r1 + 20 | 0) >> 2; - r24 = HEAP32[r2]; - if ((r24 | 0) == 0) { - r28 = 1; - } else { - r28 = (__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r24 + 8 >> 2]) | 0) != 2; - } - r24 = (r1 | 0) >> 2; - r29 = HEAP32[r24]; - r30 = FUNCTION_TABLE[HEAP32[HEAP32[r29 >> 2] + 16 >> 2]](r29); - r29 = HEAP32[r25]; - r31 = r23 - 1 | 0; - r32 = HEAP32[r29 + 8 >> 2]; - r33 = r32 + (r31 * 24 & -1) | 0; - r34 = r32 + (r23 * 24 & -1) | 0; - r35 = FUNCTION_TABLE[HEAP32[HEAP32[r29 >> 2] + 16 >> 2]](r29); - r29 = _llvm_umul_with_overflow_i32(r35 >>> 0 < r30 >>> 0 ? r35 : r30, 4); - r35 = tempRet0 ? -1 : r29; - r29 = __Znaj(r35); - r36 = r29, r37 = r36 >> 2; - r38 = __Znaj(r35); - r35 = r38, r39 = r35 >> 2; - r40 = r1 + 4 | 0; - r41 = HEAP8[r40] & 1; - L1205 : do { - if (r41 >>> 0 < r30 >>> 0) { - r42 = r30 - 1 | 0; - r43 = (r1 + 28 | 0) >> 2; - r44 = r1 + 40 | 0; - r45 = r27 | r28; - r46 = (r1 + 52 | 0) >> 2; - r47 = (r1 + 44 | 0) >> 2; - r48 = r38 + 4 | 0; - r49 = r38 + 8 | 0; - r50 = (r29 + 4 | 0) >> 2; - r51 = (r29 + 8 | 0) >> 2; - r52 = (r1 + 36 | 0) >> 2; - r53 = r14 | 0; - r54 = r14 + 4 | 0; - r55 = r15 | 0; - r56 = r15 + 4 | 0; - r57 = r16 | 0; - r58 = r16 + 4 | 0; - r59 = r17 | 0; - r60 = r17 + 4 | 0; - r61 = (r1 + 24 | 0) >> 2; - r62 = (r1 + 32 | 0) >> 2; - r63 = (r8 + 8 | 0) >> 2; - r64 = r8 + 12 | 0; - r65 = (r8 + 4 | 0) >> 2; - r66 = r8 | 0; - r67 = r8 + 16 | 0; - r68 = r7 | 0; - r69 = r7 + 4 | 0; - r70 = r7 + 8 | 0; - r71 = r7 + 12 | 0; - r72 = r13 | 0; - r73 = r30 << 1; - r74 = r23 - 2 | 0; - r75 = r30 - 2 | 0; - r76 = r33 | 0; - r77 = r32 + (r31 * 24 & -1) + 8 | 0; - r78 = r18 | 0; - r79 = r18 + 4 | 0; - r80 = r19 | 0; - r81 = r19 + 4 | 0; - r82 = r20 | 0; - r83 = r20 + 4 | 0; - r84 = r21 | 0; - r85 = r21 + 4 | 0; - r86 = r32 + (r23 * 24 & -1) + 8 | 0; - r87 = r34 | 0; - r88 = r22 | 0; - r89 = r22 + 8 | 0; - r90 = (r23 | 0) > -1; - r91 = r11 + 84 | 0; - r92 = r12 + 84 | 0; - r93 = r12 + 36 | 0; - r94 = r11 + 36 | 0; - r95 = r23 >>> 0 < 2; - r96 = r41; - while (1) { - r97 = (HEAP32[r24] + 8 | 0) >> 2; - r98 = HEAP32[r97]; - r99 = r98 + (((r42 + r96 | 0) >>> 0) % (r30 >>> 0) * 24 & -1) | 0; - r100 = r98 + (r96 * 24 & -1) | 0; - r101 = __ZNK5Avoid5PointeqERKS0_(r33, r99); - r102 = __ZNK5Avoid5PointeqERKS0_(r34, r99); - r103 = __ZNK5Avoid5PointeqERKS0_(r34, r100); - r104 = __ZNK5Avoid5PointeqERKS0_(r33, r100); - L1209 : do { - if (r101 & r103 | r102 & r104) { - if (!r3) { - break; - } - r105 = r103 & 1; - r106 = r103 ? -1 : 1; - r107 = ((r103 ^ 1) << 31 >> 31) + r96 | 0; - r4 = 1071; - break; - } else { - if (r102 | r103 | r104) { - break; - } - if (r101) { - r108 = HEAP8[r40] & 1; - if (r108 << 24 >> 24 != 0 & (r96 | 0) == 1) { - break; - } - r109 = r96 - 2 | 0; - r110 = r98 + (((r109 + r30 | 0) >>> 0) % (r30 >>> 0) * 24 & -1) | 0; - if (__ZNK5Avoid5PointeqERKS0_(r34, r110) | r95) { - break; - } - r111 = HEAP32[HEAP32[r25] + 8 >> 2]; - r112 = r111 + (r74 * 24 & -1) | 0; - do { - if (!__ZNK5Avoid5PointeqERKS0_(r112, r100)) { - if (__ZNK5Avoid5PointeqERKS0_(r112, r110)) { - break; - } - if (r108 << 24 >> 24 == 0 | r96 >>> 0 > 1) { - r113 = r98; - r114 = r111; - } else { - ___assert_func(5251956, 2267, 5260180, 5246300); - r113 = HEAP32[HEAP32[r24] + 8 >> 2]; - r114 = HEAP32[HEAP32[r25] + 8 >> 2]; - } - r115 = r114 + (r74 * 24 & -1) | 0; - do { - if ((__ZN5Avoid10cornerSideERKNS_5PointES2_S2_S2_(r115, r33, r34, r113 + (((r75 + r96 | 0) >>> 0) % (r30 >>> 0) * 24 & -1) | 0) | 0) != (__ZN5Avoid10cornerSideERKNS_5PointES2_S2_S2_(r115, r33, r34, r100) | 0)) { - HEAP32[r61] = HEAP32[r61] + 1 | 0; - r116 = HEAP32[r62]; - if ((r116 | 0) == 0) { - break; - } - __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r9, r116 | 0, r33); - } - } while (0); - HEAP32[r43] = HEAP32[r43] | 1; - r116 = HEAP32[r52]; - if ((r116 | 0) == 0 | r27 | r28) { - break L1209; - } - r117 = r115 | 0; - r118 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r76 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r76 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r118 < r117) { - r119 = 0; - } else { - r119 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r87 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r87 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) >= r117; - } - r117 = r114 + (r74 * 24 & -1) + 8 | 0; - r118 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r77 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r77 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r118 < r117) { - r120 = 0; - } else { - r120 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r86 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r86 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) >= r117; - } - r117 = __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_(r116, r99); - r116 = HEAP32[r26]; - HEAP32[r78 >> 2] = r99; - HEAP32[r79 >> 2] = r116; - r116 = HEAP32[r2]; - HEAP32[r80 >> 2] = r33; - HEAP32[r81 >> 2] = r116; - __ZN5Avoid7PtOrder16addOrderedPointsEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEES9_b(r117, 0, r18, r19, r119); - r117 = __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_(HEAP32[r52], r99); - r116 = HEAP32[r26]; - HEAP32[r82 >> 2] = r99; - HEAP32[r83 >> 2] = r116; - r116 = HEAP32[r2]; - HEAP32[r84 >> 2] = r33; - HEAP32[r85 >> 2] = r116; - __ZN5Avoid7PtOrder16addOrderedPointsEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEES9_b(r117, 1, r20, r21, r120); - break L1209; - } - } while (0); - r111 = __ZNK5Avoid5PointeqERKS0_(r112, r110); - r105 = r111 & 1; - r106 = r111 ? -1 : 1; - r107 = r111 ? r96 : r109; - r4 = 1071; - break; - } - if (!r45) { - break; - } - __ZN5Avoid5PointC1Ev(r22); - if ((__ZN5Avoid21segmentIntersectPointERKNS_5PointES2_S2_S2_PdS3_(r33, r34, r99, r100, r88, r89) | 0) != 1) { - break; - } - L1239 : do { - if ((HEAP8[r40] & 1) << 24 >> 24 == 0) { - do { - if (!__ZNK5Avoid5PointeqERKS0_(r33, r22)) { - if (__ZNK5Avoid5PointeqERKS0_(r34, r22)) { - break; - } - if (__ZNK5Avoid5PointeqERKS0_(r99, r22)) { - break; - } - if (!__ZNK5Avoid5PointeqERKS0_(r100, r22)) { - break L1239; - } - } - } while (0); - if (!__ZNK5Avoid5PointneERKS0_(r33, r22)) { - ___assert_func(5251956, 2366, 5260180, 5246260); - } - if (!__ZNK5Avoid5PointneERKS0_(r34, r22)) { - ___assert_func(5251956, 2367, 5260180, 5246164); - } - if (!__ZNK5Avoid5PointneERKS0_(r99, r22)) { - ___assert_func(5251956, 2368, 5260180, 5246152); - } - if (__ZNK5Avoid5PointneERKS0_(r100, r22)) { - break L1209; - } - ___assert_func(5251956, 2369, 5260180, 5246008); - break L1209; - } - } while (0); - HEAP32[r61] = HEAP32[r61] + 1 | 0; - r109 = HEAP32[r62]; - if ((r109 | 0) == 0) { - break; - } - __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r10, r109 | 0, r22); - break; - } - } while (0); - if (r4 == 1071) { - r4 = 0; - HEAP32[r43] = HEAP32[r43] | 2; - L1260 : do { - if (r90) { - r100 = (HEAP8[r40] & 1) << 24 >> 24 == 0; - r99 = r107; - r98 = r23; - r101 = 0; - while (1) { - if (!r100) { - if (!((r99 | 0) > -1 & (r99 | 0) < (r30 | 0))) { - r121 = r101; - break L1260; - } - } - r104 = ((r99 + r73 | 0) >>> 0) % (r30 >>> 0); - r103 = HEAP32[r25] + 8 | 0; - HEAP32[(r101 << 2 >> 2) + r37] = HEAP32[r103 >> 2] + (r98 * 24 & -1) | 0; - HEAP32[(r101 << 2 >> 2) + r39] = HEAP32[r97] + (r104 * 24 & -1) | 0; - r102 = r101 + 1 | 0; - if (r102 >>> 0 > 1) { - if (__ZNK5Avoid5PointneERKS0_(HEAP32[r103 >> 2] + (r98 * 24 & -1) | 0, HEAP32[r97] + (r104 * 24 & -1) | 0)) { - r121 = r102; - break L1260; - } - } - if ((r98 | 0) > 0) { - r99 = r99 + r106 | 0; - r98 = r98 - 1 | 0; - r101 = r102; - } else { - r121 = r102; - break L1260; - } - } - } else { - r121 = 0; - } - } while (0); - r97 = __ZNK5Avoid5PointeqERKS0_(HEAP32[r37], HEAP32[r39]); - r101 = r121 - 1 | 0; - r98 = ((r101 << 2) + r36 | 0) >> 2; - r99 = ((r101 << 2) + r35 | 0) >> 2; - r101 = __ZNK5Avoid5PointeqERKS0_(HEAP32[r98], HEAP32[r99]); - do { - if ((HEAP32[r26] | 0) == 0) { - r122 = 0; - } else { - r100 = HEAP32[r2]; - if (!((r100 | 0) != 0 & (r97 | r101))) { - r122 = 0; - break; - } - __ZNK5Avoid7ConnRef16endpointConnEndsEv(r11, r100); - __ZNK5Avoid7ConnRef16endpointConnEndsEv(r12, HEAP32[r26]); - if (r97) { - r123 = __ZNK5Avoid7ConnEnd8junctionEv(HEAP32[r91 >> 2]); - } else { - r123 = __ZNK5Avoid7ConnEnd8junctionEv(HEAP32[r94 >> 2]); - } - if (r101 ^ r105 << 24 >> 24 != 0) { - r124 = __ZNK5Avoid7ConnEnd8junctionEv(HEAP32[r92 >> 2]); - } else { - r124 = __ZNK5Avoid7ConnEnd8junctionEv(HEAP32[r93 >> 2]); - } - __ZNSt3__14pairIN5Avoid7ConnEndES2_ED1Ev(r12); - __ZNSt3__14pairIN5Avoid7ConnEndES2_ED1Ev(r11); - r122 = (r123 | 0) == (r124 | 0) & (r123 | 0) != 0; - } - } while (0); - if ((HEAP32[r44 >> 2] | 0) != 0) { - r100 = r97 & 1 ^ 1; - r102 = r121 - (r101 & 1 ^ 1) | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1Ej(r13, r102 - r100 | 0); - L1287 : do { - if (r100 >>> 0 < r102 >>> 0) { - r104 = HEAP32[r72 >> 2]; - r103 = r100; - while (1) { - r109 = r104 + ((r103 - r100) * 24 & -1) | 0; - r110 = HEAP32[(r103 << 2 >> 2) + r37]; - HEAP32[r109 >> 2] = HEAP32[r110 >> 2]; - HEAP32[r109 + 4 >> 2] = HEAP32[r110 + 4 >> 2]; - HEAP32[r109 + 8 >> 2] = HEAP32[r110 + 8 >> 2]; - HEAP32[r109 + 12 >> 2] = HEAP32[r110 + 12 >> 2]; - HEAP32[r109 + 16 >> 2] = HEAP32[r110 + 16 >> 2]; - HEAP16[r109 + 20 >> 1] = HEAP16[r110 + 20 >> 1]; - r110 = r103 + 1 | 0; - if ((r110 | 0) == (r102 | 0)) { - break L1287; - } else { - r103 = r110; - } - } - } - } while (0); - r102 = HEAP32[r44 >> 2]; - r100 = (r102 + 4 | 0) >> 2; - r103 = HEAP32[r100]; - r104 = r102 + 8 | 0; - r110 = r104 | 0; - r109 = HEAP32[r110 >> 2]; - if (r103 >>> 0 < r109 >>> 0) { - if ((r103 | 0) == 0) { - r125 = 0; - } else { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r103, r13); - r125 = HEAP32[r100]; - } - HEAP32[r100] = r125 + 12 | 0; - } else { - r112 = r102 | 0; - r115 = HEAP32[r112 >> 2]; - r111 = ((r103 - r115 | 0) / 12 & -1) + 1 | 0; - if (r111 >>> 0 > 357913941) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r126 = HEAP32[r110 >> 2]; - r127 = HEAP32[r112 >> 2]; - } else { - r126 = r109; - r127 = r115; - } - r115 = r127; - r109 = (r126 - r115 | 0) / 12 & -1; - if (r109 >>> 0 > 178956969) { - r128 = 357913941; - } else { - r112 = r109 << 1; - r128 = r112 >>> 0 < r111 >>> 0 ? r111 : r112; - } - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC1EjjS8_(r8, r128, (HEAP32[r100] - r115 | 0) / 12 & -1, r104); - r104 = HEAP32[r63]; - do { - if ((r104 | 0) == (HEAP32[r64 >> 2] | 0)) { - r115 = HEAP32[r65]; - r100 = HEAP32[r66 >> 2]; - if (r115 >>> 0 <= r100 >>> 0) { - r112 = ((r104 - r100 | 0) / 12 & -1) << 1; - r111 = (r112 | 0) == 0 ? 1 : r112; - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC1EjjS8_(r7, r111, r111 >>> 2, HEAP32[r67 >> 2]); - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endINS_13move_iteratorIPS6_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESF_SF_(r7, r115, r104); - HEAP32[r66 >> 2] = HEAP32[r68 >> 2]; - HEAP32[r68 >> 2] = r100; - HEAP32[r65] = HEAP32[r69 >> 2]; - HEAP32[r69 >> 2] = r115; - r111 = HEAP32[r70 >> 2]; - HEAP32[r63] = r111; - HEAP32[r70 >> 2] = r104; - HEAP32[r64 >> 2] = HEAP32[r71 >> 2]; - HEAP32[r71 >> 2] = r104; - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED1Ev(r7); - r129 = r111; - break; - } - r111 = (((r115 - r100 | 0) / 12 & -1) + 1 | 0) / -2 & -1; - r100 = r115 + (r111 * 12 & -1) | 0; - if ((r115 | 0) == (r104 | 0)) { - r130 = r100; - r131 = r104; - } else { - r112 = r100; - r100 = r115; - while (1) { - if ((r112 | 0) != (r100 | 0)) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r112, HEAP32[r100 >> 2], HEAP32[r100 + 4 >> 2]); - } - r115 = r100 + 12 | 0; - r132 = r112 + 12 | 0; - if ((r115 | 0) == (r104 | 0)) { - break; - } else { - r112 = r132; - r100 = r115; - } - } - r130 = r132; - r131 = HEAP32[r65]; - } - HEAP32[r63] = r130; - HEAP32[r65] = r131 + (r111 * 12 & -1) | 0; - r129 = r130; - } else { - r129 = r104; - } - } while (0); - if ((r129 | 0) == 0) { - r133 = 0; - } else { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r129, r13); - r133 = HEAP32[r63]; - } - HEAP32[r63] = r133 + 12 | 0; - __ZNSt3__16vectorINS0_IN5Avoid5PointENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE(r102, r8); - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED1Ev(r8); - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r13); - } - do { - if (!r45) { - r104 = (((r97 & 1 ^ 1) << 2) + r36 | 0) >> 2; - r100 = (r121 - (r101 ? 1 : 2) << 2) + r36 | 0; - r112 = __ZN5Avoid5PointixEj(HEAP32[r104], 0); - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r112 = __ZN5Avoid5PointixEj(HEAP32[r100 >> 2], 0); - do { - if (r115 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r109 = __ZN5Avoid5PointixEj(HEAP32[r104], 0); - r110 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r109 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r109 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r24] + 8 >> 2], 0); - if (r110 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r109 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r109 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r24] + 8 >> 2] + (r42 * 24 & -1) | 0, 0); - if (r110 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r109 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - } - r109 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r25] + 8 >> 2], 0); - if (r110 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r109 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - if (r122) { - break; - } - } else { - r109 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r25] + 8 >> 2] + (r23 * 24 & -1) | 0, 0); - if (r110 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r109 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) | r122) { - break; - } - } - HEAP32[r43] = HEAP32[r43] | 8; - } - } while (0); - r112 = __ZN5Avoid5PointixEj(HEAP32[r104], 1); - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r112 = __ZN5Avoid5PointixEj(HEAP32[r100 >> 2], 1); - do { - if (r115 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r111 = __ZN5Avoid5PointixEj(HEAP32[r104], 1); - r109 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r111 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r24] + 8 >> 2], 1); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r111 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r24] + 8 >> 2] + (r42 * 24 & -1) | 0, 1); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - } - r111 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r25] + 8 >> 2], 1); - if (r109 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - if (r122) { - break; - } - } else { - r111 = __ZN5Avoid5PointixEj(HEAP32[HEAP32[r25] + 8 >> 2] + (r23 * 24 & -1) | 0, 1); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) | r122) { - break; - } - } - HEAP32[r43] = HEAP32[r43] | 8; - } - } while (0); - if (r97 | r101) { - break; - } - r104 = ((r121 - 2 << 2) + r36 | 0) >> 2; - r112 = __ZN5Avoid5PointixEj(HEAP32[r50], 1); - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r112 = __ZN5Avoid5PointixEj(HEAP32[r104], 1); - do { - if (r115 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r100 = __ZN5Avoid5PointixEj(HEAP32[r50], 0); - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r100 = __ZN5Avoid5PointixEj(HEAP32[r104], 0); - r109 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r100 = __ZN5Avoid5PointixEj(HEAP32[r37], 0); - if (r111 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r100 = __ZN5Avoid5PointixEj(HEAP32[r39], 0); - if (r111 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r100 = __ZN5Avoid5PointixEj(HEAP32[r98], 0); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r100 = __ZN5Avoid5PointixEj(HEAP32[r99], 0); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - if (!__ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_(r111, 0, HEAP32[r25], HEAP32[r24])) { - break; - } - if (!__ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_(r109, 0, HEAP32[r25], HEAP32[r24])) { - break; - } - HEAP32[r43] = HEAP32[r43] | 8; - } - } while (0); - r112 = __ZN5Avoid5PointixEj(HEAP32[r50], 0); - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r112 = __ZN5Avoid5PointixEj(HEAP32[r104], 0); - if (r115 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r112 = __ZN5Avoid5PointixEj(HEAP32[r50], 1); - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r112 = __ZN5Avoid5PointixEj(HEAP32[r104], 1); - r109 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r112 = __ZN5Avoid5PointixEj(HEAP32[r37], 1); - if (r115 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r112 = __ZN5Avoid5PointixEj(HEAP32[r39], 1); - if (r115 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r112 = __ZN5Avoid5PointixEj(HEAP32[r98], 1); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r112 = __ZN5Avoid5PointixEj(HEAP32[r99], 1); - if (r109 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - if (!__ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_(r115, 1, HEAP32[r25], HEAP32[r24])) { - break; - } - if (!__ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_(r109, 1, HEAP32[r25], HEAP32[r24])) { - break; - } - HEAP32[r43] = HEAP32[r43] | 8; - } - } while (0); - if (r97) { - r134 = 1; - } else { - r134 = __ZN5Avoid10cornerSideERKNS_5PointES2_S2_S2_(HEAP32[r37], HEAP32[r50], HEAP32[r51], HEAP32[r39]); - } - if (r101) { - r135 = r134; - } else { - r135 = __ZN5Avoid10cornerSideERKNS_5PointES2_S2_S2_(HEAP32[(r121 - 3 << 2 >> 2) + r37], HEAP32[(r121 - 2 << 2 >> 2) + r37], HEAP32[r98], HEAP32[r99]); - } - r102 = r97 ? r135 : r134; - do { - if ((r135 | 0) != (r102 | 0)) { - HEAP32[r61] = HEAP32[r61] + 1 | 0; - r109 = HEAP32[r62]; - if ((r109 | 0) == 0) { - break; - } - __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r6, r109 | 0, HEAP32[r50]); - } - } while (0); - L1380 : do { - if (r97 | r101) { - HEAP32[r43] = HEAP32[r43] | 4; - r109 = __ZN5AvoidL10pathLengthEPPNS_5PointES2_j(r36, r35, r121); - HEAPF64[tempDoublePtr >> 3] = r109, HEAP32[r46] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAPF64[tempDoublePtr >> 3] = r109, HEAP32[r47] = HEAP32[tempDoublePtr >> 2], HEAP32[r47 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r115 = r121 >>> 0 > 2; - if (r101 & r115) { - r112 = HEAP32[r39]; - r111 = HEAP32[r48 >> 2]; - r100 = HEAP32[r49 >> 2]; - r110 = r112 | 0; - r103 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r110 = r112 + 8 | 0; - r112 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r110 = r111 | 0; - r108 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r110 = r111 + 8 | 0; - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r110 = r100 | 0; - r117 = r100 + 8 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r103, r112, r108, r111, (HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) == 0) { - r117 = r109 - 200; - HEAPF64[tempDoublePtr >> 3] = r117, HEAP32[r47] = HEAP32[tempDoublePtr >> 2], HEAP32[r47 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - r117 = HEAP32[r37]; - r110 = HEAP32[r50]; - r111 = HEAP32[r51]; - r108 = r117 | 0; - r112 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r108 = r117 + 8 | 0; - r117 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r108 = r110 | 0; - r103 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r108 = r110 + 8 | 0; - r110 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r108 = r111 | 0; - r100 = r111 + 8 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r112, r117, r103, r110, (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) != 0) { - r136 = r102; - break; - } - r100 = r109 - 200; - HEAPF64[tempDoublePtr >> 3] = r100, HEAP32[r46] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r136 = r102; - break; - } - if (!(r97 & r115)) { - r136 = r102; - break; - } - r115 = r121 - 3 | 0; - r100 = HEAP32[(r115 << 2 >> 2) + r39]; - r108 = r121 - 2 | 0; - r110 = HEAP32[(r108 << 2 >> 2) + r39]; - r103 = HEAP32[r99]; - r117 = r100 | 0; - r112 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r100 + 8 | 0; - r100 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r110 | 0; - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r110 + 8 | 0; - r110 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r103 | 0; - r116 = r103 + 8 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r112, r100, r111, r110, (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r116 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r116 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) == 0) { - r116 = r109 - 200; - HEAPF64[tempDoublePtr >> 3] = r116, HEAP32[r47] = HEAP32[tempDoublePtr >> 2], HEAP32[r47 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - r116 = HEAP32[(r115 << 2 >> 2) + r37]; - r115 = HEAP32[(r108 << 2 >> 2) + r37]; - r108 = HEAP32[r98]; - r117 = r116 | 0; - r110 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r116 + 8 | 0; - r116 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r115 | 0; - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r115 + 8 | 0; - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r117 = r108 | 0; - r100 = r108 + 8 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r110, r116, r111, r115, (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) != 0) { - r136 = r102; - break; - } - r100 = r109 - 200; - HEAPF64[tempDoublePtr >> 3] = r100, HEAP32[r46] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r136 = r102; - } else { - if (r45) { - r136 = r102; - break; - } - r100 = HEAP32[r37]; - r109 = HEAP32[r50]; - r117 = HEAP32[r51]; - r115 = r100 | 0; - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r115 = r100 + 8 | 0; - r100 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r115 = r109 | 0; - r116 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r115 = r109 + 8 | 0; - r109 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r115 = r117 | 0; - r110 = r117 + 8 | 0; - r117 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r111, r100, r116, r109, (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r110 = HEAP32[r39]; - r115 = HEAP32[r48 >> 2]; - r109 = HEAP32[r49 >> 2]; - do { - if ((r117 | 0) != 0) { - r116 = r109 + 8 | 0; - r100 = r109 | 0; - r111 = r115 + 8 | 0; - r108 = r115 | 0; - r112 = r110 + 8 | 0; - r103 = r110 | 0; - r118 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r116 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r116 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r116 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r100 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r108 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r112 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r112 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if ((r117 | 0) != (-__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d((HEAP32[tempDoublePtr >> 2] = HEAP32[r103 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r103 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), r108, r111, r100, r116, r118) | 0)) { - break; - } - r136 = -r117 | 0; - break L1380; - } - } while (0); - r117 = r121 - 3 | 0; - r110 = HEAP32[(r117 << 2 >> 2) + r37]; - r115 = r121 - 2 | 0; - r109 = HEAP32[(r115 << 2 >> 2) + r37]; - r104 = HEAP32[r98]; - r118 = r110 | 0; - r116 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r118 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r118 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r118 = r110 + 8 | 0; - r110 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r118 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r118 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r118 = r109 | 0; - r100 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r118 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r118 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r118 = r109 + 8 | 0; - r109 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r118 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r118 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r118 = r104 | 0; - r111 = r104 + 8 | 0; - r104 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d(r116, r110, r100, r109, (HEAP32[tempDoublePtr >> 2] = HEAP32[r118 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r118 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r111 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r111 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r111 = HEAP32[(r117 << 2 >> 2) + r39]; - r117 = HEAP32[(r115 << 2 >> 2) + r39]; - r115 = HEAP32[r99]; - if ((r104 | 0) == 0) { - r136 = r102; - break; - } - r118 = r115 + 8 | 0; - r109 = r115 | 0; - r115 = r117 + 8 | 0; - r100 = r117 | 0; - r117 = r111 + 8 | 0; - r110 = r111 | 0; - r111 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r118 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r118 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r118 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r109 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r109 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r115 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r100 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r117 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r117 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r136 = (r104 | 0) == (-__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d((HEAP32[tempDoublePtr >> 2] = HEAP32[r110 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r110 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), r100, r115, r109, r118, r111) | 0) ? -r104 | 0 : r102; - } - } while (0); - L1402 : do { - if ((HEAP32[r52] | 0) != 0) { - r102 = r97 & 1 ^ 1; - if (r121 >>> 0 <= (r102 + 1 | 0) >>> 0) { - ___assert_func(5251956, 2164, 5260180, 5246676); - } - if (!((r121 | 0) != 0 | r101)) { - ___assert_func(5251956, 2173, 5260180, 5246628); - } - r99 = r121 - (r101 & 1 ^ 1) | 0; - if (r102 >>> 0 < r99 >>> 0) { - r137 = (r136 | 0) > 0 & 1; - r138 = 0; - r139 = r102; - } else { - break; - } - while (1) { - r98 = HEAP32[(r139 << 2 >> 2) + r37]; - r104 = HEAP32[(r139 << 2 >> 2) + r39]; - if (!__ZNK5Avoid5PointeqERKS0_(r98, r104)) { - ___assert_func(5251956, 2179, 5260180, 5246540); - } - if (r139 >>> 0 > r102 >>> 0) { - r111 = r139 - 1 | 0; - r118 = HEAP32[(r111 << 2 >> 2) + r37]; - r109 = HEAP32[(r111 << 2 >> 2) + r39]; - r111 = __ZN5AvoidL6segDirERKNS_5PointES2_(r118, r98); - do { - if ((r138 | 0) == 0) { - if ((r111 | 0) <= 0) { - r140 = r137; - break; - } - r140 = r137 & 1 ^ 1; - } else { - if ((r111 | 0) == (r138 | 0)) { - r140 = r137; - break; - } - r140 = r137 & 1 ^ 1; - } - } while (0); - r115 = r118 | 0; - r100 = r98 | 0; - r110 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r115 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r115 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r100 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r100 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) & 1; - r100 = __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_(HEAP32[r52], r98); - r115 = HEAP32[r26]; - HEAP32[r53 >> 2] = r104; - HEAP32[r54 >> 2] = r115; - r115 = HEAP32[r2]; - HEAP32[r55 >> 2] = r98; - HEAP32[r56 >> 2] = r115; - r115 = (r140 & 1) << 24 >> 24 != 0; - __ZN5Avoid7PtOrder16addOrderedPointsEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEES9_b(r100, r110, r14, r15, r115); - if (!__ZNK5Avoid5PointeqERKS0_(r118, r109)) { - ___assert_func(5251956, 2207, 5260180, 5246512); - } - r100 = __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_(HEAP32[r52], r118); - r117 = HEAP32[r26]; - HEAP32[r57 >> 2] = r109; - HEAP32[r58 >> 2] = r117; - r117 = HEAP32[r2]; - HEAP32[r59 >> 2] = r118; - HEAP32[r60 >> 2] = r117; - __ZN5Avoid7PtOrder16addOrderedPointsEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEES9_b(r100, r110, r16, r17, r115); - r141 = r111; - r142 = r140; - } else { - r141 = r138; - r142 = r137; - } - r115 = r139 + 1 | 0; - if ((r115 | 0) == (r99 | 0)) { - break L1402; - } else { - r137 = r142; - r138 = r141; - r139 = r115; - } - } - } - } while (0); - HEAP32[r43] = HEAP32[r43] | 1; - } - r101 = r96 + 1 | 0; - if (r101 >>> 0 < r30 >>> 0) { - r96 = r101; - } else { - break L1205; - } - } - } - } while (0); - if ((r29 | 0) != 0) { - __ZdaPv(r29); - } - if ((r38 | 0) == 0) { - STACKTOP = r5; - return; - } - __ZdaPv(r38); - STACKTOP = r5; - return; -} -__ZN5Avoid18ConnectorCrossings15countForSegmentEjb["X"] = 1; -function __ZN5AvoidL6segDirERKNS_5PointES2_(r1, r2) { - var r3, r4, r5, r6; - r3 = r1 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 == r5) { - r3 = r2 + 8 | 0; - r6 = r1 + 8 | 0; - return (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) ? -1 : 1; - } else { - r6 = r1 + 8 | 0; - r1 = r2 + 8 | 0; - return (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) & r5 < r4 ? -1 : 1; - } -} -function __ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 4 | 0; - r3 = HEAP32[r2 >> 2]; - r4 = (r3 | 0) >> 2; - r5 = HEAP32[r4]; - HEAP32[r2 >> 2] = r5; - if ((r5 | 0) != 0) { - HEAP32[r5 + 8 >> 2] = r1; - } - r5 = (r1 + 8 | 0) >> 2; - HEAP32[r3 + 8 >> 2] = HEAP32[r5]; - r2 = HEAP32[r5]; - r6 = r2 | 0; - if ((HEAP32[r6 >> 2] | 0) == (r1 | 0)) { - HEAP32[r6 >> 2] = r3; - HEAP32[r4] = r1; - HEAP32[r5] = r3; - return; - } else { - HEAP32[r2 + 4 >> 2] = r3; - HEAP32[r4] = r1; - HEAP32[r5] = r3; - return; - } -} -function __ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - r4 = (r3 + 4 | 0) >> 2; - r5 = HEAP32[r4]; - HEAP32[r2 >> 2] = r5; - if ((r5 | 0) != 0) { - HEAP32[r5 + 8 >> 2] = r1; - } - r5 = (r1 + 8 | 0) >> 2; - HEAP32[r3 + 8 >> 2] = HEAP32[r5]; - r2 = HEAP32[r5]; - r6 = r2 | 0; - if ((HEAP32[r6 >> 2] | 0) == (r1 | 0)) { - HEAP32[r6 >> 2] = r3; - HEAP32[r4] = r1; - HEAP32[r5] = r3; - return; - } else { - HEAP32[r2 + 4 >> 2] = r3; - HEAP32[r4] = r1; - HEAP32[r5] = r3; - return; - } -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1Ej(r1, r2) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC2Ej(r1, r2); - return; -} -function __ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = 0; - r6 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r3); - r7 = r6 - 1 | 0; - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 16 >> 2]](r4); - r9 = r8 - 1 | 0; - r10 = (r3 + 8 | 0) >> 2; - r3 = __ZNK5Avoid5PointixEj(HEAP32[r10], r2); - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r1) { - r11 = __ZNK5Avoid5PointixEj(HEAP32[r10] + 24 | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r1) { - r5 = 1267; - break; - } else { - r5 = 1265; - break; - } - } else { - r5 = 1265; - } - } while (0); - do { - if (r5 == 1265) { - r3 = __ZNK5Avoid5PointixEj(HEAP32[r10] + (r7 * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r1) { - break; - } - r3 = __ZNK5Avoid5PointixEj(HEAP32[r10] + ((r6 - 2) * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r1) { - r5 = 1267; - break; - } else { - break; - } - } - } while (0); - do { - if (r5 == 1267) { - r6 = (r4 + 8 | 0) >> 2; - r10 = __ZNK5Avoid5PointixEj(HEAP32[r6], r2); - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r1) { - r7 = __ZNK5Avoid5PointixEj(HEAP32[r6] + 24 | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r1) { - r12 = 1; - } else { - break; - } - return r12; - } - } while (0); - r10 = __ZNK5Avoid5PointixEj(HEAP32[r6] + (r9 * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r1) { - break; - } - r10 = __ZNK5Avoid5PointixEj(HEAP32[r6] + ((r8 - 2) * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r1) { - r12 = 1; - } else { - break; - } - return r12; - } - } while (0); - r12 = 0; - return r12; -} -__ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_["X"] = 1; -function __ZN5AvoidL10pathLengthEPPNS_5PointES2_j(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - if (r3 >>> 0 > 1) { - r4 = 0; - r5 = 1; - } else { - r6 = 0; - return r6; - } - while (1) { - r7 = r5 - 1 | 0; - r8 = HEAP32[r1 + (r7 << 2) >> 2]; - do { - if (__ZNK5Avoid5PointeqERKS0_(r8, HEAP32[r2 + (r7 << 2) >> 2])) { - r9 = HEAP32[r1 + (r5 << 2) >> 2]; - if (!__ZNK5Avoid5PointeqERKS0_(r9, HEAP32[r2 + (r5 << 2) >> 2])) { - r10 = r4; - break; - } - r10 = r4 + __ZN5Avoid13manhattanDistERKNS_5PointES2_(r8, r9); - } else { - r10 = r4; - } - } while (0); - r8 = r5 + 1 | 0; - if ((r8 | 0) == (r3 | 0)) { - r6 = r10; - break; - } else { - r4 = r10; - r5 = r8; - } - } - return r6; -} -function __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERS8_(r1, r4, r2); - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) != 0) { - r8 = r7; - r9 = r8 + 40 | 0; - STACKTOP = r3; - return r9; - } - __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEE16__construct_nodeERS8_(r5, r1, r2); - r2 = r5 | 0; - r5 = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSG_SG_(r1 | 0, HEAP32[r4 >> 2], r6, r5 | 0); - r8 = r5; - r9 = r8 + 40 | 0; - STACKTOP = r3; - return r9; -} -function __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERS8_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid5PointltERKS0_(r3, r6)) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 1292; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid5PointltERKS0_(r6, r3)) { - r4 = 1296; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1295; - break; - } else { - r8 = r6; - } - } - if (r4 == 1292) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } else if (r4 == 1296) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 1295) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } -} -function __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEE16__construct_nodeERS8_(r1, r2, r3) { - var r4, r5, r6; - r4 = __Znwj(116); - r5 = r4 + 16 | 0, r6 = r5 >> 2; - if ((r5 | 0) != 0) { - r5 = r3 >> 2; - HEAP32[r6] = HEAP32[r5]; - HEAP32[r6 + 1] = HEAP32[r5 + 1]; - HEAP32[r6 + 2] = HEAP32[r5 + 2]; - HEAP32[r6 + 3] = HEAP32[r5 + 3]; - HEAP32[r6 + 4] = HEAP32[r5 + 4]; - HEAP32[r6 + 5] = HEAP32[r5 + 5]; - } - r5 = r4 + 40 | 0; - if ((r5 | 0) != 0) { - __ZN5Avoid7PtOrderC1Ev(r5); - } - HEAP32[r1 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - HEAP8[r1 + 9 | 0] = 1; - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSG_SG_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r3 = 0; - r4 = (r2 | 0) == (r1 | 0); - HEAP8[r2 + 12 | 0] = r4 & 1; - if (r4) { - return; - } else { - r5 = r2; - } - while (1) { - r6 = HEAP32[r5 + 8 >> 2]; - r2 = r6 + 12 | 0; - if ((HEAP8[r2] & 1) << 24 >> 24 != 0) { - r3 = 1331; - break; - } - r7 = (r6 + 8 | 0) >> 2; - r8 = HEAP32[r7]; - r4 = HEAP32[r8 >> 2]; - if ((r6 | 0) == (r4 | 0)) { - r9 = HEAP32[r8 + 4 >> 2]; - if ((r9 | 0) == 0) { - r3 = 1317; - break; - } - r10 = r9 + 12 | 0; - if ((HEAP8[r10] & 1) << 24 >> 24 != 0) { - r3 = 1317; - break; - } - HEAP8[r2] = 1; - HEAP8[r8 + 12 | 0] = (r8 | 0) == (r1 | 0) & 1; - HEAP8[r10] = 1; - } else { - if ((r4 | 0) == 0) { - r3 = 1324; - break; - } - r10 = r4 + 12 | 0; - if ((HEAP8[r10] & 1) << 24 >> 24 != 0) { - r3 = 1324; - break; - } - HEAP8[r2] = 1; - HEAP8[r8 + 12 | 0] = (r8 | 0) == (r1 | 0) & 1; - HEAP8[r10] = 1; - } - if ((r8 | 0) == (r1 | 0)) { - r3 = 1332; - break; - } else { - r5 = r8; - } - } - if (r3 == 1317) { - if ((r5 | 0) == (HEAP32[r6 >> 2] | 0)) { - r11 = r6; - r12 = r8; - } else { - __ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r6); - r1 = HEAP32[r7]; - r11 = r1; - r12 = HEAP32[r1 + 8 >> 2]; - } - HEAP8[r11 + 12 | 0] = 1; - HEAP8[r12 + 12 | 0] = 0; - __ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r12); - return; - } else if (r3 == 1324) { - if ((r5 | 0) == (HEAP32[r6 >> 2] | 0)) { - __ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r6); - r5 = HEAP32[r7]; - r13 = r5; - r14 = HEAP32[r5 + 8 >> 2]; - } else { - r13 = r6; - r14 = r8; - } - HEAP8[r13 + 12 | 0] = 1; - HEAP8[r14 + 12 | 0] = 0; - __ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r14); - return; - } else if (r3 == 1331) { - return; - } else if (r3 == 1332) { - return; - } -} -__ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_["X"] = 1; -function __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid5PointltERKS0_(r3, r6)) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 1339; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid5PointltERKS0_(r6, r3)) { - r4 = 1343; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1342; - break; - } else { - r8 = r6; - } - } - if (r4 == 1343) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 1342) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } else if (r4 == 1339) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } -} -function __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(40); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0, r8 = r6 >> 2; - if ((r6 | 0) != 0) { - r6 = r3 >> 2; - HEAP32[r8] = HEAP32[r6]; - HEAP32[r8 + 1] = HEAP32[r6 + 1]; - HEAP32[r8 + 2] = HEAP32[r6 + 2]; - HEAP32[r8 + 3] = HEAP32[r6 + 3]; - HEAP32[r8 + 4] = HEAP32[r6 + 4]; - HEAP32[r8 + 5] = HEAP32[r6 + 5]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC1EjjS8_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EjjS8_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorINS0_IN5Avoid5PointENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1577 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 12 | 0; - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE10push_frontERKS6_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1577; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED1Ev(r1) { - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = (r1 + 8 | 0) >> 2; - r4 = HEAP32[r3]; - L1583 : do { - if (r2 >>> 0 < r4 >>> 0) { - r5 = r4; - while (1) { - r6 = r5 - 12 | 0; - HEAP32[r3] = r6; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r6); - r6 = HEAP32[r3]; - if (r2 >>> 0 < r6 >>> 0) { - r5 = r6; - } else { - break L1583; - } - } - } - } while (0); - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE10push_frontERKS6_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = r6; - r8 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r8] | 0)) { - r9 = (r1 + 8 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = (r1 + 12 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r12; - if (r10 >>> 0 >= r12 >>> 0) { - r12 = ((r13 - r7 | 0) / 12 & -1) << 1; - r14 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC1EjjS8_(r4, r14, (r14 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endINS_13move_iteratorIPS6_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESF_SF_(r4, HEAP32[r5], HEAP32[r9]); - r14 = r4 | 0; - r12 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 4 | 0; - r14 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - r14 = r4 + 8 | 0; - r12 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 12 | 0; - r14 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - r14 = (((r13 - r10 | 0) / 12 & -1) + 1 | 0) / 2 & -1; - r13 = r10 + (r14 * 12 & -1) | 0; - if ((r6 | 0) == (r10 | 0)) { - r16 = r13; - r17 = r6; - } else { - r12 = r14 - 1 - Math.floor(((r10 - 12 + -r7 | 0) >>> 0) / 12) | 0; - r11 = r13; - r13 = r10; - while (1) { - r18 = r11 - 12 | 0; - r19 = r13 - 12 | 0; - if ((r11 | 0) != (r13 | 0)) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r18, HEAP32[r19 >> 2], HEAP32[r13 - 12 + 4 >> 2]); - } - if ((r6 | 0) == (r19 | 0)) { - break; - } else { - r11 = r18; - r13 = r19; - } - } - r16 = r10 + (r12 * 12 & -1) | 0; - r17 = HEAP32[r9]; - } - HEAP32[r5] = r16; - HEAP32[r9] = r17 + (r14 * 12 & -1) | 0; - r15 = r16; - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 12 | 0; - if ((r6 | 0) == 0) { - r20 = r15; - r21 = r20 - 12 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r6, r2); - r20 = HEAP32[r5]; - r21 = r20 - 12 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE10push_frontERKS6_["X"] = 1; -function __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endINS_13move_iteratorIPS6_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESF_SF_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = HEAP32[r4]; - r5 = r2; - while (1) { - if ((r1 | 0) == 0) { - r6 = 0; - } else { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r1, r5); - r6 = HEAP32[r4]; - } - r2 = r6 + 12 | 0; - HEAP32[r4] = r2; - r7 = r5 + 12 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r2; - r5 = r7; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EjjS8_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 12 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 12 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 12 & -1) | 0; - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC2Ej(r1, r2) { - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endEj(r1, r2); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - __ZN5Avoid5PointC1Ev(r2); - r4 = HEAP32[r3]; - } - r5 = r4 + 24 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE3endEv(r1, r2) { - var r3, r4, r5, r6; - r3 = HEAP32[r2 + 16 >> 2] + HEAP32[r2 + 20 >> 2] | 0; - r4 = HEAP32[r2 + 4 >> 2]; - r5 = (r3 >>> 10 << 2) + r4 | 0; - if ((HEAP32[r2 + 8 >> 2] | 0) == (r4 | 0)) { - r6 = 0; - } else { - r6 = ((r3 & 1023) << 2) + HEAP32[r5 >> 2] | 0; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r6; - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE12__move_rangeEPS2_S6_S6_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r5 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r5]; - r6 = r1 - r4 | 0; - r4 = r2 + (((r6 | 0) / 24 & -1) * 24 & -1) | 0; - if (r4 >>> 0 < r3 >>> 0) { - r7 = r4; - r8 = r1; - } else { - r9 = (r6 | 0) / -24 & -1; - r10 = r1 + (r9 * 24 & -1) | 0; - r11 = r10; - r12 = r2; - _memmove(r11, r12, r6, 4, 0); - return; - } - while (1) { - if ((r8 | 0) == 0) { - r13 = 0; - } else { - r4 = r8 >> 2; - r14 = r7 >> 2; - HEAP32[r4] = HEAP32[r14]; - HEAP32[r4 + 1] = HEAP32[r14 + 1]; - HEAP32[r4 + 2] = HEAP32[r14 + 2]; - HEAP32[r4 + 3] = HEAP32[r14 + 3]; - HEAP32[r4 + 4] = HEAP32[r14 + 4]; - HEAP32[r4 + 5] = HEAP32[r14 + 5]; - r13 = HEAP32[r5]; - } - r14 = r7 + 24 | 0; - r4 = r13 + 24 | 0; - HEAP32[r5] = r4; - if (r14 >>> 0 < r3 >>> 0) { - r7 = r14; - r8 = r4; - } else { - break; - } - } - r9 = (r6 | 0) / -24 & -1; - r10 = r1 + (r9 * 24 & -1) | 0; - r11 = r10; - r12 = r2; - _memmove(r11, r12, r6, 4, 0); - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC2EjjS5_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EEPS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = (r2 + 4 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = (r1 | 0) >> 2; - r9 = HEAP32[r8]; - L1654 : do { - if (r9 >>> 0 < r3 >>> 0) { - r10 = r3; - while (1) { - r11 = r10 - 24 | 0; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE10push_frontERKS2_(r2, r11); - r12 = HEAP32[r8]; - if (r12 >>> 0 < r11 >>> 0) { - r10 = r11; - } else { - r13 = r12; - break L1654; - } - } - } else { - r13 = r9; - } - } while (0); - r9 = (r1 + 4 | 0) >> 2; - r10 = (r2 + 8 | 0) >> 2; - r12 = (r2 + 12 | 0) >> 2; - r11 = (r2 | 0) >> 2; - if (HEAP32[r9] >>> 0 <= r3 >>> 0) { - r14 = r13; - r15 = HEAP32[r6]; - HEAP32[r8] = r15; - HEAP32[r6] = r14; - r16 = HEAP32[r9]; - r17 = HEAP32[r10]; - HEAP32[r9] = r17; - HEAP32[r10] = r16; - r18 = r1 + 8 | 0, r19 = r18 >> 2; - r20 = HEAP32[r19]; - r21 = HEAP32[r12]; - HEAP32[r19] = r21; - HEAP32[r12] = r20; - r22 = HEAP32[r6]; - HEAP32[r11] = r22; - STACKTOP = r4; - return r7; - } - r13 = r2 + 16 | 0; - r2 = r5 | 0; - r23 = r5 + 4 | 0; - r24 = r5 + 8 | 0; - r25 = r5 + 12 | 0; - r26 = r3; - r3 = HEAP32[r10]; - while (1) { - do { - if ((r3 | 0) == (HEAP32[r12] | 0)) { - r27 = HEAP32[r6]; - r28 = HEAP32[r11]; - if (r27 >>> 0 > r28 >>> 0) { - r29 = r27; - r30 = (((r29 - r28 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r31 = r3 - r29 | 0; - _memmove(r27 + (r30 * 24 & -1) | 0, r27, r31, 4, 0); - r29 = r27 + ((((r31 | 0) / 24 & -1) + r30) * 24 & -1) | 0; - HEAP32[r10] = r29; - HEAP32[r6] = HEAP32[r6] + (r30 * 24 & -1) | 0; - r32 = r29; - break; - } else { - r29 = ((r3 - r28 | 0) / 24 & -1) << 1; - r28 = (r29 | 0) == 0 ? 1 : r29; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r5, r28, r28 >>> 2, HEAP32[r13 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r5, HEAP32[r6], HEAP32[r10]); - r28 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = r28; - r28 = HEAP32[r6]; - HEAP32[r6] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r28; - r28 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r24 >> 2]; - HEAP32[r24 >> 2] = r28; - r28 = HEAP32[r12]; - HEAP32[r12] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r28; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r5); - r32 = HEAP32[r10]; - break; - } - } else { - r32 = r3; - } - } while (0); - if ((r32 | 0) == 0) { - r33 = 0; - } else { - r28 = r32 >> 2; - r29 = r26 >> 2; - HEAP32[r28] = HEAP32[r29]; - HEAP32[r28 + 1] = HEAP32[r29 + 1]; - HEAP32[r28 + 2] = HEAP32[r29 + 2]; - HEAP32[r28 + 3] = HEAP32[r29 + 3]; - HEAP32[r28 + 4] = HEAP32[r29 + 4]; - HEAP32[r28 + 5] = HEAP32[r29 + 5]; - r33 = HEAP32[r10]; - } - r29 = r33 + 24 | 0; - HEAP32[r10] = r29; - r28 = r26 + 24 | 0; - if (r28 >>> 0 < HEAP32[r9] >>> 0) { - r26 = r28; - r3 = r29; - } else { - break; - } - } - r14 = HEAP32[r8]; - r15 = HEAP32[r6]; - HEAP32[r8] = r15; - HEAP32[r6] = r14; - r16 = HEAP32[r9]; - r17 = HEAP32[r10]; - HEAP32[r9] = r17; - HEAP32[r10] = r16; - r18 = r1 + 8 | 0, r19 = r18 >> 2; - r20 = HEAP32[r19]; - r21 = HEAP32[r12]; - HEAP32[r19] = r21; - HEAP32[r12] = r20; - r22 = HEAP32[r6]; - HEAP32[r11] = r22; - STACKTOP = r4; - return r7; -} -__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EEPS2_["X"] = 1; -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE10push_frontERKS2_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (((r12 - r11 | 0) / 24 & -1) + 1 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = r9 + ((((r14 | 0) / -24 & -1) + r13) * 24 & -1) | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = HEAP32[r8] + (r13 * 24 & -1) | 0; - r15 = r11; - break; - } else { - r11 = ((r12 - r6 | 0) / 24 & -1) << 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 24 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 24 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - r15 = r6 >> 2; - r6 = r2 >> 2; - HEAP32[r15] = HEAP32[r6]; - HEAP32[r15 + 1] = HEAP32[r6 + 1]; - HEAP32[r15 + 2] = HEAP32[r6 + 2]; - HEAP32[r15 + 3] = HEAP32[r6 + 3]; - HEAP32[r15 + 4] = HEAP32[r6 + 4]; - HEAP32[r15 + 5] = HEAP32[r6 + 5]; - r16 = HEAP32[r5]; - r17 = r16 - 24 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE10push_frontERKS2_["X"] = 1; -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2 >> 2; - r7 = r1 >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r5 = HEAP32[r4]; - } - r7 = r5 + 24 | 0; - HEAP32[r4] = r7; - r6 = r1 + 24 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC2EjjS5_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 24 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 24 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 24 & -1) | 0; - return; -} -function __ZNSt3__15dequeIjNS_9allocatorIjEEE9pop_frontEv(r1) { - var r2, r3, r4; - r2 = (r1 + 4 | 0) >> 2; - r3 = (r1 + 16 | 0) >> 2; - r4 = r1 + 20 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] - 1 | 0; - r4 = HEAP32[r3] + 1 | 0; - HEAP32[r3] = r4; - if (r4 >>> 0 <= 2047) { - return; - } - __ZdlPv(HEAP32[HEAP32[r2] >> 2]); - HEAP32[r2] = HEAP32[r2] + 4 | 0; - HEAP32[r3] = HEAP32[r3] - 1024 | 0; - return; -} -function __ZNSt3__15dequeIjNS_9allocatorIjEEE9push_backERKj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - r5 = HEAP32[r1 + 8 >> 2]; - r6 = HEAP32[r1 + 4 >> 2]; - if ((r5 | 0) == (r6 | 0)) { - r7 = 0; - } else { - r7 = (r5 - r6 << 8) - 1 | 0; - } - r6 = (r1 + 20 | 0) >> 2; - if ((r7 | 0) == (HEAP32[r6] + HEAP32[r1 + 16 >> 2] | 0)) { - __ZNSt3__15dequeIjNS_9allocatorIjEEE19__add_back_capacityEv(r1); - } - __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE3endEv(r4, r1 | 0); - r1 = HEAP32[r4 + 4 >> 2]; - if ((r1 | 0) == 0) { - r8 = HEAP32[r6]; - r9 = r8 + 1 | 0; - HEAP32[r6] = r9; - STACKTOP = r3; - return; - } - HEAP32[r1 >> 2] = HEAP32[r2 >> 2]; - r8 = HEAP32[r6]; - r9 = r8 + 1 | 0; - HEAP32[r6] = r9; - STACKTOP = r3; - return; -} -function __ZNSt3__15dequeIjNS_9allocatorIjEEE19__add_back_capacityEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32; - r2 = STACKTOP; - STACKTOP = STACKTOP + 104 | 0; - r3 = r2; - r4 = r2 + 20; - r5 = r2 + 40; - r6 = r2 + 60; - r7 = r2 + 80; - r8 = r2 + 84; - r9 = r1 + 16 | 0; - r10 = HEAP32[r9 >> 2]; - if (r10 >>> 0 > 1023) { - HEAP32[r9 >> 2] = r10 - 1024 | 0; - r10 = (r1 + 4 | 0) >> 2; - r9 = HEAP32[r10]; - r11 = HEAP32[r9 >> 2]; - r12 = r9 + 4 | 0; - HEAP32[r10] = r12; - r13 = (r1 + 8 | 0) >> 2; - r14 = HEAP32[r13]; - r15 = r1 + 12 | 0; - r16 = (r15 | 0) >> 2; - do { - if ((r14 | 0) == (HEAP32[r16] | 0)) { - r17 = (r1 | 0) >> 2; - r18 = HEAP32[r17]; - if (r12 >>> 0 > r18 >>> 0) { - r19 = r12; - r20 = (r19 - r18 + 4 >> 2 | 0) / -2 & -1; - r21 = r20 + 1 | 0; - r22 = r14 - r19 | 0; - _memmove((r21 << 2) + r9 | 0, r12, r22, 4, 0); - r19 = ((r22 >> 2) + r21 << 2) + r9 | 0; - HEAP32[r13] = r19; - HEAP32[r10] = (r20 << 2) + HEAP32[r10] | 0; - r23 = r19; - break; - } else { - r19 = r14 - r18 >> 1; - r18 = (r19 | 0) == 0 ? 1 : r19; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r6, r18, r18 >>> 2, r15); - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r6, HEAP32[r10], HEAP32[r13]); - r18 = r6 | 0; - r19 = HEAP32[r17]; - HEAP32[r17] = HEAP32[r18 >> 2]; - HEAP32[r18 >> 2] = r19; - r19 = r6 + 4 | 0; - r18 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r18; - r18 = r6 + 8 | 0; - r19 = HEAP32[r13]; - HEAP32[r13] = HEAP32[r18 >> 2]; - HEAP32[r18 >> 2] = r19; - r19 = r6 + 12 | 0; - r18 = HEAP32[r16]; - HEAP32[r16] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r18; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r6); - r23 = HEAP32[r13]; - break; - } - } else { - r23 = r14; - } - } while (0); - if ((r23 | 0) == 0) { - r24 = 0; - } else { - HEAP32[r23 >> 2] = r11; - r24 = HEAP32[r13]; - } - HEAP32[r13] = r24 + 4 | 0; - STACKTOP = r2; - return; - } - r24 = r1 | 0; - r13 = (r1 + 8 | 0) >> 2; - r11 = HEAP32[r13]; - r23 = (r1 + 4 | 0) >> 2; - r14 = r11 - HEAP32[r23] >> 2; - r6 = r1 + 12 | 0; - r16 = (r6 | 0) >> 2; - r10 = HEAP32[r16]; - r15 = (r1 | 0) >> 2; - r1 = r10 - HEAP32[r15] | 0; - if (r14 >>> 0 >= r1 >> 2 >>> 0) { - r9 = r1 >> 1; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r8, (r9 | 0) == 0 ? 1 : r9, r14, r6); - r14 = __Znwj(4096); - r9 = (r8 + 8 | 0) >> 2; - r1 = HEAP32[r9]; - r12 = (r8 + 12 | 0) >> 2; - do { - if ((r1 | 0) == (HEAP32[r12] | 0)) { - r18 = (r8 + 4 | 0) >> 2; - r19 = HEAP32[r18]; - r17 = r8 | 0; - r20 = HEAP32[r17 >> 2]; - if (r19 >>> 0 > r20 >>> 0) { - r21 = r19; - r22 = (r21 - r20 + 4 >> 2 | 0) / -2 & -1; - r25 = (r22 << 2) + r19 | 0; - r26 = r1 - r21 | 0; - _memmove(r25, r19, r26, 4, 0); - r21 = ((r26 >> 2) + r22 << 2) + r19 | 0; - HEAP32[r9] = r21; - HEAP32[r18] = r25; - r27 = r21; - break; - } - r21 = r1 - r20 >> 1; - r25 = (r21 | 0) == 0 ? 1 : r21; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r3, r25, r25 >>> 2, HEAP32[r8 + 16 >> 2]); - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r3, r19, r1); - r25 = r3 | 0; - HEAP32[r17 >> 2] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r20; - r20 = r3 + 4 | 0; - HEAP32[r18] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r19; - r19 = r3 + 8 | 0; - r20 = HEAP32[r19 >> 2]; - HEAP32[r9] = r20; - HEAP32[r19 >> 2] = r1; - r19 = r3 + 12 | 0; - HEAP32[r12] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r1; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r3); - r27 = r20; - } else { - r27 = r1; - } - } while (0); - if ((r27 | 0) == 0) { - r28 = 0; - } else { - HEAP32[r27 >> 2] = r14; - r28 = r27; - } - HEAP32[r9] = r28 + 4 | 0; - r28 = HEAP32[r13]; - while (1) { - if ((r28 | 0) == (HEAP32[r23] | 0)) { - break; - } - r27 = r28 - 4 | 0; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE10push_frontERKS1_(r8, r27); - r28 = r27; - } - r27 = r8 | 0; - r14 = HEAP32[r15]; - HEAP32[r15] = HEAP32[r27 >> 2]; - HEAP32[r27 >> 2] = r14; - r14 = r8 + 4 | 0; - HEAP32[r23] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r28; - r28 = HEAP32[r13]; - HEAP32[r13] = HEAP32[r9]; - HEAP32[r9] = r28; - r28 = HEAP32[r16]; - HEAP32[r16] = HEAP32[r12]; - HEAP32[r12] = r28; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r8); - STACKTOP = r2; - return; - } - r8 = __Znwj(4096); - if ((r10 | 0) == (r11 | 0)) { - HEAP32[r7 >> 2] = r8; - __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEE10push_frontERKS1_(r24, r7); - r7 = HEAP32[r23]; - r24 = HEAP32[r7 >> 2]; - r11 = r7 + 4 | 0; - HEAP32[r23] = r11; - r10 = HEAP32[r13]; - do { - if ((r10 | 0) == (HEAP32[r16] | 0)) { - r28 = HEAP32[r15]; - if (r11 >>> 0 > r28 >>> 0) { - r12 = r11; - r9 = (r12 - r28 + 4 >> 2 | 0) / -2 & -1; - r14 = r9 + 1 | 0; - r27 = r10 - r12 | 0; - _memmove((r14 << 2) + r7 | 0, r11, r27, 4, 0); - r12 = ((r27 >> 2) + r14 << 2) + r7 | 0; - HEAP32[r13] = r12; - HEAP32[r23] = (r9 << 2) + HEAP32[r23] | 0; - r29 = r12; - break; - } else { - r12 = r10 - r28 >> 1; - r28 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r4, r28, r28 >>> 2, r6); - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r4, HEAP32[r23], HEAP32[r13]); - r28 = r4 | 0; - r12 = HEAP32[r15]; - HEAP32[r15] = HEAP32[r28 >> 2]; - HEAP32[r28 >> 2] = r12; - r12 = r4 + 4 | 0; - r28 = HEAP32[r23]; - HEAP32[r23] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r28; - r28 = r4 + 8 | 0; - r12 = HEAP32[r13]; - HEAP32[r13] = HEAP32[r28 >> 2]; - HEAP32[r28 >> 2] = r12; - r12 = r4 + 12 | 0; - r28 = HEAP32[r16]; - HEAP32[r16] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r28; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r4); - r29 = HEAP32[r13]; - break; - } - } else { - r29 = r10; - } - } while (0); - if ((r29 | 0) == 0) { - r30 = 0; - } else { - HEAP32[r29 >> 2] = r24; - r30 = HEAP32[r13]; - } - HEAP32[r13] = r30 + 4 | 0; - STACKTOP = r2; - return; - } else { - r30 = HEAP32[r13]; - do { - if ((r30 | 0) == (HEAP32[r16] | 0)) { - r24 = HEAP32[r23]; - r29 = HEAP32[r15]; - if (r24 >>> 0 > r29 >>> 0) { - r10 = r24; - r4 = (r10 - r29 + 4 >> 2 | 0) / -2 & -1; - r7 = r30 - r10 | 0; - _memmove((r4 << 2) + r24 | 0, r24, r7, 4, 0); - r10 = ((r7 >> 2) + r4 << 2) + r24 | 0; - HEAP32[r13] = r10; - HEAP32[r23] = (r4 << 2) + HEAP32[r23] | 0; - r31 = r10; - break; - } else { - r10 = r30 - r29 >> 1; - r29 = (r10 | 0) == 0 ? 1 : r10; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r5, r29, r29 >>> 2, r6); - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r5, HEAP32[r23], HEAP32[r13]); - r29 = r5 | 0; - r10 = HEAP32[r15]; - HEAP32[r15] = HEAP32[r29 >> 2]; - HEAP32[r29 >> 2] = r10; - r10 = r5 + 4 | 0; - r29 = HEAP32[r23]; - HEAP32[r23] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r29; - r29 = r5 + 8 | 0; - r10 = HEAP32[r13]; - HEAP32[r13] = HEAP32[r29 >> 2]; - HEAP32[r29 >> 2] = r10; - r10 = r5 + 12 | 0; - r29 = HEAP32[r16]; - HEAP32[r16] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r29; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r5); - r31 = HEAP32[r13]; - break; - } - } else { - r31 = r30; - } - } while (0); - if ((r31 | 0) == 0) { - r32 = 0; - } else { - HEAP32[r31 >> 2] = r8; - r32 = HEAP32[r13]; - } - HEAP32[r13] = r32 + 4 | 0; - STACKTOP = r2; - return; - } -} -__ZNSt3__15dequeIjNS_9allocatorIjEEE19__add_back_capacityEv["X"] = 1; -function __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__16vectorIiNS_9allocatorIiEEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEE4swapERS3_(r1, r2) { - var r3, r4, r5; - r3 = r1 | 0; - r4 = r2 | 0; - r5 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = r5; - r5 = r1 + 4 | 0; - r4 = r2 + 4 | 0; - r3 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = r3; - r3 = r1 + 8 | 0; - r1 = r2 + 8 | 0; - r2 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEE10push_frontERKS1_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = r1 + 12 | 0; - r11 = (r10 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r12; - if (r9 >>> 0 < r12 >>> 0) { - r12 = r9; - r14 = (r13 - r12 + 4 >> 2 | 0) / 2 & -1; - r15 = r12 - r6 | 0; - r12 = (r14 - (r15 >> 2) << 2) + r9 | 0; - _memmove(r12, r6, r15, 4, 0); - HEAP32[r5] = r12; - HEAP32[r8] = (r14 << 2) + HEAP32[r8] | 0; - r16 = r12; - break; - } else { - r12 = r13 - r6 >> 1; - r13 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r4, r13, (r13 + 3 | 0) >>> 2, r10); - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r4, HEAP32[r5], HEAP32[r8]); - r10 = r4 | 0; - r13 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r13; - r13 = r4 + 4 | 0; - r10 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r13 >> 2]; - HEAP32[r13 >> 2] = r10; - r10 = r4 + 8 | 0; - r13 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r13; - r13 = r4 + 12 | 0; - r10 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r13 >> 2]; - HEAP32[r13 >> 2] = r10; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r4); - r16 = HEAP32[r5]; - break; - } - } else { - r16 = r6; - } - } while (0); - r6 = r16 - 4 | 0; - if ((r6 | 0) == 0) { - r17 = r16; - r18 = r17 - 4 | 0; - HEAP32[r5] = r18; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r17 = HEAP32[r5]; - r18 = r17 - 4 | 0; - HEAP32[r5] = r18; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEE10push_frontERKS1_["X"] = 1; -function __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC2EjjS4_(r1, r2, r3, r4); - return; -} -function __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE10push_frontERKS1_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE10push_frontERKS1_["X"] = 1; -function __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC2EjjS4_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIiNS_9allocatorIiEEEC2Ej(r1, r2) { - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorIiNS_9allocatorIiEEE8allocateEj(r1, r2); - __ZNSt3__16vectorIiNS_9allocatorIiEEE18__construct_at_endEj(r1, r2); - return; -} -function __ZNSt3__113__vector_baseIiNS_9allocatorIiEEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEE7reserveEj(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = STACKTOP; - STACKTOP = STACKTOP + 28 | 0; - r4 = r3; - r5 = r3 + 12; - r6 = r3 + 20; - if (HEAP32[r1 + 8 >> 2] << 5 >>> 0 >= r2 >>> 0) { - STACKTOP = r3; - return; - } - r7 = r4 | 0; - HEAP32[r7 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = 0; - __ZNSt3__16vectorIbNS_9allocatorIbEEE8allocateEj(r4, r2); - r2 = HEAP32[r1 >> 2]; - HEAP32[r5 >> 2] = r2; - HEAP32[r5 + 4 >> 2] = 0; - r8 = HEAP32[r1 + 4 >> 2]; - HEAP32[r6 >> 2] = (r8 >>> 5 << 2) + r2 | 0; - HEAP32[r6 + 4 >> 2] = r8 & 31; - __ZNSt3__16vectorIbNS_9allocatorIbEEE18__construct_at_endINS_14__bit_iteratorIS3_Lb0EEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES8_S8_(r4, r5, r6); - __ZNSt3__16vectorIbNS_9allocatorIbEEE4swapERS3_(r1, r4); - __ZNSt3__16vectorIbNS_9allocatorIbEEED1Ev(HEAP32[r7 >> 2]); - STACKTOP = r3; - return; -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEED1Ev(r1) { - __ZNSt3__16vectorIbNS_9allocatorIbEEED2Ev(r1); - return; -} -function __ZNSt3__113__fill_n_trueINS_6vectorIbNS_9allocatorIbEEEEEEvNS_14__bit_iteratorIT_Lb0EEENS6_9size_typeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = HEAP32[r1 + 4 >> 2]; - if ((r3 | 0) == 0) { - r4 = r2; - r5 = HEAP32[r1 >> 2]; - } else { - r6 = 32 - r3 | 0; - r7 = r6 >>> 0 > r2 >>> 0 ? r2 : r6; - r8 = (r1 | 0) >> 2; - r9 = HEAP32[r8]; - HEAP32[r9 >> 2] = HEAP32[r9 >> 2] | -1 >>> ((r6 - r7 | 0) >>> 0) & -1 << r3; - r3 = HEAP32[r8] + 4 | 0; - HEAP32[r8] = r3; - r4 = r2 - r7 | 0; - r5 = r3; - } - r3 = r4 >>> 5; - r7 = r1 | 0; - _memset(r5, -1, r3 << 2); - r5 = r3 << 5; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r1 = (r3 << 2) + HEAP32[r7 >> 2] | 0; - HEAP32[r7 >> 2] = r1; - HEAP32[r1 >> 2] = HEAP32[r1 >> 2] | -1 >>> ((32 - r4 + r5 | 0) >>> 0); - return; -} -function __ZNSt3__114__fill_n_falseINS_6vectorIbNS_9allocatorIbEEEEEEvNS_14__bit_iteratorIT_Lb0EEENS6_9size_typeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = HEAP32[r1 + 4 >> 2]; - if ((r3 | 0) == 0) { - r4 = r2; - r5 = HEAP32[r1 >> 2]; - } else { - r6 = 32 - r3 | 0; - r7 = r6 >>> 0 > r2 >>> 0 ? r2 : r6; - r8 = (r1 | 0) >> 2; - r9 = HEAP32[r8]; - HEAP32[r9 >> 2] = HEAP32[r9 >> 2] & (-1 >>> ((r6 - r7 | 0) >>> 0) & -1 << r3 ^ -1); - r3 = HEAP32[r8] + 4 | 0; - HEAP32[r8] = r3; - r4 = r2 - r7 | 0; - r5 = r3; - } - r3 = r4 >>> 5; - r7 = r1 | 0; - _memset(r5, 0, r3 << 2); - r5 = r3 << 5; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r1 = (r3 << 2) + HEAP32[r7 >> 2] | 0; - HEAP32[r7 >> 2] = r1; - HEAP32[r1 >> 2] = HEAP32[r1 >> 2] & (-1 >>> ((32 - r4 + r5 | 0) >>> 0) ^ -1); - return; -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEED2Ev(r1) { - if ((r1 | 0) == 0) { - return; - } - __ZdlPv(r1); - return; -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEE18__construct_at_endINS_14__bit_iteratorIS3_Lb0EEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES8_S8_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 16; - r8 = r4 + 24; - r9 = r4 + 32; - r10 = r1 + 4 | 0; - r11 = HEAP32[r10 >> 2]; - r12 = r2 | 0; - r13 = r2 + 4 | 0; - r2 = r3 | 0; - r14 = r3 + 4 | 0; - HEAP32[r10 >> 2] = (HEAP32[r2 >> 2] - HEAP32[r12 >> 2] << 3) + (r11 - HEAP32[r13 >> 2]) + HEAP32[r14 >> 2] | 0; - r10 = HEAP32[r12 >> 2]; - r12 = HEAP32[r13 >> 2]; - r13 = HEAP32[r2 >> 2]; - r2 = HEAP32[r14 >> 2]; - r14 = (r11 >>> 5 << 2) + HEAP32[r1 >> 2] | 0; - r1 = r11 & 31; - if ((r12 | 0) == (r1 | 0)) { - HEAP32[r5 >> 2] = r10; - HEAP32[r5 + 4 >> 2] = r12; - HEAP32[r6 >> 2] = r14; - HEAP32[r6 + 4 >> 2] = r12; - __ZNSt3__114__copy_alignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_(r9, r5, r13, r2, r6); - STACKTOP = r4; - return; - } else { - HEAP32[r7 >> 2] = r10; - HEAP32[r7 + 4 >> 2] = r12; - HEAP32[r8 >> 2] = r14; - HEAP32[r8 + 4 >> 2] = r1; - __ZNSt3__116__copy_unalignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_(r9, r7, r13, r2, r8); - STACKTOP = r4; - return; - } -} -__ZNSt3__16vectorIbNS_9allocatorIbEEE18__construct_at_endINS_14__bit_iteratorIS3_Lb0EEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES8_S8_["X"] = 1; -function __ZNSt3__114__copy_alignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r6 = (r2 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = HEAP32[r2 + 4 >> 2]; - r2 = (r3 - r7 << 3) + (r4 - r8) | 0; - do { - if ((r2 | 0) > 0) { - if ((r8 | 0) == 0) { - r9 = r2; - r10 = r7; - r11 = r5 | 0, r12 = r11 >> 2; - } else { - r4 = 32 - r8 | 0; - r3 = (r2 | 0) < (r4 | 0) ? r2 : r4; - r13 = -1 >>> ((r4 - r3 | 0) >>> 0) & -1 << r8; - r4 = HEAP32[r7 >> 2] & r13; - r14 = r5 | 0, r15 = r14 >> 2; - r16 = HEAP32[r15]; - HEAP32[r16 >> 2] = HEAP32[r16 >> 2] & (r13 ^ -1); - r13 = HEAP32[r15]; - HEAP32[r13 >> 2] = HEAP32[r13 >> 2] | r4; - r4 = r5 + 4 | 0; - r13 = HEAP32[r4 >> 2] + r3 | 0; - HEAP32[r15] = (r13 >>> 5 << 2) + HEAP32[r15] | 0; - HEAP32[r4 >> 2] = r13 & 31; - r13 = HEAP32[r6] + 4 | 0; - HEAP32[r6] = r13; - r9 = r2 - r3 | 0; - r10 = r13; - r11 = r14, r12 = r11 >> 2; - } - r14 = r9 >>> 5; - _memmove(HEAP32[r12], r10, r14 << 2, 4, 0); - r13 = r9 - (r14 << 5) | 0; - HEAP32[r12] = (r14 << 2) + HEAP32[r12] | 0; - if ((r13 | 0) <= 0) { - r17 = r11; - break; - } - r3 = (r14 << 2) + HEAP32[r6] | 0; - HEAP32[r6] = r3; - r14 = -1 >>> ((32 - r13 | 0) >>> 0); - r4 = HEAP32[r3 >> 2] & r14; - r3 = HEAP32[r12]; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] & (r14 ^ -1); - r14 = HEAP32[r12]; - HEAP32[r14 >> 2] = HEAP32[r14 >> 2] | r4; - HEAP32[r5 + 4 >> 2] = r13; - r17 = r11; - } else { - r17 = r5 | 0; - } - } while (0); - HEAP32[r1 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r1 + 4 >> 2] = HEAP32[r5 + 4 >> 2]; - return; -} -__ZNSt3__114__copy_alignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_["X"] = 1; -function __ZNSt3__16vectorIiNS_9allocatorIiEEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 << 2); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = (r2 << 2) + r3 | 0; - return; - } -} -function __ZNSt3__16vectorIbNS_9allocatorIbEEE8allocateEj(r1, r2) { - var r3; - if ((r2 | 0) < 0) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = ((r2 - 1 | 0) >>> 5) + 1 | 0; - HEAP32[r1 >> 2] = __Znwj(r3 << 2); - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = r3; - return; - } -} -function __ZNSt3__116__copy_unalignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30; - r6 = (r2 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = (r2 + 4 | 0) >> 2; - r2 = HEAP32[r8]; - r9 = (r3 - r7 << 3) + (r4 - r2) | 0; - if ((r9 | 0) <= 0) { - r10 = r5 + 4 | 0, r11 = r10 >> 2; - r12 = r1 | 0, r13 = r12 >> 2; - r14 = r5 | 0, r15 = r14 >> 2; - r16 = HEAP32[r15]; - HEAP32[r13] = r16; - r17 = r1 + 4 | 0, r18 = r17 >> 2; - r19 = HEAP32[r11]; - HEAP32[r18] = r19; - return; - } - if ((r2 | 0) == 0) { - r20 = r9; - r21 = r7; - r22 = r5 + 4 | 0, r23 = r22 >> 2; - } else { - r4 = 32 - r2 | 0; - r3 = (r9 | 0) < (r4 | 0) ? r9 : r4; - r24 = -1 >>> ((r4 - r3 | 0) >>> 0) & -1 << r2 & HEAP32[r7 >> 2]; - r7 = r5 + 4 | 0, r2 = r7 >> 2; - r4 = HEAP32[r2]; - r25 = 32 - r4 | 0; - r26 = r25 >>> 0 < r3 >>> 0 ? r25 : r3; - r27 = (r5 | 0) >> 2; - r28 = HEAP32[r27]; - HEAP32[r28 >> 2] = HEAP32[r28 >> 2] & (-1 >>> ((r25 - r26 | 0) >>> 0) & -1 << r4 ^ -1); - r4 = HEAP32[r2]; - r25 = HEAP32[r8]; - if (r4 >>> 0 > r25 >>> 0) { - r28 = HEAP32[r27]; - HEAP32[r28 >> 2] = HEAP32[r28 >> 2] | r24 << r4 - r25; - } else { - r28 = HEAP32[r27]; - HEAP32[r28 >> 2] = HEAP32[r28 >> 2] | r24 >>> ((r25 - r4 | 0) >>> 0); - } - r4 = HEAP32[r2] + r26 | 0; - r25 = (r4 >>> 5 << 2) + HEAP32[r27] | 0; - HEAP32[r27] = r25; - HEAP32[r2] = r4 & 31; - r4 = r3 - r26 | 0; - if ((r4 | 0) > 0) { - HEAP32[r25 >> 2] = HEAP32[r25 >> 2] & (-1 >>> ((32 - r4 | 0) >>> 0) ^ -1); - r25 = HEAP32[r27]; - HEAP32[r25 >> 2] = HEAP32[r25 >> 2] | r24 >>> ((HEAP32[r8] + r26 | 0) >>> 0); - HEAP32[r2] = r4; - } - r4 = HEAP32[r6] + 4 | 0; - HEAP32[r6] = r4; - r20 = r9 - r3 | 0; - r21 = r4; - r22 = r7, r23 = r22 >> 2; - } - r7 = HEAP32[r23]; - r4 = 32 - r7 | 0; - r3 = -1 << r7; - L1915 : do { - if (r20 >>> 0 > 31) { - r7 = r3 ^ -1; - r9 = (r5 | 0) >> 2; - r2 = r20; - r26 = r21; - while (1) { - r8 = HEAP32[r26 >> 2]; - r24 = HEAP32[r9]; - HEAP32[r24 >> 2] = HEAP32[r24 >> 2] & r7; - r24 = HEAP32[r9]; - HEAP32[r24 >> 2] = HEAP32[r24 >> 2] | r8 << HEAP32[r23]; - r24 = HEAP32[r9] + 4 | 0; - HEAP32[r9] = r24; - HEAP32[r24 >> 2] = HEAP32[r24 >> 2] & r3; - r24 = HEAP32[r9]; - HEAP32[r24 >> 2] = HEAP32[r24 >> 2] | r8 >>> (r4 >>> 0); - r8 = r2 - 32 | 0; - r24 = HEAP32[r6] + 4 | 0; - HEAP32[r6] = r24; - if (r8 >>> 0 > 31) { - r2 = r8; - r26 = r24; - } else { - r29 = r8; - r30 = r24; - break L1915; - } - } - } else { - r29 = r20; - r30 = r21; - } - } while (0); - if ((r29 | 0) <= 0) { - r10 = r22, r11 = r10 >> 2; - r12 = r1 | 0, r13 = r12 >> 2; - r14 = r5 | 0, r15 = r14 >> 2; - r16 = HEAP32[r15]; - HEAP32[r13] = r16; - r17 = r1 + 4 | 0, r18 = r17 >> 2; - r19 = HEAP32[r11]; - HEAP32[r18] = r19; - return; - } - r21 = HEAP32[r30 >> 2] & -1 >>> ((32 - r29 | 0) >>> 0); - r30 = (r4 | 0) < (r29 | 0) ? r4 : r29; - r20 = (r5 | 0) >> 2; - r6 = HEAP32[r20]; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] & (-1 << HEAP32[r23] & -1 >>> ((r4 - r30 | 0) >>> 0) ^ -1); - r4 = HEAP32[r20]; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] | r21 << HEAP32[r23]; - r4 = HEAP32[r23] + r30 | 0; - r6 = (r4 >>> 5 << 2) + HEAP32[r20] | 0; - HEAP32[r20] = r6; - HEAP32[r23] = r4 & 31; - r4 = r29 - r30 | 0; - if ((r4 | 0) <= 0) { - r10 = r22, r11 = r10 >> 2; - r12 = r1 | 0, r13 = r12 >> 2; - r14 = r5 | 0, r15 = r14 >> 2; - r16 = HEAP32[r15]; - HEAP32[r13] = r16; - r17 = r1 + 4 | 0, r18 = r17 >> 2; - r19 = HEAP32[r11]; - HEAP32[r18] = r19; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] & (-1 >>> ((32 - r4 | 0) >>> 0) ^ -1); - r6 = HEAP32[r20]; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | r21 >>> (r30 >>> 0); - HEAP32[r23] = r4; - r10 = r22, r11 = r10 >> 2; - r12 = r1 | 0, r13 = r12 >> 2; - r14 = r5 | 0, r15 = r14 >> 2; - r16 = HEAP32[r15]; - HEAP32[r13] = r16; - r17 = r1 + 4 | 0, r18 = r17 >> 2; - r19 = HEAP32[r11]; - HEAP32[r18] = r19; - return; -} -__ZNSt3__116__copy_unalignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_["X"] = 1; -function __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3], r4 = r2 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r4] = 0; - HEAP32[r4 + 1] = 0; - HEAP32[r4 + 2] = 0; - r5 = HEAP32[r3]; - } - r6 = r5 + 12 | 0; - HEAP32[r3] = r6; - r7 = r1 - 1 | 0; - if ((r7 | 0) == 0) { - break; - } else { - r1 = r7; - r2 = r6, r4 = r2 >> 2; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESH_SH_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 8 | 0; - HEAP32[r4] = r6; - r7 = r1 + 8 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEEC2Ej(r1, r2) { - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEE18__construct_at_endEj(r1, r2); - return; -} -function __ZNSt3__113__vector_baseINS_6vectorIbNS_9allocatorIbEEEENS2_IS4_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - while (1) { - r1 = r5 - 12 | 0; - HEAP32[r4] = r1; - __ZNSt3__16vectorIbNS_9allocatorIbEEED1Ev(HEAP32[r1 >> 2]); - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - } else { - break; - } - } - r6 = HEAP32[r2 >> 2]; - } else { - r6 = r3; - } - __ZdlPv(r6); - return; -} -function __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC2EjjSA_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS9_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1986 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 8 | 0; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE10push_frontERKS7_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1986; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev(r1) { - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE10push_frontERKS7_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = r6; - r8 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r8] | 0)) { - r9 = (r1 + 8 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = (r1 + 12 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r12; - if (r10 >>> 0 >= r12 >>> 0) { - r12 = r13 - r7 >> 2; - r14 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_(r4, r14, (r14 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESH_SH_(r4, HEAP32[r5], HEAP32[r9]); - r14 = r4 | 0; - r12 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 4 | 0; - r14 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - r14 = r4 + 8 | 0; - r12 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 12 | 0; - r14 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - r14 = (r13 - r10 + 8 >> 3 | 0) / 2 & -1; - r13 = (r14 << 3) + r10 | 0; - if ((r6 | 0) == (r10 | 0)) { - r16 = r13; - r17 = r6; - } else { - r12 = r14 - 1 - ((r10 - 8 + -r7 | 0) >>> 3) | 0; - r11 = r13; - r13 = r10; - while (1) { - r18 = r11 - 8 | 0; - r19 = r13 - 8 | 0; - HEAP32[r18 >> 2] = HEAP32[r19 >> 2]; - HEAP32[r11 - 8 + 4 >> 2] = HEAP32[r13 - 8 + 4 >> 2]; - if ((r6 | 0) == (r19 | 0)) { - break; - } else { - r11 = r18; - r13 = r19; - } - } - r16 = (r12 << 3) + r10 | 0; - r17 = HEAP32[r9]; - } - HEAP32[r5] = r16; - HEAP32[r9] = (r14 << 3) + r17 | 0; - r15 = r16; - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 8 | 0; - if ((r6 | 0) == 0) { - r20 = r15; - r21 = r20 - 8 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r15 - 8 + 4 >> 2] = HEAP32[r2 + 4 >> 2]; - r20 = HEAP32[r5]; - r21 = r20 - 8 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE10push_frontERKS7_["X"] = 1; -function __ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC2EjjSA_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 3); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 3) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 3) + r6 | 0; - return; -} -function __ZNSt3__113__vector_baseINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L2024 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L2024; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 357913941) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 * 12 & -1); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r3 + (r2 * 12 & -1) | 0; - return; - } -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (r6 - r7 >> 2 >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = r7 - r8 >> 2; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = r6 - r8 | 0; - if (r10 >> 2 >>> 0 > 536870910) { - r11 = 1073741823; - } else { - r8 = r10 >> 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r4); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5beginEv(r1, r2, r3, r4) { - var r5, r6; - r5 = (r4 >>> 10 << 2) + r2 | 0; - if ((r3 | 0) == (r2 | 0)) { - r6 = 0; - } else { - r6 = ((r4 & 1023) << 2) + HEAP32[r5 >> 2] | 0; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r6; - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - __ZN5Avoid5PointC1Ev(r2); - r4 = HEAP32[r3]; - } - r5 = r4 + 24 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L2088 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 24 | 0; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE10push_frontERKS2_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L2088; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE12__move_rangeEPS3_S7_S7_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r5]; - r6 = r1 - r4 | 0; - r4 = r6 >> 2; - r7 = (r4 << 2) + r2 | 0; - L2093 : do { - if (r7 >>> 0 < r3 >>> 0) { - r8 = r7; - r9 = r1; - while (1) { - if ((r9 | 0) == 0) { - r10 = 0; - } else { - HEAP32[r9 >> 2] = HEAP32[r8 >> 2]; - r10 = HEAP32[r5]; - } - r11 = r8 + 4 | 0; - r12 = r10 + 4 | 0; - HEAP32[r5] = r12; - if (r11 >>> 0 < r3 >>> 0) { - r8 = r11; - r9 = r12; - } else { - break L2093; - } - } - } - } while (0); - _memmove((-r4 << 2) + r1 | 0, r2, r6, 4, 0); - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EEPS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = (r2 + 4 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = (r1 | 0) >> 2; - r9 = HEAP32[r8]; - L2101 : do { - if (r9 >>> 0 < r3 >>> 0) { - r10 = r3; - while (1) { - r11 = r10 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r11); - r12 = HEAP32[r8]; - if (r12 >>> 0 < r11 >>> 0) { - r10 = r11; - } else { - r13 = r12; - break L2101; - } - } - } else { - r13 = r9; - } - } while (0); - r9 = (r1 + 4 | 0) >> 2; - r10 = (r2 + 8 | 0) >> 2; - r12 = (r2 + 12 | 0) >> 2; - r11 = (r2 | 0) >> 2; - if (HEAP32[r9] >>> 0 <= r3 >>> 0) { - r14 = r13; - r15 = HEAP32[r6]; - HEAP32[r8] = r15; - HEAP32[r6] = r14; - r16 = HEAP32[r9]; - r17 = HEAP32[r10]; - HEAP32[r9] = r17; - HEAP32[r10] = r16; - r18 = r1 + 8 | 0, r19 = r18 >> 2; - r20 = HEAP32[r19]; - r21 = HEAP32[r12]; - HEAP32[r19] = r21; - HEAP32[r12] = r20; - r22 = HEAP32[r6]; - HEAP32[r11] = r22; - STACKTOP = r4; - return r7; - } - r13 = r2 + 16 | 0; - r2 = r5 | 0; - r23 = r5 + 4 | 0; - r24 = r5 + 8 | 0; - r25 = r5 + 12 | 0; - r26 = r3; - r3 = HEAP32[r10]; - while (1) { - do { - if ((r3 | 0) == (HEAP32[r12] | 0)) { - r27 = HEAP32[r6]; - r28 = HEAP32[r11]; - if (r27 >>> 0 > r28 >>> 0) { - r29 = r27; - r30 = (r29 - r28 + 4 >> 2 | 0) / -2 & -1; - r31 = r3 - r29 | 0; - _memmove((r30 << 2) + r27 | 0, r27, r31, 4, 0); - r29 = ((r31 >> 2) + r30 << 2) + r27 | 0; - HEAP32[r10] = r29; - HEAP32[r6] = (r30 << 2) + HEAP32[r6] | 0; - r32 = r29; - break; - } else { - r29 = r3 - r28 >> 1; - r28 = (r29 | 0) == 0 ? 1 : r29; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r5, r28, r28 >>> 2, HEAP32[r13 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r5, HEAP32[r6], HEAP32[r10]); - r28 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = r28; - r28 = HEAP32[r6]; - HEAP32[r6] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r28; - r28 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r24 >> 2]; - HEAP32[r24 >> 2] = r28; - r28 = HEAP32[r12]; - HEAP32[r12] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r28; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r5); - r32 = HEAP32[r10]; - break; - } - } else { - r32 = r3; - } - } while (0); - if ((r32 | 0) == 0) { - r33 = 0; - } else { - HEAP32[r32 >> 2] = HEAP32[r26 >> 2]; - r33 = HEAP32[r10]; - } - r28 = r33 + 4 | 0; - HEAP32[r10] = r28; - r29 = r26 + 4 | 0; - if (r29 >>> 0 < HEAP32[r9] >>> 0) { - r26 = r29; - r3 = r28; - } else { - break; - } - } - r14 = HEAP32[r8]; - r15 = HEAP32[r6]; - HEAP32[r8] = r15; - HEAP32[r6] = r14; - r16 = HEAP32[r9]; - r17 = HEAP32[r10]; - HEAP32[r9] = r17; - HEAP32[r10] = r16; - r18 = r1 + 8 | 0, r19 = r18 >> 2; - r20 = HEAP32[r19]; - r21 = HEAP32[r12]; - HEAP32[r19] = r21; - HEAP32[r12] = r20; - r22 = HEAP32[r6]; - HEAP32[r11] = r22; - STACKTOP = r4; - return r7; -} -__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EEPS3_["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEEC2ERKS6_(r1, r2) { - var r3, r4; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2 + 4 | 0; - r4 = r2 | 0; - r2 = HEAP32[r3 >> 2] - HEAP32[r4 >> 2] >> 2; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, HEAP32[r4 >> 2], HEAP32[r3 >> 2]); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2 >> 2; - r7 = r1 >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r5 = HEAP32[r4]; - } - r7 = r5 + 24 | 0; - HEAP32[r4] = r7; - r6 = r1 + 24 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2 >> 2; - r7 = r1 >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r5 = HEAP32[r4]; - } - r7 = r5 + 24 | 0; - HEAP32[r4] = r7; - r6 = r1 + 24 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE10deallocateEv(r1) { - var r2, r3, r4; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = r1 + 4 | 0; - HEAP32[r4 >> 2] = r3; - __ZdlPv(r3); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r2 >> 2] = 0; - return; -} -function __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2 >> 2; - r7 = r1 >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - HEAP32[r6 + 6] = HEAP32[r7 + 6]; - HEAP32[r6 + 7] = HEAP32[r7 + 7]; - r5 = HEAP32[r4]; - } - r7 = r5 + 32 | 0; - HEAP32[r4] = r7; - r6 = r1 + 32 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEEC2ERKS5_(r1, r2) { - var r3, r4; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2 + 4 | 0; - r4 = r2 | 0; - r2 = HEAP32[r3 >> 2] - HEAP32[r4 >> 2] >> 5; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, HEAP32[r4 >> 2], HEAP32[r3 >> 2]); - return; -} -function __ZNSt3__113__vector_baseIN5Avoid10CheckpointENS_9allocatorIS2_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_6vectorIbNS_9allocatorIbEEEENS2_IS4_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__16vectorIiNS_9allocatorIiEEED2Ev(r1) { - __ZNSt3__113__vector_baseIiNS_9allocatorIiEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED2Ev(r1) { - __ZNSt3__15dequeIjNS_9allocatorIjEEED1Ev(r1 | 0); - return; -} -function __ZNSt3__15dequeIjNS_9allocatorIjEEED1Ev(r1) { - __ZNSt3__15dequeIjNS_9allocatorIjEEED2Ev(r1); - return; -} -function __ZNSt3__15dequeIjNS_9allocatorIjEEED2Ev(r1) { - __ZNSt3__112__deque_baseIjNS_9allocatorIjEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__112__deque_baseIjNS_9allocatorIjEEED2Ev(r1) { - var r2, r3, r4, r5; - __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5clearEv(r1); - r2 = r1 | 0; - r3 = HEAP32[r1 + 4 >> 2]; - r4 = HEAP32[r1 + 8 >> 2]; - if ((r3 | 0) == (r4 | 0)) { - __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED1Ev(r2); - return; - } else { - r5 = r3; - } - while (1) { - __ZdlPv(HEAP32[r5 >> 2]); - r3 = r5 + 4 | 0; - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r5 = r3; - } - } - __ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED1Ev(r2); - return; -} -function __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5clearEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r2 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r3 = r2; - r4 = r2 + 8; - r5 = (r1 + 4 | 0) >> 2; - r6 = (r1 + 8 | 0) >> 2; - r7 = (r1 + 16 | 0) >> 2; - __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5beginEv(r3, HEAP32[r5], HEAP32[r6], HEAP32[r7]); - __ZNSt3__112__deque_baseIjNS_9allocatorIjEEE3endEv(r4, r1); - r8 = r3 + 4 | 0; - r9 = HEAP32[r8 >> 2]; - r10 = HEAP32[r4 + 4 >> 2]; - if ((r9 | 0) != (r10 | 0)) { - r4 = r3 | 0; - r3 = HEAP32[r4 >> 2]; - r11 = r9; - r9 = r3; - r12 = HEAP32[r3 >> 2]; - while (1) { - r3 = r11 + 4 | 0; - if ((r3 - r12 | 0) == 4096) { - r13 = r9 + 4 | 0; - HEAP32[r4 >> 2] = r13; - r14 = HEAP32[r13 >> 2]; - r15 = r14; - r16 = r13; - r17 = r14; - } else { - r15 = r3; - r16 = r9; - r17 = r12; - } - if ((r15 | 0) == (r10 | 0)) { - break; - } else { - r11 = r15; - r9 = r16; - r12 = r17; - } - } - HEAP32[r8 >> 2] = r10; - } - HEAP32[r1 + 20 >> 2] = 0; - r1 = HEAP32[r5]; - r10 = HEAP32[r6] - r1 >> 2; - L2199 : do { - if (r10 >>> 0 > 2) { - r8 = r1; - while (1) { - __ZdlPv(HEAP32[r8 >> 2]); - r17 = HEAP32[r5] + 4 | 0; - HEAP32[r5] = r17; - r12 = HEAP32[r6] - r17 >> 2; - if (r12 >>> 0 > 2) { - r8 = r17; - } else { - r18 = r12; - break L2199; - } - } - } else { - r18 = r10; - } - } while (0); - if ((r18 | 0) == 1) { - HEAP32[r7] = 512; - STACKTOP = r2; - return; - } else if ((r18 | 0) == 2) { - HEAP32[r7] = 1024; - STACKTOP = r2; - return; - } else { - STACKTOP = r2; - return; - } -} -__ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5clearEv["X"] = 1; -function __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIjjEENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impINS_4pairIjjEENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIjjEENS_9allocatorIS2_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impINS_4pairIjjEENS_9allocatorIS2_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (((r6 - r7 | 0) / 24 & -1) >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = (r7 - r8 | 0) / 24 & -1; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = (r6 - r8 | 0) / 24 & -1; - if (r10 >>> 0 > 89478484) { - r11 = 178956970; - } else { - r8 = r10 << 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r1, r4); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 << 2); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = (r2 << 2) + r3 | 0; - return; - } -} -function __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = r3 - r2 | 0; - r5 = (r4 | 0) / 24 & -1; - r6 = r1 + 8 | 0; - r7 = r1 | 0; - r8 = HEAP32[r7 >> 2]; - r9 = r8; - if (r5 >>> 0 <= ((HEAP32[r6 >> 2] - r9 | 0) / 24 & -1) >>> 0) { - r10 = r1 + 4 | 0; - r11 = HEAP32[r10 >> 2] - r9 | 0; - r9 = (r11 | 0) / 24 & -1; - if (r5 >>> 0 > r9 >>> 0) { - _memmove(r8, r2, r11, 4, 0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, r2 + (r9 * 24 & -1) | 0, r3); - return; - } else { - _memmove(r8, r2, r4, 4, 0); - HEAP32[r10 >> 2] = r8 + (r5 * 24 & -1) | 0; - return; - } - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE10deallocateEv(r1); - if (r5 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r8 = (HEAP32[r6 >> 2] - HEAP32[r7 >> 2] | 0) / 24 & -1; - if (r8 >>> 0 > 89478484) { - r12 = 178956970; - } else { - r7 = r8 << 1; - r12 = r7 >>> 0 < r5 >>> 0 ? r5 : r7; - } - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8allocateEj(r1, r12); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, r2, r3); - return; -} -__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_["X"] = 1; -function __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 134217727) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 << 5); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = (r2 << 5) + r3 | 0; - return; - } -} -function __ZNK5Avoid7ConnEnd15isPinConnectionEv(r1) { - return (r1 - 1 | 0) >>> 0 < 2; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE10deallocateEv(r1) { - var r2, r3, r4; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = r1 + 4 | 0; - HEAP32[r4 >> 2] = r3; - __ZdlPv(r3); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r2 >> 2] = 0; - return; -} -function __ZNSt3__16vectorIcNS_9allocatorIcEEE10deallocateEv(r1) { - var r2, r3, r4; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = r1 + 4 | 0; - HEAP32[r4 >> 2] = r3; - __ZdlPv(r3); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r2 >> 2] = 0; - return; -} -function __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIN5Avoid10CheckpointENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZN5Avoid7ConnEndC1Ev(r1) { - __ZN5Avoid7ConnEndC2Ev(r1); - return; -} -function __ZN5Avoid7ConnEndC2Ev(r1) { - var r2; - r2 = r1 >> 2; - HEAP32[r2] = 3; - __ZN5Avoid5PointC1Edd(r1 + 4 | 0, 0, 0); - HEAP32[r2 + 7] = 15; - HEAP32[r2 + 8] = 2147483647; - HEAP32[r2 + 9] = 0; - HEAP32[r2 + 10] = 0; - HEAP32[r2 + 11] = 0; - return; -} -function __ZN5Avoid7ConnEndC1ERKNS_5PointE(r1, r2) { - __ZN5Avoid7ConnEndC2ERKNS_5PointE(r1, r2); - return; -} -function __ZN5Avoid7ConnEndC2ERKNS_5PointE(r1, r2) { - var r3, r4; - r3 = r1 >> 2; - HEAP32[r3] = 0; - r4 = (r1 + 4 | 0) >> 2; - r1 = r2 >> 2; - HEAP32[r4] = HEAP32[r1]; - HEAP32[r4 + 1] = HEAP32[r1 + 1]; - HEAP32[r4 + 2] = HEAP32[r1 + 2]; - HEAP32[r4 + 3] = HEAP32[r1 + 3]; - HEAP32[r4 + 4] = HEAP32[r1 + 4]; - HEAP32[r4 + 5] = HEAP32[r1 + 5]; - HEAP32[r3 + 7] = 15; - HEAP32[r3 + 8] = 2147483647; - HEAP32[r3 + 9] = 0; - HEAP32[r3 + 10] = 0; - HEAP32[r3 + 11] = 0; - return; -} -function __ZN5Avoid7ConnEndC1ERKNS_5PointEj(r1, r2, r3) { - __ZN5Avoid7ConnEndC2ERKNS_5PointEj(r1, r2, r3); - return; -} -function __ZN5Avoid7ConnEndC2ERKNS_5PointEj(r1, r2, r3) { - var r4, r5; - r4 = r1 >> 2; - HEAP32[r4] = 0; - r5 = (r1 + 4 | 0) >> 2; - r1 = r2 >> 2; - HEAP32[r5] = HEAP32[r1]; - HEAP32[r5 + 1] = HEAP32[r1 + 1]; - HEAP32[r5 + 2] = HEAP32[r1 + 2]; - HEAP32[r5 + 3] = HEAP32[r1 + 3]; - HEAP32[r5 + 4] = HEAP32[r1 + 4]; - HEAP32[r5 + 5] = HEAP32[r1 + 5]; - HEAP32[r4 + 7] = r3; - HEAP32[r4 + 8] = 2147483647; - HEAP32[r4 + 9] = 0; - HEAP32[r4 + 10] = 0; - HEAP32[r4 + 11] = 0; - return; -} -function __ZN5Avoid7ConnEndC1EPNS_8ShapeRefEj(r1, r2, r3) { - __ZN5Avoid7ConnEndC2EPNS_8ShapeRefEj(r1, r2, r3); - return; -} -function __ZN5Avoid7ConnEndC2EPNS_8ShapeRefEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - HEAP32[r1 >> 2] = 1; - r6 = r1 + 4 | 0; - __ZN5Avoid5PointC1Edd(r6, 0, 0); - HEAP32[r1 + 28 >> 2] = 15; - r7 = (r1 + 32 | 0) >> 2; - HEAP32[r7] = r3; - r8 = r1 + 36 | 0; - HEAP32[r8 >> 2] = r2 | 0; - HEAP32[r1 + 40 >> 2] = 0; - HEAP32[r1 + 44 >> 2] = 0; - if ((r2 | 0) == 0) { - ___assert_func(5245552, 87, 5257824, 5248808); - r9 = HEAP32[r7]; - } else { - r9 = r3; - } - if ((r9 | 0) == 0) { - ___assert_func(5245552, 88, 5257824, 5247632); - } - r9 = HEAP32[r8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 8 >> 2]](r5, r9); - r9 = r6; - r6 = r5; - HEAP32[r9 >> 2] = HEAP32[r6 >> 2]; - HEAP32[r9 + 4 >> 2] = HEAP32[r6 + 4 >> 2]; - HEAP32[r9 + 8 >> 2] = HEAP32[r6 + 8 >> 2]; - HEAP32[r9 + 12 >> 2] = HEAP32[r6 + 12 >> 2]; - HEAP32[r9 + 16 >> 2] = HEAP32[r6 + 16 >> 2]; - HEAP16[r9 + 20 >> 1] = HEAP16[r6 + 20 >> 1]; - if ((HEAP32[r7] | 0) != 2147483647) { - STACKTOP = r4; - return; - } - ___assert_func(5245552, 91, 5257824, 5246460); - STACKTOP = r4; - return; -} -function __ZN5Avoid7ConnEndC1EPNS_11JunctionRefE(r1, r2) { - __ZN5Avoid7ConnEndC2EPNS_11JunctionRefE(r1, r2); - return; -} -function __ZN5Avoid7ConnEndC2EPNS_11JunctionRefE(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 >> 2; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - HEAP32[r3] = 2; - r6 = r1 + 4 | 0; - __ZN5Avoid5PointC1Ev(r6); - HEAP32[r3 + 7] = 15; - HEAP32[r3 + 8] = 2147483646; - r7 = r1 + 36 | 0; - r1 = r2 | 0; - HEAP32[r7 >> 2] = r1; - HEAP32[r3 + 10] = 0; - HEAP32[r3 + 11] = 0; - if ((r2 | 0) == 0) { - ___assert_func(5245552, 103, 5257888, 5248808); - r8 = HEAP32[r7 >> 2]; - } else { - r8 = r1; - } - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 8 >> 2]](r5, r8); - r8 = r6; - r6 = r5; - HEAP32[r8 >> 2] = HEAP32[r6 >> 2]; - HEAP32[r8 + 4 >> 2] = HEAP32[r6 + 4 >> 2]; - HEAP32[r8 + 8 >> 2] = HEAP32[r6 + 8 >> 2]; - HEAP32[r8 + 12 >> 2] = HEAP32[r6 + 12 >> 2]; - HEAP32[r8 + 16 >> 2] = HEAP32[r6 + 16 >> 2]; - HEAP16[r8 + 20 >> 1] = HEAP16[r6 + 20 >> 1]; - STACKTOP = r4; - return; -} -function __ZN5Avoid7ConnEndD1Ev(r1) { - __ZN5Avoid7ConnEndD2Ev(r1); - return; -} -function __ZN5Avoid7ConnEndD2Ev(r1) { - __ZN5Avoid7ConnEnd10disconnectEb(r1, 0); - __ZN5Avoid7ConnEnd13freeActivePinEv(r1); - return; -} -function __ZN5Avoid7ConnEnd10disconnectEb(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r4 = r3; - r5 = r3 + 24; - r6 = r1 + 40 | 0; - if ((HEAP32[r6 >> 2] | 0) == 0) { - STACKTOP = r3; - return; - } - __ZNK5Avoid7ConnEnd8positionEv(r4, r1); - r7 = r1 + 4 | 0; - r8 = r4; - HEAP32[r7 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r7 + 4 >> 2] = HEAP32[r8 + 4 >> 2]; - HEAP32[r7 + 8 >> 2] = HEAP32[r8 + 8 >> 2]; - HEAP32[r7 + 12 >> 2] = HEAP32[r8 + 12 >> 2]; - HEAP32[r7 + 16 >> 2] = HEAP32[r8 + 16 >> 2]; - HEAP16[r7 + 20 >> 1] = HEAP16[r8 + 20 >> 1]; - r8 = r1 + 36 | 0; - __ZN5Avoid8Obstacle22removeFollowingConnEndEPNS_7ConnEndE(HEAP32[r8 >> 2], r1); - HEAP32[r6 >> 2] = 0; - if (!r2) { - STACKTOP = r3; - return; - } - __ZNK5Avoid7ConnEnd8positionEv(r5, r1); - r2 = r5; - HEAP32[r7 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r7 + 4 >> 2] = HEAP32[r2 + 4 >> 2]; - HEAP32[r7 + 8 >> 2] = HEAP32[r2 + 8 >> 2]; - HEAP32[r7 + 12 >> 2] = HEAP32[r2 + 12 >> 2]; - HEAP32[r7 + 16 >> 2] = HEAP32[r2 + 16 >> 2]; - HEAP16[r7 + 20 >> 1] = HEAP16[r2 + 20 >> 1]; - HEAP32[r8 >> 2] = 0; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 32 >> 2] = 2147483647; - STACKTOP = r3; - return; -} -function __ZN5Avoid7ConnEnd13freeActivePinEv(r1) { - var r2, r3, r4, r5; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r2; - r4 = (r1 + 44 | 0) >> 2; - r5 = HEAP32[r4]; - if ((r5 | 0) == 0) { - HEAP32[r4] = 0; - STACKTOP = r2; - return; - } - HEAP32[r3 >> 2] = r1; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r5 + 56 | 0, r3); - HEAP32[r4] = 0; - STACKTOP = r2; - return; -} -function __ZNK5Avoid7ConnEnd8positionEv(r1, r2) { - var r3, r4, r5, r6; - r3 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r4 = r3; - r5 = HEAP32[r2 + 44 >> 2]; - if ((r5 | 0) != 0) { - __ZN5Avoid7PolygonC1Ev(r4); - __ZNK5Avoid18ShapeConnectionPin8positionERKNS_7PolygonE(r1, r5, r4); - __ZN5Avoid7PolygonD1Ev(r4); - STACKTOP = r3; - return; - } - r4 = HEAP32[r2 + 36 >> 2]; - if ((r4 | 0) == 0) { - r5 = r1 >> 2; - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r5 + 1] = HEAP32[r6 + 1]; - HEAP32[r5 + 2] = HEAP32[r6 + 2]; - HEAP32[r5 + 3] = HEAP32[r6 + 3]; - HEAP32[r5 + 4] = HEAP32[r6 + 4]; - HEAP32[r5 + 5] = HEAP32[r6 + 5]; - STACKTOP = r3; - return; - } else { - FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 8 >> 2]](r1, r4); - STACKTOP = r3; - return; - } -} -function __ZNK5Avoid7ConnEnd10directionsEv(r1) { - var r2, r3; - r2 = HEAP32[r1 + 44 >> 2]; - if ((r2 | 0) == 0) { - r3 = HEAP32[r1 + 28 >> 2]; - return r3; - } else { - r3 = __ZNK5Avoid18ShapeConnectionPin10directionsEv(r2); - return r3; - } -} -function __ZNK5Avoid7ConnEnd8junctionEv(r1) { - var r2; - if ((r1 | 0) == 0) { - r2 = 0; - return r2; - } - r2 = ___dynamic_cast(r1, 5272672, 5272764); - return r2; -} -function __ZNK5Avoid7ConnEnd12endpointTypeEv(r1) { - var r2, r3, r4; - r2 = r1 + 40 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - ___assert_func(5245552, 177, 5254036, 5245608); - r4 = HEAP32[r2 >> 2]; - } else { - r4 = r3; - } - return (HEAP32[r4 + 144 >> 2] | 0) == (r1 | 0) ? 2 : 1; -} -function __ZN5Avoid7ConnEnd6usePinEPNS_18ShapeConnectionPinE(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3 + 8; - r5 = r1 + 44 | 0; - if ((HEAP32[r5 >> 2] | 0) != 0) { - ___assert_func(5245552, 185, 5257984, 5244768); - } - HEAP32[r5 >> 2] = r2; - if ((r2 | 0) == 0) { - STACKTOP = r3; - return; - } - HEAP32[r4 >> 2] = r1; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r3, r2 + 56 | 0, r4); - STACKTOP = r3; - return; -} -function __ZN5Avoid7ConnEnd12usePinVertexEPNS_7VertInfE(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = 0; - if ((HEAP32[r1 + 44 >> 2] | 0) != 0) { - ___assert_func(5245552, 198, 5258124, 5244768); - } - r4 = HEAP32[r1 + 36 >> 2]; - r5 = HEAP32[r4 + 84 >> 2]; - r6 = r4 + 88 | 0; - if ((r5 | 0) == (r6 | 0)) { - return; - } - r4 = r6; - r6 = r5; - while (1) { - r7 = HEAP32[r6 + 16 >> 2]; - if ((HEAP32[r7 + 68 >> 2] | 0) == (r2 | 0)) { - break; - } - r5 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r6 | 0); - if ((r5 | 0) == (r4 | 0)) { - r3 = 2010; - break; - } else { - r6 = r5; - } - } - if (r3 == 2010) { - return; - } - __ZN5Avoid7ConnEnd6usePinEPNS_18ShapeConnectionPinE(r1, r7); - return; -} -function __ZNK5Avoid7ConnEnd17possiblePinPointsEv(r1, r2) { - var r3, r4, r5, r6; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3, r5 = r4 >> 2; - HEAP32[r5] = 0; - HEAP32[r5 + 1] = 0; - HEAP32[r5 + 2] = 0; - r5 = HEAP32[r2 + 36 >> 2]; - do { - if ((r5 | 0) != 0) { - r6 = HEAP32[r2 + 32 >> 2]; - if ((r6 | 0) == 2147483647) { - break; - } - __ZNK5Avoid8Obstacle17possiblePinPointsEj(r1, r5, r6); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r4); - STACKTOP = r3; - return; - } - } while (0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_(r1, r4); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZN5Avoid7ConnEnd7connectEPNS_7ConnRefE(r1, r2) { - var r3, r4; - if (!__ZNK5Avoid7ConnEnd15isPinConnectionEv(HEAP32[r1 >> 2])) { - ___assert_func(5245552, 240, 5257936, 5244456); - } - r3 = r1 + 36 | 0; - if ((HEAP32[r3 >> 2] | 0) == 0) { - ___assert_func(5245552, 241, 5257936, 5243700); - } - r4 = r1 + 40 | 0; - if ((HEAP32[r4 >> 2] | 0) != 0) { - ___assert_func(5245552, 242, 5257936, 5243104); - } - __ZN5Avoid8Obstacle19addFollowingConnEndEPNS_7ConnEndE(HEAP32[r3 >> 2], r1); - HEAP32[r4 >> 2] = r2; - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = r2; - r5 = (r3 - r4 | 0) / 28 & -1; - r6 = r1 + 8 | 0; - r7 = r1 | 0; - r8 = HEAP32[r7 >> 2]; - r9 = r8; - if (r5 >>> 0 > ((HEAP32[r6 >> 2] - r9 | 0) / 28 & -1) >>> 0) { - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE10deallocateEv(r1); - if (r5 >>> 0 > 153391689) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = (HEAP32[r6 >> 2] - HEAP32[r7 >> 2] | 0) / 28 & -1; - if (r10 >>> 0 > 76695843) { - r11 = 153391689; - } else { - r7 = r10 << 1; - r11 = r7 >>> 0 < r5 >>> 0 ? r5 : r7; - } - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE8allocateEj(r1, r11); - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3); - return; - } - r11 = r1 + 4 | 0; - r7 = (HEAP32[r11 >> 2] - r9 | 0) / 28 & -1; - if (r5 >>> 0 > r7 >>> 0) { - r12 = 1; - r13 = r2 + (r7 * 28 & -1) | 0; - } else { - r12 = 0; - r13 = r3; - } - if ((r13 | 0) == (r2 | 0)) { - r14 = r8; - } else { - r7 = Math.floor(((r13 - 28 + -r4 | 0) >>> 0) / 28) + 1 | 0; - r4 = r8; - r5 = r2; - while (1) { - HEAP32[r4 >> 2] = HEAP32[r5 >> 2]; - r2 = r4 + 4 | 0; - r9 = r5 + 4 | 0; - HEAP32[r2 >> 2] = HEAP32[r9 >> 2]; - HEAP32[r2 + 4 >> 2] = HEAP32[r9 + 4 >> 2]; - HEAP32[r2 + 8 >> 2] = HEAP32[r9 + 8 >> 2]; - HEAP32[r2 + 12 >> 2] = HEAP32[r9 + 12 >> 2]; - HEAP32[r2 + 16 >> 2] = HEAP32[r9 + 16 >> 2]; - HEAP16[r2 + 20 >> 1] = HEAP16[r9 + 20 >> 1]; - r9 = r5 + 28 | 0; - if ((r9 | 0) == (r13 | 0)) { - break; - } else { - r4 = r4 + 28 | 0; - r5 = r9; - } - } - r14 = r8 + (r7 * 28 & -1) | 0; - } - if (r12) { - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r13, r3); - return; - } else { - HEAP32[r11 >> 2] = r14; - return; - } -} -__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_["X"] = 1; -function __ZNSt3__16vectorIcNS_9allocatorIcEEE6assignIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = r3 - r2 | 0; - r5 = r1 + 8 | 0; - r6 = r1 | 0; - r7 = HEAP32[r6 >> 2]; - r8 = r7; - if (r4 >>> 0 <= (HEAP32[r5 >> 2] - r8 | 0) >>> 0) { - r9 = r1 + 4 | 0; - r10 = HEAP32[r9 >> 2] - r8 | 0; - if (r4 >>> 0 > r10 >>> 0) { - _memmove(r7, r2, r10, 1, 0); - __ZNSt3__16vectorIcNS_9allocatorIcEEE18__construct_at_endIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_(r1, r2 + r10 | 0, r3); - return; - } else { - _memmove(r7, r2, r4, 1, 0); - HEAP32[r9 >> 2] = r7 + r4 | 0; - return; - } - } - __ZNSt3__16vectorIcNS_9allocatorIcEEE10deallocateEv(r1); - if ((r4 | 0) < 0) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r7 = HEAP32[r5 >> 2] - HEAP32[r6 >> 2] | 0; - if (r7 >>> 0 > 1073741822) { - r11 = 2147483647; - } else { - r6 = r7 << 1; - r11 = r6 >>> 0 < r4 >>> 0 ? r4 : r6; - } - __ZNSt3__16vectorIcNS_9allocatorIcEEE8allocateEj(r1, r11); - __ZNSt3__16vectorIcNS_9allocatorIcEEE18__construct_at_endIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_(r1, r2, r3); - return; -} -function __ZNSt3__14pairIN5Avoid7ConnEndES2_ED2Ev(r1) { - __ZN5Avoid7ConnEndD1Ev(r1 + 48 | 0); - __ZN5Avoid7ConnEndD1Ev(r1 | 0); - return; -} -function __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 4 >> 2]; - if ((r2 | 0) == 0) { - r3 = r1; - while (1) { - r1 = HEAP32[r3 + 8 >> 2]; - if ((r3 | 0) == (HEAP32[r1 >> 2] | 0)) { - r4 = r1; - break; - } else { - r3 = r1; - } - } - return r4; - } else { - r3 = r2; - while (1) { - r2 = HEAP32[r3 >> 2]; - if ((r2 | 0) == 0) { - r4 = r3; - break; - } else { - r3 = r2; - } - } - return r4; - } -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L2426 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L2426; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L2426; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 4 >> 2]; - if ((r2 | 0) == 0) { - r3 = r1; - while (1) { - r1 = HEAP32[r3 + 8 >> 2]; - if ((r3 | 0) == (HEAP32[r1 >> 2] | 0)) { - r4 = r1; - break; - } else { - r3 = r1; - } - } - return r4; - } else { - r3 = r2; - while (1) { - r2 = HEAP32[r3 >> 2]; - if ((r2 | 0) == 0) { - r4 = r3; - break; - } else { - r3 = r2; - } - } - return r4; - } -} -function __ZN5Avoid7ConnEnd21assignPinVisibilityToEPNS_7VertInfES2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - r6 = (r1 + 36 | 0) >> 2; - if ((HEAP32[r6] | 0) == 0) { - ___assert_func(5245552, 280, 5258044, 5243700); - } - r7 = (r1 + 32 | 0) >> 2; - if ((HEAP32[r7] | 0) == 2147483647) { - ___assert_func(5245552, 281, 5258044, 5246460); - } - r8 = HEAP32[r6]; - r9 = __ZNK5Avoid8Obstacle6routerEv(HEAP32[r8 + 4 >> 2]); - r10 = HEAP32[r8 + 84 >> 2]; - do { - if ((r10 | 0) == (r8 + 88 | 0)) { - r11 = r8; - } else { - r12 = r9; - r13 = r9 + 889 | 0; - r14 = r9 + 888 | 0; - r15 = r2; - r16 = r2 + 12 | 0; - r17 = r3 + 12 | 0; - r18 = r3 + 20 | 0; - r19 = r5 | 0; - r20 = r5 + 8 | 0; - r21 = r10; - r22 = 0; - r23 = r8; - while (1) { - r24 = HEAP32[r21 + 16 >> 2]; - do { - if ((HEAP32[r24 + 12 >> 2] | 0) == (HEAP32[r7] | 0)) { - if ((HEAP8[r24 + 44 | 0] & 1) << 24 >> 24 != 0) { - if ((HEAP32[r24 + 64 >> 2] | 0) != 0) { - r25 = r22; - r26 = r23; - break; - } - } - r27 = r24 + 48 | 0; - r28 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r27 = (r24 + 68 | 0) >> 2; - r29 = HEAP32[r27]; - r30 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r31 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r32 = r29 + 12 | 0; - r33 = r29 + 20 | 0; - __ZNK5Avoid5PointmiERKS0_(r5, r30, r31, (HEAP32[tempDoublePtr >> 2] = HEAP32[r32 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r32 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r33 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r33 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r33 = __ZN5Avoid15rotationalAngleERKNS_5PointE((HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - if (r33 <= 45 | r33 >= 315) { - r34 = __ZNK5Avoid18ShapeConnectionPin10directionsEv(r24) >>> 3 & 1; - } else { - r34 = 0; - } - if (r33 >= 45 & r33 <= 135) { - r35 = (__ZNK5Avoid18ShapeConnectionPin10directionsEv(r24) & 2 | 0) == 0 ? r34 : 1; - } else { - r35 = r34; - } - if (r33 >= 135 & r33 <= 225) { - r36 = (__ZNK5Avoid18ShapeConnectionPin10directionsEv(r24) & 4 | 0) == 0 ? r35 : 1; - } else { - r36 = r35; - } - if (r33 >= 225 & r33 <= 315) { - r37 = (__ZNK5Avoid18ShapeConnectionPin10directionsEv(r24) & 1 | 0) == 0 ? r36 : 1; - } else { - r37 = r36; - } - if ((r37 & 1) << 24 >> 24 == 0) { - r38 = r28 + __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r12, 5); - } else { - r38 = r28; - } - if ((HEAP8[r13] & 1) << 24 >> 24 != 0) { - r28 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r28, r15, HEAP32[r27], 1); - __ZN5Avoid7EdgeInf7setDistEd(r28, (r38 > .001 ? r38 : .001) + __ZN5Avoid13manhattanDistERKNS_5PointES2_(r16, HEAP32[r27] + 12 | 0)); - } - if ((HEAP8[r14] & 1) << 24 >> 24 != 0) { - r28 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r28, r15, HEAP32[r27], 0); - __ZN5Avoid7EdgeInf7setDistEd(r28, (r38 > .001 ? r38 : .001) + __ZN5Avoid13euclideanDistERKNS_5PointES2_(r16, HEAP32[r27] + 12 | 0)); - } - r25 = r22 + 1 | 0; - r26 = HEAP32[r6]; - } else { - r25 = r22; - r26 = r23; - } - } while (0); - r24 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r21 | 0); - if ((r24 | 0) == (r26 + 88 | 0)) { - break; - } - r21 = r24; - r22 = r25; - r23 = r26; - } - if ((r25 | 0) == 0) { - r11 = r26; - break; - } - STACKTOP = r4; - return; - } - } while (0); - r26 = __ZNK5Avoid7ConnRef2idEv(HEAP32[HEAP32[r1 + 40 >> 2] + 4 >> 2]); - r1 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r11 + 8 >> 2]); - r11 = HEAP32[r7]; - __ZN5Avoid10err_printfEPKcz(5252512, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = r26, HEAP32[tempInt + 4 >> 2] = r1, HEAP32[tempInt + 8 >> 2] = r11, tempInt)); - STACKTOP = r4; - return; -} -__ZN5Avoid7ConnEnd21assignPinVisibilityToEPNS_7VertInfES2_["X"] = 1; -function __ZNK5Avoid7ConnEnd18getHyperedgeVertexEPNS_6RouterE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r4; - r6 = HEAP32[r2 + 36 >> 2]; - do { - if ((r6 | 0) == 0) { - __ZN5Avoid6VertIDC1Ejtt(r5, 0, 8, 1); - r7 = __Znwj(140); - r8 = r7; - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r7, r3, r5, r2 + 4 | 0, 1); - HEAP32[r7 + 120 >> 2] = HEAP32[r2 + 28 >> 2]; - if ((HEAP8[r3 + 888 | 0] & 1) << 24 >> 24 == 0) { - r9 = 1; - r10 = r8; - break; - } - __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(r7, 0); - r9 = 1; - r10 = r8; - } else { - r8 = HEAP32[r6 + 84 >> 2]; - r7 = r6 + 88 | 0; - if ((r8 | 0) != (r7 | 0)) { - r11 = HEAP32[r2 + 32 >> 2]; - r12 = r7; - r7 = r8; - r8 = 0; - while (1) { - r13 = HEAP32[r7 + 16 >> 2], r14 = r13 >> 2; - do { - if ((HEAP32[r14 + 3] | 0) == (r11 | 0)) { - if ((HEAP8[r13 + 44 | 0] & 1) << 24 >> 24 != 0) { - if ((HEAP32[r14 + 16] | 0) != 0) { - r15 = r8; - break; - } - } - r15 = HEAP32[r14 + 17]; - } else { - r15 = r8; - } - } while (0); - r14 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r7 | 0); - if ((r14 | 0) == (r12 | 0)) { - break; - } else { - r7 = r14; - r8 = r15; - } - } - if ((r15 | 0) != 0) { - r9 = 0; - r10 = r15; - break; - } - } - ___assert_func(5245552, 392, 5253948, 5252040); - r9 = 0; - r10 = 0; - } - } while (0); - HEAP8[r1 | 0] = r9; - HEAP32[r1 + 4 >> 2] = r10; - STACKTOP = r4; - return; -} -__ZNK5Avoid7ConnEnd18getHyperedgeVertexEPNS_6RouterE["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43; - r3 = 0; - r4 = r2 | 0; - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 | 0) == 0) { - r6 = r2; - r7 = r4; - r3 = 2153; - } else { - if ((HEAP32[r2 + 4 >> 2] | 0) == 0) { - r8 = r5; - r9 = r2; - r10 = r4; - r3 = 2155; - break; - } - r11 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r2); - r12 = r11 | 0; - r13 = HEAP32[r12 >> 2]; - if ((r13 | 0) == 0) { - r6 = r11; - r7 = r12; - r3 = 2153; - break; - } else { - r8 = r13; - r9 = r11; - r10 = r12; - r3 = 2155; - break; - } - } - } while (0); - do { - if (r3 == 2153) { - r5 = HEAP32[r6 + 4 >> 2]; - if ((r5 | 0) != 0) { - r8 = r5; - r9 = r6; - r10 = r7; - r3 = 2155; - break; - } - r14 = 0; - r15 = 0; - r16 = r6 + 8 | 0, r17 = r16 >> 2; - r18 = r6; - r19 = r7; - break; - } - } while (0); - if (r3 == 2155) { - r7 = r9 + 8 | 0; - HEAP32[r8 + 8 >> 2] = HEAP32[r7 >> 2]; - r14 = r8; - r15 = 1; - r16 = r7, r17 = r16 >> 2; - r18 = r9; - r19 = r10; - } - r10 = HEAP32[r17]; - r9 = r10 | 0; - do { - if ((r18 | 0) == (HEAP32[r9 >> 2] | 0)) { - HEAP32[r9 >> 2] = r14; - if ((r18 | 0) == (r1 | 0)) { - r20 = r14; - r21 = 0; - break; - } - r20 = r1; - r21 = HEAP32[HEAP32[r17] + 4 >> 2]; - } else { - HEAP32[r10 + 4 >> 2] = r14; - r20 = r1; - r21 = HEAP32[HEAP32[r17] >> 2]; - } - } while (0); - r1 = r18 + 12 | 0; - r10 = (HEAP8[r1] & 1) << 24 >> 24 == 0; - if ((r18 | 0) == (r2 | 0)) { - r22 = r20; - } else { - r9 = r2 + 8 | 0; - r16 = HEAP32[r9 >> 2]; - HEAP32[r17] = r16; - if ((HEAP32[HEAP32[r9 >> 2] >> 2] | 0) == (r2 | 0)) { - HEAP32[r16 >> 2] = r18; - } else { - HEAP32[r16 + 4 >> 2] = r18; - } - r16 = HEAP32[r4 >> 2]; - HEAP32[r19 >> 2] = r16; - HEAP32[r16 + 8 >> 2] = r18; - r16 = HEAP32[r2 + 4 >> 2]; - HEAP32[r18 + 4 >> 2] = r16; - if ((r16 | 0) != 0) { - HEAP32[r16 + 8 >> 2] = r18; - } - HEAP8[r1] = HEAP8[r2 + 12 | 0] & 1; - r22 = (r20 | 0) == (r2 | 0) ? r18 : r20; - } - if (r10 | (r22 | 0) == 0) { - return; - } - if (r15) { - HEAP8[r14 + 12 | 0] = 1; - return; - } else { - r23 = r22; - r24 = r21; - } - while (1) { - r21 = (r24 + 8 | 0) >> 2; - r22 = HEAP32[r21]; - r14 = r24 + 12 | 0; - r15 = (HEAP8[r14] & 1) << 24 >> 24 != 0; - if ((r24 | 0) == (HEAP32[r22 >> 2] | 0)) { - if (r15) { - r25 = r23; - r26 = r24, r27 = r26 >> 2; - } else { - HEAP8[r14] = 1; - HEAP8[r22 + 12 | 0] = 0; - __ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_(HEAP32[r21]); - r10 = HEAP32[r24 + 4 >> 2]; - r25 = (r23 | 0) == (r10 | 0) ? r24 : r23; - r26 = HEAP32[r10 >> 2], r27 = r26 >> 2; - } - r28 = HEAP32[r27]; - r29 = (r28 | 0) == 0; - if (!r29) { - r10 = HEAP8[r28 + 12 | 0]; - if ((r10 & 1) << 24 >> 24 == 0) { - r30 = r10; - r3 = 2200; - break; - } - } - r31 = HEAP32[r27 + 1]; - if ((r31 | 0) != 0) { - if ((HEAP8[r31 + 12 | 0] & 1) << 24 >> 24 == 0) { - r3 = 2198; - break; - } - } - HEAP8[r26 + 12 | 0] = 0; - r10 = HEAP32[r27 + 2]; - r32 = r10 + 12 | 0; - if ((HEAP8[r32] & 1) << 24 >> 24 == 0 | (r10 | 0) == (r25 | 0)) { - r3 = 2195; - break; - } - r20 = HEAP32[r10 + 8 >> 2]; - r18 = HEAP32[r20 >> 2]; - if ((r10 | 0) != (r18 | 0)) { - r23 = r25; - r24 = r18; - continue; - } - r23 = r25; - r24 = HEAP32[r20 + 4 >> 2]; - continue; - } - if (r15) { - r33 = r23; - r34 = r24, r35 = r34 >> 2; - } else { - HEAP8[r14] = 1; - HEAP8[r22 + 12 | 0] = 0; - __ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_(HEAP32[r21]); - r21 = HEAP32[r24 >> 2]; - r33 = (r23 | 0) == (r21 | 0) ? r24 : r23; - r34 = HEAP32[r21 + 4 >> 2], r35 = r34 >> 2; - } - r36 = HEAP32[r35]; - if ((r36 | 0) != 0) { - r37 = r36 + 12 | 0; - if ((HEAP8[r37] & 1) << 24 >> 24 == 0) { - r3 = 2182; - break; - } - } - r21 = HEAP32[r35 + 1]; - if ((r21 | 0) != 0) { - r22 = HEAP8[r21 + 12 | 0]; - if ((r22 & 1) << 24 >> 24 == 0) { - r38 = r22; - r3 = 2184; - break; - } - } - HEAP8[r34 + 12 | 0] = 0; - r22 = HEAP32[r35 + 2]; - if ((r22 | 0) == (r33 | 0)) { - r39 = r33; - r3 = 2179; - break; - } - if ((HEAP8[r22 + 12 | 0] & 1) << 24 >> 24 == 0) { - r39 = r22; - r3 = 2179; - break; - } - r21 = HEAP32[r22 + 8 >> 2]; - r14 = HEAP32[r21 >> 2]; - if ((r22 | 0) != (r14 | 0)) { - r23 = r33; - r24 = r14; - continue; - } - r23 = r33; - r24 = HEAP32[r21 + 4 >> 2]; - } - do { - if (r3 == 2195) { - HEAP8[r32] = 1; - return; - } else if (r3 == 2198) { - if (r29) { - r40 = r31; - r3 = 2202; - break; - } - r30 = HEAP8[r28 + 12 | 0]; - r3 = 2200; - break; - } else if (r3 == 2179) { - HEAP8[r39 + 12 | 0] = 1; - return; - } else if (r3 == 2182) { - r24 = HEAP32[r35 + 1]; - if ((r24 | 0) == 0) { - r41 = r37; - r3 = 2186; - break; - } - r38 = HEAP8[r24 + 12 | 0]; - r3 = 2184; - break; - } - } while (0); - do { - if (r3 == 2184) { - if ((r38 & 1) << 24 >> 24 == 0) { - r42 = r34; - r3 = 2187; - break; - } - r41 = r36 + 12 | 0; - r3 = 2186; - break; - } else if (r3 == 2200) { - if ((r30 & 1) << 24 >> 24 == 0) { - r43 = r26; - r3 = 2203; - break; - } - r40 = HEAP32[r27 + 1]; - r3 = 2202; - break; - } - } while (0); - do { - if (r3 == 2186) { - HEAP8[r41] = 1; - HEAP8[r34 + 12 | 0] = 0; - __ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r34); - r42 = HEAP32[r35 + 2]; - r3 = 2187; - break; - } else if (r3 == 2202) { - HEAP8[r40 + 12 | 0] = 1; - HEAP8[r26 + 12 | 0] = 0; - __ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_(r26); - r43 = HEAP32[r27 + 2]; - r3 = 2203; - break; - } - } while (0); - if (r3 == 2187) { - r27 = r42 + 8 | 0; - r26 = HEAP32[r27 >> 2] + 12 | 0; - HEAP8[r42 + 12 | 0] = HEAP8[r26] & 1; - HEAP8[r26] = 1; - HEAP8[HEAP32[r42 + 4 >> 2] + 12 | 0] = 1; - __ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_(HEAP32[r27 >> 2]); - return; - } else if (r3 == 2203) { - r3 = r43 + 8 | 0; - r27 = HEAP32[r3 >> 2] + 12 | 0; - HEAP8[r43 + 12 | 0] = HEAP8[r27] & 1; - HEAP8[r27] = 1; - HEAP8[HEAP32[r43 >> 2] + 12 | 0] = 1; - __ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_(HEAP32[r3 >> 2]); - return; - } -} -__ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 2218; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 2222; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 2221; - break; - } else { - r3 = r6; - } - } - if (r4 == 2218) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 2221) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 2222) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } -} -function __ZN5Avoid21segmentIntersectPointERKNS_5PointES2_S2_S2_PdS3_(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r7 = r2 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r1 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r8 - r9; - r10 = r3 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r4 | 0; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r11 - r12; - r13 = r7 < 0; - r14 = r13 ? r8 : r9; - r15 = r13 ? r9 : r8; - do { - if (r10 > 0) { - if (r15 < r12 | r11 < r14) { - r16 = 0; - } else { - break; - } - return r16; - } else { - if (r15 < r11 | r12 < r14) { - r16 = 0; - } else { - break; - } - return r16; - } - } while (0); - r14 = r2 + 8 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r14 = (r1 + 8 | 0) >> 2; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 1], HEAPF64[tempDoublePtr >> 3]); - r12 = r2 - r1; - r15 = r3 + 8 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r15 = r4 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r15 = r3 - r4; - r8 = r12 < 0; - r13 = r8 ? r2 : r1; - r17 = r8 ? r1 : r2; - do { - if (r15 > 0) { - if (r17 < r4 | r3 < r13) { - r16 = 0; - } else { - break; - } - return r16; - } else { - if (r17 < r3 | r4 < r13) { - r16 = 0; - } else { - break; - } - return r16; - } - } while (0); - r13 = r9 - r11; - r11 = r1 - r3; - r3 = r15 * r13 - r10 * r11; - r1 = r10 * r12 - r7 * r15; - do { - if (r1 > 0) { - if (r3 < 0 | r3 > r1) { - r16 = 0; - return r16; - } - r15 = r7 * r11 - r12 * r13; - if (r15 < 0 | r15 > r1) { - r16 = 0; - } else { - break; - } - return r16; - } else { - if (r3 > 0 | r3 < r1) { - r16 = 0; - return r16; - } - r15 = r7 * r11 - r12 * r13; - if (r15 > 0 | r15 < r1) { - r16 = 0; - } else { - break; - } - return r16; - } - } while (0); - if (r1 == 0) { - r16 = 3; - return r16; - } - r13 = r9 + r7 * r3 / r1; - HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 1], HEAPF64[tempDoublePtr >> 3]) + r12 * r3 / r1; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r16 = 1; - return r16; -} -__ZN5Avoid21segmentIntersectPointERKNS_5PointES2_S2_S2_PdS3_["X"] = 1; -function __ZN5Avoid17rayIntersectPointERKNS_5PointES2_S2_S2_PdS3_(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - var r10, r11, r12, r13; - r10 = (r1 + 8 | 0) >> 2; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]); - r12 = r3 - r11; - r3 = r5 - r7; - r7 = r1 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r2 - r1; - r2 = r4 - r6; - r6 = r3 * (r1 - r4) - (r11 - r5) * r2; - r5 = r12 * r2 - r3 * r7; - if (r5 == 0) { - r13 = 3; - return r13; - } - r3 = r1 + r7 * r6 / r5; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]) + r12 * r6 / r5; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r9 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r13 = 1; - return r13; -} -function __ZN5Avoid5PointC2Ev(r1) { - HEAP32[r1 + 16 >> 2] = 0; - HEAP16[r1 + 20 >> 1] = 8; - return; -} -function __ZN5Avoid5PointC2Edd(r1, r2, r3) { - var r4; - r4 = r1 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 16 >> 2] = 0; - HEAP16[r1 + 20 >> 1] = 8; - return; -} -function __ZNK5Avoid5PointeqERKS0_(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = r1 | 0; - r4 = r2 | 0; - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = r1 + 8 | 0; - r6 = r2 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r7 = 1; - } else { - break; - } - return r7; - } - } while (0); - r7 = 0; - return r7; -} -function __ZNK5Avoid5PointneERKS0_(r1, r2) { - var r3, r4, r5; - r3 = r1 | 0; - r4 = r2 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = 1; - return r5; - } - r4 = r1 + 8 | 0; - r1 = r2 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = 1; - return r5; - } - r5 = 0; - return r5; -} -function __ZNK5Avoid5PointltERKS0_(r1, r2) { - var r3, r4, r5; - r3 = r1 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 == r5) { - r3 = r1 + 8 | 0; - r1 = r2 + 8 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - return r2; - } else { - r2 = r4 < r5; - return r2; - } -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid9inBetweenERKNS_5PointES2_S2_(r1, r2, r3) { - var r4, r5, r6, r7, r8; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r3, 2.220446049250313e-16) | 0) != 0) { - ___assert_func(5252356, 61, 5255960, 5249964); - } - r4 = r1 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r2 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (Math.abs(r5 - r6) > 2.220446049250313e-16) { - r4 = r3 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r5 < r7 & r7 < r6) { - r8 = 1; - return r8; - } - if (r6 >= r7) { - r8 = 0; - return r8; - } - r8 = r7 < r5; - return r8; - } else { - r5 = r1 + 8 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 + 8 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r2 + 8 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r1 < r3 & r3 < r2) { - r8 = 1; - return r8; - } - if (r2 >= r3) { - r8 = 0; - return r8; - } - r8 = r3 < r1; - return r8; - } -} -function __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9; - if (r4 < 0) { - ___assert_func(5246128, 82, 5255016, 5245396); - } - r5 = r2 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r1 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 + 8 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r1 + 8 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 | 0; - r3 = r2 + 8 | 0; - r2 = (r6 - r7) * (r8 - r1) - ((HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r7) * ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r1); - if (r2 < -r4) { - r9 = -1; - return r9; - } - r9 = r2 > r4 & 1; - return r9; -} -function __ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r1 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r2 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r6 == r7) { - r5 = r3 | 0; - if (r6 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r8 = 0; - return r8; - } - r5 = r1 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 + 8 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r2 + 8 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r9 < r10 & r10 < r11) { - r8 = 1; - return r8; - } - if (r11 >= r10) { - r8 = 0; - return r8; - } - r8 = r10 < r9; - return r8; - } - r9 = r1 + 8 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = r2 + 8 | 0; - if (r10 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r3, r4) | 0) != 0) { - r8 = 0; - return r8; - } - r8 = __ZN5Avoid9inBetweenERKNS_5PointES2_S2_(r1, r2, r3); - return r8; - } - r2 = r3 + 8 | 0; - if (r10 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r8 = 0; - return r8; - } - r2 = r3 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r6 < r3 & r3 < r7) { - r8 = 1; - return r8; - } - if (r7 >= r3) { - r8 = 0; - return r8; - } - r8 = r3 < r6; - return r8; -} -__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d["X"] = 1; -function __ZN5Avoid16segmentIntersectERKNS_5PointES2_S2_S2_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9; - r5 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r3, 0); - do { - if ((r5 | 0) == 0) { - r6 = 0; - } else { - r7 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r4, 0); - if ((r7 | 0) == 0) { - r6 = 0; - break; - } - r8 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r3, r4, r1, 0); - r9 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r3, r4, r2, 0); - if ((Math.imul(r7, r5) | 0) >= 0) { - r6 = 0; - break; - } - r6 = (Math.imul(r9, r8) | 0) < 0; - } - } while (0); - return r6; -} -function __ZN5Avoid21segmentShapeIntersectERKNS_5PointES2_S2_S2_Rb(r1, r2, r3, r4, r5) { - var r6, r7; - r6 = 0; - if (__ZN5Avoid16segmentIntersectERKNS_5PointES2_S2_S2_(r1, r2, r3, r4)) { - r7 = 1; - return r7; - } - do { - if (__ZNK5Avoid5PointeqERKS0_(r4, r1)) { - r6 = 2339; - } else { - if (__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r3, r4, r1, 0)) { - r6 = 2339; - break; - } else { - r6 = 2340; - break; - } - } - } while (0); - do { - if (r6 == 2339) { - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r3, r4, r2, 0) | 0) == 0) { - r6 = 2340; - break; - } else { - break; - } - } - } while (0); - do { - if (r6 == 2340) { - do { - if (!__ZNK5Avoid5PointeqERKS0_(r4, r2)) { - if (__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r3, r4, r2, 0)) { - break; - } else { - r7 = 0; - } - return r7; - } - } while (0); - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r3, r4, r1, 0) | 0) == 0) { - r7 = 0; - } else { - break; - } - return r7; - } - } while (0); - if ((HEAP8[r5] & 1) << 24 >> 24 != 0) { - r7 = 1; - return r7; - } - HEAP8[r5] = 1; - r7 = 0; - return r7; -} -function __ZN5Avoid13inValidRegionEbRKNS_5PointES2_S2_S2_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9; - r6 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r5, r2, r3, 0); - r7 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r5, r3, r4, 0); - r5 = (r6 | 0) < 1; - r8 = (r7 | 0) < 1; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r2, r3, r4, 0) | 0) <= 0) { - return r5 & r8 & (r1 ^ 1); - } - if (!r1) { - r9 = r5 | r8; - return r9; - } - if ((r7 | 0) < 0 | r5 ^ 1) { - return r8 & (r6 | 0) > -1; - } else { - r9 = 1; - return r9; - } -} -function __ZN5Avoid10cornerSideERKNS_5PointES2_S2_S2_(r1, r2, r3, r4) { - var r5, r6; - r5 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r3, 0); - r6 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r1, r2, r4, 0); - r1 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r2, r3, r4, 0); - if ((r5 | 0) == 1) { - return (r1 | r6) >> 31 | 1; - } else if ((r5 | 0) == -1) { - r5 = (r6 | 0) < 1 & (r1 | 0) < 1 ? -1 : 1; - return r5; - } else { - r5 = r6; - return r5; - } -} -function __ZN5Avoid13euclideanDistERKNS_5PointES2_(r1, r2) { - var r3, r4, r5; - r3 = r1 | 0; - r4 = r2 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r1 + 8 | 0; - r1 = r2 + 8 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - return Math.sqrt(r5 * r5 + r2 * r2); -} -function __ZN5Avoid13manhattanDistERKNS_5PointES2_(r1, r2) { - var r3, r4, r5; - r3 = r1 | 0; - r4 = r2 | 0; - r5 = Math.abs((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r4 = r1 + 8 | 0; - r1 = r2 + 8 | 0; - return r5 + Math.abs((HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); -} -function __ZN5Avoid6inPolyERKNS_7PolygonERKNS_5PointEb(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = 0; - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1); - if ((r4 | 0) == 0) { - r5 = 1; - return r5; - } - r6 = r4 - 1 | 0; - r7 = r1 + 8 | 0; - r1 = 0; - r8 = 0; - while (1) { - r9 = HEAP32[r7 >> 2]; - r10 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120(r9 + (((r6 + r1 | 0) >>> 0) % (r4 >>> 0) * 24 & -1) | 0, r9 + (r1 * 24 & -1) | 0, r2, 0); - if ((r10 | 0) == -1) { - r5 = 0; - r3 = 2376; - break; - } - r11 = r8 | (r10 | 0) == 0; - r10 = r1 + 1 | 0; - if (r10 >>> 0 < r4 >>> 0) { - r1 = r10; - r8 = r11; - } else { - break; - } - } - if (r3 == 2376) { - return r5; - } - r5 = r11 ^ 1; - return r5; -} -function __ZN5Avoid9inPolyGenERKNS_16PolygonInterfaceERKNS_5PointE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r3 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r4 = r3; - __ZN5Avoid7PolygonC1ERKNS_16PolygonInterfaceE(r4, r1); - r1 = __ZNK5Avoid7Polygon4sizeEv(r4); - L2807 : do { - if ((r1 | 0) == 0) { - r5 = 0; - r6 = 0; - } else { - r7 = HEAP32[r4 + 8 >> 2]; - r8 = r2 | 0; - r9 = r2 + 8 | 0; - r10 = 0; - while (1) { - r11 = (r7 + (r10 * 24 & -1) | 0) >> 2; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[r11] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r11 = (r7 + (r10 * 24 & -1) + 8 | 0) >> 2; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[r11] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r11 = r10 + 1 | 0; - if ((r11 | 0) == (r1 | 0)) { - break; - } else { - r10 = r11; - } - } - r10 = r1 - 1 | 0; - r9 = 0; - r8 = 0; - r11 = 0; - while (1) { - r12 = r7 + (r9 * 24 & -1) | 0; - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = r7 + (r9 * 24 & -1) + 8 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r13 == 0 & r14 == 0) { - r15 = 1; - break; - } - r12 = ((r10 + r9 | 0) >>> 0) % (r1 >>> 0); - r16 = r7 + (r12 * 24 & -1) + 8 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r14 > 0 ^ r17 > 0) { - r16 = r7 + (r12 * 24 & -1) | 0; - if ((r17 * r13 - r14 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) / (r17 - r14) <= 0) { - r18 = r11; - break; - } - r18 = r11 + 1 | 0; - } else { - r18 = r11; - } - } while (0); - do { - if (r14 < 0 ^ r17 < 0) { - r16 = r7 + (r12 * 24 & -1) | 0; - if ((r17 * r13 - r14 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) / (r17 - r14) >= 0) { - r19 = r8; - break; - } - r19 = r8 + 1 | 0; - } else { - r19 = r8; - } - } while (0); - r14 = r9 + 1 | 0; - if (r14 >>> 0 < r1 >>> 0) { - r9 = r14; - r8 = r19; - r11 = r18; - } else { - r5 = r19; - r6 = r18; - break L2807; - } - } - __ZN5Avoid7PolygonD1Ev(r4); - STACKTOP = r3; - return r15; - } - } while (0); - r18 = (r6 | 0) % 2; - r15 = (r18 | 0) == 1 | (r18 | 0) != ((r5 | 0) % 2 | 0); - __ZN5Avoid7PolygonD1Ev(r4); - STACKTOP = r3; - return r15; -} -__ZN5Avoid9inPolyGenERKNS_16PolygonInterfaceERKNS_5PointE["X"] = 1; -function __ZN5Avoid15rotationalAngleERKNS_5PointE(r1, r2) { - var r3, r4, r5; - if (r2 == 0) { - r3 = r1 < 0 ? 180 : 0; - return r3; - } - if (r1 == 0) { - r3 = r2 < 0 ? 270 : 90; - return r3; - } - r4 = Math.atan(r2 / r1) * 180 / 3.141592653589793; - do { - if (r1 < 0) { - r5 = r4 + 180; - } else { - if (r2 >= 0) { - r5 = r4; - break; - } - r5 = r4 + 360; - } - } while (0); - if (r5 < 0) { - ___assert_func(5252356, 633, 5261252, 5248332); - } - if (r5 <= 360) { - r3 = r5; - return r3; - } - ___assert_func(5252356, 634, 5261252, 5247024); - r3 = r5; - return r3; -} -function __ZN5Avoid5PointC1Ev(r1) { - __ZN5Avoid5PointC2Ev(r1); - return; -} -function __ZN5Avoid5PointC1Edd(r1, r2, r3) { - __ZN5Avoid5PointC2Edd(r1, r2, r3); - return; -} -function __ZNK5Avoid5Point6equalsERKS0_d(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = r1 | 0; - r4 = r2 | 0; - do { - if (Math.abs((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) < 1e-4) { - r5 = r1 + 8 | 0; - r6 = r2 + 8 | 0; - if (Math.abs((HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) < 1e-4) { - r7 = 1; - } else { - break; - } - return r7; - } - } while (0); - r7 = 0; - return r7; -} -function __ZN5Avoid5PointixEj(r1, r2) { - if (r2 >>> 0 >= 2) { - ___assert_func(5251448, 99, 5258844, 5249900); - } - return (r2 | 0) == 0 ? r1 | 0 : r1 + 8 | 0; -} -function __ZN5Avoid16PolygonInterfaceC2Ev(r1) { - HEAP32[r1 >> 2] = 5267564; - return; -} -function __ZNK5Avoid5PointixEj(r1, r2) { - if (r2 >>> 0 >= 2) { - ___assert_func(5251448, 106, 5254232, 5249900); - } - return (r2 | 0) == 0 ? r1 | 0 : r1 + 8 | 0; -} -function __ZNK5Avoid5PointmiERKS0_(r1, r2, r3, r4, r5) { - __ZN5Avoid5PointC1Edd(r1, r2 - r4, r3 - r5); - return; -} -function __ZNK5Avoid16PolygonInterface17offsetBoundingBoxEd(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - __ZN5Avoid3BoxC1Ev(r1); - r4 = (r1 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = 1.7976931348623157e+308, HEAP32[r4] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = (r1 + 8 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = 1.7976931348623157e+308, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r6 = (r1 + 24 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = -1.7976931348623157e+308, HEAP32[r6] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r7 = (r1 + 32 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = -1.7976931348623157e+308, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r1 = r2; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r2) | 0) == 0) { - r8 = 1.7976931348623157e+308; - r9 = 1.7976931348623157e+308; - r10 = -1.7976931348623157e+308; - r11 = -1.7976931348623157e+308; - r12 = r8 - r3; - HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[r4] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r13 = r9 - r3; - HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = r10 + r3; - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r6] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r15 = r11 + r3; - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - return; - } - r16 = r2 >> 2; - r17 = 0; - r18 = 1.7976931348623157e+308; - r19 = 1.7976931348623157e+308; - r20 = -1.7976931348623157e+308; - r21 = -1.7976931348623157e+308; - while (1) { - r22 = FUNCTION_TABLE[HEAP32[HEAP32[r16] + 24 >> 2]](r2, r17) | 0; - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r22 = r23 < r18 ? r23 : r18; - HEAPF64[tempDoublePtr >> 3] = r22, HEAP32[r4] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r16] + 24 >> 2]](r2, r17) + 8 | 0; - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r23 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r23 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r23 = r24 < r19 ? r24 : r19; - HEAPF64[tempDoublePtr >> 3] = r23, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r24 = FUNCTION_TABLE[HEAP32[HEAP32[r16] + 24 >> 2]](r2, r17) | 0; - r25 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r24 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r24 = r20 < r25 ? r25 : r20; - HEAPF64[tempDoublePtr >> 3] = r24, HEAP32[r6] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r25 = FUNCTION_TABLE[HEAP32[HEAP32[r16] + 24 >> 2]](r2, r17) + 8 | 0; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r25 = r21 < r26 ? r26 : r21; - HEAPF64[tempDoublePtr >> 3] = r25, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r26 = r17 + 1 | 0; - if (r26 >>> 0 < FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r2) >>> 0) { - r17 = r26; - r18 = r22; - r19 = r23; - r20 = r24; - r21 = r25; - } else { - r8 = r22; - r9 = r23; - r10 = r24; - r11 = r25; - break; - } - } - r12 = r8 - r3; - HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[r4] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r13 = r9 - r3; - HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = r10 + r3; - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r6] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r15 = r11 + r3; - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -__ZNK5Avoid16PolygonInterface17offsetBoundingBoxEd["X"] = 1; -function __ZN5Avoid3BoxC1Ev(r1) { - __ZN5Avoid3BoxC2Ev(r1); - return; -} -function __ZN5Avoid7PolygonC1Ev(r1) { - __ZN5Avoid7PolygonC2Ev(r1); - return; -} -function __ZN5Avoid7PolygonC2Ev(r1) { - var r2, r3, r4; - __ZN5Avoid16PolygonInterfaceC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5267356; - r2 = r1 + 4 | 0; - for (r3 = r2 >> 2, r4 = r3 + 10; r3 < r4; r3++) { - HEAP32[r3] = 0; - } - __ZN5Avoid7Polygon5clearEv(r1); - return; -} -function __ZN5Avoid7PolygonC2Ei(r1) { - var r2; - __ZN5Avoid16PolygonInterfaceC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5267356; - HEAP32[r1 + 4 >> 2] = 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1Ej(r1 + 8 | 0, 4); - r2 = (r1 + 20 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - return; -} -function __ZN5Avoid7PolygonC1ERKNS_16PolygonInterfaceE(r1, r2) { - __ZN5Avoid7PolygonC2ERKNS_16PolygonInterfaceE(r1, r2); - return; -} -function __ZN5Avoid7PolygonC2ERKNS_16PolygonInterfaceE(r1, r2) { - var r3, r4, r5, r6, r7; - __ZN5Avoid16PolygonInterfaceC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5267356; - r3 = r2 >> 2; - HEAP32[r1 + 4 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r3] + 20 >> 2]](r2); - r4 = r1 + 8 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1Ej(r4, FUNCTION_TABLE[HEAP32[HEAP32[r3] + 16 >> 2]](r2)); - r5 = r4 | 0; - r4 = r2; - r6 = (r1 + 20 | 0) >> 2; - HEAP32[r6] = 0; - HEAP32[r6 + 1] = 0; - HEAP32[r6 + 2] = 0; - HEAP32[r6 + 3] = 0; - HEAP32[r6 + 4] = 0; - HEAP32[r6 + 5] = 0; - r6 = 0; - while (1) { - if (r6 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r3] + 16 >> 2]](r2) >>> 0) { - break; - } - r1 = HEAP32[r5 >> 2] + (r6 * 24 & -1) | 0; - r7 = FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 24 >> 2]](r2, r6); - HEAP32[r1 >> 2] = HEAP32[r7 >> 2]; - HEAP32[r1 + 4 >> 2] = HEAP32[r7 + 4 >> 2]; - HEAP32[r1 + 8 >> 2] = HEAP32[r7 + 8 >> 2]; - HEAP32[r1 + 12 >> 2] = HEAP32[r7 + 12 >> 2]; - HEAP32[r1 + 16 >> 2] = HEAP32[r7 + 16 >> 2]; - HEAP16[r1 + 20 >> 1] = HEAP16[r7 + 20 >> 1]; - r6 = r6 + 1 | 0; - } - return; -} -__ZN5Avoid7PolygonC2ERKNS_16PolygonInterfaceE["X"] = 1; -function __ZN5Avoid9RectangleC1ERKNS_5PointES3_(r1, r2, r3) { - __ZN5Avoid9RectangleC2ERKNS_5PointES3_(r1, r2, r3); - return; -} -function __ZNK5Avoid16PolygonInterface13offsetPolygonEd(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114; - r4 = STACKTOP; - STACKTOP = STACKTOP + 324 | 0; - r5 = r4; - r6 = r4 + 20; - r7 = r4 + 40; - r8 = r4 + 60; - r9 = r4 + 80; - r10 = r4 + 100; - r11 = r4 + 120; - r12 = r4 + 140; - r13 = r4 + 160; - r14 = r4 + 180; - r15 = r4 + 200; - r16 = r4 + 212; - r17 = r4 + 236; - r18 = r4 + 260; - r19 = r4 + 284; - r20 = r4 + 300; - __ZN5Avoid7PolygonC1Ev(r1); - r21 = r2 >> 2; - HEAP32[r1 + 4 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r21] + 20 >> 2]](r2); - if (r3 == 0) { - r22 = r1 + 8 | 0; - r23 = r2; - r24 = (r1 + 12 | 0) >> 2; - r25 = r1 + 16 | 0; - r26 = r25 | 0; - r27 = r25; - r25 = r22 | 0; - r28 = (r14 + 8 | 0) >> 2; - r29 = r14 + 12 | 0; - r30 = (r14 + 4 | 0) >> 2; - r31 = r14 | 0; - r32 = r14 + 16 | 0; - r33 = r13 | 0; - r34 = r13 + 4 | 0; - r35 = r13 + 8 | 0; - r36 = r13 + 12 | 0; - r37 = 0; - while (1) { - if (r37 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r21] + 16 >> 2]](r2) >>> 0) { - break; - } - r38 = FUNCTION_TABLE[HEAP32[HEAP32[r23 >> 2] + 24 >> 2]](r2, r37); - r39 = HEAP32[r24]; - r40 = HEAP32[r26 >> 2]; - if (r39 >>> 0 < r40 >>> 0) { - if ((r39 | 0) == 0) { - r41 = 0; - } else { - r42 = r39 >> 2; - r43 = r38 >> 2; - HEAP32[r42] = HEAP32[r43]; - HEAP32[r42 + 1] = HEAP32[r43 + 1]; - HEAP32[r42 + 2] = HEAP32[r43 + 2]; - HEAP32[r42 + 3] = HEAP32[r43 + 3]; - HEAP32[r42 + 4] = HEAP32[r43 + 4]; - HEAP32[r42 + 5] = HEAP32[r43 + 5]; - r41 = HEAP32[r24]; - } - HEAP32[r24] = r41 + 24 | 0; - } else { - r43 = HEAP32[r25 >> 2]; - r42 = ((r39 - r43 | 0) / 24 & -1) + 1 | 0; - if (r42 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r44 = HEAP32[r26 >> 2]; - r45 = HEAP32[r25 >> 2]; - } else { - r44 = r40; - r45 = r43; - } - r43 = r45; - r40 = (r44 - r43 | 0) / 24 & -1; - if (r40 >>> 0 > 89478484) { - r46 = 178956970; - } else { - r39 = r40 << 1; - r46 = r39 >>> 0 < r42 >>> 0 ? r42 : r39; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r14, r46, (HEAP32[r24] - r43 | 0) / 24 & -1, r27); - r43 = HEAP32[r28]; - do { - if ((r43 | 0) == (HEAP32[r29 >> 2] | 0)) { - r39 = HEAP32[r30]; - r42 = HEAP32[r31 >> 2]; - if (r39 >>> 0 > r42 >>> 0) { - r40 = r39; - r47 = (((r40 - r42 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r48 = r39 + (r47 * 24 & -1) | 0; - r49 = r43 - r40 | 0; - _memmove(r48, r39, r49, 4, 0); - r40 = r39 + ((((r49 | 0) / 24 & -1) + r47) * 24 & -1) | 0; - HEAP32[r28] = r40; - HEAP32[r30] = r48; - r50 = r40; - break; - } - r40 = ((r43 - r42 | 0) / 24 & -1) << 1; - r48 = (r40 | 0) == 0 ? 1 : r40; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r13, r48, r48 >>> 2, HEAP32[r32 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r13, r39, r43); - HEAP32[r31 >> 2] = HEAP32[r33 >> 2]; - HEAP32[r33 >> 2] = r42; - HEAP32[r30] = HEAP32[r34 >> 2]; - HEAP32[r34 >> 2] = r39; - r39 = HEAP32[r35 >> 2]; - HEAP32[r28] = r39; - HEAP32[r35 >> 2] = r43; - HEAP32[r29 >> 2] = HEAP32[r36 >> 2]; - HEAP32[r36 >> 2] = r43; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r13); - r50 = r39; - } else { - r50 = r43; - } - } while (0); - if ((r50 | 0) != 0) { - r43 = r50 >> 2; - r39 = r38 >> 2; - HEAP32[r43] = HEAP32[r39]; - HEAP32[r43 + 1] = HEAP32[r39 + 1]; - HEAP32[r43 + 2] = HEAP32[r39 + 2]; - HEAP32[r43 + 3] = HEAP32[r39 + 3]; - HEAP32[r43 + 4] = HEAP32[r39 + 4]; - HEAP32[r43 + 5] = HEAP32[r39 + 5]; - } - HEAP32[r28] = r50 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r22, r14); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r14); - } - r37 = r37 + 1 | 0; - } - STACKTOP = r4; - return; - } - r37 = FUNCTION_TABLE[HEAP32[HEAP32[r21] + 16 >> 2]](r2); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1Ej(r15, r37); - L62 : do { - if ((r37 | 0) != 0) { - r14 = HEAP32[r15 >> 2]; - r22 = r2 >> 2; - r50 = r16; - r28 = 0; - while (1) { - r13 = r28 + 1 | 0; - __ZN5AvoidL17unitNormalForEdgeERKNS_5PointES2_(r16, FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r28), FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, (r13 | 0) == (r37 | 0) ? 0 : r13)); - r36 = r14 + (r28 * 24 & -1) | 0; - HEAP32[r36 >> 2] = HEAP32[r50 >> 2]; - HEAP32[r36 + 4 >> 2] = HEAP32[r50 + 4 >> 2]; - HEAP32[r36 + 8 >> 2] = HEAP32[r50 + 8 >> 2]; - HEAP32[r36 + 12 >> 2] = HEAP32[r50 + 12 >> 2]; - HEAP32[r36 + 16 >> 2] = HEAP32[r50 + 16 >> 2]; - HEAP16[r36 + 20 >> 1] = HEAP16[r50 + 20 >> 1]; - if (r13 >>> 0 < r37 >>> 0) { - r28 = r13; - } else { - break; - } - } - r28 = r19 >> 2; - r50 = r18 + 16 | 0; - r38 = r18 + 20 | 0; - r13 = r1 + 8 | 0; - r36 = (r1 + 12 | 0) >> 2; - r29 = r1 + 16 | 0; - r35 = (r29 | 0) >> 2; - r34 = r18 >> 2; - r30 = r20 + 16 | 0; - r33 = r20 + 20 | 0; - r31 = r20 >> 2; - r32 = r29; - r29 = (r13 | 0) >> 2; - r27 = (r6 + 8 | 0) >> 2; - r24 = r6 + 12 | 0; - r46 = (r6 + 4 | 0) >> 2; - r44 = r6 | 0; - r45 = r6 + 16 | 0; - r25 = r5 | 0; - r26 = r5 + 4 | 0; - r41 = r5 + 8 | 0; - r23 = r5 + 12 | 0; - r39 = (r8 + 8 | 0) >> 2; - r43 = r8 + 12 | 0; - r42 = (r8 + 4 | 0) >> 2; - r48 = r8 | 0; - r40 = r8 + 16 | 0; - r47 = r7 | 0; - r49 = r7 + 4 | 0; - r51 = r7 + 8 | 0; - r52 = r7 + 12 | 0; - r53 = (r10 + 8 | 0) >> 2; - r54 = r10 + 12 | 0; - r55 = (r10 + 4 | 0) >> 2; - r56 = r10 | 0; - r57 = r10 + 16 | 0; - r58 = r9 | 0; - r59 = r9 + 4 | 0; - r60 = r9 + 8 | 0; - r61 = r9 + 12 | 0; - r62 = r17 + 16 | 0; - r63 = r17 + 20 | 0; - r64 = r17 >> 2; - r65 = (r12 + 8 | 0) >> 2; - r66 = r12 + 12 | 0; - r67 = (r12 + 4 | 0) >> 2; - r68 = r12 | 0; - r69 = r12 + 16 | 0; - r70 = r11 | 0; - r71 = r11 + 4 | 0; - r72 = r11 + 8 | 0; - r73 = r11 + 12 | 0; - r74 = r37 - 1 | 0; - r75 = 0; - while (1) { - r76 = (r14 + (r75 * 24 & -1) | 0) >> 2; - r77 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r76], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r76 + 1], HEAPF64[tempDoublePtr >> 3]); - r78 = (r14 + (r74 * 24 & -1) | 0) >> 2; - r79 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r78], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r78 + 1], HEAPF64[tempDoublePtr >> 3]); - r80 = (r14 + (r75 * 24 & -1) + 8 | 0) >> 2; - r81 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r80], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r80 + 1], HEAPF64[tempDoublePtr >> 3]); - r82 = (r14 + (r74 * 24 & -1) + 8 | 0) >> 2; - r83 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r82], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r82 + 1], HEAPF64[tempDoublePtr >> 3]); - do { - if ((r79 * r81 - r77 * r83) * r3 < 0) { - r84 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75) | 0; - r85 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r84 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r84 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r84 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r78], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r78 + 1], HEAPF64[tempDoublePtr >> 3]); - r86 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75) + 8 | 0; - __ZN5Avoid5PointC1Edd(r18, r85 + r84 * r3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r86 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r86 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) + (HEAP32[tempDoublePtr >> 2] = HEAP32[r82], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r82 + 1], HEAPF64[tempDoublePtr >> 3]) * r3); - r86 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75); - HEAP32[r28] = HEAP32[r86 >> 2]; - HEAP32[r28 + 1] = HEAP32[r86 + 4 >> 2]; - HEAP32[r28 + 2] = HEAP32[r86 + 8 >> 2]; - HEAP32[r28 + 3] = HEAP32[r86 + 12 >> 2]; - r84 = HEAP16[r86 + 22 >> 1]; - r86 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75) | 0; - r85 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r86 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r86 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r86 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r76], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r76 + 1], HEAPF64[tempDoublePtr >> 3]); - r87 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75) + 8 | 0; - __ZN5Avoid5PointC1Edd(r20, r85 + r86 * r3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r87 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r87 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) + (HEAP32[tempDoublePtr >> 2] = HEAP32[r80], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r80 + 1], HEAPF64[tempDoublePtr >> 3]) * r3); - HEAP32[r50 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r21] + 20 >> 2]](r2); - HEAP16[r38 >> 1] = __ZNK5Avoid7Polygon4sizeEv(r1) & 65535; - r87 = HEAP32[r36]; - r86 = HEAP32[r35]; - if (r87 >>> 0 < r86 >>> 0) { - if ((r87 | 0) == 0) { - r88 = 0; - } else { - r85 = r87 >> 2; - HEAP32[r85] = HEAP32[r34]; - HEAP32[r85 + 1] = HEAP32[r34 + 1]; - HEAP32[r85 + 2] = HEAP32[r34 + 2]; - HEAP32[r85 + 3] = HEAP32[r34 + 3]; - HEAP32[r85 + 4] = HEAP32[r34 + 4]; - HEAP32[r85 + 5] = HEAP32[r34 + 5]; - r88 = HEAP32[r36]; - } - HEAP32[r36] = r88 + 24 | 0; - } else { - r85 = HEAP32[r29]; - r89 = ((r87 - r85 | 0) / 24 & -1) + 1 | 0; - if (r89 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r90 = HEAP32[r35]; - r91 = HEAP32[r29]; - } else { - r90 = r86; - r91 = r85; - } - r85 = r91; - r86 = (r90 - r85 | 0) / 24 & -1; - if (r86 >>> 0 > 89478484) { - r92 = 178956970; - } else { - r87 = r86 << 1; - r92 = r87 >>> 0 < r89 >>> 0 ? r89 : r87; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r10, r92, (HEAP32[r36] - r85 | 0) / 24 & -1, r32); - r85 = HEAP32[r53]; - do { - if ((r85 | 0) == (HEAP32[r54 >> 2] | 0)) { - r87 = HEAP32[r55]; - r89 = HEAP32[r56 >> 2]; - if (r87 >>> 0 > r89 >>> 0) { - r86 = r87; - r93 = (((r86 - r89 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r94 = r87 + (r93 * 24 & -1) | 0; - r95 = r85 - r86 | 0; - _memmove(r94, r87, r95, 4, 0); - r86 = r87 + ((((r95 | 0) / 24 & -1) + r93) * 24 & -1) | 0; - HEAP32[r53] = r86; - HEAP32[r55] = r94; - r96 = r86; - break; - } - r86 = ((r85 - r89 | 0) / 24 & -1) << 1; - r94 = (r86 | 0) == 0 ? 1 : r86; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r9, r94, r94 >>> 2, HEAP32[r57 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r9, r87, r85); - HEAP32[r56 >> 2] = HEAP32[r58 >> 2]; - HEAP32[r58 >> 2] = r89; - HEAP32[r55] = HEAP32[r59 >> 2]; - HEAP32[r59 >> 2] = r87; - r87 = HEAP32[r60 >> 2]; - HEAP32[r53] = r87; - HEAP32[r60 >> 2] = r85; - HEAP32[r54 >> 2] = HEAP32[r61 >> 2]; - HEAP32[r61 >> 2] = r85; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r9); - r96 = r87; - } else { - r96 = r85; - } - } while (0); - if ((r96 | 0) != 0) { - r85 = r96 >> 2; - HEAP32[r85] = HEAP32[r34]; - HEAP32[r85 + 1] = HEAP32[r34 + 1]; - HEAP32[r85 + 2] = HEAP32[r34 + 2]; - HEAP32[r85 + 3] = HEAP32[r34 + 3]; - HEAP32[r85 + 4] = HEAP32[r34 + 4]; - HEAP32[r85 + 5] = HEAP32[r34 + 5]; - } - HEAP32[r53] = r96 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r13, r10); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r10); - } - r85 = FUNCTION_TABLE[HEAP32[HEAP32[r21] + 20 >> 2]](r2); - r87 = __ZNK5Avoid7Polygon4sizeEv(r1) & 65535; - r89 = HEAP32[r36]; - r94 = HEAP32[r35]; - if (r89 >>> 0 < r94 >>> 0) { - if ((r89 | 0) == 0) { - r97 = 0; - } else { - r86 = r89; - HEAP32[r86 >> 2] = HEAP32[r28]; - HEAP32[r86 + 4 >> 2] = HEAP32[r28 + 1]; - HEAP32[r86 + 8 >> 2] = HEAP32[r28 + 2]; - HEAP32[r86 + 12 >> 2] = HEAP32[r28 + 3]; - HEAP32[r89 + 16 >> 2] = r85; - HEAP16[r89 + 20 >> 1] = r87; - HEAP16[r86 + 22 >> 1] = r84; - r97 = HEAP32[r36]; - } - HEAP32[r36] = r97 + 24 | 0; - } else { - r86 = HEAP32[r29]; - r93 = ((r89 - r86 | 0) / 24 & -1) + 1 | 0; - if (r93 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r98 = HEAP32[r35]; - r99 = HEAP32[r29]; - } else { - r98 = r94; - r99 = r86; - } - r86 = r99; - r94 = (r98 - r86 | 0) / 24 & -1; - if (r94 >>> 0 > 89478484) { - r100 = 178956970; - } else { - r89 = r94 << 1; - r100 = r89 >>> 0 < r93 >>> 0 ? r93 : r89; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r8, r100, (HEAP32[r36] - r86 | 0) / 24 & -1, r32); - r86 = HEAP32[r39]; - do { - if ((r86 | 0) == (HEAP32[r43 >> 2] | 0)) { - r89 = HEAP32[r42]; - r93 = HEAP32[r48 >> 2]; - if (r89 >>> 0 > r93 >>> 0) { - r94 = r89; - r95 = (((r94 - r93 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r101 = r89 + (r95 * 24 & -1) | 0; - r102 = r86 - r94 | 0; - _memmove(r101, r89, r102, 4, 0); - r94 = r89 + ((((r102 | 0) / 24 & -1) + r95) * 24 & -1) | 0; - HEAP32[r39] = r94; - HEAP32[r42] = r101; - r103 = r94; - break; - } - r94 = ((r86 - r93 | 0) / 24 & -1) << 1; - r101 = (r94 | 0) == 0 ? 1 : r94; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r7, r101, r101 >>> 2, HEAP32[r40 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r7, r89, r86); - HEAP32[r48 >> 2] = HEAP32[r47 >> 2]; - HEAP32[r47 >> 2] = r93; - HEAP32[r42] = HEAP32[r49 >> 2]; - HEAP32[r49 >> 2] = r89; - r89 = HEAP32[r51 >> 2]; - HEAP32[r39] = r89; - HEAP32[r51 >> 2] = r86; - HEAP32[r43 >> 2] = HEAP32[r52 >> 2]; - HEAP32[r52 >> 2] = r86; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r7); - r103 = r89; - } else { - r103 = r86; - } - } while (0); - if ((r103 | 0) == 0) { - r104 = 0; - } else { - r86 = r103; - HEAP32[r86 >> 2] = HEAP32[r28]; - HEAP32[r86 + 4 >> 2] = HEAP32[r28 + 1]; - HEAP32[r86 + 8 >> 2] = HEAP32[r28 + 2]; - HEAP32[r86 + 12 >> 2] = HEAP32[r28 + 3]; - HEAP32[r103 + 16 >> 2] = r85; - HEAP16[r103 + 20 >> 1] = r87; - HEAP16[r86 + 22 >> 1] = r84; - r104 = r103; - } - HEAP32[r39] = r104 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r13, r8); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r8); - } - HEAP32[r30 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r21] + 20 >> 2]](r2); - HEAP16[r33 >> 1] = __ZNK5Avoid7Polygon4sizeEv(r1) & 65535; - r86 = HEAP32[r36]; - r89 = HEAP32[r35]; - if (r86 >>> 0 < r89 >>> 0) { - if ((r86 | 0) == 0) { - r105 = 0; - } else { - r93 = r86 >> 2; - HEAP32[r93] = HEAP32[r31]; - HEAP32[r93 + 1] = HEAP32[r31 + 1]; - HEAP32[r93 + 2] = HEAP32[r31 + 2]; - HEAP32[r93 + 3] = HEAP32[r31 + 3]; - HEAP32[r93 + 4] = HEAP32[r31 + 4]; - HEAP32[r93 + 5] = HEAP32[r31 + 5]; - r105 = HEAP32[r36]; - } - HEAP32[r36] = r105 + 24 | 0; - break; - } - r93 = HEAP32[r29]; - r101 = ((r86 - r93 | 0) / 24 & -1) + 1 | 0; - if (r101 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r106 = HEAP32[r35]; - r107 = HEAP32[r29]; - } else { - r106 = r89; - r107 = r93; - } - r93 = r107; - r89 = (r106 - r93 | 0) / 24 & -1; - if (r89 >>> 0 > 89478484) { - r108 = 178956970; - } else { - r86 = r89 << 1; - r108 = r86 >>> 0 < r101 >>> 0 ? r101 : r86; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r6, r108, (HEAP32[r36] - r93 | 0) / 24 & -1, r32); - r93 = HEAP32[r27]; - do { - if ((r93 | 0) == (HEAP32[r24 >> 2] | 0)) { - r86 = HEAP32[r46]; - r101 = HEAP32[r44 >> 2]; - if (r86 >>> 0 > r101 >>> 0) { - r89 = r86; - r94 = (((r89 - r101 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r95 = r86 + (r94 * 24 & -1) | 0; - r102 = r93 - r89 | 0; - _memmove(r95, r86, r102, 4, 0); - r89 = r86 + ((((r102 | 0) / 24 & -1) + r94) * 24 & -1) | 0; - HEAP32[r27] = r89; - HEAP32[r46] = r95; - r109 = r89; - break; - } - r89 = ((r93 - r101 | 0) / 24 & -1) << 1; - r95 = (r89 | 0) == 0 ? 1 : r89; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r5, r95, r95 >>> 2, HEAP32[r45 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r5, r86, r93); - HEAP32[r44 >> 2] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r101; - HEAP32[r46] = HEAP32[r26 >> 2]; - HEAP32[r26 >> 2] = r86; - r86 = HEAP32[r41 >> 2]; - HEAP32[r27] = r86; - HEAP32[r41 >> 2] = r93; - HEAP32[r24 >> 2] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r93; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r5); - r109 = r86; - } else { - r109 = r93; - } - } while (0); - if ((r109 | 0) != 0) { - r93 = r109 >> 2; - HEAP32[r93] = HEAP32[r31]; - HEAP32[r93 + 1] = HEAP32[r31 + 1]; - HEAP32[r93 + 2] = HEAP32[r31 + 2]; - HEAP32[r93 + 3] = HEAP32[r31 + 3]; - HEAP32[r93 + 4] = HEAP32[r31 + 4]; - HEAP32[r93 + 5] = HEAP32[r31 + 5]; - } - HEAP32[r27] = r109 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r13, r6); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r6); - } else { - r93 = r3 / (r77 * r79 + r81 * r83 + 1); - r84 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75) | 0; - r87 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r84 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r84 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r84 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r78], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r78 + 1], HEAPF64[tempDoublePtr >> 3]); - r85 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r76], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r76 + 1], HEAPF64[tempDoublePtr >> 3]); - r86 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 24 >> 2]](r2, r75) + 8 | 0; - r101 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r86 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r86 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r17, r87 + r93 * (r84 + r85), r101 + r93 * ((HEAP32[tempDoublePtr >> 2] = HEAP32[r82], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r82 + 1], HEAPF64[tempDoublePtr >> 3]) + (HEAP32[tempDoublePtr >> 2] = HEAP32[r80], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r80 + 1], HEAPF64[tempDoublePtr >> 3]))); - HEAP32[r62 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r21] + 20 >> 2]](r2); - HEAP16[r63 >> 1] = __ZNK5Avoid7Polygon4sizeEv(r1) & 65535; - r93 = HEAP32[r36]; - r101 = HEAP32[r35]; - if (r93 >>> 0 < r101 >>> 0) { - if ((r93 | 0) == 0) { - r110 = 0; - } else { - r85 = r93 >> 2; - HEAP32[r85] = HEAP32[r64]; - HEAP32[r85 + 1] = HEAP32[r64 + 1]; - HEAP32[r85 + 2] = HEAP32[r64 + 2]; - HEAP32[r85 + 3] = HEAP32[r64 + 3]; - HEAP32[r85 + 4] = HEAP32[r64 + 4]; - HEAP32[r85 + 5] = HEAP32[r64 + 5]; - r110 = HEAP32[r36]; - } - HEAP32[r36] = r110 + 24 | 0; - break; - } - r85 = HEAP32[r29]; - r84 = ((r93 - r85 | 0) / 24 & -1) + 1 | 0; - if (r84 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r111 = HEAP32[r35]; - r112 = HEAP32[r29]; - } else { - r111 = r101; - r112 = r85; - } - r85 = r112; - r101 = (r111 - r85 | 0) / 24 & -1; - if (r101 >>> 0 > 89478484) { - r113 = 178956970; - } else { - r93 = r101 << 1; - r113 = r93 >>> 0 < r84 >>> 0 ? r84 : r93; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r12, r113, (HEAP32[r36] - r85 | 0) / 24 & -1, r32); - r85 = HEAP32[r65]; - do { - if ((r85 | 0) == (HEAP32[r66 >> 2] | 0)) { - r93 = HEAP32[r67]; - r84 = HEAP32[r68 >> 2]; - if (r93 >>> 0 > r84 >>> 0) { - r101 = r93; - r87 = (((r101 - r84 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r86 = r93 + (r87 * 24 & -1) | 0; - r95 = r85 - r101 | 0; - _memmove(r86, r93, r95, 4, 0); - r101 = r93 + ((((r95 | 0) / 24 & -1) + r87) * 24 & -1) | 0; - HEAP32[r65] = r101; - HEAP32[r67] = r86; - r114 = r101; - break; - } - r101 = ((r85 - r84 | 0) / 24 & -1) << 1; - r86 = (r101 | 0) == 0 ? 1 : r101; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r11, r86, r86 >>> 2, HEAP32[r69 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r11, r93, r85); - HEAP32[r68 >> 2] = HEAP32[r70 >> 2]; - HEAP32[r70 >> 2] = r84; - HEAP32[r67] = HEAP32[r71 >> 2]; - HEAP32[r71 >> 2] = r93; - r93 = HEAP32[r72 >> 2]; - HEAP32[r65] = r93; - HEAP32[r72 >> 2] = r85; - HEAP32[r66 >> 2] = HEAP32[r73 >> 2]; - HEAP32[r73 >> 2] = r85; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r11); - r114 = r93; - } else { - r114 = r85; - } - } while (0); - if ((r114 | 0) != 0) { - r85 = r114 >> 2; - HEAP32[r85] = HEAP32[r64]; - HEAP32[r85 + 1] = HEAP32[r64 + 1]; - HEAP32[r85 + 2] = HEAP32[r64 + 2]; - HEAP32[r85 + 3] = HEAP32[r64 + 3]; - HEAP32[r85 + 4] = HEAP32[r64 + 4]; - HEAP32[r85 + 5] = HEAP32[r64 + 5]; - } - HEAP32[r65] = r114 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r13, r12); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r12); - } - } while (0); - r80 = r75 + 1 | 0; - if (r80 >>> 0 < r37 >>> 0) { - r74 = r75; - r75 = r80; - } else { - break L62; - } - } - } - } while (0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r15); - STACKTOP = r4; - return; -} -__ZNK5Avoid16PolygonInterface13offsetPolygonEd["X"] = 1; -function __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d182(r1, r2, r3, r4, r5, r6) { - var r7, r8; - r7 = (r3 - r1) * (r6 - r2) - (r4 - r2) * (r5 - r1); - if (r7 < 0) { - r8 = -1; - return r8; - } - r8 = r7 > 0 & 1; - return r8; -} -function __ZNK5Avoid7Polygon4sizeEv(r1) { - return (HEAP32[r1 + 12 >> 2] - HEAP32[r1 + 8 >> 2] | 0) / 24 & -1; -} -function __ZN5Avoid7Polygon5clearEv(r1) { - HEAP32[r1 + 12 >> 2] = HEAP32[r1 + 8 >> 2]; - HEAP32[r1 + 24 >> 2] = HEAP32[r1 + 20 >> 2]; - return; -} -function __ZNK5Avoid7Polygon5emptyEv(r1) { - return (HEAP32[r1 + 8 >> 2] | 0) == (HEAP32[r1 + 12 >> 2] | 0); -} -function __ZNK5Avoid7Polygon2idEv(r1) { - return HEAP32[r1 + 4 >> 2]; -} -function __ZN5AvoidL17unitNormalForEdgeERKNS_5PointES2_(r1, r2, r3) { - var r4, r5, r6; - if (__ZNK5Avoid5PointeqERKS0_(r3, r2)) { - __ZN5Avoid5PointC1Edd(r1, 0, 0); - return; - } else { - r4 = r3 | 0; - r5 = r2 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 + 8 | 0; - r3 = r2 + 8 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = 1 / Math.sqrt(r6 * r6 + r2 * r2); - __ZN5Avoid5PointC1Edd(r1, r2 * r3, -(r6 * r3)); - return; - } -} -function __ZNK5Avoid7Polygon2atEj(r1, r2) { - if (FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1) >>> 0 <= r2 >>> 0) { - ___assert_func(5251448, 373, 5253812, 5246112); - } - return HEAP32[r1 + 8 >> 2] + (r2 * 24 & -1) | 0; -} -function __ZN5Avoid7Polygon9translateEdd(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = r1; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 16 >> 2]](r1) | 0) == 0) { - return; - } - r5 = r1 + 8 | 0; - r6 = 0; - while (1) { - r7 = (HEAP32[r5 >> 2] + (r6 * 24 & -1) | 0) >> 2; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]) + r2; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r7 = (HEAP32[r5 >> 2] + (r6 * 24 & -1) + 8 | 0) >> 2; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]) + r3; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r7 = r6 + 1 | 0; - if (r7 >>> 0 < FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 16 >> 2]](r1) >>> 0) { - r6 = r7; - } else { - break; - } - } - return; -} -function __ZNK5Avoid7Polygon8simplifyEv(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32; - __ZN5Avoid7PolygonC1ERKS0_(r1, r2); - r2 = r1 + 32 | 0; - r3 = r1 + 36 | 0; - r4 = (HEAP32[r2 >> 2] | 0) == (HEAP32[r3 >> 2] | 0); - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = r1 + 12 | 0; - r8 = HEAP32[r7 >> 2]; - r9 = 0; - r10 = 2; - r11 = (r6 | 0) == (r8 | 0) ? r6 : r6 + 24 | 0; - r6 = r8; - L217 : while (1) { - r8 = r10 - 2 | 0; - r12 = r10 - 1 | 0; - r13 = r11 + 24 | 0; - r14 = r13; - r15 = r11; - r16 = r13; - r17 = r10 - 3 | 0; - r18 = r9; - r19 = r6; - L219 : while (1) { - r20 = r19; - while (1) { - if (r10 >>> 0 >= __ZNK5Avoid7Polygon4sizeEv(r1) >>> 0) { - break L217; - } - r21 = HEAP32[r5 >> 2]; - r22 = r21 + (r8 * 24 & -1) | 0; - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r22 = r21 + (r8 * 24 & -1) + 8 | 0; - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r22 = r21 + (r12 * 24 & -1) | 0; - r25 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r22 = r21 + (r12 * 24 & -1) + 8 | 0; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r22 = r21 + (r10 * 24 & -1) | 0; - r27 = r21 + (r10 * 24 & -1) + 8 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d182(r23, r24, r25, r26, (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) != 0) { - break L219; - } - r27 = r20 - r14 | 0; - _memmove(r15, r16, r27, 4, 0); - r28 = r11 + (((r27 | 0) / 24 & -1) * 24 & -1) | 0; - HEAP32[r7 >> 2] = r28; - if (r4) { - r20 = r28; - } else { - break; - } - } - r27 = HEAP32[r2 >> 2]; - r22 = r18; - while (1) { - r29 = r27 + (r22 * 28 & -1) | 0; - r30 = HEAP32[r29 >> 2]; - if (r30 >>> 0 < r8 >>> 0) { - r22 = r22 + 1 | 0; - } else { - break; - } - } - L229 : do { - if ((r30 | 0) == (r8 | 0)) { - r26 = r22; - r25 = r29; - while (1) { - HEAP32[r25 >> 2] = r17; - r24 = r26 + 1 | 0; - r23 = r27 + (r24 * 28 & -1) | 0; - if ((HEAP32[r23 >> 2] | 0) == (r8 | 0)) { - r26 = r24; - r25 = r23; - } else { - r31 = r24; - break L229; - } - } - } else { - r31 = r22; - } - } while (0); - r25 = (HEAP32[r3 >> 2] - r27 | 0) / 28 & -1; - if (r31 >>> 0 < r25 >>> 0) { - r32 = r31; - } else { - r18 = r22; - r19 = r28; - continue; - } - while (1) { - r26 = r27 + (r32 * 28 & -1) | 0; - HEAP32[r26 >> 2] = HEAP32[r26 >> 2] - 2 | 0; - r26 = r32 + 1 | 0; - if (r26 >>> 0 < r25 >>> 0) { - r32 = r26; - } else { - r18 = r22; - r19 = r28; - continue L219; - } - } - } - r9 = r18; - r10 = r10 + 1 | 0; - r11 = r13; - r6 = r20; - } - return; -} -__ZNK5Avoid7Polygon8simplifyEv["X"] = 1; -function __ZNK5Avoid7Polygon19checkpointOnSegmentEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37; - r4 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r5 = r4; - r6 = r4 + 20; - r7 = (r1 | 0) >> 2; - HEAP32[r7] = 0; - r8 = (r1 + 4 | 0) >> 2; - HEAP32[r8] = 0; - r9 = r1 + 8 | 0; - r10 = (r9 | 0) >> 2; - HEAP32[r10] = 0; - r11 = r3 << 1; - r3 = r11 + 2 | 0; - r12 = r2 + 36 | 0; - r13 = r2 + 32 | 0; - r2 = HEAP32[r13 >> 2]; - if ((HEAP32[r12 >> 2] | 0) == (r2 | 0)) { - STACKTOP = r4; - return; - } - r14 = r9; - r9 = (r6 + 8 | 0) >> 2; - r15 = r6 + 12 | 0; - r16 = (r6 + 4 | 0) >> 2; - r17 = r6 | 0; - r18 = r6 + 16 | 0; - r19 = r5 | 0; - r20 = r5 + 4 | 0; - r21 = r5 + 8 | 0; - r22 = r5 + 12 | 0; - r23 = 0; - r24 = r2; - while (1) { - r2 = HEAP32[r24 + (r23 * 28 & -1) >> 2]; - do { - if (!(r2 >>> 0 < r11 >>> 0 | r2 >>> 0 > r3 >>> 0)) { - r25 = r24 + (r23 * 28 & -1) + 4 | 0; - r26 = HEAP32[r8]; - r27 = HEAP32[r10]; - if (r26 >>> 0 < r27 >>> 0) { - if ((r26 | 0) == 0) { - r28 = 0; - } else { - r29 = r26 >> 2; - r30 = r25 >> 2; - HEAP32[r29] = HEAP32[r30]; - HEAP32[r29 + 1] = HEAP32[r30 + 1]; - HEAP32[r29 + 2] = HEAP32[r30 + 2]; - HEAP32[r29 + 3] = HEAP32[r30 + 3]; - HEAP32[r29 + 4] = HEAP32[r30 + 4]; - HEAP32[r29 + 5] = HEAP32[r30 + 5]; - r28 = HEAP32[r8]; - } - HEAP32[r8] = r28 + 24 | 0; - break; - } - r30 = HEAP32[r7]; - r29 = ((r26 - r30 | 0) / 24 & -1) + 1 | 0; - if (r29 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r31 = HEAP32[r10]; - r32 = HEAP32[r7]; - } else { - r31 = r27; - r32 = r30; - } - r30 = r32; - r27 = (r31 - r30 | 0) / 24 & -1; - if (r27 >>> 0 > 89478484) { - r33 = 178956970; - } else { - r26 = r27 << 1; - r33 = r26 >>> 0 < r29 >>> 0 ? r29 : r26; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r6, r33, (HEAP32[r8] - r30 | 0) / 24 & -1, r14); - r30 = HEAP32[r9]; - do { - if ((r30 | 0) == (HEAP32[r15 >> 2] | 0)) { - r26 = HEAP32[r16]; - r29 = HEAP32[r17 >> 2]; - if (r26 >>> 0 > r29 >>> 0) { - r27 = r26; - r34 = (((r27 - r29 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r35 = r26 + (r34 * 24 & -1) | 0; - r36 = r30 - r27 | 0; - _memmove(r35, r26, r36, 4, 0); - r27 = r26 + ((((r36 | 0) / 24 & -1) + r34) * 24 & -1) | 0; - HEAP32[r9] = r27; - HEAP32[r16] = r35; - r37 = r27; - break; - } - r27 = ((r30 - r29 | 0) / 24 & -1) << 1; - r35 = (r27 | 0) == 0 ? 1 : r27; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r5, r35, r35 >>> 2, HEAP32[r18 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r5, r26, r30); - HEAP32[r17 >> 2] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r29; - HEAP32[r16] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r26; - r26 = HEAP32[r21 >> 2]; - HEAP32[r9] = r26; - HEAP32[r21 >> 2] = r30; - HEAP32[r15 >> 2] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r30; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r5); - r37 = r26; - } else { - r37 = r30; - } - } while (0); - if ((r37 | 0) != 0) { - r30 = r37 >> 2; - r26 = r25 >> 2; - HEAP32[r30] = HEAP32[r26]; - HEAP32[r30 + 1] = HEAP32[r26 + 1]; - HEAP32[r30 + 2] = HEAP32[r26 + 2]; - HEAP32[r30 + 3] = HEAP32[r26 + 3]; - HEAP32[r30 + 4] = HEAP32[r26 + 4]; - HEAP32[r30 + 5] = HEAP32[r26 + 5]; - } - HEAP32[r9] = r37 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r1, r6); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r6); - } - } while (0); - r2 = r23 + 1 | 0; - r26 = HEAP32[r13 >> 2]; - if (r2 >>> 0 < ((HEAP32[r12 >> 2] - r26 | 0) / 28 & -1) >>> 0) { - r23 = r2; - r24 = r26; - } else { - break; - } - } - STACKTOP = r4; - return; -} -__ZNK5Avoid7Polygon19checkpointOnSegmentEj["X"] = 1; -function __ZN5Avoid9RectangleC2ERKNS_5PointES3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - r5 = r4; - r6 = r4 + 24; - r7 = r4 + 48; - r8 = r4 + 72; - __ZN5Avoid7PolygonC2Ei(r1 | 0); - HEAP32[r1 >> 2] = 5267260; - r9 = r2 | 0; - r10 = r3 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = r11 < r10 ? r11 : r10; - r12 = r10 < r11 ? r11 : r10; - r10 = r2 + 8 | 0; - r2 = r3 + 8 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r3 < r2 ? r3 : r2; - r11 = r2 < r3 ? r3 : r2; - r2 = (r1 + 8 | 0) >> 2; - r1 = HEAP32[r2]; - __ZN5Avoid5PointC1Edd(r5, r12, r10); - r3 = r1; - r1 = r5; - HEAP32[r3 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r3 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP32[r3 + 8 >> 2] = HEAP32[r1 + 8 >> 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r1 + 12 >> 2]; - HEAP32[r3 + 16 >> 2] = HEAP32[r1 + 16 >> 2]; - HEAP16[r3 + 20 >> 1] = HEAP16[r1 + 20 >> 1]; - r1 = HEAP32[r2]; - __ZN5Avoid5PointC1Edd(r6, r12, r11); - r12 = r1 + 24 | 0; - r1 = r6; - HEAP32[r12 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r12 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP32[r12 + 8 >> 2] = HEAP32[r1 + 8 >> 2]; - HEAP32[r12 + 12 >> 2] = HEAP32[r1 + 12 >> 2]; - HEAP32[r12 + 16 >> 2] = HEAP32[r1 + 16 >> 2]; - HEAP16[r12 + 20 >> 1] = HEAP16[r1 + 20 >> 1]; - r1 = HEAP32[r2]; - __ZN5Avoid5PointC1Edd(r7, r9, r11); - r11 = r1 + 48 | 0; - r1 = r7; - HEAP32[r11 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r11 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP32[r11 + 8 >> 2] = HEAP32[r1 + 8 >> 2]; - HEAP32[r11 + 12 >> 2] = HEAP32[r1 + 12 >> 2]; - HEAP32[r11 + 16 >> 2] = HEAP32[r1 + 16 >> 2]; - HEAP16[r11 + 20 >> 1] = HEAP16[r1 + 20 >> 1]; - r1 = HEAP32[r2]; - __ZN5Avoid5PointC1Edd(r8, r9, r10); - r10 = r1 + 72 | 0; - r1 = r8; - HEAP32[r10 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r10 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP32[r10 + 8 >> 2] = HEAP32[r1 + 8 >> 2]; - HEAP32[r10 + 12 >> 2] = HEAP32[r1 + 12 >> 2]; - HEAP32[r10 + 16 >> 2] = HEAP32[r1 + 16 >> 2]; - HEAP16[r10 + 20 >> 1] = HEAP16[r1 + 20 >> 1]; - STACKTOP = r4; - return; -} -function __ZN5Avoid7PolygonD0Ev(r1) { - __ZN5Avoid7PolygonD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid9RectangleD0Ev(r1) { - __ZN5Avoid9RectangleD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid3BoxC2Ev(r1) { - __ZN5Avoid5PointC1Ev(r1 | 0); - __ZN5Avoid5PointC1Ev(r1 + 24 | 0); - return; -} -function __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r1, r2, r3, r4) { - __ZN5Avoid7EdgeInfC2EPNS_7VertInfES2_b(r1, r2, r3, r4); - return; -} -function __ZN5Avoid7EdgeInfC2EPNS_7VertInfES2_b(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = r1 + 8 | 0; - r6 = r1; - HEAP32[r6 >> 2] = 0; - HEAP32[r6 + 4 >> 2] = 0; - HEAP32[r6 + 8 >> 2] = 0; - HEAP32[r6 + 12 >> 2] = 0; - HEAP16[r6 + 16 >> 1] = 0; - HEAP8[r1 + 18 | 0] = r4 & 1; - HEAP8[r1 + 19 | 0] = 0; - HEAP8[r1 + 20 | 0] = 0; - r4 = (r1 + 24 | 0) >> 2; - HEAP32[r4] = r2; - r6 = r1 + 28 | 0; - HEAP32[r6 >> 2] = r3; - r7 = r1 + 40 | 0; - r8 = r7 | 0; - r9 = r7; - HEAP32[r7 >> 2] = r9; - HEAP32[r1 + 44 >> 2] = r9; - HEAP32[r1 + 48 >> 2] = 0; - r9 = r1 + 52 | 0; - HEAPF64[tempDoublePtr >> 3] = -1, HEAP32[r9 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - if ((r2 | 0) == 0 | (r3 | 0) == 0) { - ___assert_func(5250276, 58, 5256944, 5249780); - r10 = HEAP32[r4]; - r11 = HEAP32[r6 >> 2]; - } else { - r10 = r2; - r11 = r3; - } - r3 = HEAP32[r10 >> 2]; - if ((r3 | 0) == (HEAP32[r11 >> 2] | 0)) { - r12 = r3; - HEAP32[r5 >> 2] = r12; - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r8); - return; - } - ___assert_func(5250276, 61, 5256944, 5248196); - r12 = HEAP32[HEAP32[r4] >> 2]; - HEAP32[r5 >> 2] = r12; - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r8); - return; -} -__ZN5Avoid7EdgeInfC2EPNS_7VertInfES2_b["X"] = 1; -function __ZNSt3__14listIPbNS_9allocatorIS1_EEED1Ev(r1) { - __ZNSt3__14listIPbNS_9allocatorIS1_EEED2Ev(r1); - return; -} -function __ZN5Avoid7EdgeInfD1Ev(r1) { - __ZN5Avoid7EdgeInfD2Ev(r1); - return; -} -function __ZN5Avoid7EdgeInfD2Ev(r1) { - if ((HEAP8[r1 + 16 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid7EdgeInf12makeInactiveEv(r1); - } - __ZNSt3__14listIPbNS_9allocatorIS1_EEED1Ev(r1 + 40 | 0); - return; -} -function __ZN5Avoid7EdgeInf12makeInactiveEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r2 = r1 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 8; - r7 = r3 + 12; - r8 = r3 + 16; - r9 = r3 + 20; - r10 = r1 + 16 | 0; - if ((HEAP8[r10] & 1) << 24 >> 24 == 0) { - ___assert_func(5250276, 223, 5257160, 5245188); - } - r11 = (HEAP8[r1 + 17 | 0] & 1) << 24 >> 24 != 0; - if ((HEAP8[r1 + 18 | 0] & 1) << 24 >> 24 != 0) { - if (!r11) { - ___assert_func(5250276, 227, 5257160, 5246020); - } - __ZN5Avoid8EdgeList10removeEdgeEPNS_7EdgeInfE(HEAP32[r2 + 2] + 72 | 0, r1); - r12 = r1 + 24 | 0; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r4, HEAP32[r12 >> 2] + 68 | 0, HEAP32[r2 + 8]); - r4 = HEAP32[r12 >> 2] + 80 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] - 1 | 0; - r4 = r1 + 28 | 0; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r5, HEAP32[r4 >> 2] + 68 | 0, HEAP32[r2 + 9]); - r5 = HEAP32[r4 >> 2] + 80 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - r13 = r1 + 12 | 0, r14 = r13 >> 2; - HEAP32[r14] = 0; - r15 = r1 + 40 | 0; - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r15); - HEAP8[r10] = 0; - STACKTOP = r3; - return; - } - r5 = HEAP32[r2 + 2]; - if (r11) { - __ZN5Avoid8EdgeList10removeEdgeEPNS_7EdgeInfE(r5 + 40 | 0, r1); - r11 = r1 + 24 | 0; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r6, HEAP32[r11 >> 2] + 52 | 0, HEAP32[r2 + 8]); - r6 = HEAP32[r11 >> 2] + 64 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - r6 = r1 + 28 | 0; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r7, HEAP32[r6 >> 2] + 52 | 0, HEAP32[r2 + 9]); - r7 = HEAP32[r6 >> 2] + 64 | 0; - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] - 1 | 0; - r13 = r1 + 12 | 0, r14 = r13 >> 2; - HEAP32[r14] = 0; - r15 = r1 + 40 | 0; - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r15); - HEAP8[r10] = 0; - STACKTOP = r3; - return; - } else { - __ZN5Avoid8EdgeList10removeEdgeEPNS_7EdgeInfE(r5 + 56 | 0, r1); - r5 = r1 + 24 | 0; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r8, HEAP32[r5 >> 2] + 84 | 0, HEAP32[r2 + 8]); - r8 = HEAP32[r5 >> 2] + 96 | 0; - HEAP32[r8 >> 2] = HEAP32[r8 >> 2] - 1 | 0; - r8 = r1 + 28 | 0; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r9, HEAP32[r8 >> 2] + 84 | 0, HEAP32[r2 + 9]); - r2 = HEAP32[r8 >> 2] + 96 | 0; - HEAP32[r2 >> 2] = HEAP32[r2 >> 2] - 1 | 0; - r13 = r1 + 12 | 0, r14 = r13 >> 2; - HEAP32[r14] = 0; - r15 = r1 + 40 | 0; - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r15); - HEAP8[r10] = 0; - STACKTOP = r3; - return; - } -} -__ZN5Avoid7EdgeInf12makeInactiveEv["X"] = 1; -function __ZNK5Avoid7EdgeInf16rotationLessThanEPKNS_7VertInfEPKS0_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - r6 = HEAP32[r1 + 24 >> 2]; - r7 = HEAP32[r3 + 24 >> 2]; - do { - if ((r6 | 0) == (r7 | 0)) { - r8 = HEAP32[r1 + 28 >> 2]; - r9 = HEAP32[r3 + 28 >> 2]; - if ((r8 | 0) == (r9 | 0)) { - r10 = 0; - } else { - r11 = r8; - r12 = r9; - r13 = r6; - break; - } - STACKTOP = r4; - return r10; - } else { - r9 = HEAP32[r3 + 28 >> 2]; - r8 = HEAP32[r1 + 28 >> 2]; - if ((r6 | 0) == (r9 | 0)) { - r11 = r8; - r12 = r7; - r13 = r6; - break; - } - if ((r8 | 0) == (r7 | 0)) { - r11 = r6; - r12 = r9; - r13 = r7; - break; - } - r14 = (r8 | 0) == (r9 | 0); - r11 = r14 ? r6 : 0; - r12 = r14 ? r7 : 0; - r13 = r14 ? r8 : 0; - } - } while (0); - r7 = r13 + 12 | 0; - if ((r2 | 0) == 0) { - r6 = r7 | 0; - r1 = r13 + 20 | 0; - __ZN5Avoid5PointC1Edd(r5, (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - 10, (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - } else { - r1 = r5 >> 2; - r6 = (r2 + 12 | 0) >> 2; - HEAP32[r1] = HEAP32[r6]; - HEAP32[r1 + 1] = HEAP32[r6 + 1]; - HEAP32[r1 + 2] = HEAP32[r6 + 2]; - HEAP32[r1 + 3] = HEAP32[r6 + 3]; - HEAP32[r1 + 4] = HEAP32[r6 + 4]; - HEAP32[r1 + 5] = HEAP32[r6 + 5]; - } - r6 = r5 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r5 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = (__ZN5AvoidL15orthogTurnOrderERKNS_5PointES2_S2_(r1, r5, r7, r11 + 12 | 0) | 0) < (__ZN5AvoidL15orthogTurnOrderERKNS_5PointES2_S2_(r1, r5, r7, r12 + 12 | 0) | 0); - STACKTOP = r4; - return r10; -} -__ZNK5Avoid7EdgeInf16rotationLessThanEPKNS_7VertInfEPKS0_["X"] = 1; -function __ZN5AvoidL15orthogTurnOrderERKNS_5PointES2_S2_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r4 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r6 != r7) { - r5 = r4 + 8 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r3 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r8 != r9) { - r10 = 4; - } else { - r11 = r9; - break; - } - return r10; - } else { - r9 = r3 + 8 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - } - } while (0); - if (r7 != r1 & r11 != r2) { - r10 = 4; - return r10; - } - r3 = r4 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d226(r1, r2, r7, r11, r6, r4); - if ((r3 | 0) > 0) { - r10 = 1; - return r10; - } - if ((r3 | 0) < 0) { - r10 = 2; - return r10; - } - do { - if (r7 == r6) { - if (r11 > r2 & r4 < r11) { - r10 = 0; - return r10; - } - if (r11 < r2 & r4 > r11) { - r10 = 0; - } else { - break; - } - return r10; - } else { - if (r7 > r1 & r6 < r7) { - r10 = 0; - return r10; - } - if (r7 < r1 & r6 > r7) { - r10 = 0; - } else { - break; - } - return r10; - } - } while (0); - r10 = 3; - return r10; -} -function __ZNK5Avoid7EdgeInf8mtstDistEv(r1) { - return r1; -} -function __ZNK5Avoid7EdgeInf7blockerEv(r1) { - return r1; -} -function __ZNK5Avoid7EdgeInf10isDisabledEv(r1) { - return (r1 & 1) << 24 >> 24 != 0; -} -function __ZN5Avoid7EdgeInf5addedEv(r1) { - return (r1 & 1) << 24 >> 24 != 0; -} -function __ZN5Avoid8EdgeList10removeEdgeEPNS_7EdgeInfE(r1, r2) { - var r3, r4, r5, r6; - r3 = (r2 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r2 + 4 | 0) >> 2; - if ((r4 | 0) != 0) { - HEAP32[r4 + 4 >> 2] = HEAP32[r5]; - } - r4 = HEAP32[r5]; - if ((r4 | 0) != 0) { - HEAP32[r4 >> 2] = HEAP32[r3]; - } - r4 = r1 + 8 | 0; - do { - if ((HEAP32[r4 >> 2] | 0) == (r2 | 0)) { - HEAP32[r4 >> 2] = HEAP32[r3]; - r6 = r1 + 4 | 0; - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - break; - } - HEAP32[r6 >> 2] = 0; - } else { - r6 = r1 + 4 | 0; - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - break; - } - HEAP32[r6 >> 2] = HEAP32[r5]; - } - } while (0); - HEAP32[r3] = 0; - HEAP32[r5] = 0; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - return; -} -function __ZN5Avoid7EdgeInf11setMtstDistEd(r1, r2) { - var r3; - r3 = r1 + 60 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -function __ZN5Avoid7EdgeInf11setDisabledEb(r1, r2) { - HEAP8[r1 + 20 | 0] = r2 & 1; - return; -} -function __ZN5Avoid7EdgeInf19setHyperedgeSegmentEb(r1, r2) { - HEAP8[r1 + 19 | 0] = r2 & 1; - return; -} -function __ZN5Avoid7EdgeInf10makeActiveEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20; - r2 = r1 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 8; - r7 = r3 + 12; - r8 = r3 + 16; - r9 = r3 + 20; - r10 = r3 + 24; - r11 = r3 + 28; - r12 = r3 + 32; - r13 = r3 + 36; - r14 = r3 + 40; - r15 = r3 + 44; - r16 = r1 + 16 | 0; - if ((HEAP8[r16] & 1) << 24 >> 24 != 0) { - ___assert_func(5250276, 187, 5257196, 5246912); - } - r17 = (HEAP8[r1 + 17 | 0] & 1) << 24 >> 24 != 0; - if ((HEAP8[r1 + 18 | 0] & 1) << 24 >> 24 != 0) { - if (!r17) { - ___assert_func(5250276, 191, 5257196, 5246020); - } - __ZN5Avoid8EdgeList7addEdgeEPNS_7EdgeInfE(HEAP32[r2 + 2] + 72 | 0, r1); - r18 = r1 + 24 | 0; - r19 = HEAP32[r18 >> 2]; - r20 = HEAP32[r19 + 72 >> 2]; - HEAP32[r5 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r4, r19 + 68 | 0, r20, r5); - HEAP32[r2 + 8] = HEAP32[r4 >> 2]; - r4 = HEAP32[r18 >> 2] + 80 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] + 1 | 0; - r4 = r1 + 28 | 0; - r18 = HEAP32[r4 >> 2]; - r5 = HEAP32[r18 + 72 >> 2]; - HEAP32[r7 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r6, r18 + 68 | 0, r5, r7); - HEAP32[r2 + 9] = HEAP32[r6 >> 2]; - r6 = HEAP32[r4 >> 2] + 80 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - HEAP8[r16] = 1; - STACKTOP = r3; - return; - } - r6 = HEAP32[r2 + 2]; - if (r17) { - __ZN5Avoid8EdgeList7addEdgeEPNS_7EdgeInfE(r6 + 40 | 0, r1); - r17 = r1 + 24 | 0; - r4 = HEAP32[r17 >> 2]; - r7 = HEAP32[r4 + 56 >> 2]; - HEAP32[r9 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r8, r4 + 52 | 0, r7, r9); - HEAP32[r2 + 8] = HEAP32[r8 >> 2]; - r8 = HEAP32[r17 >> 2] + 64 | 0; - HEAP32[r8 >> 2] = HEAP32[r8 >> 2] + 1 | 0; - r8 = r1 + 28 | 0; - r17 = HEAP32[r8 >> 2]; - r9 = HEAP32[r17 + 56 >> 2]; - HEAP32[r11 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r10, r17 + 52 | 0, r9, r11); - HEAP32[r2 + 9] = HEAP32[r10 >> 2]; - r10 = HEAP32[r8 >> 2] + 64 | 0; - HEAP32[r10 >> 2] = HEAP32[r10 >> 2] + 1 | 0; - HEAP8[r16] = 1; - STACKTOP = r3; - return; - } else { - __ZN5Avoid8EdgeList7addEdgeEPNS_7EdgeInfE(r6 + 56 | 0, r1); - r6 = r1 + 24 | 0; - r10 = HEAP32[r6 >> 2]; - r8 = HEAP32[r10 + 88 >> 2]; - HEAP32[r13 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r12, r10 + 84 | 0, r8, r13); - HEAP32[r2 + 8] = HEAP32[r12 >> 2]; - r12 = HEAP32[r6 >> 2] + 96 | 0; - HEAP32[r12 >> 2] = HEAP32[r12 >> 2] + 1 | 0; - r12 = r1 + 28 | 0; - r6 = HEAP32[r12 >> 2]; - r13 = HEAP32[r6 + 88 >> 2]; - HEAP32[r15 >> 2] = r1; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r14, r6 + 84 | 0, r13, r15); - HEAP32[r2 + 9] = HEAP32[r14 >> 2]; - r14 = HEAP32[r12 >> 2] + 96 | 0; - HEAP32[r14 >> 2] = HEAP32[r14 >> 2] + 1 | 0; - HEAP8[r16] = 1; - STACKTOP = r3; - return; - } -} -__ZN5Avoid7EdgeInf10makeActiveEv["X"] = 1; -function __ZN5Avoid8EdgeList7addEdgeEPNS_7EdgeInfE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = r2 >> 2; - do { - if ((HEAP8[r1 | 0] & 1) << 24 >> 24 != 0) { - r4 = HEAP32[r3 + 6]; - r5 = HEAP32[r3 + 7]; - if (__ZNK5Avoid7EdgeInf12isOrthogonalEv(r4, r5)) { - break; - } - if (__ZNK5Avoid7EdgeInf17isDummyConnectionEv(r4, r5)) { - break; - } - ___assert_func(5250276, 709, 5256640, 5249228); - } - } while (0); - r5 = r1 + 4 | 0; - r4 = (r1 + 8 | 0) >> 2; - r6 = HEAP32[r4]; - r7 = (r6 | 0) == 0; - if ((HEAP32[r5 >> 2] | 0) == 0) { - if (!r7) { - ___assert_func(5250276, 713, 5256640, 5248984); - } - HEAP32[r4] = r2; - HEAP32[r5 >> 2] = r2; - HEAP32[r3] = 0; - HEAP32[r3 + 1] = 0; - r5 = r1 + 12 | 0, r8 = r5 >> 2; - r9 = HEAP32[r8]; - r10 = r9 + 1 | 0; - HEAP32[r8] = r10; - return; - } else { - if (r7) { - ___assert_func(5250276, 723, 5256640, 5248740); - r11 = HEAP32[r4]; - } else { - r11 = r6; - } - HEAP32[r11 + 4 >> 2] = r2; - HEAP32[r3] = HEAP32[r4]; - HEAP32[r4] = r2; - HEAP32[r3 + 1] = 0; - r5 = r1 + 12 | 0, r8 = r5 >> 2; - r9 = HEAP32[r8]; - r10 = r9 + 1 | 0; - HEAP32[r8] = r10; - return; - } -} -__ZN5Avoid8EdgeList7addEdgeEPNS_7EdgeInfE["X"] = 1; -function __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8; - r5 = __Znwj(12); - r6 = r5; - r7 = r5; - HEAP32[r7 >> 2] = 0; - r8 = r5 + 8 | 0; - if ((r8 | 0) != 0) { - HEAP32[r8 >> 2] = HEAP32[r4 >> 2]; - } - r4 = (r3 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = r6; - HEAP32[r7 >> 2] = HEAP32[r4]; - HEAP32[r4] = r6; - HEAP32[r5 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - HEAP32[r1 >> 2] = r6; - return; -} -function __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZN5Avoid7EdgeInf7setDistEd(r1, r2) { - var r3, r4, r5, r6; - r3 = r1 + 16 | 0; - r4 = HEAP8[r3]; - do { - if ((r4 & 1) << 24 >> 24 == 0) { - r5 = r4; - } else { - if ((HEAP8[r1 + 17 | 0] & 1) << 24 >> 24 != 0) { - r5 = r4; - break; - } - __ZN5Avoid7EdgeInf12makeInactiveEv(r1); - r6 = HEAP8[r3]; - if ((r6 & 1) << 24 >> 24 == 0) { - r5 = r6; - break; - } - ___assert_func(5250276, 266, 5257016, 5244664); - r5 = HEAP8[r3]; - } - } while (0); - if ((r5 & 1) << 24 >> 24 == 0) { - HEAP8[r1 + 17 | 0] = 1; - __ZN5Avoid7EdgeInf10makeActiveEv(r1); - } - r5 = r1 + 52 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 12 >> 2] = 0; - return; -} -function __ZN5Avoid7EdgeInf10alertConnsEv(r1) { - var r2, r3, r4, r5; - r2 = r1 + 40 | 0; - r3 = r2; - r4 = HEAP32[r1 + 44 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r2); - return; - } else { - r5 = r4; - } - while (1) { - HEAP8[HEAP32[r5 + 8 >> 2]] = 1; - r4 = HEAP32[r5 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - break; - } else { - r5 = r4; - } - } - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r2); - return; -} -function __ZN5Avoid7EdgeInf7addConnEPb(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - HEAP32[r4 >> 2] = r2; - __ZNSt3__14listIPbNS_9allocatorIS1_EEE9push_backERKS1_(r1 + 40 | 0, r4); - STACKTOP = r3; - return; -} -function __ZNSt3__14listIPbNS_9allocatorIS1_EEE9push_backERKS1_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid7EdgeInf10addBlockerEi(r1, r2) { - var r3, r4, r5, r6; - if ((HEAP8[HEAP32[r1 + 8 >> 2] + 141 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5250276, 344, 5257232, 5244324); - } - r3 = r1 + 16 | 0; - r4 = HEAP8[r3]; - do { - if ((r4 & 1) << 24 >> 24 == 0) { - r5 = r4; - } else { - if ((HEAP8[r1 + 17 | 0] & 1) << 24 >> 24 == 0) { - r5 = r4; - break; - } - __ZN5Avoid7EdgeInf12makeInactiveEv(r1); - r6 = HEAP8[r3]; - if ((r6 & 1) << 24 >> 24 == 0) { - r5 = r6; - break; - } - ___assert_func(5250276, 349, 5257232, 5244664); - r5 = HEAP8[r3]; - } - } while (0); - if ((r5 & 1) << 24 >> 24 == 0) { - HEAP8[r1 + 17 | 0] = 0; - __ZN5Avoid7EdgeInf10makeActiveEv(r1); - } - r5 = r1 + 52 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 12 >> 2] = r2; - return; -} -function __ZNK5Avoid7EdgeInf3idsEv(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 8; - __ZN5Avoid6VertIDC1ERKS0_(r4, HEAP32[r2 + 24 >> 2] + 4 | 0); - __ZN5Avoid6VertIDC1ERKS0_(r5, HEAP32[r2 + 28 >> 2] + 4 | 0); - __ZN5Avoid6VertIDC1ERKS0_(r1 | 0, r4); - __ZN5Avoid6VertIDC1ERKS0_(r1 + 8 | 0, r5); - STACKTOP = r3; - return; -} -function __ZNK5Avoid7EdgeInf6pointsEv(r1, r2, r3) { - var r4; - r4 = (r2 + 12 | 0) >> 2; - r2 = (r3 + 12 | 0) >> 2; - r3 = r1 >> 2; - HEAP32[r3] = HEAP32[r4]; - HEAP32[r3 + 1] = HEAP32[r4 + 1]; - HEAP32[r3 + 2] = HEAP32[r4 + 2]; - HEAP32[r3 + 3] = HEAP32[r4 + 3]; - HEAP32[r3 + 4] = HEAP32[r4 + 4]; - HEAP32[r3 + 5] = HEAP32[r4 + 5]; - r4 = (r1 + 24 | 0) >> 2; - HEAP32[r4] = HEAP32[r2]; - HEAP32[r4 + 1] = HEAP32[r2 + 1]; - HEAP32[r4 + 2] = HEAP32[r2 + 2]; - HEAP32[r4 + 3] = HEAP32[r2 + 3]; - HEAP32[r4 + 4] = HEAP32[r2 + 4]; - HEAP32[r4 + 5] = HEAP32[r2 + 5]; - return; -} -function __ZN5Avoid7EdgeInf8checkVisEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = HEAP32[r1 + 24 >> 2]; - r7 = HEAP32[r1 + 28 >> 2]; - r8 = r6 + 4 | 0; - r9 = r7 + 4 | 0; - r10 = r6 + 12 | 0; - r11 = r7 + 12 | 0; - r12 = (r1 + 8 | 0) >> 2; - r13 = HEAP32[r12] + 668 | 0; - HEAP32[r13 >> 2] = HEAP32[r13 >> 2] + 1 | 0; - r13 = r6 + 10 | 0; - r14 = __ZNK5Avoid6VertID8isConnPtEv(HEAP16[r13 >> 1]); - r15 = HEAP32[r12]; - r16 = HEAP8[r15 + 139 | 0] & 1; - do { - if (r14) { - if (r16 << 24 >> 24 != 0) { - r2 = 379; - break; - } - r17 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r15 + 88 | 0, r8); - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r7 + 10 >> 1])) { - r2 = 379; - break; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r5, r17 | 0, r9 | 0); - if ((HEAP32[r5 >> 2] | 0) == (r17 + 4 | 0)) { - r2 = 379; - break; - } else { - r18 = 0; - break; - } - } else { - if (__ZN5Avoid13inValidRegionEbRKNS_5PointES2_S2_S2_(r16 << 24 >> 24 != 0, HEAP32[r6 + 44 >> 2] + 12 | 0, r10, HEAP32[r6 + 48 >> 2] + 12 | 0, r11)) { - r2 = 379; - break; - } else { - r18 = 0; - break; - } - } - } while (0); - L448 : do { - if (r2 == 379) { - r6 = __ZNK5Avoid6VertID8isConnPtEv(HEAP16[r7 + 10 >> 1]); - r16 = HEAP32[r12]; - r5 = HEAP8[r16 + 139 | 0] & 1; - do { - if (r6) { - if (r5 << 24 >> 24 != 0) { - break; - } - r15 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r16 + 88 | 0, r9); - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r13 >> 1])) { - break; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r4, r15 | 0, r8 | 0); - if ((HEAP32[r4 >> 2] | 0) != (r15 + 4 | 0)) { - r18 = 0; - break L448; - } - } else { - if (!__ZN5Avoid13inValidRegionEbRKNS_5PointES2_S2_S2_(r5 << 24 >> 24 != 0, HEAP32[r7 + 44 >> 2] + 12 | 0, r11, HEAP32[r7 + 48 >> 2] + 12 | 0, r10)) { - r18 = 0; - break L448; - } - } - } while (0); - r5 = __ZN5Avoid7EdgeInf12firstBlockerEv(r1); - if ((r5 | 0) != 0) { - r18 = r5; - break; - } - __ZN5Avoid7EdgeInf7setDistEd(r1, __ZN5Avoid13euclideanDistERKNS_5PointES2_(r10, r11)); - STACKTOP = r3; - return; - } - } while (0); - if ((HEAP8[HEAP32[r12] + 141 | 0] & 1) << 24 >> 24 == 0) { - STACKTOP = r3; - return; - } - __ZN5Avoid7EdgeInf10addBlockerEi(r1, r18); - STACKTOP = r3; - return; -} -__ZN5Avoid7EdgeInf8checkVisEv["X"] = 1; -function __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSB_(r1, r4, r2); - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) != 0) { - r8 = r7; - r9 = r8 + 24 | 0; - STACKTOP = r3; - return r9; - } - __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEE16__construct_nodeERSB_(r5, r1, r2); - r2 = r5 | 0; - r5 = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSJ_SJ_(r1 | 0, HEAP32[r4 >> 2], r6, r5 | 0); - r8 = r5; - r9 = r8 + 24 | 0; - STACKTOP = r3; - return r9; -} -function __ZN5Avoid7EdgeInf12firstBlockerEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 36 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 8; - r7 = r3 + 12; - r8 = r3 + 24; - r9 = r3 + 28; - r10 = r7 | 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC1ERKS2_(r10); - r11 = HEAP32[r1 + 24 >> 2]; - r12 = r11 + 12 | 0; - r13 = HEAP32[r1 + 28 >> 2]; - r14 = r13 + 12 | 0; - r15 = r11 + 4 | 0; - r16 = r13 + 4 | 0; - r17 = r1 + 8 | 0; - r1 = HEAP32[r17 >> 2] + 88 | 0; - L469 : do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r11 + 10 >> 1])) { - r18 = HEAP32[__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r1, r15) >> 2]; - r19 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r1, r15) + 4 | 0; - r20 = r7 + 4 | 0; - if ((r18 | 0) == (r19 | 0)) { - break; - } - r21 = r19; - r19 = r18; - while (1) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEERKj(r6, r10, r20, r19 + 16 | 0); - r18 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r19 | 0); - if ((r18 | 0) == (r21 | 0)) { - break L469; - } else { - r19 = r18; - } - } - } - } while (0); - L478 : do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r13 + 10 >> 1])) { - r6 = HEAP32[__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r1, r16) >> 2]; - r15 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r1, r16) + 4 | 0; - r11 = r7 + 4 | 0; - if ((r6 | 0) == (r15 | 0)) { - break; - } - r19 = r15; - r15 = r6; - while (1) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEERKj(r5, r10, r11, r15 + 16 | 0); - r6 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r15 | 0); - if ((r6 | 0) == (r19 | 0)) { - break L478; - } else { - r15 = r6; - } - } - } - } while (0); - r5 = HEAP32[r17 >> 2] + 100 | 0; - HEAP8[r8] = 0; - r17 = __ZN5Avoid11VertInfList11shapesBeginEv(HEAP32[r5 >> 2]); - L487 : do { - if ((r17 | 0) != 0) { - r5 = r9 | 0, r16 = r5 >> 2; - r1 = r4 | 0; - r13 = r7 + 4 | 0; - r15 = r17; - r19 = 0; - while (1) { - r11 = r15, r6 = r11 >> 2; - L491 : while (1) { - r21 = r11 + 4 | 0; - __ZN5Avoid6VertIDC1ERKS0_(r9, r21); - if (__ZNK5Avoid6VertIDeqERKS0_(r21, 5274208)) { - r21 = HEAP32[r6 + 10]; - if ((r21 | 0) == 0) { - break L487; - } else { - r11 = r21, r6 = r11 >> 2; - continue; - } - } - if ((HEAP32[r16] | 0) == (r19 | 0)) { - r22 = r19; - break; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r4, r10, r5); - if ((HEAP32[r1 >> 2] | 0) == (r13 | 0)) { - r2 = 421; - break; - } - r21 = HEAP32[r16]; - if ((r11 | 0) == 0) { - break L487; - } else { - r23 = r11; - } - while (1) { - if ((HEAP32[r23 + 4 >> 2] | 0) != (r21 | 0)) { - r11 = r23, r6 = r11 >> 2; - continue L491; - } - r20 = HEAP32[r23 + 40 >> 2]; - if ((r20 | 0) == 0) { - break L487; - } else { - r23 = r20; - } - } - } - if (r2 == 421) { - r2 = 0; - HEAP8[r8] = 0; - r22 = HEAP32[r16]; - } - if (__ZN5Avoid21segmentShapeIntersectERKNS_5PointES2_S2_S2_Rb(r12, r14, HEAP32[r6 + 11] + 12 | 0, r11 + 12 | 0, r8)) { - break; - } - r21 = HEAP32[r6 + 10]; - if ((r21 | 0) == 0) { - break L487; - } else { - r15 = r21; - r19 = r22; - } - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5clearEv(r10); - r24 = HEAP32[r16]; - __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r7); - STACKTOP = r3; - return r24; - } - } while (0); - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5clearEv(r10); - r24 = 0; - __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r7); - STACKTOP = r3; - return r24; -} -__ZN5Avoid7EdgeInf12firstBlockerEv["X"] = 1; -function __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r1) { - __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED2Ev(r1); - return; -} -function __ZNK5Avoid8EdgeList4sizeEv(r1) { - return r1; -} -function __ZN5Avoid8EdgeList5beginEv(r1) { - return r1; -} -function __ZN5Avoid7EdgeInf9isBetweenEPNS_7VertInfES2_(r1, r2, r3, r4) { - if ((r1 | 0) == (r3 | 0) & (r2 | 0) == (r4 | 0)) { - return 1; - } else { - return (r2 | 0) == (r3 | 0) & (r1 | 0) == (r4 | 0); - } -} -function __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d226(r1, r2, r3, r4, r5, r6) { - var r7, r8; - r7 = (r3 - r1) * (r6 - r2) - (r4 - r2) * (r5 - r1); - if (r7 < 0) { - r8 = -1; - return r8; - } - r8 = r7 > 0 & 1; - return r8; -} -function __ZNK5Avoid7EdgeInf12isOrthogonalEv(r1, r2) { - var r3, r4, r5; - r3 = r1 + 12 | 0; - r4 = r2 + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = 1; - return r5; - } - r4 = r1 + 20 | 0; - r1 = r2 + 20 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - return r5; -} -function __ZN5Avoid8EdgeListC2Eb(r1, r2) { - HEAP8[r1 | 0] = r2 & 1; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 + 12 >> 2] = 0; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEESB_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 456; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 460; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 459; - break; - } else { - r3 = r6; - } - } - if (r4 == 459) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 460) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } else if (r4 == 456) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } -} -function __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - r3 = r1; - while (1) { - r1 = HEAP32[r3 + 8 >> 2]; - if ((r3 | 0) == (HEAP32[r1 >> 2] | 0)) { - r3 = r1; - } else { - r4 = r1; - break; - } - } - return r4; - } else { - r3 = r2; - while (1) { - r2 = HEAP32[r3 + 4 >> 2]; - if ((r2 | 0) == 0) { - r4 = r3; - break; - } else { - r3 = r2; - } - } - return r4; - } -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC2ERKS2_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE13__lower_boundIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_SB_SB_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L556 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L556; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L556; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNK5Avoid7EdgeInf17isDummyConnectionEv(r1, r2) { - var r3, r4, r5, r6; - r3 = HEAP16[r1 + 10 >> 1]; - r1 = __ZNK5Avoid6VertID15isConnectionPinEv(r3); - r4 = HEAP16[r2 + 10 >> 1]; - do { - if (r1) { - if (__ZNK5Avoid6VertID8isConnPtEv(r4)) { - r5 = 1; - } else { - r6 = r4; - break; - } - return r5; - } else { - r6 = r4; - } - } while (0); - if (!__ZNK5Avoid6VertID15isConnectionPinEv(r6)) { - r5 = 0; - return r5; - } - r5 = __ZNK5Avoid6VertID8isConnPtEv(r3); - return r5; -} -function __ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 + 24 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r1 + 28 | 0; - do { - if ((r4 | 0) == (r2 | 0)) { - r6 = r5; - } else { - if ((HEAP32[r5 >> 2] | 0) == (r2 | 0)) { - r7 = r4; - } else { - ___assert_func(5250276, 580, 5253876, 5250204); - r7 = HEAP32[r3 >> 2]; - } - if ((r7 | 0) == (r2 | 0)) { - r6 = r5; - break; - } else { - r8 = r7; - } - return r8; - } - } while (0); - r8 = HEAP32[r6 >> 2]; - return r8; -} -function __ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b(r1, r2) { - var r3, r4, r5; - if (!__ZNK5Avoid6VertIDneERKS0_(r1 + 4 | 0, 5274208)) { - ___assert_func(5250276, 590, 5257056, 5250096); - } - if (!__ZNK5Avoid6VertIDneERKS0_(r2 + 4 | 0, 5274208)) { - ___assert_func(5250276, 591, 5257056, 5249940); - } - r3 = HEAP32[r1 >> 2]; - if ((__ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_(r1, r2) | 0) != 0) { - ___assert_func(5250276, 598, 5257056, 5249732); - } - r4 = __Znwj(68); - r5 = r4; - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r5, r1, r2, 0); - __ZN5Avoid7EdgeInf8checkVisEv(r5); - if ((HEAP8[r4 + 16 | 0] & 1) << 24 >> 24 != 0) { - return; - } - if ((HEAP8[r3 + 141 | 0] & 1) << 24 >> 24 != 0 | (r4 | 0) == 0) { - return; - } - __ZN5Avoid7EdgeInfD1Ev(r5); - __ZdlPv(r4); - return; -} -__ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b["X"] = 1; -function __ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = 0; - r4 = HEAP32[r1 + 64 >> 2] >>> 0 <= HEAP32[r2 + 64 >> 2] >>> 0 ? r1 : r2; - r5 = r4 + 52 | 0; - r6 = r4 + 56 | 0; - while (1) { - r4 = HEAP32[r6 >> 2]; - if ((r4 | 0) == (r5 | 0)) { - break; - } - r7 = HEAP32[r4 + 8 >> 2]; - if (__ZN5Avoid7EdgeInf9isBetweenEPNS_7VertInfES2_(HEAP32[r7 + 24 >> 2], HEAP32[r7 + 28 >> 2], r1, r2)) { - r8 = r7; - r3 = 527; - break; - } else { - r6 = r4 + 4 | 0; - } - } - if (r3 == 527) { - return r8; - } - r6 = HEAP32[r1 + 80 >> 2] >>> 0 <= HEAP32[r2 + 80 >> 2] >>> 0 ? r1 : r2; - r5 = r6 + 68 | 0; - r4 = r6 + 72 | 0; - while (1) { - r6 = HEAP32[r4 >> 2]; - if ((r6 | 0) == (r5 | 0)) { - break; - } - r7 = HEAP32[r6 + 8 >> 2]; - if (__ZN5Avoid7EdgeInf9isBetweenEPNS_7VertInfES2_(HEAP32[r7 + 24 >> 2], HEAP32[r7 + 28 >> 2], r1, r2)) { - r8 = r7; - r3 = 525; - break; - } else { - r4 = r6 + 4 | 0; - } - } - if (r3 == 525) { - return r8; - } - r4 = HEAP32[r1 + 96 >> 2] >>> 0 <= HEAP32[r2 + 96 >> 2] >>> 0 ? r1 : r2; - r5 = r4 + 84 | 0; - r6 = r4 + 88 | 0; - while (1) { - r4 = HEAP32[r6 >> 2]; - if ((r4 | 0) == (r5 | 0)) { - r8 = 0; - r3 = 526; - break; - } - r7 = HEAP32[r4 + 8 >> 2]; - if (__ZN5Avoid7EdgeInf9isBetweenEPNS_7VertInfES2_(HEAP32[r7 + 24 >> 2], HEAP32[r7 + 28 >> 2], r1, r2)) { - r8 = r7; - r3 = 528; - break; - } else { - r6 = r4 + 4 | 0; - } - } - if (r3 == 526) { - return r8; - } else if (r3 == 528) { - return r8; - } -} -__ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_["X"] = 1; -function __ZN5Avoid8EdgeListC1Eb(r1, r2) { - __ZN5Avoid8EdgeListC2Eb(r1, r2); - return; -} -function __ZN5Avoid8EdgeListD1Ev(r1) { - __ZN5Avoid8EdgeListD2Ev(r1); - return; -} -function __ZN5Avoid8EdgeListD2Ev(r1) { - __ZN5Avoid8EdgeList5clearEv(r1); - return; -} -function __ZN5Avoid8EdgeList5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 4 | 0; - r3 = HEAP32[r2 >> 2]; - L625 : do { - if ((r3 | 0) != 0) { - r4 = r3; - while (1) { - __ZN5Avoid7EdgeInfD1Ev(r4); - __ZdlPv(r4); - r5 = HEAP32[r2 >> 2]; - if ((r5 | 0) == 0) { - break L625; - } else { - r4 = r5; - } - } - } - } while (0); - if ((HEAP32[r1 + 12 >> 2] | 0) == 0) { - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = 0; - return; - } - ___assert_func(5250276, 693, 5256688, 5249436); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = 0; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5clearEv(r1) { - var r2, r3; - r2 = r1 + 4 | 0; - r3 = r2 | 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE(HEAP32[r3 >> 2]); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - HEAP32[r3 >> 2] = 0; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEERKj(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjS8_EEiEESB_RKT_(r2, r3, r6, r4); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) != 0) { - r9 = r3; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__construct_nodeERKj(r7, r2, r4); - r4 = r7 | 0; - r7 = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__insert_node_atEPNS_16__tree_node_baseIPvEERS9_S9_(r2, HEAP32[r6 >> 2], r8, r7 | 0); - r9 = r7; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjS8_EEiEESB_RKT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r6 = r1 + 4 | 0; - do { - if ((r6 | 0) != (r2 | 0)) { - r7 = HEAP32[r4 >> 2]; - r8 = HEAP32[r2 + 16 >> 2]; - if (r7 >>> 0 < r8 >>> 0) { - break; - } - r9 = r2 | 0; - if (r8 >>> 0 >= r7 >>> 0) { - HEAP32[r5] = r9; - r10 = r3; - return r10; - } - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r9); - do { - if ((r8 | 0) != (r6 | 0)) { - if (r7 >>> 0 < HEAP32[r8 + 16 >> 2] >>> 0) { - break; - } - r10 = __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEESB_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r7 = r2 + 4 | 0; - if ((HEAP32[r7 >> 2] | 0) == 0) { - HEAP32[r5] = r9; - r10 = r7; - return r10; - } else { - HEAP32[r5] = r8; - r10 = r8 | 0; - return r10; - } - } - } while (0); - do { - if ((HEAP32[r1 >> 2] | 0) == (r2 | 0)) { - r11 = r2; - } else { - r6 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if (HEAP32[r6 + 16 >> 2] >>> 0 < HEAP32[r4 >> 2] >>> 0) { - r11 = r6; - break; - } - r10 = __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEESB_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r4 = r2 | 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - HEAP32[r5] = r2 | 0; - r10 = r4; - return r10; - } else { - HEAP32[r5] = r11 | 0; - r10 = r11 + 4 | 0; - return r10; - } -} -__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjS8_EEiEESB_RKT_["X"] = 1; -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__construct_nodeERKj(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__insert_node_atEPNS_16__tree_node_baseIPvEERS9_S9_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC1ERKS2_(r1) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC2ERKS2_(r1); - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE13__lower_boundIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_SB_SB_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSB_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid6VertIDltERKS0_(r3, r6)) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 591; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid6VertIDltERKS0_(r6, r3)) { - r4 = 595; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 594; - break; - } else { - r8 = r6; - } - } - if (r4 == 595) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 591) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } else if (r4 == 594) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } -} -function __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEE16__construct_nodeERSB_(r1, r2, r3) { - var r4, r5; - r4 = __Znwj(36); - r5 = r4 + 16 | 0; - if ((r5 | 0) != 0) { - __ZN5Avoid6VertIDC1ERKS0_(r5, r3); - } - r3 = r4 + 24 | 0; - if ((r3 | 0) != 0) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC1ERKS2_(r3); - } - HEAP32[r1 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - HEAP8[r1 + 9 | 0] = 1; - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSJ_SJ_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED2Ev(r1) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r1) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEED2Ev(r1) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE(r1); - return; -} -function __ZNSt3__14listIPbNS_9allocatorIS1_EEED2Ev(r1) { - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEED2Ev(r1) { - __ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv(r1); - return; -} -function __ZN5Avoid11JunctionRefC1EPNS_6RouterENS_5PointEj(r1, r2, r3) { - var r4, r5; - r4 = STACKTOP; - r5 = r3 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - HEAP32[r3 >> 2] = HEAP32[r5]; - HEAP32[r3 + 4 >> 2] = HEAP32[r5 + 1]; - HEAP32[r3 + 8 >> 2] = HEAP32[r5 + 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r5 + 3]; - HEAP32[r3 + 16 >> 2] = HEAP32[r5 + 4]; - HEAP32[r3 + 20 >> 2] = HEAP32[r5 + 5]; - __ZN5Avoid11JunctionRefC2EPNS_6RouterENS_5PointEj(r1, r2, r3); - STACKTOP = r4; - return; -} -function __ZNK5Avoid11JunctionRef13positionFixedEv(r1) { - return (r1 & 1) << 24 >> 24 != 0; -} -function __ZN5Avoid11JunctionRef13makeRectangleEPNS_6RouterERKNS_5PointE(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r5 = r4; - r6 = r4 + 24; - if ((r2 | 0) == 0) { - ___assert_func(5248148, 64, 5261768, 5246844); - } - r7 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r2, 7); - r2 = r7 > .001 ? r7 : .001; - r7 = r5 >> 2; - r8 = r3 >> 2; - HEAP32[r7] = HEAP32[r8]; - HEAP32[r7 + 1] = HEAP32[r8 + 1]; - HEAP32[r7 + 2] = HEAP32[r8 + 2]; - HEAP32[r7 + 3] = HEAP32[r8 + 3]; - HEAP32[r7 + 4] = HEAP32[r8 + 4]; - HEAP32[r7 + 5] = HEAP32[r8 + 5]; - r7 = (r5 | 0) >> 2; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]) - r2; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r7 = (r5 + 8 | 0) >> 2; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]) - r2; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r7 = r6 >> 2; - HEAP32[r7] = HEAP32[r8]; - HEAP32[r7 + 1] = HEAP32[r8 + 1]; - HEAP32[r7 + 2] = HEAP32[r8 + 2]; - HEAP32[r7 + 3] = HEAP32[r8 + 3]; - HEAP32[r7 + 4] = HEAP32[r8 + 4]; - HEAP32[r7 + 5] = HEAP32[r8 + 5]; - r8 = (r6 | 0) >> 2; - r7 = r2 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = (r6 + 8 | 0) >> 2; - r7 = r2 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid9RectangleC1ERKNS_5PointES3_(r1, r5, r6); - STACKTOP = r4; - return; -} -function __ZN5Avoid11JunctionRefD0Ev(r1) { - __ZN5Avoid11JunctionRefD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid11JunctionRefD1Ev(r1) { - __ZN5Avoid11JunctionRefD2Ev(r1); - return; -} -function __ZNK5Avoid11JunctionRef8positionEv(r1, r2) { - var r3; - r3 = r1 >> 2; - r1 = (r2 + 96 | 0) >> 2; - HEAP32[r3] = HEAP32[r1]; - HEAP32[r3 + 1] = HEAP32[r1 + 1]; - HEAP32[r3 + 2] = HEAP32[r1 + 2]; - HEAP32[r3 + 3] = HEAP32[r1 + 3]; - HEAP32[r3 + 4] = HEAP32[r1 + 4]; - HEAP32[r3 + 5] = HEAP32[r1 + 5]; - return; -} -function __ZN5Avoid11JunctionRef11setPositionERKNS_5PointE(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r4 = r3; - r5 = r1 + 96 | 0; - r6 = r5; - r7 = r2; - HEAP32[r6 >> 2] = HEAP32[r7 >> 2]; - HEAP32[r6 + 4 >> 2] = HEAP32[r7 + 4 >> 2]; - HEAP32[r6 + 8 >> 2] = HEAP32[r7 + 8 >> 2]; - HEAP32[r6 + 12 >> 2] = HEAP32[r7 + 12 >> 2]; - HEAP32[r6 + 16 >> 2] = HEAP32[r7 + 16 >> 2]; - HEAP16[r6 + 20 >> 1] = HEAP16[r7 + 20 >> 1]; - r6 = r1 + 120 | 0; - HEAP32[r6 >> 2] = HEAP32[r7 >> 2]; - HEAP32[r6 + 4 >> 2] = HEAP32[r7 + 4 >> 2]; - HEAP32[r6 + 8 >> 2] = HEAP32[r7 + 8 >> 2]; - HEAP32[r6 + 12 >> 2] = HEAP32[r7 + 12 >> 2]; - HEAP32[r6 + 16 >> 2] = HEAP32[r7 + 16 >> 2]; - HEAP16[r6 + 20 >> 1] = HEAP16[r7 + 20 >> 1]; - r7 = r1 + 12 | 0; - __ZN5Avoid11JunctionRef13makeRectangleEPNS_6RouterERKNS_5PointE(r4, HEAP32[r1 + 4 >> 2], r5); - __ZN5Avoid7PolygonaSERKS0_(r7, r4 | 0); - __ZN5Avoid9RectangleD1Ev(r4); - __ZN5Avoid8Obstacle10setNewPolyERKNS_7PolygonE(r1, r7); - STACKTOP = r3; - return; -} -function __ZN5Avoid11JunctionRef22setRecommendedPositionERKNS_5PointE(r1, r2) { - var r3; - r3 = r1 + 120 | 0; - r1 = r2; - HEAP32[r3 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r3 + 4 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP32[r3 + 8 >> 2] = HEAP32[r1 + 8 >> 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r1 + 12 >> 2]; - HEAP32[r3 + 16 >> 2] = HEAP32[r1 + 16 >> 2]; - HEAP16[r3 + 20 >> 1] = HEAP16[r1 + 20 >> 1]; - return; -} -function __ZNK5Avoid11JunctionRef10outputCodeEP7__sFILE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r4 = r3; - r5 = r3 + 24; - r6 = (r1 + 8 | 0) >> 2; - r7 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r6]); - r8 = r1; - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 8 >> 2]](r4, r1); - r9 = r4 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 8 >> 2]](r5, r1); - r8 = r5 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r6]); - _fprintf(r2, 5245928, (tempInt = STACKTOP, STACKTOP = STACKTOP + 24 | 0, HEAP32[tempInt >> 2] = r7, HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAP32[tempInt + 20 >> 2] = r8, tempInt)); - if ((HEAP8[r1 + 144 | 0] & 1) << 24 >> 24 != 0) { - r8 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r6]); - _fprintf(r2, 5245120, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r8, tempInt)); - } - _fwrite(5244656, 7, 1, r2); - _fwrite(5244260, 57, 1, r2); - r8 = HEAP32[r1 + 84 >> 2]; - r6 = r1 + 88 | 0; - if ((r8 | 0) == (r6 | 0)) { - r10 = _fwrite(5243444, 7, 1, r2); - r11 = _fputc(10, r2); - STACKTOP = r3; - return; - } - r1 = r6; - r6 = r8; - while (1) { - __ZNK5Avoid18ShapeConnectionPin10outputCodeEP7__sFILE(HEAP32[r6 + 16 >> 2], r2); - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r6 | 0); - if ((r8 | 0) == (r1 | 0)) { - break; - } else { - r6 = r8; - } - } - r10 = _fwrite(5243444, 7, 1, r2); - r11 = _fputc(10, r2); - STACKTOP = r3; - return; -} -__ZNK5Avoid11JunctionRef10outputCodeEP7__sFILE["X"] = 1; -function __ZN5Avoid11JunctionRef17moveAttachedConnsERKNS_5PointE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = HEAP32[r1 + 72 >> 2]; - r4 = r1 + 76 | 0; - L755 : do { - if ((r3 | 0) != (r4 | 0)) { - r5 = r1 + 4 | 0; - r6 = r4; - r7 = r3; - while (1) { - r8 = HEAP32[r7 + 16 >> 2]; - r9 = r8 + 40 | 0; - r10 = HEAP32[r9 >> 2]; - if ((r10 | 0) == 0) { - ___assert_func(5248148, 174, 5261700, 5246596); - r11 = HEAP32[r9 >> 2]; - } else { - r11 = r10; - } - __ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb(HEAP32[r5 >> 2], r11, __ZNK5Avoid7ConnEnd12endpointTypeEv(r8), r8, 0); - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r7 | 0); - if ((r8 | 0) == (r6 | 0)) { - break L755; - } else { - r7 = r8; - } - } - } - } while (0); - r11 = HEAP32[r1 + 84 >> 2]; - r3 = r1 + 88 | 0; - if ((r11 | 0) == (r3 | 0)) { - return; - } - r1 = r3; - r3 = r11; - while (1) { - __ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_5PointE(HEAP32[HEAP32[r3 + 16 >> 2] + 68 >> 2], r2); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r3 | 0); - if ((r11 | 0) == (r1 | 0)) { - break; - } else { - r3 = r11; - } - } - return; -} -__ZN5Avoid11JunctionRef17moveAttachedConnsERKNS_5PointE["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid13CmpConnPinPtrclEPKNS_18ShapeConnectionPinES3_(HEAP32[r3 >> 2], HEAP32[r6 >> 2])) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 661; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid13CmpConnPinPtrclEPKNS_18ShapeConnectionPinES3_(HEAP32[r6 >> 2], HEAP32[r3 >> 2])) { - r4 = 665; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 664; - break; - } else { - r8 = r6; - } - } - if (r4 == 665) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 664) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } else if (r4 == 661) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNK5Avoid13CmpConnPinPtrclEPKNS_18ShapeConnectionPinES3_(r1, r2) { - return __ZNK5Avoid18ShapeConnectionPinltERKS0_(r1, r2); -} -function __ZN5AvoidltERKNS_5ANodeES2_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 + 20 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 + 20 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (Math.abs(r4 - r5) > 1e-7) { - r6 = r4 > r5; - return r6; - } - r5 = HEAP32[r1 + 32 >> 2]; - r4 = HEAP32[r2 + 32 >> 2]; - if ((r5 | 0) != (r4 | 0)) { - r6 = (r5 | 0) < (r4 | 0); - return r6; - } - r4 = r1 + 28 | 0; - r1 = HEAP32[r4 >> 2]; - r5 = r2 + 28 | 0; - r2 = HEAP32[r5 >> 2]; - if ((r1 | 0) == (r2 | 0)) { - ___assert_func(5248932, 103, 5254948, 5249628); - r7 = HEAP32[r4 >> 2]; - r8 = HEAP32[r5 >> 2]; - } else { - r7 = r1; - r8 = r2; - } - r6 = (r7 | 0) > (r8 | 0); - return r6; -} -function __ZN5Avoid11JunctionRefC2EPNS_6RouterENS_5PointEj(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r5 = r3 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - HEAP32[r3 >> 2] = HEAP32[r5]; - HEAP32[r3 + 4 >> 2] = HEAP32[r5 + 1]; - HEAP32[r3 + 8 >> 2] = HEAP32[r5 + 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r5 + 3]; - HEAP32[r3 + 16 >> 2] = HEAP32[r5 + 4]; - HEAP32[r3 + 20 >> 2] = HEAP32[r5 + 5]; - r5 = r4 + 8; - r6 = r4 + 52; - r7 = r4 + 96; - r8 = r1 | 0; - HEAP32[r8 >> 2] = 5267648; - __ZN5Avoid11JunctionRef13makeRectangleEPNS_6RouterERKNS_5PointE(r6, r2, r3); - __ZN5Avoid7PolygonC1ERKS0_(r5, r6 | 0); - __ZN5Avoid8ObstacleC2EPNS_6RouterENS_7PolygonEj(r1, r2, r5); - __ZN5Avoid7PolygonD1Ev(r5); - __ZN5Avoid9RectangleD1Ev(r6); - HEAP32[r8 >> 2] = 5267648; - r8 = (r1 + 96 | 0) >> 2; - r6 = r3 >> 2; - HEAP32[r8] = HEAP32[r6]; - HEAP32[r8 + 1] = HEAP32[r6 + 1]; - HEAP32[r8 + 2] = HEAP32[r6 + 2]; - HEAP32[r8 + 3] = HEAP32[r6 + 3]; - HEAP32[r8 + 4] = HEAP32[r6 + 4]; - HEAP32[r8 + 5] = HEAP32[r6 + 5]; - r8 = (r1 + 120 | 0) >> 2; - HEAP32[r8] = HEAP32[r6]; - HEAP32[r8 + 1] = HEAP32[r6 + 1]; - HEAP32[r8 + 2] = HEAP32[r6 + 2]; - HEAP32[r8 + 3] = HEAP32[r6 + 3]; - HEAP32[r8 + 4] = HEAP32[r6 + 4]; - HEAP32[r8 + 5] = HEAP32[r6 + 5]; - HEAP8[r1 + 144 | 0] = 0; - r6 = __Znwj(72); - __ZN5Avoid18ShapeConnectionPinC1EPNS_11JunctionRefEjj(r6, r1); - HEAP32[r7 >> 2] = r6; - __ZN5Avoid18ShapeConnectionPin12setExclusiveEb(r6); - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r4, r1 + 84 | 0, r7); - __ZN5Avoid6Router11addJunctionEPNS_11JunctionRefE(HEAP32[r1 + 4 >> 2], r1); - STACKTOP = r4; - return; -} -__ZN5Avoid11JunctionRefC2EPNS_6RouterENS_5PointEj["X"] = 1; -function __ZN5Avoid11JunctionRefD2Ev(r1) { - var r2, r3; - r2 = STACKTOP; - HEAP32[r1 >> 2] = 5267648; - if ((HEAP8[HEAP32[r1 + 4 >> 2] + 689 | 0] & 1) << 24 >> 24 != 0) { - r3 = r1; - __ZN5Avoid8ObstacleD2Ev(r3); - STACKTOP = r2; - return; - } - __ZN5Avoid10err_printfEPKcz(5249452, (tempInt = STACKTOP, STACKTOP = STACKTOP + 1 | 0, STACKTOP = STACKTOP + 3 >> 2 << 2, HEAP32[tempInt >> 2] = 0, tempInt)); - __ZN5Avoid10err_printfEPKcz(5249656, (tempInt = STACKTOP, STACKTOP = STACKTOP + 1 | 0, STACKTOP = STACKTOP + 3 >> 2 << 2, HEAP32[tempInt >> 2] = 0, tempInt)); - _abort(); - r3 = r1; - __ZN5Avoid8ObstacleD2Ev(r3); - STACKTOP = r2; - return; -} -function __ZN5Avoid9aStarPathEPNS_7ConnRefEPNS_7VertInfES3_S3_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114, r115, r116, r117, r118, r119, r120, r121, r122, r123, r124, r125, r126, r127, r128, r129, r130, r131, r132, r133, r134, r135, r136, r137, r138, r139, r140, r141, r142; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 564 | 0; - r7 = r6; - r8 = r6 + 20; - r9 = r6 + 40; - r10 = r6 + 44; - r11 = r6 + 48; - r12 = r6 + 68; - r13 = r6 + 88; - r14 = r6 + 124; - r15 = r6 + 144; - r16 = r6 + 164; - r17 = r6 + 184; - r18 = r6 + 204; - r19 = r6 + 224; - r20 = r6 + 244; - r21 = r6 + 264; - r22 = r6 + 284; - r23 = r6 + 304; - r24 = r6 + 324; - r25 = r6 + 336; - r26 = r6 + 348; - r27 = r6 + 360; - r28 = r6 + 372, r29 = r28 >> 2; - r30 = r6 + 376; - r31 = r6 + 412; - r32 = r6 + 448; - r33 = r6 + 456; - r34 = r6 + 492; - r35 = r6 + 528; - r36 = r1; - r37 = (__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r1 + 8 >> 2]) | 0) == 2; - r38 = r37 ? 194 : 772; - r39 = (r24 | 0) >> 2; - HEAP32[r39] = 0; - r40 = (r24 + 4 | 0) >> 2; - HEAP32[r40] = 0; - r41 = r24 + 8 | 0; - r42 = (r41 | 0) >> 2; - HEAP32[r42] = 0; - do { - if (r37) { - __ZNK5Avoid7ConnRef20possibleDstPinPointsEv(r25, HEAP32[r1 + 144 >> 2]); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r24, HEAP32[r25 >> 2], HEAP32[r25 + 4 >> 2]); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r25); - r43 = HEAP32[r40]; - r44 = HEAP32[r42]; - r45 = r3 + 12 | 0; - if (r43 >>> 0 >= r44 >>> 0) { - r46 = r44; - r47 = r43; - r48 = r45; - r49 = HEAP32[r39]; - r5 = 725; - break; - } - if ((r43 | 0) != 0) { - r44 = r43 >> 2; - r50 = r45 >> 2; - HEAP32[r44] = HEAP32[r50]; - HEAP32[r44 + 1] = HEAP32[r50 + 1]; - HEAP32[r44 + 2] = HEAP32[r50 + 2]; - HEAP32[r44 + 3] = HEAP32[r50 + 3]; - HEAP32[r44 + 4] = HEAP32[r50 + 4]; - HEAP32[r44 + 5] = HEAP32[r50 + 5]; - } - HEAP32[r40] = r43 + 24 | 0; - r51 = r45; - break; - } else { - r46 = 0; - r47 = 0; - r48 = r3 + 12 | 0; - r49 = 0; - r5 = 725; - break; - } - } while (0); - if (r5 == 725) { - r5 = ((r47 - r49 | 0) / 24 & -1) + 1 | 0; - if (r5 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r52 = HEAP32[r42]; - r53 = HEAP32[r39]; - } else { - r52 = r46; - r53 = r49; - } - r49 = r53; - r53 = (r52 - r49 | 0) / 24 & -1; - if (r53 >>> 0 > 89478484) { - r54 = 178956970; - } else { - r52 = r53 << 1; - r54 = r52 >>> 0 < r5 >>> 0 ? r5 : r52; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r23, r54, (HEAP32[r40] - r49 | 0) / 24 & -1, r41); - r41 = (r23 + 8 | 0) >> 2; - r49 = HEAP32[r41]; - r40 = r23 + 12 | 0; - do { - if ((r49 | 0) == (HEAP32[r40 >> 2] | 0)) { - r54 = (r23 + 4 | 0) >> 2; - r52 = HEAP32[r54]; - r5 = r23 | 0; - r53 = HEAP32[r5 >> 2]; - if (r52 >>> 0 > r53 >>> 0) { - r46 = r52; - r39 = (((r46 - r53 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r42 = r52 + (r39 * 24 & -1) | 0; - r47 = r49 - r46 | 0; - _memmove(r42, r52, r47, 4, 0); - r46 = r52 + ((((r47 | 0) / 24 & -1) + r39) * 24 & -1) | 0; - HEAP32[r41] = r46; - HEAP32[r54] = r42; - r55 = r46; - break; - } - r46 = ((r49 - r53 | 0) / 24 & -1) << 1; - r42 = (r46 | 0) == 0 ? 1 : r46; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r22, r42, r42 >>> 2, HEAP32[r23 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r22, r52, r49); - r42 = r22 | 0; - HEAP32[r5 >> 2] = HEAP32[r42 >> 2]; - HEAP32[r42 >> 2] = r53; - r53 = r22 + 4 | 0; - HEAP32[r54] = HEAP32[r53 >> 2]; - HEAP32[r53 >> 2] = r52; - r52 = r22 + 8 | 0; - r53 = HEAP32[r52 >> 2]; - HEAP32[r41] = r53; - HEAP32[r52 >> 2] = r49; - r52 = r22 + 12 | 0; - HEAP32[r40 >> 2] = HEAP32[r52 >> 2]; - HEAP32[r52 >> 2] = r49; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r22); - r55 = r53; - } else { - r55 = r49; - } - } while (0); - if ((r55 | 0) != 0) { - r49 = r55 >> 2; - r22 = r48 >> 2; - HEAP32[r49] = HEAP32[r22]; - HEAP32[r49 + 1] = HEAP32[r22 + 1]; - HEAP32[r49 + 2] = HEAP32[r22 + 2]; - HEAP32[r49 + 3] = HEAP32[r22 + 3]; - HEAP32[r49 + 4] = HEAP32[r22 + 4]; - HEAP32[r49 + 5] = HEAP32[r22 + 5]; - } - HEAP32[r41] = r55 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r24, r23); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r23); - r51 = r48; - } - r48 = (r26 | 0) >> 2; - HEAP32[r48] = 0; - r23 = (r26 + 4 | 0) >> 2; - HEAP32[r23] = 0; - r55 = r26 + 8 | 0; - r41 = (r55 | 0) >> 2; - HEAP32[r41] = 0; - r22 = (r27 | 0) >> 2; - HEAP32[r22] = 0; - r49 = (r27 + 4 | 0) >> 2; - HEAP32[r49] = 0; - r40 = r27 + 8 | 0; - r53 = (r40 | 0) >> 2; - HEAP32[r53] = 0; - HEAP32[r29] = 0; - __ZN5Avoid5ANodeC1Ev(r30); - __ZN5Avoid5ANodeC1Ev(r31); - r52 = (r4 | 0) == 0 ? r2 : r4; - r4 = __ZNK5Avoid7ConnRef6routerEv(HEAP32[r1 >> 2]); - r54 = r4 + 144 | 0; - r42 = (r52 | 0) == (r2 | 0); - L858 : do { - if ((HEAP8[r54] & 1) << 24 >> 24 == 0 | r42) { - r5 = HEAP32[r52 + 100 >> 2]; - if ((r5 | 0) == 0) { - r56 = 1; - r57 = -1; - } else { - __ZN5Avoid5ANodeC1EPNS_7VertInfEi(r33, r5, 1); - r5 = HEAP32[r49]; - r46 = HEAP32[r53]; - if (r5 >>> 0 < r46 >>> 0) { - if ((r5 | 0) != 0) { - r39 = r5; - r47 = r33; - for (r58 = r47 >> 2, r59 = r39 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r49] = r5 + 36 | 0; - } else { - r39 = HEAP32[r22]; - r47 = ((r5 - r39 | 0) / 36 & -1) + 1 | 0; - if (r47 >>> 0 > 119304647) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r61 = HEAP32[r53]; - r62 = HEAP32[r22]; - } else { - r61 = r46; - r62 = r39; - } - r39 = r62; - r25 = (r61 - r39 | 0) / 36 & -1; - if (r25 >>> 0 > 59652322) { - r63 = 119304647; - } else { - r45 = r25 << 1; - r63 = r45 >>> 0 < r47 >>> 0 ? r47 : r45; - } - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r17, r63, (HEAP32[r49] - r39 | 0) / 36 & -1, r40); - r39 = (r17 + 8 | 0) >> 2; - r45 = HEAP32[r39]; - r47 = r17 + 12 | 0; - do { - if ((r45 | 0) == (HEAP32[r47 >> 2] | 0)) { - r25 = (r17 + 4 | 0) >> 2; - r43 = HEAP32[r25]; - r50 = r17 | 0; - r44 = HEAP32[r50 >> 2]; - if (r43 >>> 0 > r44 >>> 0) { - r64 = r43; - r65 = (((r64 - r44 | 0) / 36 & -1) + 1 | 0) / -2 & -1; - r66 = r43 + (r65 * 36 & -1) | 0; - r67 = r45 - r64 | 0; - _memmove(r66, r43, r67, 4, 0); - r64 = r43 + ((((r67 | 0) / 36 & -1) + r65) * 36 & -1) | 0; - HEAP32[r39] = r64; - HEAP32[r25] = r66; - r68 = r64; - break; - } - r64 = ((r45 - r44 | 0) / 36 & -1) << 1; - r66 = (r64 | 0) == 0 ? 1 : r64; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r16, r66, r66 >>> 2, HEAP32[r17 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r16, r43, r45); - r66 = r16 | 0; - HEAP32[r50 >> 2] = HEAP32[r66 >> 2]; - HEAP32[r66 >> 2] = r44; - r44 = r16 + 4 | 0; - HEAP32[r25] = HEAP32[r44 >> 2]; - HEAP32[r44 >> 2] = r43; - r43 = r16 + 8 | 0; - r44 = HEAP32[r43 >> 2]; - HEAP32[r39] = r44; - HEAP32[r43 >> 2] = r45; - r43 = r16 + 12 | 0; - HEAP32[r47 >> 2] = HEAP32[r43 >> 2]; - HEAP32[r43 >> 2] = r45; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r16); - r68 = r44; - } else { - r68 = r45; - } - } while (0); - if ((r68 | 0) != 0) { - r45 = r68; - r47 = r33; - for (r58 = r47 >> 2, r59 = r45 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r39] = r68 + 36 | 0; - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r27, r17); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r17); - } - HEAP32[r29] = 1; - r56 = 2; - r57 = 0; - } - r45 = r56 + 1 | 0; - __ZN5Avoid5ANodeC1EPNS_7VertInfEi(r30, r2, r56); - r47 = r30; - r46 = (r30 + 4 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r46] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = __ZN5AvoidL13estimatedCostEPNS_7ConnRefEPKNS_5PointERS3_S5_(r1, 0, HEAP32[r30 >> 2] + 12 | 0, r51); - r44 = r30 + 12 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r44 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r44 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r44 = r5 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r46], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 1], HEAPF64[tempDoublePtr >> 3]); - r46 = r30 + 20 | 0; - HEAPF64[tempDoublePtr >> 3] = r44, HEAP32[r46 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r30 + 28 >> 2] = r57; - r46 = HEAP32[r23]; - r44 = HEAP32[r41]; - if (r46 >>> 0 < r44 >>> 0) { - if ((r46 | 0) != 0) { - r5 = r46; - for (r58 = r47 >> 2, r59 = r5 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r23] = r46 + 36 | 0; - r69 = r45; - break; - } - r5 = HEAP32[r48]; - r39 = ((r46 - r5 | 0) / 36 & -1) + 1 | 0; - if (r39 >>> 0 > 119304647) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r70 = HEAP32[r41]; - r71 = HEAP32[r48]; - } else { - r70 = r44; - r71 = r5; - } - r5 = r71; - r43 = (r70 - r5 | 0) / 36 & -1; - if (r43 >>> 0 > 59652322) { - r72 = 119304647; - } else { - r25 = r43 << 1; - r72 = r25 >>> 0 < r39 >>> 0 ? r39 : r25; - } - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r15, r72, (HEAP32[r23] - r5 | 0) / 36 & -1, r55); - r5 = (r15 + 8 | 0) >> 2; - r25 = HEAP32[r5]; - r39 = r15 + 12 | 0; - do { - if ((r25 | 0) == (HEAP32[r39 >> 2] | 0)) { - r43 = (r15 + 4 | 0) >> 2; - r66 = HEAP32[r43]; - r50 = r15 | 0; - r64 = HEAP32[r50 >> 2]; - if (r66 >>> 0 > r64 >>> 0) { - r65 = r66; - r67 = (((r65 - r64 | 0) / 36 & -1) + 1 | 0) / -2 & -1; - r73 = r66 + (r67 * 36 & -1) | 0; - r74 = r25 - r65 | 0; - _memmove(r73, r66, r74, 4, 0); - r65 = r66 + ((((r74 | 0) / 36 & -1) + r67) * 36 & -1) | 0; - HEAP32[r5] = r65; - HEAP32[r43] = r73; - r75 = r65; - break; - } - r65 = ((r25 - r64 | 0) / 36 & -1) << 1; - r73 = (r65 | 0) == 0 ? 1 : r65; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r14, r73, r73 >>> 2, HEAP32[r15 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r14, r66, r25); - r73 = r14 | 0; - HEAP32[r50 >> 2] = HEAP32[r73 >> 2]; - HEAP32[r73 >> 2] = r64; - r64 = r14 + 4 | 0; - HEAP32[r43] = HEAP32[r64 >> 2]; - HEAP32[r64 >> 2] = r66; - r66 = r14 + 8 | 0; - r64 = HEAP32[r66 >> 2]; - HEAP32[r5] = r64; - HEAP32[r66 >> 2] = r25; - r66 = r14 + 12 | 0; - HEAP32[r39 >> 2] = HEAP32[r66 >> 2]; - HEAP32[r66 >> 2] = r25; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r14); - r75 = r64; - } else { - r75 = r25; - } - } while (0); - if ((r75 | 0) != 0) { - r25 = r75; - for (r58 = r47 >> 2, r59 = r25 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r5] = r75 + 36 | 0; - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r26, r15); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r15); - r69 = r45; - } else { - if ((HEAP8[r4 + 139 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5248932, 475, 5256048, 5248116); - } - r25 = __ZNK5Avoid7ConnRef5routeEv(r36); - if ((r52 | 0) == 0) { - r69 = 1; - break; - } - r47 = r25; - r39 = r4 + 100 | 0; - r44 = r30 >> 2; - r46 = (r30 + 4 | 0) >> 2; - r64 = r30 | 0; - r66 = (r30 + 12 | 0) >> 2; - r43 = (r30 + 20 | 0) >> 2; - r73 = r55; - r50 = (r19 + 8 | 0) >> 2; - r65 = r19 + 12 | 0; - r67 = (r19 + 4 | 0) >> 2; - r74 = r19 | 0; - r76 = r19 + 16 | 0; - r77 = r18 | 0; - r78 = r18 + 4 | 0; - r79 = r18 + 8 | 0; - r80 = r18 + 12 | 0; - r81 = r31 >> 2; - r82 = r31 | 0; - r83 = r40; - r84 = (r21 + 8 | 0) >> 2; - r85 = r21 + 12 | 0; - r86 = (r21 + 4 | 0) >> 2; - r87 = r21 | 0; - r88 = r21 + 16 | 0; - r89 = r20 | 0; - r90 = r20 + 4 | 0; - r91 = r20 + 8 | 0; - r92 = r20 + 12 | 0; - r93 = r31 + 4 | 0; - r94 = r31 + 28 | 0; - r95 = r30 + 28 | 0; - r96 = 0; - r97 = 0; - r98 = 1; - r99 = 0; - while (1) { - r100 = FUNCTION_TABLE[HEAP32[HEAP32[r47 >> 2] + 24 >> 2]](r25, r96); - __ZN5Avoid6VertIDC1Ejtt(r32, HEAP32[r100 + 16 >> 2], HEAP16[r100 + 20 >> 1], (r96 | 0) < 1 & 1); - r100 = __ZN5Avoid11VertInfList13getVertexByIDERKNS_6VertIDE(r39, r32); - r101 = r100; - if ((r100 | 0) == 0) { - ___assert_func(5248932, 490, 5256048, 5246828); - } - r102 = r98 + 1 | 0; - __ZN5Avoid5ANodeC1EPNS_7VertInfEi(r30, r101, r98); - if ((r97 | 0) == 0) { - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r46] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r103 = __ZN5AvoidL13estimatedCostEPNS_7ConnRefEPKNS_5PointERS3_S5_(r1, 0, HEAP32[r64 >> 2] + 12 | 0, r51); - HEAPF64[tempDoublePtr >> 3] = r103, HEAP32[r66] = HEAP32[tempDoublePtr >> 2], HEAP32[r66 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r104 = r103; - HEAPF64[tempDoublePtr >> 3] = r104, HEAP32[r43] = HEAP32[tempDoublePtr >> 2], HEAP32[r43 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } else { - r104 = HEAP32[r82 >> 2]; - r103 = r104 + 12 | 0; - r105 = FUNCTION_TABLE[r38](r103, r100 + 12 | 0); - r100 = HEAP32[r64 >> 2]; - r106 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r93 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r93 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) + __ZN5AvoidL4costEPNS_7ConnRefEdPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi(r1, r105, r104, r100, r27, HEAP32[r94 >> 2]); - HEAPF64[tempDoublePtr >> 3] = r106, HEAP32[r46] = HEAP32[tempDoublePtr >> 2], HEAP32[r46 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r104 = __ZN5AvoidL13estimatedCostEPNS_7ConnRefEPKNS_5PointERS3_S5_(r1, r103, r100 + 12 | 0, r51); - HEAPF64[tempDoublePtr >> 3] = r104, HEAP32[r66] = HEAP32[tempDoublePtr >> 2], HEAP32[r66 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r100 = r104 + r106; - HEAPF64[tempDoublePtr >> 3] = r100, HEAP32[r43] = HEAP32[tempDoublePtr >> 2], HEAP32[r43 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r95 >> 2] = r99 - 1 | 0; - } - r100 = (r101 | 0) == (r52 | 0); - do { - if (r100) { - r106 = HEAP32[r23]; - r104 = HEAP32[r41]; - if (r106 >>> 0 < r104 >>> 0) { - if ((r106 | 0) != 0) { - r103 = r106; - for (r58 = r44, r59 = r103 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r23] = r106 + 36 | 0; - r107 = r99; - break; - } - r103 = HEAP32[r48]; - r105 = ((r106 - r103 | 0) / 36 & -1) + 1 | 0; - if (r105 >>> 0 > 119304647) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r108 = HEAP32[r41]; - r109 = HEAP32[r48]; - } else { - r108 = r104; - r109 = r103; - } - r103 = r109; - r110 = (r108 - r103 | 0) / 36 & -1; - if (r110 >>> 0 > 59652322) { - r111 = 119304647; - } else { - r112 = r110 << 1; - r111 = r112 >>> 0 < r105 >>> 0 ? r105 : r112; - } - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r19, r111, (HEAP32[r23] - r103 | 0) / 36 & -1, r73); - r103 = HEAP32[r50]; - do { - if ((r103 | 0) == (HEAP32[r65 >> 2] | 0)) { - r112 = HEAP32[r67]; - r105 = HEAP32[r74 >> 2]; - if (r112 >>> 0 > r105 >>> 0) { - r110 = r112; - r113 = (((r110 - r105 | 0) / 36 & -1) + 1 | 0) / -2 & -1; - r114 = r112 + (r113 * 36 & -1) | 0; - r115 = r103 - r110 | 0; - _memmove(r114, r112, r115, 4, 0); - r110 = r112 + ((((r115 | 0) / 36 & -1) + r113) * 36 & -1) | 0; - HEAP32[r50] = r110; - HEAP32[r67] = r114; - r116 = r110; - break; - } - r110 = ((r103 - r105 | 0) / 36 & -1) << 1; - r114 = (r110 | 0) == 0 ? 1 : r110; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r18, r114, r114 >>> 2, HEAP32[r76 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r18, r112, r103); - HEAP32[r74 >> 2] = HEAP32[r77 >> 2]; - HEAP32[r77 >> 2] = r105; - HEAP32[r67] = HEAP32[r78 >> 2]; - HEAP32[r78 >> 2] = r112; - r112 = HEAP32[r79 >> 2]; - HEAP32[r50] = r112; - HEAP32[r79 >> 2] = r103; - HEAP32[r65 >> 2] = HEAP32[r80 >> 2]; - HEAP32[r80 >> 2] = r103; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r18); - r116 = r112; - } else { - r116 = r103; - } - } while (0); - if ((r116 | 0) != 0) { - r103 = r116; - for (r58 = r44, r59 = r103 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r50] = r116 + 36 | 0; - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r26, r19); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r19); - r107 = r99; - } else { - for (r58 = r44, r59 = r81, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - r103 = HEAP32[r49]; - r104 = HEAP32[r53]; - if (r103 >>> 0 < r104 >>> 0) { - if ((r103 | 0) != 0) { - r106 = r103; - for (r58 = r81, r59 = r106 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r49] = r103 + 36 | 0; - } else { - r106 = HEAP32[r22]; - r112 = ((r103 - r106 | 0) / 36 & -1) + 1 | 0; - if (r112 >>> 0 > 119304647) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r117 = HEAP32[r53]; - r118 = HEAP32[r22]; - } else { - r117 = r104; - r118 = r106; - } - r106 = r118; - r105 = (r117 - r106 | 0) / 36 & -1; - if (r105 >>> 0 > 59652322) { - r119 = 119304647; - } else { - r114 = r105 << 1; - r119 = r114 >>> 0 < r112 >>> 0 ? r112 : r114; - } - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r21, r119, (HEAP32[r49] - r106 | 0) / 36 & -1, r83); - r106 = HEAP32[r84]; - do { - if ((r106 | 0) == (HEAP32[r85 >> 2] | 0)) { - r114 = HEAP32[r86]; - r112 = HEAP32[r87 >> 2]; - if (r114 >>> 0 > r112 >>> 0) { - r105 = r114; - r110 = (((r105 - r112 | 0) / 36 & -1) + 1 | 0) / -2 & -1; - r113 = r114 + (r110 * 36 & -1) | 0; - r115 = r106 - r105 | 0; - _memmove(r113, r114, r115, 4, 0); - r105 = r114 + ((((r115 | 0) / 36 & -1) + r110) * 36 & -1) | 0; - HEAP32[r84] = r105; - HEAP32[r86] = r113; - r120 = r105; - break; - } - r105 = ((r106 - r112 | 0) / 36 & -1) << 1; - r113 = (r105 | 0) == 0 ? 1 : r105; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r20, r113, r113 >>> 2, HEAP32[r88 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r20, r114, r106); - HEAP32[r87 >> 2] = HEAP32[r89 >> 2]; - HEAP32[r89 >> 2] = r112; - HEAP32[r86] = HEAP32[r90 >> 2]; - HEAP32[r90 >> 2] = r114; - r114 = HEAP32[r91 >> 2]; - HEAP32[r84] = r114; - HEAP32[r91 >> 2] = r106; - HEAP32[r85 >> 2] = HEAP32[r92 >> 2]; - HEAP32[r92 >> 2] = r106; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r20); - r120 = r114; - } else { - r120 = r106; - } - } while (0); - if ((r120 | 0) != 0) { - r106 = r120; - for (r58 = r81, r59 = r106 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r84] = r120 + 36 | 0; - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r27, r21); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r21); - } - __ZNSt3__14listIjNS_9allocatorIjEEE9push_backERKj(HEAP32[r82 >> 2] + 124 | 0, r28); - r106 = HEAP32[r29] + 1 | 0; - HEAP32[r29] = r106; - r107 = r106; - } - } while (0); - if (r100) { - r69 = r102; - break L858; - } else { - r96 = r96 + 1 | 0; - r97 = r101; - r98 = r102; - r99 = r107; - } - } - } - } while (0); - HEAP32[r3 + 100 >> 2] = 0; - __ZNSt3__111__make_heapIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_(HEAP32[r48], HEAP32[r23]); - r107 = HEAP32[r48]; - r21 = HEAP32[r23]; - L992 : do { - if ((r107 | 0) != (r21 | 0)) { - r120 = r31 >> 2; - r20 = r13; - r119 = r31 | 0; - r117 = r31 + 28 | 0; - r118 = r30 >> 2; - r19 = r35; - r116 = (r30 + 28 | 0) >> 2; - r18 = r30 | 0; - r111 = r2 + 12 | 0; - r108 = r31 + 4 | 0; - r109 = (r30 + 4 | 0) >> 2; - r52 = r30 + 12 | 0; - r38 = r30 + 20 | 0; - r32 = r55; - r36 = (r8 + 8 | 0) >> 2; - r15 = r8 + 12 | 0; - r75 = (r8 + 4 | 0) >> 2; - r14 = r8 | 0; - r72 = r8 + 16 | 0; - r70 = r7 | 0; - r71 = r7 + 4 | 0; - r57 = r7 + 8 | 0; - r56 = r7 + 12 | 0; - r17 = r40; - r68 = (r12 + 8 | 0) >> 2; - r33 = r12 + 12 | 0; - r16 = (r12 + 4 | 0) >> 2; - r63 = r12 | 0; - r61 = r12 + 16 | 0; - r62 = r11 | 0; - r99 = r11 + 4 | 0; - r98 = r11 + 8 | 0; - r97 = r11 + 12 | 0; - r96 = r1 + 120 | 0; - r82 = r1 + 124 | 0; - r84 = r69; - r81 = r107; - r92 = r21; - while (1) { - r85 = r81 >> 2; - for (r58 = r85, r59 = r120, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - r102 = r92 - r81 | 0; - if ((r102 | 0) > 36) { - r101 = (r102 | 0) / 36 & -1; - r102 = r92 - 36 | 0; - for (r58 = r85, r59 = r20 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - r100 = r102; - for (r58 = r100 >> 2, r59 = r85, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - for (r58 = r20 >> 2, r59 = r100 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - __ZNSt3__117__push_heap_frontIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r81, r101 - 1 | 0); - r121 = HEAP32[r23]; - } else { - r121 = r92; - } - HEAP32[r23] = r121 - 36 | 0; - r100 = HEAP32[r49]; - r85 = HEAP32[r53]; - if (r100 >>> 0 < r85 >>> 0) { - if ((r100 | 0) != 0) { - r102 = r100; - for (r58 = r120, r59 = r102 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r49] = r100 + 36 | 0; - } else { - r102 = HEAP32[r22]; - r101 = ((r100 - r102 | 0) / 36 & -1) + 1 | 0; - if (r101 >>> 0 > 119304647) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r122 = HEAP32[r53]; - r123 = HEAP32[r22]; - } else { - r122 = r85; - r123 = r102; - } - r102 = r123; - r91 = (r122 - r102 | 0) / 36 & -1; - if (r91 >>> 0 > 59652322) { - r124 = 119304647; - } else { - r90 = r91 << 1; - r124 = r90 >>> 0 < r101 >>> 0 ? r101 : r90; - } - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r12, r124, (HEAP32[r49] - r102 | 0) / 36 & -1, r17); - r102 = HEAP32[r68]; - do { - if ((r102 | 0) == (HEAP32[r33 >> 2] | 0)) { - r90 = HEAP32[r16]; - r101 = HEAP32[r63 >> 2]; - if (r90 >>> 0 > r101 >>> 0) { - r91 = r90; - r86 = (((r91 - r101 | 0) / 36 & -1) + 1 | 0) / -2 & -1; - r89 = r90 + (r86 * 36 & -1) | 0; - r87 = r102 - r91 | 0; - _memmove(r89, r90, r87, 4, 0); - r91 = r90 + ((((r87 | 0) / 36 & -1) + r86) * 36 & -1) | 0; - HEAP32[r68] = r91; - HEAP32[r16] = r89; - r125 = r91; - break; - } - r91 = ((r102 - r101 | 0) / 36 & -1) << 1; - r89 = (r91 | 0) == 0 ? 1 : r91; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r11, r89, r89 >>> 2, HEAP32[r61 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r11, r90, r102); - HEAP32[r63 >> 2] = HEAP32[r62 >> 2]; - HEAP32[r62 >> 2] = r101; - HEAP32[r16] = HEAP32[r99 >> 2]; - HEAP32[r99 >> 2] = r90; - r90 = HEAP32[r98 >> 2]; - HEAP32[r68] = r90; - HEAP32[r98 >> 2] = r102; - HEAP32[r33 >> 2] = HEAP32[r97 >> 2]; - HEAP32[r97 >> 2] = r102; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r11); - r125 = r90; - } else { - r125 = r102; - } - } while (0); - if ((r125 | 0) != 0) { - r102 = r125; - for (r58 = r120, r59 = r102 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r68] = r125 + 36 | 0; - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r27, r12); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r12); - } - r102 = HEAP32[r119 >> 2]; - __ZNSt3__14listIjNS_9allocatorIjEEE9push_backERKj(r102 + 124 | 0, r28); - r85 = HEAP32[r29]; - HEAP32[r29] = r85 + 1 | 0; - r100 = HEAP32[r117 >> 2]; - r90 = (r100 | 0) > -1; - if (r90) { - r126 = HEAP32[HEAP32[r22] + (r100 * 36 & -1) >> 2]; - } else { - r126 = 0; - } - if ((r102 | 0) == (r3 | 0)) { - break; - } - r101 = r37 ? r102 + 68 | 0 : r102 + 52 | 0; - if (r37) { - __ZN5Avoid18CmpVisEdgeRotationC1EPKNS_7VertInfE(r10, r126); - r89 = r101 + 4 | 0; - r91 = r101; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6__sortINS1_18CmpVisEdgeRotationEEENS_15__list_iteratorIS3_PvEESB_SB_jRT_(r9, HEAP32[r89 >> 2], r91, HEAP32[r101 + 8 >> 2], r10); - r127 = r91; - r128 = r89; - } else { - r127 = r101; - r128 = r101 + 4 | 0; - } - r101 = HEAP32[r128 >> 2]; - L1035 : do { - if ((r101 | 0) == (r127 | 0)) { - r129 = r84; - } else { - r89 = r102; - r91 = r102 + 12 | 0; - r86 = (r91 | 0) >> 2; - r87 = (r102 + 20 | 0) >> 2; - r88 = (r102 + 136 | 0) >> 2; - r83 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r108 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r108 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r44 = r102; - r50 = r84; - r80 = r101; - while (1) { - r65 = (r80 + 8 | 0) >> 2; - r79 = HEAP32[r65]; - L1039 : do { - if (__ZNK5Avoid7EdgeInf10isDisabledEv(HEAP8[r79 + 20 | 0])) { - r130 = r50; - } else { - r78 = r50 + 1 | 0; - __ZN5Avoid5ANodeC1EPNS_7VertInfEi(r35, __ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE(r79, r89), r50); - for (r58 = r19 >> 2, r59 = r118, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - HEAP32[r116] = r85; - do { - if (r90) { - r67 = HEAP32[HEAP32[r22] + (r100 * 36 & -1) >> 2]; - if ((r67 | 0) == 0) { - r131 = 0; - r132 = 0; - break; - } - if ((r67 | 0) == (HEAP32[r18 >> 2] | 0)) { - r130 = r78; - break L1039; - } else { - r131 = r67; - r132 = 1; - } - } else { - r131 = 0; - r132 = 0; - } - } while (0); - r67 = HEAP32[r18 >> 2]; - r77 = HEAP16[r67 + 10 >> 1]; - do { - if (__ZNK5Avoid6VertID15isConnectionPinEv(r77)) { - r74 = __ZNK5Avoid7ConnRef3srcEv(HEAP32[r96 >> 2]); - if ((r102 | 0) == (r74 | 0)) { - if (__ZNK5Avoid6VertID16isDummyPinHelperEv(HEAP16[r74 + 10 >> 1])) { - break; - } - } - if ((__ZNK5Avoid7VertInf12hasNeighbourEPS0_b(r67, __ZNK5Avoid7ConnRef3dstEv(HEAP32[r82 >> 2]), r37) | 0) == 0) { - r130 = r78; - break L1039; - } - if (!__ZNK5Avoid6VertID16isDummyPinHelperEv(HEAP16[__ZNK5Avoid7ConnRef3dstEv(HEAP32[r82 >> 2]) + 10 >> 1])) { - r130 = r78; - break L1039; - } - } else { - if (!((r67 | 0) == (r3 | 0) | __ZNK5Avoid6VertID8isConnPtEv(r77) ^ 1)) { - r130 = r78; - break L1039; - } - } - } while (0); - do { - if (r37) { - r77 = HEAP32[r65]; - if (__ZNK5Avoid7EdgeInf17isDummyConnectionEv(HEAP32[r77 + 24 >> 2], HEAP32[r77 + 28 >> 2])) { - break; - } - if (!r132) { - break; - } - r77 = r131 + 12 | 0; - r74 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r77 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r77 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r77 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r86], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r86 + 1], HEAPF64[tempDoublePtr >> 3]); - r76 = r74 != r77; - r74 = r131 + 20 | 0; - r73 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r74 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r74 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r87], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r87 + 1], HEAPF64[tempDoublePtr >> 3]); - r74 = (r67 + 12 | 0) >> 2; - if (!(r77 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r74], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r74 + 1], HEAPF64[tempDoublePtr >> 3]) | r76 ^ 1 | r73)) { - r77 = __ZN5Avoid5PointixEj(r91, 1); - r95 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r77 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r77 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r77 = __ZN5Avoid5PointixEj(r111, 1); - if (r95 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r77 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r77 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r77 = r67 + 20 | 0; - r95 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r77 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r77 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r77 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r87], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r87 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r95 < r77) { - if ((HEAP32[r88] & 16 | 0) != 0) { - break; - } - if (__ZN5AvoidL21pointAlignedWithOneOfERKNS_5PointERKNSt3__16vectorIS0_NS3_9allocatorIS0_EEEEj(r91, r24, 0)) { - break; - } else { - r130 = r78; - break L1039; - } - } - if (r95 <= r77) { - break; - } - if ((HEAP32[r88] & 64 | 0) != 0) { - break; - } - if (__ZN5AvoidL21pointAlignedWithOneOfERKNS_5PointERKNSt3__16vectorIS0_NS3_9allocatorIS0_EEEEj(r91, r24, 0)) { - break; - } else { - r130 = r78; - break L1039; - } - } - r77 = r67 + 20 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r87], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r87 + 1], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r77 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r77 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) | r73 ^ 1 | r76) { - break; - } - r76 = __ZN5Avoid5PointixEj(r91, 0); - r73 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r76 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r76 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r76 = __ZN5Avoid5PointixEj(r111, 0); - if (r73 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r76 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r76 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r76 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r74], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r74 + 1], HEAPF64[tempDoublePtr >> 3]); - r74 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r86], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r86 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r76 < r74) { - if ((HEAP32[r88] & 1 | 0) != 0) { - break; - } - if (__ZN5AvoidL21pointAlignedWithOneOfERKNS_5PointERKNSt3__16vectorIS0_NS3_9allocatorIS0_EEEEj(r91, r24, 1)) { - break; - } else { - r130 = r78; - break L1039; - } - } - if (r76 <= r74) { - break; - } - if ((HEAP32[r88] & 4 | 0) != 0) { - break; - } - if (!__ZN5AvoidL21pointAlignedWithOneOfERKNS_5PointERKNSt3__16vectorIS0_NS3_9allocatorIS0_EEEEj(r91, r24, 1)) { - r130 = r78; - break L1039; - } - } - } while (0); - r74 = HEAP32[r65] + 52 | 0; - r76 = __ZN5Avoid7EdgeInf7getDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r74 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r74 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - if (r76 == 0) { - r130 = r78; - break; - } - do { - if (!r37) { - if (!((HEAP8[r54] & 1) << 24 >> 24 == 0 | r42)) { - break; - } - if (!__ZN5Avoid17validateBendPointEPNS_7VertInfES1_S1_(r131, r44, r67)) { - r130 = r78; - break L1039; - } - } - } while (0); - r74 = r83 + __ZN5AvoidL4costEPNS_7ConnRefEdPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi(r1, r76, r102, r67, r27, r100); - HEAPF64[tempDoublePtr >> 3] = r74, HEAP32[r109] = HEAP32[tempDoublePtr >> 2], HEAP32[r109 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r74 = __ZN5AvoidL13estimatedCostEPNS_7ConnRefEPKNS_5PointERS3_S5_(r1, r91, r67 + 12 | 0, r51); - HEAPF64[tempDoublePtr >> 3] = r74, HEAP32[r52 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r52 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r73 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r109], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r109 + 1], HEAPF64[tempDoublePtr >> 3]); - r77 = r74 + r73; - HEAPF64[tempDoublePtr >> 3] = r77, HEAP32[r38 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r38 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r77 = HEAP32[r23]; - r74 = HEAP32[r48]; - r95 = r77; - r43 = (r95 - r74 | 0) / 36 & -1; - L1096 : do { - if ((r77 | 0) == (r74 | 0)) { - r133 = r77; - } else { - r66 = HEAP32[r22]; - r46 = r66 + (HEAP32[r116] * 36 & -1) | 0; - r94 = 0; - while (1) { - r134 = r74 + (r94 * 36 & -1) | 0; - if ((r67 | 0) == (HEAP32[r134 >> 2] | 0)) { - if ((HEAP32[r46 >> 2] | 0) == (HEAP32[r66 + (HEAP32[r74 + (r94 * 36 & -1) + 28 >> 2] * 36 & -1) >> 2] | 0)) { - break; - } - } - r93 = r94 + 1 | 0; - if (r93 >>> 0 < r43 >>> 0) { - r94 = r93; - } else { - r133 = r74; - break L1096; - } - } - r66 = r74 + (r94 * 36 & -1) + 4 | 0; - if (r73 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r66 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r66 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r130 = r78; - break L1039; - } - r66 = r134; - for (r58 = r118, r59 = r66 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - __ZNSt3__111__make_heapIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_(r74, r77); - r130 = r78; - break L1039; - } - } while (0); - r43 = HEAP32[r67 + 128 >> 2]; - r76 = r67 + 124 | 0; - L1106 : do { - if ((r43 | 0) != (r76 | 0)) { - r66 = HEAP32[r22], r94 = r66 >> 2; - r46 = r66 + (HEAP32[r116] * 36 & -1) | 0; - r93 = r43; - while (1) { - r135 = HEAP32[r93 + 8 >> 2]; - if ((r67 | 0) == (HEAP32[((r135 * 36 & -1) >> 2) + r94] | 0)) { - if ((HEAP32[r46 >> 2] | 0) == (HEAP32[((HEAP32[((r135 * 36 & -1) + 28 >> 2) + r94] * 36 & -1) >> 2) + r94] | 0)) { - break; - } - } - r64 = HEAP32[r93 + 4 >> 2]; - if ((r64 | 0) == (r76 | 0)) { - break L1106; - } else { - r93 = r64; - } - } - r93 = r66 + (r135 * 36 & -1) + 4 | 0; - if (r73 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r93 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r93 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - 1e-9) { - r130 = r78; - break L1039; - } - ___assert_func(5248932, 817, 5256048, 5245088); - r130 = r78; - break L1039; - } - } while (0); - r73 = HEAP32[r41]; - if (r77 >>> 0 < r73 >>> 0) { - if ((r77 | 0) != 0) { - r76 = r77; - for (r58 = r118, r59 = r76 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - r76 = r77 + 36 | 0; - HEAP32[r23] = r76; - r136 = r133; - r137 = r76; - } else { - r76 = ((r95 - r133 | 0) / 36 & -1) + 1 | 0; - if (r76 >>> 0 > 119304647) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r138 = HEAP32[r41]; - r139 = HEAP32[r48]; - } else { - r138 = r73; - r139 = r74; - } - r67 = r139; - r43 = (r138 - r67 | 0) / 36 & -1; - if (r43 >>> 0 > 59652322) { - r140 = 119304647; - } else { - r93 = r43 << 1; - r140 = r93 >>> 0 < r76 >>> 0 ? r76 : r93; - } - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r8, r140, (HEAP32[r23] - r67 | 0) / 36 & -1, r32); - r67 = HEAP32[r36]; - do { - if ((r67 | 0) == (HEAP32[r15 >> 2] | 0)) { - r93 = HEAP32[r75]; - r76 = HEAP32[r14 >> 2]; - if (r93 >>> 0 > r76 >>> 0) { - r43 = r93; - r94 = (((r43 - r76 | 0) / 36 & -1) + 1 | 0) / -2 & -1; - r46 = r93 + (r94 * 36 & -1) | 0; - r64 = r67 - r43 | 0; - _memmove(r46, r93, r64, 4, 0); - r43 = r93 + ((((r64 | 0) / 36 & -1) + r94) * 36 & -1) | 0; - HEAP32[r36] = r43; - HEAP32[r75] = r46; - r141 = r43; - break; - } - r43 = ((r67 - r76 | 0) / 36 & -1) << 1; - r46 = (r43 | 0) == 0 ? 1 : r43; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r7, r46, r46 >>> 2, HEAP32[r72 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r7, r93, r67); - HEAP32[r14 >> 2] = HEAP32[r70 >> 2]; - HEAP32[r70 >> 2] = r76; - HEAP32[r75] = HEAP32[r71 >> 2]; - HEAP32[r71 >> 2] = r93; - r93 = HEAP32[r57 >> 2]; - HEAP32[r36] = r93; - HEAP32[r57 >> 2] = r67; - HEAP32[r15 >> 2] = HEAP32[r56 >> 2]; - HEAP32[r56 >> 2] = r67; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r7); - r141 = r93; - } else { - r141 = r67; - } - } while (0); - if ((r141 | 0) != 0) { - r67 = r141; - for (r58 = r118, r59 = r67 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - } - HEAP32[r36] = r141 + 36 | 0; - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r26, r8); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r8); - r136 = HEAP32[r48]; - r137 = HEAP32[r23]; - } - __ZNSt3__116__push_heap_backIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r136, r137, (r137 - r136 | 0) / 36 & -1); - r130 = r78; - } - } while (0); - r65 = HEAP32[r80 + 4 >> 2]; - if ((r65 | 0) == (r127 | 0)) { - r129 = r130; - break L1035; - } else { - r50 = r130; - r80 = r65; - } - } - } - } while (0); - r100 = HEAP32[r48]; - r102 = HEAP32[r23]; - if ((r100 | 0) == (r102 | 0)) { - break L992; - } else { - r84 = r129; - r81 = r100; - r92 = r102; - } - } - __ZN5Avoid5ANodeC1Ev(r34); - r92 = r34; - for (r58 = r120, r59 = r92 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - r120 = r34 + 28 | 0; - r81 = HEAP32[r120 >> 2]; - L1145 : do { - if ((r81 | 0) > 0) { - r84 = r34 | 0; - r36 = r81; - r118 = HEAP32[r22]; - while (1) { - HEAP32[HEAP32[r84 >> 2] + 100 >> 2] = HEAP32[r118 + (r36 * 36 & -1) >> 2]; - r56 = HEAP32[r22]; - r15 = r56 + (r36 * 36 & -1) | 0; - for (r58 = r15 >> 2, r59 = r92 >> 2, r60 = r58 + 9; r58 < r60; r58++, r59++) { - HEAP32[r59] = HEAP32[r58]; - } - r15 = HEAP32[r120 >> 2]; - if ((r15 | 0) > 0) { - r36 = r15; - r118 = r56; - } else { - r142 = r15; - break L1145; - } - } - } else { - r142 = r81; - } - } while (0); - if ((r142 | 0) != 0) { - ___assert_func(5248932, 619, 5256048, 5245908); - } - HEAP32[HEAP32[r34 >> 2] + 100 >> 2] = HEAP32[HEAP32[r22] + (r142 * 36 & -1) >> 2]; - } - } while (0); - r142 = __ZN5Avoid11VertInfList10connsBeginEv(r4 + 100 | 0); - if ((r142 | 0) == 0) { - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED1Ev(r27); - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED1Ev(r26); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r24); - STACKTOP = r6; - return; - } - r4 = r142; - while (1) { - __ZNSt3__110__list_impIjNS_9allocatorIjEEE5clearEv(r4 + 124 | 0); - r142 = HEAP32[r4 + 40 >> 2]; - if ((r142 | 0) == 0) { - break; - } else { - r4 = r142; - } - } - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED1Ev(r27); - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED1Ev(r26); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r24); - STACKTOP = r6; - return; -} -__ZN5Avoid9aStarPathEPNS_7ConnRefEPNS_7VertInfES3_S3_["X"] = 1; -function __ZN5Avoid7EdgeInf7getDistEv(r1) { - return r1; -} -function __ZNK5Avoid6VertID16isDummyPinHelperEv(r1) { - return (r1 & 16) << 16 >> 16 != 0; -} -function __ZN5Avoid5ANodeC1Ev(r1) { - __ZN5Avoid5ANodeC2Ev(r1); - return; -} -function __ZN5Avoid5ANodeC1EPNS_7VertInfEi(r1, r2, r3) { - __ZN5Avoid5ANodeC2EPNS_7VertInfEi(r1, r2, r3); - return; -} -function __ZN5AvoidL13estimatedCostEPNS_7ConnRefEPKNS_5PointERS3_S5_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r1 + 8 >> 2]) | 0) == 1) { - r5 = __ZN5Avoid13euclideanDistERKNS_5PointES2_(r3, r4); - return r5; - } - do { - if ((r2 | 0) == 0) { - r6 = r3 + 8 | 0; - r7 = r4 + 8 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r8; - r8 = r3 | 0; - r7 = r4 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r9 != 0 & r6 != 0 ? 1 : 0; - } else { - r6 = 3.141592653589793 - __ZN5AvoidL12angleBetweenERKNS_5PointES2_S2_(r2, r3, r4); - if (r6 > 1.5707963267948966) { - r10 = 2; - break; - } - if (r6 <= 0) { - r10 = 0; - break; - } - r10 = 1; - } - } while (0); - r5 = r10 * __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(__ZNK5Avoid7ConnRef6routerEv(HEAP32[r1 >> 2]), 0) + __ZN5Avoid13manhattanDistERKNS_5PointES2_(r3, r4); - return r5; -} -function __ZN5AvoidL4costEPNS_7ConnRefEdPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36; - r7 = STACKTOP; - STACKTOP = STACKTOP + 412 | 0; - r8 = r7; - r9 = r7 + 44; - r10 = r7 + 68; - r11 = r7 + 92; - r12 = r7 + 116; - r13 = r7 + 160; - r14 = r7 + 204; - r15 = r7 + 264; - r16 = r7 + 308; - r17 = r7 + 352; - if ((r6 | 0) > -1) { - r18 = HEAP32[HEAP32[r5 >> 2] + (r6 * 36 & -1) >> 2]; - } else { - r18 = 0; - } - __ZN5Avoid7PolygonC1Ev(r8); - r19 = HEAP32[r3 >> 2], r20 = r19 >> 2; - r21 = r19; - do { - if ((r18 | 0) == 0) { - r22 = r2; - } else { - r23 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r21, 1); - r24 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r21, 0); - if (!(r23 > 0 | r24 > 0)) { - r22 = r2; - break; - } - r25 = r9 >> 2; - r26 = (r18 + 12 | 0) >> 2; - HEAP32[r25] = HEAP32[r26]; - HEAP32[r25 + 1] = HEAP32[r26 + 1]; - HEAP32[r25 + 2] = HEAP32[r26 + 2]; - HEAP32[r25 + 3] = HEAP32[r26 + 3]; - HEAP32[r25 + 4] = HEAP32[r26 + 4]; - HEAP32[r25 + 5] = HEAP32[r26 + 5]; - r26 = r10 >> 2; - r25 = (r3 + 12 | 0) >> 2; - HEAP32[r26] = HEAP32[r25]; - HEAP32[r26 + 1] = HEAP32[r25 + 1]; - HEAP32[r26 + 2] = HEAP32[r25 + 2]; - HEAP32[r26 + 3] = HEAP32[r25 + 3]; - HEAP32[r26 + 4] = HEAP32[r25 + 4]; - HEAP32[r26 + 5] = HEAP32[r25 + 5]; - r25 = r11 >> 2; - r26 = (r4 + 12 | 0) >> 2; - HEAP32[r25] = HEAP32[r26]; - HEAP32[r25 + 1] = HEAP32[r26 + 1]; - HEAP32[r25 + 2] = HEAP32[r26 + 2]; - HEAP32[r25 + 3] = HEAP32[r26 + 3]; - HEAP32[r25 + 4] = HEAP32[r26 + 4]; - HEAP32[r25 + 5] = HEAP32[r26 + 5]; - r26 = 3.141592653589793 - __ZN5AvoidL12angleBetweenERKNS_5PointES2_S2_(r9, r10, r11); - r25 = r26 > 0; - if (r25) { - r27 = r26 * 10 / 3.141592653589793; - r28 = r23 * (r27 * _log10(r27 + 1) / 10.5) + r2; - } else { - r28 = r2; - } - if (r26 == 3.141592653589793) { - r22 = r24 * 2 + r28; - break; - } - if (!r25) { - r22 = r28; - break; - } - r22 = r24 + r28; - } - } while (0); - r28 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r21, 3); - L1195 : do { - if ((HEAP8[r19 + 138 | 0] & 1) << 24 >> 24 == 0) { - r29 = r22; - } else { - if (!((HEAP32[r20 + 9] | 0) != 0 & r28 > 0)) { - r29 = r22; - break; - } - if (__ZNK5Avoid7Polygon5emptyEv(r8)) { - __ZN5AvoidL20constructPolygonPathERNS_7PolygonEPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi(r8, r3, r4, r5, r6); - } - r2 = HEAP32[r20 + 8]; - r11 = r19 + 28 | 0; - if ((r2 | 0) == (r11 | 0)) { - r29 = r22; - break; - } - r10 = r12 + 8 | 0; - r9 = r14; - r18 = r14 + 12 | 0; - r24 = r14 + 24 | 0; - r25 = r1 + 8 | 0; - r26 = r1 + 124 | 0; - r27 = r19 + 100 | 0; - r23 = r22; - r30 = r2; - while (1) { - r2 = (__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r25 >> 2]) | 0) == 2; - r31 = HEAP32[r30 + 8 >> 2]; - if (r2) { - __ZN5Avoid7PolygonC1ERKS0_(r12, __ZN5Avoid10ClusterRef18rectangularPolygonEv(r31)); - } else { - __ZN5Avoid7PolygonC1ERKNS_16PolygonInterfaceE(r12, __ZN5Avoid10ClusterRef7polygonEv(r31) | 0); - } - r31 = __ZNK5Avoid7Polygon4sizeEv(r12); - if (r31 >>> 0 < 3) { - r32 = r23; - } else { - r33 = HEAP32[r10 >> 2]; - if (!__ZNK5Avoid5PointneERKS0_(r33, r33 + ((r31 - 1) * 24 & -1) | 0)) { - ___assert_func(5248932, 276, 5255116, 5244596); - } - L1213 : do { - if ((__ZNK5Avoid7Polygon4sizeEv(r12) | 0) != 0) { - r31 = 0; - while (1) { - do { - if (!r2) { - r33 = __ZNK5Avoid7Polygon2atEj(r12, r31); - if ((__ZN5Avoid11VertInfList14getVertexByPosERKNS_5PointE(HEAP32[r27 >> 2], r33) | 0) != 0) { - break; - } - ___assert_func(5248932, 282, 5255116, 5244192); - } - } while (0); - r33 = r31 + 1 | 0; - if (r33 >>> 0 < __ZNK5Avoid7Polygon4sizeEv(r12) >>> 0) { - r31 = r33; - } else { - break L1213; - } - } - } - } while (0); - __ZN5Avoid7PolygonC1ERKS0_(r13, r8); - r2 = __ZNK5Avoid7ConnRef3dstEv(HEAP32[r26 >> 2]); - __ZN5Avoid18ConnectorCrossingsC1ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r9, r12, 0, r13, 0, 0); - HEAP8[r18] = 1; - __ZN5Avoid18ConnectorCrossings15countForSegmentEjb(r9, __ZNK5Avoid7Polygon4sizeEv(r8) - 1 | 0, (r2 | 0) == (r4 | 0)); - r2 = HEAP32[r24 >> 2]; - __ZN5Avoid7PolygonD1Ev(r13); - r32 = r23 + r28 * (r2 >>> 0); - } - __ZN5Avoid7PolygonD1Ev(r12); - r2 = HEAP32[r30 + 4 >> 2]; - if ((r2 | 0) == (r11 | 0)) { - r29 = r32; - break L1195; - } else { - r23 = r32; - r30 = r2; - } - } - } - } while (0); - if (!__ZNK5Avoid6Router33isInCrossingPenaltyReroutingStageEv(HEAP8[r19 + 891 | 0])) { - r34 = r29; - __ZN5Avoid7PolygonD1Ev(r8); - STACKTOP = r7; - return r34; - } - r32 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r21, 2); - r12 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r21, 4); - if (!(r12 > 0 | r32 > 0)) { - r34 = r29; - __ZN5Avoid7PolygonD1Ev(r8); - STACKTOP = r7; - return r34; - } - if (__ZNK5Avoid7Polygon5emptyEv(r8)) { - __ZN5AvoidL20constructPolygonPathERNS_7PolygonEPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi(r8, r3, r4, r5, r6); - } - r6 = r19 + 16 | 0; - r19 = HEAP32[r20 + 5]; - if ((r19 | 0) == (r6 | 0)) { - r34 = r29; - __ZN5Avoid7PolygonD1Ev(r8); - STACKTOP = r7; - return r34; - } - r20 = r1; - r5 = r4 + 12 | 0; - r4 = r17; - r3 = r17 + 12 | 0; - r28 = r17 + 28 | 0; - r13 = r17 + 24 | 0; - r17 = r1 + 4 | 0; - r22 = r1 + 124 | 0; - r1 = r29; - r29 = r19; - while (1) { - r19 = HEAP32[r29 + 8 >> 2]; - r14 = r19; - if ((__ZNK5Avoid7ConnRef2idEv(HEAP32[r19 + 4 >> 2]) | 0) == (__ZNK5Avoid7ConnRef2idEv(HEAP32[r17 >> 2]) | 0)) { - r35 = r1; - } else { - __ZN5Avoid7PolygonC1ERKS0_(r15, __ZN5Avoid7ConnRef12displayRouteEv(r14)); - __ZN5Avoid7PolygonC1ERKS0_(r16, r8); - r19 = __ZNK5Avoid5PointeqERKS0_(r5, __ZNK5Avoid7ConnRef3dstEv(HEAP32[r22 >> 2]) + 12 | 0); - __ZN5Avoid18ConnectorCrossingsC1ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r4, r15, 1, r16, r14, r20); - HEAP8[r3] = 1; - __ZN5Avoid18ConnectorCrossings15countForSegmentEjb(r4, __ZNK5Avoid7Polygon4sizeEv(r8) - 1 | 0, r19); - r19 = HEAP32[r28 >> 2]; - do { - if ((r19 & 10 | 0) == 10) { - if (!__ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(r21, 2)) { - if ((r19 & 4 | 0) != 0) { - r36 = r1; - break; - } - } - r36 = r12 + r1; - } else { - r36 = r1; - } - } while (0); - r19 = HEAP32[r13 >> 2]; - __ZN5Avoid7PolygonD1Ev(r16); - __ZN5Avoid7PolygonD1Ev(r15); - r35 = r36 + r32 * (r19 >>> 0); - } - r19 = HEAP32[r29 + 4 >> 2]; - if ((r19 | 0) == (r6 | 0)) { - r34 = r35; - break; - } else { - r1 = r35; - r29 = r19; - } - } - __ZN5Avoid7PolygonD1Ev(r8); - STACKTOP = r7; - return r34; -} -__ZN5AvoidL4costEPNS_7ConnRefEdPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi["X"] = 1; -function __ZNSt3__14listIjNS_9allocatorIjEEE9push_backERKj(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid18CmpVisEdgeRotationC1EPKNS_7VertInfE(r1, r2) { - __ZN5Avoid18CmpVisEdgeRotationC2EPKNS_7VertInfE(r1, r2); - return; -} -function __ZN5AvoidL21pointAlignedWithOneOfERKNS_5PointERKNSt3__16vectorIS0_NS3_9allocatorIS0_EEEEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r2 + 4 | 0; - r6 = r2 | 0; - r2 = 0; - while (1) { - if (r2 >>> 0 >= ((HEAP32[r5 >> 2] - HEAP32[r6 >> 2] | 0) / 24 & -1) >>> 0) { - r7 = 0; - r4 = 1078; - break; - } - r8 = __ZNK5Avoid5PointixEj(r1, r3); - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = __ZNK5Avoid5PointixEj(HEAP32[r6 >> 2] + (r2 * 24 & -1) | 0, r3); - if (r9 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r7 = 1; - r4 = 1077; - break; - } else { - r2 = r2 + 1 | 0; - } - } - if (r4 == 1078) { - return r7; - } else if (r4 == 1077) { - return r7; - } -} -function __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__110__list_impIjNS_9allocatorIjEEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__116__push_heap_backIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r4 = STACKTOP; - STACKTOP = STACKTOP + 36 | 0; - r5 = r4; - if ((r3 | 0) <= 1) { - STACKTOP = r4; - return; - } - r6 = (r3 - 2 | 0) / 2 & -1; - r3 = r1 + (r6 * 36 & -1) | 0; - r7 = r2 - 36 | 0; - if (!__ZN5AvoidltERKNS_5ANodeES2_(r3, r7)) { - STACKTOP = r4; - return; - } - r2 = r5; - r8 = r7; - for (r9 = r8 >> 2, r10 = r2 >> 2, r11 = r9 + 9; r9 < r11; r9++, r10++) { - HEAP32[r10] = HEAP32[r9]; - } - r8 = r6; - r6 = r3; - r3 = r7; - while (1) { - r7 = r3; - r12 = r6; - for (r9 = r12 >> 2, r10 = r7 >> 2, r11 = r9 + 9; r9 < r11; r9++, r10++) { - HEAP32[r10] = HEAP32[r9]; - } - if ((r8 | 0) == 0) { - break; - } - r7 = (r8 - 1 | 0) / 2 & -1; - r13 = r1 + (r7 * 36 & -1) | 0; - if (__ZN5AvoidltERKNS_5ANodeES2_(r13, r5)) { - r8 = r7; - r3 = r6; - r6 = r13; - } else { - break; - } - } - for (r9 = r2 >> 2, r10 = r12 >> 2, r11 = r9 + 9; r9 < r11; r9++, r10++) { - HEAP32[r10] = HEAP32[r9]; - } - STACKTOP = r4; - return; -} -function __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6__sortINS1_18CmpVisEdgeRotationEEENS_15__list_iteratorIS3_PvEESB_SB_jRT_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20; - r6 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r7 = r6; - r8 = r6 + 4; - if ((r4 | 0) == 0 | (r4 | 0) == 1) { - HEAP32[r1 >> 2] = r2; - STACKTOP = r6; - return; - } else if ((r4 | 0) == 2) { - r9 = HEAP32[r3 >> 2]; - if (__ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_(r5, HEAP32[r9 + 8 >> 2], HEAP32[r2 + 8 >> 2])) { - r10 = (r9 + 4 | 0) >> 2; - r11 = (r9 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = HEAP32[r10]; - HEAP32[HEAP32[r10] >> 2] = HEAP32[r11]; - r12 = (r2 | 0) >> 2; - HEAP32[HEAP32[r12] + 4 >> 2] = r9; - HEAP32[r11] = HEAP32[r12]; - HEAP32[r12] = r9; - HEAP32[r10] = r2; - HEAP32[r1 >> 2] = r9; - STACKTOP = r6; - return; - } else { - HEAP32[r1 >> 2] = r2; - STACKTOP = r6; - return; - } - } else { - r9 = r4 >>> 1; - L1302 : do { - if ((r9 | 0) == 0) { - r13 = r2; - } else { - r10 = r9; - r12 = r2; - while (1) { - r11 = r10 - 1 | 0; - r14 = HEAP32[r12 + 4 >> 2]; - if ((r11 | 0) > 0) { - r10 = r11; - r12 = r14; - } else { - r13 = r14; - break L1302; - } - } - } - } while (0); - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6__sortINS1_18CmpVisEdgeRotationEEENS_15__list_iteratorIS3_PvEESB_SB_jRT_(r7, r2, r13, r9, r5); - r2 = HEAP32[r7 >> 2]; - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6__sortINS1_18CmpVisEdgeRotationEEENS_15__list_iteratorIS3_PvEESB_SB_jRT_(r8, r13, r3, r4 - r9 | 0, r5); - r9 = HEAP32[r8 >> 2]; - r8 = r2 + 8 | 0; - if (__ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_(r5, HEAP32[r9 + 8 >> 2], HEAP32[r8 >> 2])) { - r4 = HEAP32[r9 + 4 >> 2]; - L1309 : do { - if ((r4 | 0) == (r3 | 0)) { - r15 = r3; - } else { - r13 = r4; - while (1) { - if (!__ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_(r5, HEAP32[r13 + 8 >> 2], HEAP32[r8 >> 2])) { - r15 = r13; - break L1309; - } - r7 = HEAP32[r13 + 4 >> 2]; - if ((r7 | 0) == (r3 | 0)) { - r15 = r3; - break L1309; - } else { - r13 = r7; - } - } - } - } while (0); - r8 = HEAP32[r15 >> 2]; - r4 = (r8 + 4 | 0) >> 2; - r13 = (r9 | 0) >> 2; - HEAP32[HEAP32[r13] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r13]; - r7 = HEAP32[r2 + 4 >> 2]; - r12 = (r2 | 0) >> 2; - HEAP32[HEAP32[r12] + 4 >> 2] = r9; - HEAP32[r13] = HEAP32[r12]; - HEAP32[r12] = r8; - HEAP32[r4] = r2; - r16 = r9; - r17 = r15; - r18 = r7; - } else { - r16 = r2; - r17 = r9; - r18 = HEAP32[r2 + 4 >> 2]; - } - L1315 : do { - if ((r18 | 0) != (r17 | 0)) { - r2 = r17; - r9 = r17; - r7 = r18; - while (1) { - r15 = r2 + 8 | 0; - r4 = (r2 | 0) == (r3 | 0); - r8 = r7; - while (1) { - if (r4) { - break L1315; - } - r19 = r8 + 8 | 0; - if (__ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_(r5, HEAP32[r15 >> 2], HEAP32[r19 >> 2])) { - break; - } - r12 = HEAP32[r8 + 4 >> 2]; - if ((r12 | 0) == (r9 | 0)) { - break L1315; - } else { - r8 = r12; - } - } - r15 = HEAP32[r2 + 4 >> 2]; - L1323 : do { - if ((r15 | 0) == (r3 | 0)) { - r20 = r3; - } else { - r4 = r15; - while (1) { - if (!__ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_(r5, HEAP32[r4 + 8 >> 2], HEAP32[r19 >> 2])) { - r20 = r4; - break L1323; - } - r12 = HEAP32[r4 + 4 >> 2]; - if ((r12 | 0) == (r3 | 0)) { - r20 = r3; - break L1323; - } else { - r4 = r12; - } - } - } - } while (0); - r15 = HEAP32[r20 >> 2]; - r4 = (r15 + 4 | 0) >> 2; - r12 = (r2 | 0) >> 2; - HEAP32[HEAP32[r12] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r12]; - r13 = HEAP32[r8 + 4 >> 2]; - r10 = (r9 | 0) == (r2 | 0) ? r20 : r9; - r14 = (r8 | 0) >> 2; - HEAP32[HEAP32[r14] + 4 >> 2] = r2; - HEAP32[r12] = HEAP32[r14]; - HEAP32[r14] = r15; - HEAP32[r4] = r8; - if ((r13 | 0) == (r10 | 0)) { - break L1315; - } else { - r2 = r20; - r9 = r10; - r7 = r13; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r16; - STACKTOP = r6; - return; - } -} -__ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6__sortINS1_18CmpVisEdgeRotationEEENS_15__list_iteratorIS3_PvEESB_SB_jRT_["X"] = 1; -function __ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_(r1, r2, r3) { - var r4, r5; - r4 = r2; - do { - if (__ZNK5Avoid7EdgeInf12isOrthogonalEv(HEAP32[r2 + 24 >> 2], HEAP32[r2 + 28 >> 2])) { - if (!__ZNK5Avoid7EdgeInf12isOrthogonalEv(HEAP32[r3 + 24 >> 2], HEAP32[r3 + 28 >> 2])) { - break; - } - r5 = __ZNK5Avoid7EdgeInf16rotationLessThanEPKNS_7VertInfEPKS0_(r4, HEAP32[r1 >> 2], r3); - return r5; - } - } while (0); - r5 = r2 >>> 0 < r3 >>> 0; - return r5; -} -function __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d272(r1, r2, r3, r4, r5, r6) { - var r7, r8; - r7 = (r3 - r1) * (r6 - r2) - (r4 - r2) * (r5 - r1); - if (r7 < 0) { - r8 = -1; - return r8; - } - r8 = r7 > 0 & 1; - return r8; -} -function __ZN5AvoidL11CrossLengthERKNS_5PointES2_(r1, r2, r3, r4) { - return r1 * r4 - r2 * r3; -} -function __ZN5AvoidL3DotERKNS_5PointES2_(r1, r2, r3, r4) { - return r1 * r3 + r2 * r4; -} -function __ZN5Avoid18CmpVisEdgeRotationC2EPKNS_7VertInfE(r1, r2) { - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__117__push_heap_frontIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 36 | 0; - r5 = r4; - if ((r2 | 0) <= 1) { - STACKTOP = r4; - return; - } - r6 = r1 + 72 | 0; - r7 = r1 + 36 | 0; - do { - if ((r2 | 0) == 2) { - r3 = 1143; - } else { - if (__ZN5AvoidltERKNS_5ANodeES2_(r6, r7)) { - r3 = 1143; - break; - } else { - r8 = 2; - r9 = r6; - break; - } - } - } while (0); - if (r3 == 1143) { - r8 = 1; - r9 = r7; - } - if (!__ZN5AvoidltERKNS_5ANodeES2_(r1, r9)) { - STACKTOP = r4; - return; - } - r7 = r5; - r6 = r1; - for (r10 = r6 >> 2, r11 = r7 >> 2, r12 = r10 + 9; r10 < r12; r10++, r11++) { - HEAP32[r11] = HEAP32[r10]; - } - r6 = r8; - r8 = r9; - r9 = r1; - while (1) { - r13 = r9; - r14 = r8; - for (r10 = r14 >> 2, r11 = r13 >> 2, r12 = r10 + 9; r10 < r12; r10++, r11++) { - HEAP32[r11] = HEAP32[r10]; - } - r13 = r6 << 1; - r15 = r13 + 2 | 0; - if ((r15 | 0) > (r2 | 0)) { - break; - } - r16 = r1 + (r15 * 36 & -1) | 0; - r17 = r13 | 1; - r13 = r1 + (r17 * 36 & -1) | 0; - do { - if ((r15 | 0) == (r2 | 0)) { - r3 = 1149; - } else { - if (__ZN5AvoidltERKNS_5ANodeES2_(r16, r13)) { - r3 = 1149; - break; - } else { - r18 = r15; - r19 = r16; - break; - } - } - } while (0); - if (r3 == 1149) { - r3 = 0; - r18 = r17; - r19 = r13; - } - if (__ZN5AvoidltERKNS_5ANodeES2_(r5, r19)) { - r6 = r18; - r9 = r8; - r8 = r19; - } else { - break; - } - } - for (r10 = r7 >> 2, r11 = r14 >> 2, r12 = r10 + 9; r10 < r12; r10++, r11++) { - HEAP32[r11] = HEAP32[r10]; - } - STACKTOP = r4; - return; -} -function __ZNSt3__111__make_heapIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_(r1, r2) { - var r3, r4, r5, r6; - r3 = r2 - r1 | 0; - r2 = (r3 | 0) / 36 & -1; - if ((r3 | 0) <= 36) { - return; - } - r3 = 1; - r4 = r1 + 36 | 0; - while (1) { - r5 = r4 + 36 | 0; - r6 = r3 + 1 | 0; - __ZNSt3__116__push_heap_backIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r5, r6); - if ((r6 | 0) < (r2 | 0)) { - r3 = r6; - r4 = r5; - } else { - break; - } - } - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC2EjjS5_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1376 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 36 | 0; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE10push_frontERKS2_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1376; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE10push_frontERKS2_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (((r12 - r11 | 0) / 36 & -1) + 1 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = r9 + ((((r14 | 0) / -36 & -1) + r13) * 36 & -1) | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = HEAP32[r8] + (r13 * 36 & -1) | 0; - r15 = r11; - break; - } else { - r11 = ((r12 - r6 | 0) / 36 & -1) << 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 36 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 36 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - r15 = r6; - r6 = r2; - for (r2 = r6 >> 2, r4 = r15 >> 2, r7 = r2 + 9; r2 < r7; r2++, r4++) { - HEAP32[r4] = HEAP32[r2]; - } - r16 = HEAP32[r5]; - r17 = r16 - 36 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE10push_frontERKS2_["X"] = 1; -function __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2; - r7 = r1; - for (r8 = r7 >> 2, r9 = r6 >> 2, r10 = r8 + 9; r8 < r10; r8++, r9++) { - HEAP32[r9] = HEAP32[r8]; - } - r5 = HEAP32[r4]; - } - r6 = r5 + 36 | 0; - HEAP32[r4] = r6; - r7 = r1 + 36 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC2EjjS5_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 36 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 36 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 36 & -1) | 0; - return; -} -function __ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIN5Avoid5ANodeENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIN5Avoid5ANodeENS_9allocatorIS2_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZN5AvoidL12angleBetweenERKNS_5PointES2_S2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r5 = r4; - r6 = r4 + 24; - r7 = r1 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = (r2 | 0) >> 2; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]); - do { - if (r8 == r9) { - r10 = r1 + 8 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = r2 + 8 | 0; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r11 == r12) { - r13 = 3.141592653589793; - } else { - r14 = r12; - break; - } - STACKTOP = r4; - return r13; - } else { - r12 = r2 + 8 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - } - } while (0); - r12 = (r3 | 0) >> 2; - r11 = r2 + 8 | 0; - r2 = (r3 + 8 | 0) >> 2; - do { - if (r9 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3])) { - if (r14 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3])) { - r13 = 3.141592653589793; - } else { - break; - } - STACKTOP = r4; - return r13; - } - } while (0); - r3 = r1 + 8 | 0; - __ZN5Avoid5PointC1Edd(r5, r8 - r9, (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r14); - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r6, r14, (HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r11 = r5 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r11 = r5 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r11 = r6 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r11 = r6 + 8 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r13 = Math.abs(Math.atan2(__ZN5AvoidL11CrossLengthERKNS_5PointES2_(r2, r5, r14, r6), __ZN5AvoidL3DotERKNS_5PointES2_(r2, r5, r14, r6))); - STACKTOP = r4; - return r13; -} -__ZN5AvoidL12angleBetweenERKNS_5PointES2_S2_["X"] = 1; -function __ZN5AvoidL20constructPolygonPathERNS_7PolygonEPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27; - r6 = 0; - r7 = (r5 | 0) > -1; - L1429 : do { - if (r7) { - r8 = HEAP32[r4 >> 2]; - r9 = r5; - r10 = 2; - while (1) { - r11 = r10 + 1 | 0; - r12 = HEAP32[r8 + (r9 * 36 & -1) + 28 >> 2]; - if ((r12 | 0) > -1) { - r9 = r12; - r10 = r11; - } else { - r13 = r11; - break L1429; - } - } - } else { - r13 = 2; - } - } while (0); - r10 = r1 + 8 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6resizeEj(r10, r13); - r9 = (r10 | 0) >> 2; - r8 = HEAP32[r9] + ((r13 - 1) * 24 & -1) | 0; - r11 = r3 + 12 | 0; - HEAP32[r8 >> 2] = HEAP32[r11 >> 2]; - HEAP32[r8 + 4 >> 2] = HEAP32[r11 + 4 >> 2]; - HEAP32[r8 + 8 >> 2] = HEAP32[r11 + 8 >> 2]; - HEAP32[r8 + 12 >> 2] = HEAP32[r11 + 12 >> 2]; - HEAP32[r8 + 16 >> 2] = HEAP32[r11 + 16 >> 2]; - HEAP16[r8 + 20 >> 1] = HEAP16[r11 + 20 >> 1]; - r11 = HEAP32[r9] + ((r13 - 2) * 24 & -1) | 0; - r8 = r2 + 12 | 0; - HEAP32[r11 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r11 + 4 >> 2] = HEAP32[r8 + 4 >> 2]; - HEAP32[r11 + 8 >> 2] = HEAP32[r8 + 8 >> 2]; - HEAP32[r11 + 12 >> 2] = HEAP32[r8 + 12 >> 2]; - HEAP32[r11 + 16 >> 2] = HEAP32[r8 + 16 >> 2]; - HEAP16[r11 + 20 >> 1] = HEAP16[r8 + 20 >> 1]; - r8 = r13 - 3 | 0; - L1434 : do { - if (r7) { - r11 = (r4 | 0) >> 2; - r2 = r5; - r3 = r8; - while (1) { - do { - if ((r2 | 0) == (r5 | 0)) { - r14 = HEAP32[r9]; - r15 = HEAP32[HEAP32[r11] + (r5 * 36 & -1) >> 2]; - r6 = 1216; - break; - } else { - r12 = HEAP32[HEAP32[r11] + (r2 * 36 & -1) >> 2]; - r16 = r12 + 12 | 0; - r17 = r3 + 1 | 0; - r18 = HEAP32[r9]; - r19 = r18 + (r17 * 24 & -1) | 0; - r20 = r3 + 2 | 0; - r21 = r16 | 0; - r22 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r21 = r12 + 20 | 0; - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r21 = r19 | 0; - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r21 = r18 + (r17 * 24 & -1) + 8 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r21 = r18 + (r20 * 24 & -1) | 0; - r25 = r18 + (r20 * 24 & -1) + 8 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d272(r22, r23, r24, r17, (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) != 0) { - r14 = r18; - r15 = r12; - r6 = 1216; - break; - } - r12 = r19; - r19 = r16; - HEAP32[r12 >> 2] = HEAP32[r19 >> 2]; - HEAP32[r12 + 4 >> 2] = HEAP32[r19 + 4 >> 2]; - HEAP32[r12 + 8 >> 2] = HEAP32[r19 + 8 >> 2]; - HEAP32[r12 + 12 >> 2] = HEAP32[r19 + 12 >> 2]; - HEAP32[r12 + 16 >> 2] = HEAP32[r19 + 16 >> 2]; - HEAP16[r12 + 20 >> 1] = HEAP16[r19 + 20 >> 1]; - r26 = r3; - break; - } - } while (0); - if (r6 == 1216) { - r6 = 0; - r19 = r14 + (r3 * 24 & -1) | 0; - r12 = r15 + 12 | 0; - HEAP32[r19 >> 2] = HEAP32[r12 >> 2]; - HEAP32[r19 + 4 >> 2] = HEAP32[r12 + 4 >> 2]; - HEAP32[r19 + 8 >> 2] = HEAP32[r12 + 8 >> 2]; - HEAP32[r19 + 12 >> 2] = HEAP32[r12 + 12 >> 2]; - HEAP32[r19 + 16 >> 2] = HEAP32[r12 + 16 >> 2]; - HEAP16[r19 + 20 >> 1] = HEAP16[r12 + 20 >> 1]; - r26 = r3 - 1 | 0; - } - r12 = HEAP32[HEAP32[r11] + (r2 * 36 & -1) + 28 >> 2]; - if ((r12 | 0) > -1) { - r2 = r12; - r3 = r26; - } else { - r27 = r26; - break L1434; - } - } - } else { - r27 = r8; - } - } while (0); - r8 = r27 + 1 | 0; - if ((r8 | 0) <= 0) { - return; - } - L1449 : do { - if ((r8 | 0) < (r13 | 0)) { - r27 = r8; - while (1) { - r26 = HEAP32[r9]; - r15 = r26 + ((r27 - r8) * 24 & -1) | 0; - r14 = r26 + (r27 * 24 & -1) | 0; - HEAP32[r15 >> 2] = HEAP32[r14 >> 2]; - HEAP32[r15 + 4 >> 2] = HEAP32[r14 + 4 >> 2]; - HEAP32[r15 + 8 >> 2] = HEAP32[r14 + 8 >> 2]; - HEAP32[r15 + 12 >> 2] = HEAP32[r14 + 12 >> 2]; - HEAP32[r15 + 16 >> 2] = HEAP32[r14 + 16 >> 2]; - HEAP16[r15 + 20 >> 1] = HEAP16[r14 + 20 >> 1]; - r14 = r27 + 1 | 0; - if ((r14 | 0) == (r13 | 0)) { - break L1449; - } else { - r27 = r14; - } - } - } - } while (0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6resizeEj(r10, FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1) - r8 | 0); - return; -} -__ZN5AvoidL20constructPolygonPathERNS_7PolygonEPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi["X"] = 1; -function __ZN5Avoid5ANodeC2EPNS_7VertInfEi(r1, r2, r3) { - HEAP32[r1 >> 2] = r2; - r2 = (r1 + 4 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - HEAP32[r1 + 28 >> 2] = -1; - HEAP32[r1 + 32 >> 2] = r3; - return; -} -function __ZN5Avoid5ANodeC2Ev(r1) { - var r2; - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - HEAP32[r2 + 6] = 0; - HEAP32[r1 + 28 >> 2] = -1; - HEAP32[r1 + 32 >> 2] = -1; - return; -} -function __ZN5Avoid8ObstacleC2EPNS_6RouterENS_7PolygonEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r4 = STACKTOP; - STACKTOP = STACKTOP + 52 | 0; - r5 = r4; - r6 = r4 + 8; - HEAP32[r1 >> 2] = 5267328; - r7 = (r1 + 4 | 0) >> 2; - HEAP32[r7] = r2; - __ZN5Avoid7PolygonC1ERKS0_(r1 + 12 | 0, r3); - HEAP8[r1 + 56 | 0] = 0; - r3 = (r1 + 64 | 0) >> 2; - HEAP32[r3] = 0; - r2 = (r1 + 68 | 0) >> 2; - HEAP32[r2] = 0; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1 + 72 | 0); - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEEC1ERKS4_(r1 + 84 | 0); - r8 = HEAP32[r7]; - if ((r8 | 0) == 0) { - ___assert_func(5248600, 41, 5256360, 5251428); - r9 = HEAP32[r7]; - } else { - r9 = r8; - } - r8 = __ZN5Avoid6Router8assignIdEj(r9); - HEAP32[r1 + 8 >> 2] = r8; - __ZN5Avoid6VertIDC1Ejtt(r5, r8, 0, 0); - __ZNK5Avoid8Obstacle14routingPolygonEv(r6, r1); - if ((__ZNK5Avoid7Polygon4sizeEv(r6) | 0) == 0) { - r10 = 0; - HEAP32[r2] = r10; - r11 = HEAP32[r3]; - r12 = r10 + 48 | 0; - HEAP32[r12 >> 2] = r11; - r13 = r11 + 44 | 0; - HEAP32[r13 >> 2] = r10; - __ZN5Avoid7PolygonD1Ev(r6); - STACKTOP = r4; - return; - } - r1 = r6 + 8 | 0; - r8 = 0; - r9 = 0; - while (1) { - r14 = __Znwj(140); - r15 = r14; - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r14, HEAP32[r7], r5, HEAP32[r1 >> 2] + (r9 * 24 & -1) | 0, 0); - if ((HEAP32[r3] | 0) == 0) { - HEAP32[r3] = r15; - } else { - HEAP32[r14 + 44 >> 2] = r8; - HEAP32[r8 + 48 >> 2] = r15; - } - __ZN5Avoid6VertIDppEi(r5); - r14 = r9 + 1 | 0; - if (r14 >>> 0 < __ZNK5Avoid7Polygon4sizeEv(r6) >>> 0) { - r8 = r15; - r9 = r14; - } else { - r10 = r15; - break; - } - } - HEAP32[r2] = r10; - r11 = HEAP32[r3]; - r12 = r10 + 48 | 0; - HEAP32[r12 >> 2] = r11; - r13 = r11 + 44 | 0; - HEAP32[r13 >> 2] = r10; - __ZN5Avoid7PolygonD1Ev(r6); - STACKTOP = r4; - return; -} -__ZN5Avoid8ObstacleC2EPNS_6RouterENS_7PolygonEj["X"] = 1; -function __ZNK5Avoid8Obstacle14routingPolygonEv(r1, r2) { - var r3, r4, r5; - r3 = r2 + 12 | 0; - if (__ZNK5Avoid7Polygon5emptyEv(r3)) { - ___assert_func(5248600, 279, 5253568, 5252308); - } - r4 = r2 + 4 | 0; - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == 0) { - ___assert_func(5248600, 280, 5253568, 5251924); - r5 = HEAP32[r4 >> 2]; - } else { - r5 = r2; - } - __ZNK5Avoid16PolygonInterface13offsetPolygonEd(r1, r3 | 0, __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r5, 6)); - return; -} -function __ZNSt3__13setIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid8ObstacleD0Ev(r1) { - __ZN5Avoid8ObstacleD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid8ObstacleD1Ev(r1) { - __ZN5Avoid8ObstacleD2Ev(r1); - return; -} -function __ZN5Avoid8ObstacleD2Ev(r1) { - var r2, r3, r4, r5, r6, r7, r8; - HEAP32[r1 >> 2] = 5267328; - if ((HEAP8[r1 + 56 | 0] & 1) << 24 >> 24 != 0) { - ___assert_func(5248600, 78, 5256320, 5247956); - } - r2 = (r1 + 64 | 0) >> 2; - r3 = HEAP32[r2]; - do { - if ((r3 | 0) == 0) { - ___assert_func(5248600, 79, 5256320, 5246700); - r4 = HEAP32[r2]; - r5 = r4; - r6 = r4; - break; - } else { - r5 = r3; - r6 = r3; - } - } while (0); - while (1) { - r3 = HEAP32[r5 + 48 >> 2]; - if ((r5 | 0) == 0) { - r7 = r6; - } else { - __ZN5Avoid7VertInfD1Ev(r5); - __ZdlPv(r5); - r7 = HEAP32[r2]; - } - if ((r3 | 0) == (r7 | 0)) { - break; - } else { - r5 = r3; - r6 = r7; - } - } - HEAP32[r1 + 68 >> 2] = 0; - HEAP32[r2] = 0; - r2 = r1 + 84 | 0; - r7 = r1 + 92 | 0; - r6 = HEAP32[r7 >> 2]; - L1500 : do { - if ((r6 | 0) != 0) { - r5 = r2 | 0; - r3 = r6; - while (1) { - r4 = HEAP32[HEAP32[r5 >> 2] + 16 >> 2]; - if ((r4 | 0) == 0) { - r8 = r3; - } else { - __ZN5Avoid18ShapeConnectionPinD1Ev(r4); - __ZdlPv(r4); - r8 = HEAP32[r7 >> 2]; - } - if ((r8 | 0) == 0) { - break L1500; - } else { - r3 = r8; - } - } - } - } while (0); - __ZNSt3__13setIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED1Ev(r2); - __ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1 + 72 | 0); - __ZN5Avoid7PolygonD1Ev(r1 + 12 | 0); - return; -} -__ZN5Avoid8ObstacleD2Ev["X"] = 1; -function __ZN5Avoid8Obstacle9firstVertEv(r1) { - return r1; -} -function __ZN5Avoid8Obstacle8lastVertEv(r1) { - return r1; -} -function __ZNK5Avoid8Obstacle2idEv(r1) { - return r1; -} -function __ZNK5Avoid8Obstacle6routerEv(r1) { - return r1; -} -function __ZNK5Avoid8Obstacle8isActiveEv(r1) { - return (r1 & 1) << 24 >> 24 != 0; -} -function __ZNK5Avoid8Obstacle7polygonEv(r1) { - return r1 + 12 | 0; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEEC2ERKS4_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZN5Avoid8Obstacle10setNewPolyERKNS_7PolygonE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r4 = r3; - r5 = (r1 + 64 | 0) >> 2; - if ((HEAP32[r5] | 0) == 0) { - ___assert_func(5248600, 102, 5256480, 5246700); - } - r6 = r1 + 12 | 0; - if ((__ZNK5Avoid7Polygon4sizeEv(r6) | 0) != (FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 16 >> 2]](r2) | 0)) { - ___assert_func(5248600, 103, 5256480, 5245876); - } - __ZN5Avoid7PolygonaSERKS0_(r6, r2); - __ZNK5Avoid8Obstacle14routingPolygonEv(r4, r1); - do { - if ((__ZNK5Avoid7Polygon4sizeEv(r4) | 0) != 0) { - r2 = r4 + 8 | 0; - r7 = 0; - r8 = HEAP32[r5], r9 = r8 >> 2; - while (1) { - if ((HEAP32[r9 + 16] | 0) != 0) { - ___assert_func(5248600, 111, 5256480, 5245064); - } - if ((HEAP32[r9 + 24] | 0) != 0) { - ___assert_func(5248600, 112, 5256480, 5244568); - } - __ZN5Avoid7VertInf5ResetERKNS_5PointE(r8, HEAP32[r2 >> 2] + (r7 * 24 & -1) | 0); - HEAP32[r9 + 25] = 0; - r10 = r7 + 1 | 0; - r11 = HEAP32[r9 + 12]; - if (r10 >>> 0 < __ZNK5Avoid7Polygon4sizeEv(r4) >>> 0) { - r7 = r10; - r8 = r11, r9 = r8 >> 2; - } else { - break; - } - } - if ((r11 | 0) == (HEAP32[r5] | 0)) { - break; - } - ___assert_func(5248600, 120, 5256480, 5244168); - } - } while (0); - r5 = HEAP32[r1 + 84 >> 2]; - r11 = r1 + 88 | 0; - if ((r5 | 0) == (r11 | 0)) { - __ZN5Avoid7PolygonD1Ev(r4); - STACKTOP = r3; - return; - } - r1 = r11; - r11 = r5; - while (1) { - __ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_7PolygonE(HEAP32[r11 + 16 >> 2], r6); - r5 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r11 | 0); - if ((r5 | 0) == (r1 | 0)) { - break; - } else { - r11 = r5; - } - } - __ZN5Avoid7PolygonD1Ev(r4); - STACKTOP = r3; - return; -} -__ZN5Avoid8Obstacle10setNewPolyERKNS_7PolygonE["X"] = 1; -function __ZN5Avoid8Obstacle10makeActiveEv(r1) { - var r2, r3, r4, r5, r6, r7, r8; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r3 = r2; - r4 = r2 + 4; - r5 = r1 + 56 | 0; - if ((HEAP8[r5] & 1) << 24 >> 24 != 0) { - ___assert_func(5248600, 136, 5256540, 5245748); - } - r6 = r1 + 4 | 0; - r7 = HEAP32[r6 >> 2]; - r8 = HEAP32[r7 + 8 >> 2]; - HEAP32[r4 >> 2] = r1; - __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r3, r7 + 4 | 0, r8, r4); - HEAP32[r1 + 60 >> 2] = HEAP32[r3 >> 2]; - r3 = r1 + 64 | 0; - r1 = HEAP32[r3 >> 2]; - while (1) { - r4 = HEAP32[r1 + 48 >> 2]; - __ZN5Avoid11VertInfList9addVertexEPNS_7VertInfE(HEAP32[r6 >> 2] + 100 | 0, r1); - if ((r4 | 0) == (HEAP32[r3 >> 2] | 0)) { - break; - } else { - r1 = r4; - } - } - HEAP8[r5] = 1; - STACKTOP = r2; - return; -} -function __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8; - r5 = __Znwj(12); - r6 = r5; - r7 = r5; - HEAP32[r7 >> 2] = 0; - r8 = r5 + 8 | 0; - if ((r8 | 0) != 0) { - HEAP32[r8 >> 2] = HEAP32[r4 >> 2]; - } - r4 = (r3 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = r6; - HEAP32[r7 >> 2] = HEAP32[r4]; - HEAP32[r4] = r6; - HEAP32[r5 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - HEAP32[r1 >> 2] = r6; - return; -} -function __ZN5Avoid8Obstacle12makeInactiveEv(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r1 + 56 | 0; - if ((HEAP8[r3] & 1) << 24 >> 24 == 0) { - ___assert_func(5248600, 159, 5256440, 5244836); - } - r4 = r1 + 4 | 0; - __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r2, HEAP32[r4 >> 2] + 4 | 0, HEAP32[r1 + 60 >> 2]); - r5 = r1 + 64 | 0; - r6 = HEAP32[r5 >> 2]; - while (1) { - r7 = HEAP32[r6 + 48 >> 2]; - __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(HEAP32[r4 >> 2] + 100 | 0, r6); - if ((r7 | 0) == (HEAP32[r5 >> 2] | 0)) { - break; - } else { - r6 = r7; - } - } - HEAP8[r3] = 0; - r3 = r1 + 80 | 0; - if ((HEAP32[r3 >> 2] | 0) == 0) { - STACKTOP = r2; - return; - } - r6 = r1 + 72 | 0; - while (1) { - __ZN5Avoid7ConnEnd10disconnectEb(HEAP32[HEAP32[r6 >> 2] + 16 >> 2], 1); - if ((HEAP32[r3 >> 2] | 0) == 0) { - break; - } - } - STACKTOP = r2; - return; -} -function __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZN5Avoid8Obstacle27updatePinPolyLineVisibilityEv(r1) { - var r2, r3; - r2 = HEAP32[r1 + 84 >> 2]; - r3 = r1 + 88 | 0; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r1 = r3; - r3 = r2; - while (1) { - __ZN5Avoid18ShapeConnectionPin16updateVisibilityEv(HEAP32[r3 + 16 >> 2]); - r2 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r3 | 0); - if ((r2 | 0) == (r1 | 0)) { - break; - } else { - r3 = r2; - } - } - return; -} -function __ZNK5Avoid8Obstacle17possiblePinPointsEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35; - r4 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r5 = r4; - r6 = r4 + 20; - r7 = (r1 | 0) >> 2; - HEAP32[r7] = 0; - r8 = (r1 + 4 | 0) >> 2; - HEAP32[r8] = 0; - r9 = r1 + 8 | 0; - r10 = (r9 | 0) >> 2; - HEAP32[r10] = 0; - r11 = HEAP32[r2 + 84 >> 2]; - r12 = r2 + 88 | 0; - if ((r11 | 0) == (r12 | 0)) { - STACKTOP = r4; - return; - } - r2 = r9; - r9 = (r6 + 8 | 0) >> 2; - r13 = r6 + 12 | 0; - r14 = (r6 + 4 | 0) >> 2; - r15 = r6 | 0; - r16 = r6 + 16 | 0; - r17 = r5 | 0; - r18 = r5 + 4 | 0; - r19 = r5 + 8 | 0; - r20 = r5 + 12 | 0; - r21 = r12; - r12 = r11; - while (1) { - r11 = HEAP32[r12 + 16 >> 2], r22 = r11 >> 2; - do { - if ((HEAP32[r22 + 3] | 0) == (r3 | 0)) { - if ((HEAP8[r11 + 44 | 0] & 1) << 24 >> 24 != 0) { - if ((HEAP32[r22 + 16] | 0) != 0) { - break; - } - } - r23 = HEAP32[r22 + 17] + 12 | 0; - r24 = HEAP32[r8]; - r25 = HEAP32[r10]; - if (r24 >>> 0 < r25 >>> 0) { - if ((r24 | 0) == 0) { - r26 = 0; - } else { - r27 = r24 >> 2; - r28 = r23 >> 2; - HEAP32[r27] = HEAP32[r28]; - HEAP32[r27 + 1] = HEAP32[r28 + 1]; - HEAP32[r27 + 2] = HEAP32[r28 + 2]; - HEAP32[r27 + 3] = HEAP32[r28 + 3]; - HEAP32[r27 + 4] = HEAP32[r28 + 4]; - HEAP32[r27 + 5] = HEAP32[r28 + 5]; - r26 = HEAP32[r8]; - } - HEAP32[r8] = r26 + 24 | 0; - break; - } - r28 = HEAP32[r7]; - r27 = ((r24 - r28 | 0) / 24 & -1) + 1 | 0; - if (r27 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r29 = HEAP32[r10]; - r30 = HEAP32[r7]; - } else { - r29 = r25; - r30 = r28; - } - r28 = r30; - r25 = (r29 - r28 | 0) / 24 & -1; - if (r25 >>> 0 > 89478484) { - r31 = 178956970; - } else { - r24 = r25 << 1; - r31 = r24 >>> 0 < r27 >>> 0 ? r27 : r24; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r6, r31, (HEAP32[r8] - r28 | 0) / 24 & -1, r2); - r28 = HEAP32[r9]; - do { - if ((r28 | 0) == (HEAP32[r13 >> 2] | 0)) { - r24 = HEAP32[r14]; - r27 = HEAP32[r15 >> 2]; - if (r24 >>> 0 > r27 >>> 0) { - r25 = r24; - r32 = (((r25 - r27 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r33 = r24 + (r32 * 24 & -1) | 0; - r34 = r28 - r25 | 0; - _memmove(r33, r24, r34, 4, 0); - r25 = r24 + ((((r34 | 0) / 24 & -1) + r32) * 24 & -1) | 0; - HEAP32[r9] = r25; - HEAP32[r14] = r33; - r35 = r25; - break; - } - r25 = ((r28 - r27 | 0) / 24 & -1) << 1; - r33 = (r25 | 0) == 0 ? 1 : r25; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r5, r33, r33 >>> 2, HEAP32[r16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r5, r24, r28); - HEAP32[r15 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r17 >> 2] = r27; - HEAP32[r14] = HEAP32[r18 >> 2]; - HEAP32[r18 >> 2] = r24; - r24 = HEAP32[r19 >> 2]; - HEAP32[r9] = r24; - HEAP32[r19 >> 2] = r28; - HEAP32[r13 >> 2] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r28; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r5); - r35 = r24; - } else { - r35 = r28; - } - } while (0); - if ((r35 | 0) != 0) { - r28 = r35 >> 2; - r24 = r23 >> 2; - HEAP32[r28] = HEAP32[r24]; - HEAP32[r28 + 1] = HEAP32[r24 + 1]; - HEAP32[r28 + 2] = HEAP32[r24 + 2]; - HEAP32[r28 + 3] = HEAP32[r24 + 3]; - HEAP32[r28 + 4] = HEAP32[r24 + 4]; - HEAP32[r28 + 5] = HEAP32[r24 + 5]; - } - HEAP32[r9] = r35 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r1, r6); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r6); - } - } while (0); - r22 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r12 | 0); - if ((r22 | 0) == (r21 | 0)) { - break; - } else { - r12 = r22; - } - } - STACKTOP = r4; - return; -} -__ZNK5Avoid8Obstacle17possiblePinPointsEj["X"] = 1; -function __ZN5Avoid8Obstacle16addConnectionPinEPNS_18ShapeConnectionPinE(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3 + 8; - HEAP32[r4 >> 2] = r2; - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r3, r1 + 84 | 0, r4); - __ZN5Avoid6Router19modifyConnectionPinEPNS_18ShapeConnectionPinE(HEAP32[r1 + 4 >> 2], HEAP32[r4 >> 2]); - STACKTOP = r3; - return; -} -function __ZN5Avoid8Obstacle19removeConnectionPinEPNS_18ShapeConnectionPinE(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - HEAP32[r4 >> 2] = r2; - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1 + 84 | 0, r4); - __ZN5Avoid6Router19modifyConnectionPinEPNS_18ShapeConnectionPinE(HEAP32[r1 + 4 >> 2], HEAP32[r4 >> 2]); - STACKTOP = r3; - return; -} -function __ZNK5Avoid8Obstacle10routingBoxEv(r1, r2) { - var r3, r4, r5; - r3 = r2 + 12 | 0; - if (__ZNK5Avoid7Polygon5emptyEv(r3)) { - ___assert_func(5248600, 269, 5253624, 5252308); - } - r4 = r2 + 4 | 0; - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == 0) { - ___assert_func(5248600, 270, 5253624, 5251924); - r5 = HEAP32[r4 >> 2]; - } else { - r5 = r2; - } - __ZNK5Avoid16PolygonInterface17offsetBoundingBoxEd(r1, r3 | 0, __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r5, 6)); - return; -} -function __ZN5Avoid8Obstacle15removeFromGraphEv(r1) { - var r2, r3, r4; - r2 = __ZN5Avoid8Obstacle9firstVertEv(HEAP32[r1 + 64 >> 2]); - r3 = r1 + 68 | 0; - if ((r2 | 0) == (HEAP32[__ZN5Avoid8Obstacle8lastVertEv(HEAP32[r3 >> 2]) + 40 >> 2] | 0)) { - return; - } else { - r4 = r2; - } - while (1) { - r2 = HEAP32[r4 + 40 >> 2]; - __ZN5Avoid7VertInf15removeFromGraphEb(r4, 0); - if ((r2 | 0) == (HEAP32[__ZN5Avoid8Obstacle8lastVertEv(HEAP32[r3 >> 2]) + 40 >> 2] | 0)) { - break; - } else { - r4 = r2; - } - } - return; -} -function __ZN5Avoid8Obstacle19addFollowingConnEndEPNS_7ConnEndE(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3 + 8; - HEAP32[r4 >> 2] = r2; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r3, r1 + 72 | 0, r4); - STACKTOP = r3; - return; -} -function __ZN5Avoid8Obstacle22removeFollowingConnEndEPNS_7ConnEndE(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - HEAP32[r4 >> 2] = r2; - __ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1 + 72 | 0, r4); - STACKTOP = r3; - return; -} -function __ZNK5Avoid8Obstacle18attachedConnectorsEv(r1, r2) { - var r3, r4; - r3 = r1; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = 0; - r3 = HEAP32[r2 + 72 >> 2]; - r4 = r2 + 76 | 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } - r2 = r4; - r4 = r3; - while (1) { - r3 = HEAP32[r4 + 16 >> 2] + 40 | 0; - if ((HEAP32[r3 >> 2] | 0) == 0) { - ___assert_func(5248600, 347, 5253512, 5246596); - } - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_(r1, r3); - r3 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r4 | 0); - if ((r3 | 0) == (r2 | 0)) { - break; - } else { - r4 = r3; - } - } - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (__ZNK5Avoid13CmpConnPinPtrclEPKNS_18ShapeConnectionPinES3_(HEAP32[r3 >> 2], HEAP32[r6 + 16 >> 2])) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - L1663 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = r3; - r7 = r4; - while (1) { - r8 = r6, r9 = r8 >> 2; - while (1) { - if (!__ZNK5Avoid13CmpConnPinPtrclEPKNS_18ShapeConnectionPinES3_(HEAP32[r9 + 4], HEAP32[r2 >> 2])) { - break; - } - r10 = HEAP32[r9 + 1]; - if ((r10 | 0) == 0) { - r5 = r7; - break L1663; - } else { - r8 = r10, r9 = r8 >> 2; - } - } - r10 = HEAP32[r9]; - if ((r10 | 0) == 0) { - r5 = r8; - break L1663; - } else { - r6 = r10; - r7 = r8; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEEC1ERKS4_(r1) { - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEEC2ERKS4_(r1); - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__13setIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZN5Avoid6RouterC1Ej(r1) { - __ZN5Avoid6RouterC2Ej(r1); - return; -} -function __ZN5Avoid23ConnRerouteFlagDelegateC1Ev(r1) { - __ZN5Avoid23ConnRerouteFlagDelegateC2Ev(r1); - return; -} -function __ZN5Avoid22TopologyAddonInterfaceC1Ev(r1) { - __ZN5Avoid22TopologyAddonInterfaceC2Ev(r1); - return; -} -function __ZN5Avoid17HyperedgeRerouterD1Ev(r1) { - __ZN5Avoid17HyperedgeRerouterD2Ev(r1); - return; -} -function __ZN5Avoid23ConnRerouteFlagDelegateD1Ev(r1) { - __ZN5Avoid23ConnRerouteFlagDelegateD2Ev(r1); - return; -} -function __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED1Ev(r1) { - __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED2Ev(r1); - return; -} -function __ZNSt3__14listIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid6RouterD0Ev(r1) { - __ZN5Avoid6RouterD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid6RouterD1Ev(r1) { - __ZN5Avoid6RouterD2Ev(r1); - return; -} -function __ZN5Avoid6Router25destroyOrthogonalVisGraphEv(r1) { - var r2, r3, r4, r5, r6; - r2 = 0; - __ZN5Avoid8EdgeList5clearEv(r1 + 72 | 0); - r3 = r1 + 100 | 0; - r1 = r3; - r4 = __ZN5Avoid11VertInfList11shapesBeginEv(HEAP32[r3 >> 2]); - if ((r4 | 0) == 0) { - return; - } - r3 = r4; - while (1) { - r4 = r3; - do { - if (__ZN5Avoid7VertInf8orphanedEv(r4)) { - if (!__ZNK5Avoid6VertIDeqERKS0_(r3 + 4 | 0, 5274200)) { - r2 = 1451; - break; - } - r5 = __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(r1, r4); - __ZN5Avoid7VertInfD1Ev(r4); - __ZdlPv(r3); - r6 = r5; - break; - } else { - r2 = 1451; - } - } while (0); - if (r2 == 1451) { - r2 = 0; - r6 = HEAP32[r3 + 40 >> 2]; - } - if ((r6 | 0) == 0) { - break; - } else { - r3 = r6; - } - } - return; -} -function __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE9push_backERKS4_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = __Znwj(60); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - r5 = r3 + 12 | 0; - r6 = r2 + 4 | 0; - for (r2 = r6 >> 2, r7 = r5 >> 2, r8 = r2 + 12; r2 < r8; r2++, r7++) { - HEAP32[r7] = HEAP32[r2]; - } - } - r5 = (r1 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r5]; - HEAP32[r5] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZNSt3__14pairIjN5Avoid7ConnEndEED1Ev(r1) { - __ZNSt3__14pairIjN5Avoid7ConnEndEED2Ev(r1); - return; -} -function __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(100); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - __ZN5Avoid10ActionInfoC1ERKS0_(r5, r2); - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid6Router18processTransactionEv(r1) { - do { - if ((HEAP32[r1 + 680 >> 2] | 0) == 0) { - if ((__ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r1 + 776 >> 2], HEAP32[r1 + 780 >> 2]) | 0) != 0) { - break; - } - return; - } - } while (0); - if ((HEAP8[r1 + 137 | 0] & 1) << 24 >> 24 != 0) { - return; - } - __ZN5Avoid6Router14processActionsEv(r1); - HEAP8[r1 + 890 | 0] = 1; - __ZN5Avoid6Router28rerouteAndCallbackConnectorsEv(r1); - return; -} -function __ZN5Avoid6Router19modifyConnectionPinEPNS_18ShapeConnectionPinE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 92 | 0; - r5 = r4; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_18ShapeConnectionPinE(r5, r2); - r2 = r1 + 672 | 0; - r6 = r2; - r7 = HEAP32[r5 >> 2]; - r8 = HEAP32[r5 + 4 >> 2]; - r9 = r1 + 676 | 0; - while (1) { - r10 = HEAP32[r9 >> 2]; - if ((r10 | 0) == (r6 | 0)) { - r3 = 1477; - break; - } - if (__ZNK5Avoid10ActionInfoeqERKS0_(r10 + 8 | 0, r7, r8)) { - break; - } else { - r9 = r10 + 4 | 0; - } - } - if (r3 == 1477) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r2, r5); - } - if ((HEAP8[r1 + 688 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid10ActionInfoD1Ev(r5); - STACKTOP = r4; - return; - } - __ZN5Avoid6Router18processTransactionEv(r1); - __ZN5Avoid10ActionInfoD1Ev(r5); - STACKTOP = r4; - return; -} -function __ZN5Avoid6Router29removeObjectFromQueuedActionsEPKv(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = r1 + 672 | 0; - r6 = HEAP32[r1 + 676 >> 2]; - r1 = r5; - if ((r6 | 0) == (r1 | 0)) { - STACKTOP = r3; - return; - } - r7 = r4 | 0; - r8 = r6; - while (1) { - if ((HEAP32[r8 + 12 >> 2] | 0) == (r2 | 0)) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r4, r5, r8); - r9 = HEAP32[r7 >> 2]; - } else { - r9 = HEAP32[r8 + 4 >> 2]; - } - if ((r9 | 0) == (r1 | 0)) { - break; - } else { - r8 = r9; - } - } - STACKTOP = r3; - return; -} -function __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZN5Avoid10ActionInfoD1Ev(r3 + 8 | 0); - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZN5Avoid6RouterC2Ej(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 >> 2; - HEAP32[r2] = 5267396; - r3 = r1 + 4 | 0; - r4 = r3; - HEAP32[r3 >> 2] = r4; - HEAP32[r2 + 2] = r4; - HEAP32[r2 + 3] = 0; - r4 = r1 + 16 | 0; - r3 = r4; - HEAP32[r4 >> 2] = r3; - HEAP32[r2 + 5] = r3; - HEAP32[r2 + 6] = 0; - r3 = r1 + 28 | 0; - r4 = r3; - HEAP32[r3 >> 2] = r4; - HEAP32[r2 + 8] = r4; - HEAP32[r2 + 9] = 0; - __ZN5Avoid8EdgeListC1Eb(r1 + 40 | 0, 0); - __ZN5Avoid8EdgeListC1Eb(r1 + 56 | 0, 0); - __ZN5Avoid8EdgeListC1Eb(r1 + 72 | 0, 1); - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC1ERKSD_(r1 + 88 | 0); - __ZN5Avoid11VertInfListC1Ev(r1 + 100 | 0); - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC1ERKSD_(r1 + 124 | 0); - HEAP8[r1 + 136 | 0] = 0; - HEAP8[r1 + 137 | 0] = 0; - r4 = r1 + 138 | 0; - HEAP8[r4] = 1; - HEAP8[r4 + 1 | 0] = 1; - HEAP8[r4 + 2 | 0] = 1; - HEAP8[r4 + 3 | 0] = 1; - HEAP8[r4 + 4 | 0] = 1; - HEAP8[r1 + 143 | 0] = 0; - HEAP8[r1 + 144 | 0] = 0; - __ZN5Avoid5TimerC1Ev(r1 + 148 | 0); - HEAP32[r2 + 167] = 0; - r4 = r1 + 672 | 0; - r3 = r4; - HEAP32[r4 >> 2] = r3; - HEAP32[r2 + 169] = r3; - HEAP32[r2 + 170] = 0; - HEAP32[r2 + 171] = 0; - HEAP8[r1 + 688 | 0] = 1; - HEAP8[r1 + 689 | 0] = 0; - __ZN5Avoid23ConnRerouteFlagDelegateC1Ev(r1 + 760 | 0); - r3 = r1 + 772 | 0; - __ZN5Avoid17HyperedgeRerouterC1Ev(r3); - HEAP32[r2 + 218] = 0; - r4 = __Znwj(4); - __ZN5Avoid22TopologyAddonInterfaceC1Ev(r4); - HEAP32[r2 + 221] = r4; - HEAP8[r1 + 890 | 0] = 1; - HEAP8[r1 + 891 | 0] = 0; - HEAP8[r1 + 888 | 0] = 1; - HEAP8[r1 + 889 | 0] = 1; - r4 = r1 + 692 | 0; - r2 = r4; - for (r5 = r2 >> 2, r6 = r5 + 14; r5 < r6; r5++) { - HEAP32[r5] = 0; - } - HEAPF64[tempDoublePtr >> 3] = 10, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 716 | 0; - HEAPF64[tempDoublePtr >> 3] = 4e3, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 732 | 0; - HEAPF64[tempDoublePtr >> 3] = 100, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 748 | 0; - HEAPF64[tempDoublePtr >> 3] = 4, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP8[r1 + 756 | 0] = 0; - HEAP8[r1 + 757 | 0] = 1; - HEAP8[r1 + 758 | 0] = 0; - HEAP8[r1 + 759 | 0] = 0; - __ZN5Avoid17HyperedgeRerouter9setRouterEPNS_6RouterE(r3, r1); - return; -} -__ZN5Avoid6RouterC2Ej["X"] = 1; -function __ZN5Avoid6RouterD2Ev(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r2 = r1 >> 2; - HEAP32[r2] = 5267396; - r3 = r1 + 689 | 0; - HEAP8[r3] = 1; - r4 = r1 + 16 | 0; - r5 = r1 + 20 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = r4; - L1760 : do { - if ((r6 | 0) != (r7 | 0)) { - r8 = r6; - while (1) { - r9 = HEAP32[r8 + 8 >> 2]; - if ((r9 | 0) == 0) { - r10 = r8; - } else { - __ZN5Avoid7ConnRefD1Ev(r9); - __ZdlPv(r9); - r10 = HEAP32[r5 >> 2]; - } - if ((r10 | 0) == (r7 | 0)) { - break L1760; - } else { - r8 = r10; - } - } - } - } while (0); - r10 = r1 + 4 | 0; - r7 = r1 + 8 | 0; - r5 = HEAP32[r7 >> 2]; - r6 = r10; - L1768 : do { - if ((r5 | 0) != (r6 | 0)) { - r8 = r5; - while (1) { - r9 = HEAP32[r8 + 8 >> 2]; - r11 = (r9 | 0) == 0; - if (!r11) { - ___dynamic_cast(r9, 5272672, 5272660); - } - r12 = r9; - if (__ZNK5Avoid8Obstacle8isActiveEv(HEAP8[r9 + 56 | 0])) { - __ZN5Avoid8Obstacle15removeFromGraphEv(r12); - __ZN5Avoid8Obstacle12makeInactiveEv(r12); - } - if (!r11) { - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 4 >> 2]](r9); - } - r9 = HEAP32[r7 >> 2]; - if ((r9 | 0) == (r6 | 0)) { - break L1768; - } else { - r8 = r9; - } - } - } - } while (0); - HEAP8[r3] = 0; - __ZN5Avoid6Router25destroyOrthogonalVisGraphEv(r1); - if ((HEAP32[r2 + 3] | 0) != 0) { - ___assert_func(5248184, 136, 5258176, 5244544); - } - if ((HEAP32[r2 + 6] | 0) != 0) { - ___assert_func(5248184, 137, 5258176, 5244128); - } - if ((__ZNK5Avoid8EdgeList4sizeEv(HEAP32[r2 + 13]) | 0) != 0) { - ___assert_func(5248184, 138, 5258176, 5243380); - } - r3 = HEAP32[r2 + 221]; - if ((r3 | 0) != 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 4 >> 2]](r3); - } - __ZN5Avoid17HyperedgeRerouterD1Ev(r1 + 772 | 0); - __ZN5Avoid23ConnRerouteFlagDelegateD1Ev(r1 + 760 | 0); - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEED1Ev(r1 + 672 | 0); - __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED1Ev(r1 + 124 | 0); - __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED1Ev(r1 + 88 | 0); - __ZN5Avoid8EdgeListD1Ev(r1 + 72 | 0); - __ZN5Avoid8EdgeListD1Ev(r1 + 56 | 0); - __ZN5Avoid8EdgeListD1Ev(r1 + 40 | 0); - __ZNSt3__14listIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED1Ev(r1 + 28 | 0); - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r4); - __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEED1Ev(r10); - return; -} -__ZN5Avoid6RouterD2Ev["X"] = 1; -function __ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r6 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - r8 = r7; - r9 = r7 + 92; - r10 = r7 + 144; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_7ConnRefE(r8, r2); - r2 = r1 + 672 | 0; - r11 = r2; - r12 = HEAP32[r8 >> 2]; - r13 = HEAP32[r8 + 4 >> 2]; - r14 = r1 + 676 | 0; - while (1) { - r15 = HEAP32[r14 >> 2]; - if ((r15 | 0) == (r11 | 0)) { - r6 = 1545; - break; - } - r16 = r15 + 8 | 0; - if (__ZNK5Avoid10ActionInfoeqERKS0_(r16, r12, r13)) { - r6 = 1553; - break; - } else { - r14 = r15 + 4 | 0; - } - } - if (r6 == 1545) { - r14 = r8 + 80 | 0; - r13 = r10; - r12 = r4; - for (r17 = r12 >> 2, r18 = r13 >> 2, r19 = r17 + 12; r17 < r19; r17++, r18++) { - HEAP32[r18] = HEAP32[r17]; - } - HEAP32[r9 >> 2] = r3; - r13 = r9 + 4 | 0; - for (r17 = r12 >> 2, r18 = r13 >> 2, r19 = r17 + 12; r17 < r19; r17++, r18++) { - HEAP32[r18] = HEAP32[r17]; - } - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE9push_backERKS4_(r14, r9); - __ZNSt3__14pairIjN5Avoid7ConnEndEED1Ev(r9); - __ZN5Avoid7ConnEndD1Ev(r10); - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r2, r8); - } else if (r6 == 1553) { - __ZN5Avoid10ActionInfo16addConnEndUpdateEjRKNS_7ConnEndEb(r16, r3, r4, r5); - } - if ((HEAP8[r1 + 688 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid10ActionInfoD1Ev(r8); - STACKTOP = r7; - return; - } - __ZN5Avoid6Router18processTransactionEv(r1); - __ZN5Avoid10ActionInfoD1Ev(r8); - STACKTOP = r7; - return; -} -__ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb["X"] = 1; -function __ZN5Avoid6Router25setStaticGraphInvalidatedEb(r1) { - HEAP8[r1 + 890 | 0] = 1; - return; -} -function __ZN5Avoid6Router8addShapeEPNS_8ShapeRefE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 276 | 0; - r5 = r4; - r6 = r4 + 92; - r7 = r4 + 184; - r8 = r1 + 672 | 0; - r9 = r1 + 676 | 0; - r10 = HEAP32[r9 >> 2]; - r11 = r8; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE(r5, 2, r2); - L1815 : do { - if ((r10 | 0) != (r11 | 0)) { - r12 = HEAP32[r5 >> 2]; - r13 = HEAP32[r5 + 4 >> 2]; - r14 = r10; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r14 + 8 | 0, r12, r13)) { - break; - } - r15 = HEAP32[r14 + 4 >> 2]; - if ((r15 | 0) == (r11 | 0)) { - break L1815; - } else { - r14 = r15; - } - } - ___assert_func(5248184, 229, 5258360, 5252800); - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r5); - r5 = HEAP32[r9 >> 2]; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE(r6, 0, r2); - L1822 : do { - if ((r5 | 0) != (r11 | 0)) { - r10 = HEAP32[r6 >> 2]; - r14 = HEAP32[r6 + 4 >> 2]; - r13 = r5; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r13 + 8 | 0, r10, r14)) { - break; - } - r12 = HEAP32[r13 + 4 >> 2]; - if ((r12 | 0) == (r11 | 0)) { - break L1822; - } else { - r13 = r12; - } - } - ___assert_func(5248184, 231, 5258360, 5252212); - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r6); - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE(r7, 1, r2); - r2 = HEAP32[r7 >> 2]; - r6 = HEAP32[r7 + 4 >> 2]; - r5 = r9; - while (1) { - r9 = HEAP32[r5 >> 2]; - if ((r9 | 0) == (r11 | 0)) { - r3 = 1575; - break; - } - if (__ZNK5Avoid10ActionInfoeqERKS0_(r9 + 8 | 0, r2, r6)) { - break; - } else { - r5 = r9 + 4 | 0; - } - } - if (r3 == 1575) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r8, r7); - } - if ((HEAP8[r1 + 688 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid10ActionInfoD1Ev(r7); - STACKTOP = r4; - return; - } - __ZN5Avoid6Router18processTransactionEv(r1); - __ZN5Avoid10ActionInfoD1Ev(r7); - STACKTOP = r4; - return; -} -__ZN5Avoid6Router8addShapeEPNS_8ShapeRefE["X"] = 1; -function __ZN5Avoid6Router15deleteConnectorEPNS_7ConnRefE(r1, r2) { - var r3; - r3 = r1 + 689 | 0; - HEAP8[r3] = 1; - if ((r2 | 0) != 0) { - __ZN5Avoid7ConnRefD1Ev(r2); - __ZdlPv(r2); - } - HEAP8[r3] = 0; - return; -} -function __ZN5Avoid6Router9moveShapeEPNS_8ShapeRefEdd(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 180 | 0; - r7 = r6; - r8 = r6 + 92; - r9 = r6 + 136; - __ZN5Avoid7PolygonC1Ev(r8); - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb(r7, r2, r8); - __ZN5Avoid7PolygonD1Ev(r8); - r8 = r1 + 672 | 0; - r10 = HEAP32[r7 >> 2]; - r11 = HEAP32[r7 + 4 >> 2]; - r12 = r1 + 676 | 0; - while (1) { - r13 = HEAP32[r12 >> 2]; - if ((r13 | 0) == (r8 | 0)) { - r5 = 1596; - break; - } - if (__ZNK5Avoid10ActionInfoeqERKS0_(r13 + 8 | 0, r10, r11)) { - r5 = 1594; - break; - } else { - r12 = r13 + 4 | 0; - } - } - if (r5 == 1596) { - __ZN5Avoid7PolygonC1Ev(r9); - __ZN5Avoid7PolygonaSERKS0_(r9, __ZNK5Avoid8ShapeRef7polygonEv(r2)); - } else if (r5 == 1594) { - __ZN5Avoid7PolygonC1Ev(r9); - __ZN5Avoid7PolygonaSERKS0_(r9, r13 + 16 | 0); - } - __ZN5Avoid7Polygon9translateEdd(r9, r3, r4); - __ZN5Avoid6Router9moveShapeEPNS_8ShapeRefERKNS_7PolygonEb(r1, r2, r9); - __ZN5Avoid7PolygonD1Ev(r9); - __ZN5Avoid10ActionInfoD1Ev(r7); - STACKTOP = r6; - return; -} -__ZN5Avoid6Router9moveShapeEPNS_8ShapeRefEdd["X"] = 1; -function __ZN5Avoid6Router9moveShapeEPNS_8ShapeRefERKNS_7PolygonEb(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 276 | 0; - r6 = r5; - r7 = r5 + 92; - r8 = r5 + 184; - r9 = r1 + 672 | 0; - r10 = r1 + 676 | 0; - r11 = HEAP32[r10 >> 2]; - r12 = r9; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE(r6, 2, r2); - L1856 : do { - if ((r11 | 0) != (r12 | 0)) { - r13 = HEAP32[r6 >> 2]; - r14 = HEAP32[r6 + 4 >> 2]; - r15 = r11; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r15 + 8 | 0, r13, r14)) { - break; - } - r16 = HEAP32[r15 + 4 >> 2]; - if ((r16 | 0) == (r12 | 0)) { - break L1856; - } else { - r15 = r16; - } - } - ___assert_func(5248184, 335, 5258212, 5252800); - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r6); - r6 = HEAP32[r10 >> 2]; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE(r7, 1, r2); - L1863 : do { - if ((r6 | 0) != (r12 | 0)) { - r11 = HEAP32[r7 >> 2]; - r15 = HEAP32[r7 + 4 >> 2]; - r14 = r6; - while (1) { - r17 = r14 + 8 | 0; - if (__ZNK5Avoid10ActionInfoeqERKS0_(r17, r11, r15)) { - break; - } - r13 = HEAP32[r14 + 4 >> 2]; - if ((r13 | 0) == (r12 | 0)) { - break L1863; - } else { - r14 = r13; - } - } - __ZN5Avoid10ActionInfoD1Ev(r7); - __ZN5Avoid8Obstacle10setNewPolyERKNS_7PolygonE(__ZNK5Avoid10ActionInfo5shapeEv(r17), r3); - STACKTOP = r5; - return; - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r7); - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb(r8, r2, r3); - r2 = HEAP32[r8 >> 2]; - r7 = HEAP32[r8 + 4 >> 2]; - r17 = r10; - while (1) { - r18 = HEAP32[r17 >> 2]; - if ((r18 | 0) == (r12 | 0)) { - r4 = 1618; - break; - } - if (__ZNK5Avoid10ActionInfoeqERKS0_(r18 + 8 | 0, r2, r7)) { - r4 = 1616; - break; - } else { - r17 = r18 + 4 | 0; - } - } - if (r4 == 1618) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r9, r8); - } else if (r4 == 1616) { - __ZN5Avoid7PolygonaSERKS0_(r18 + 16 | 0, r3); - } - if ((HEAP8[r1 + 688 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid6Router18processTransactionEv(r1); - } - __ZN5Avoid10ActionInfoD1Ev(r8); - STACKTOP = r5; - return; -} -__ZN5Avoid6Router9moveShapeEPNS_8ShapeRefERKNS_7PolygonEb["X"] = 1; -function __ZN5Avoid6Router26regenerateStaticBuiltGraphEv(r1) { - var r2, r3; - r2 = r1 + 890 | 0; - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - return; - } - if ((HEAP8[r1 + 889 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid6Router25destroyOrthogonalVisGraphEv(r1); - r3 = r1 + 148 | 0; - __ZN5Avoid5Timer8RegisterENS_10TimerIndexEb(r3, 6); - __ZN5Avoid32generateStaticOrthogonalVisGraphEPNS_6RouterE(r1); - __ZN5Avoid5Timer4StopEv(r3); - } - HEAP8[r2] = 0; - return; -} -function __ZN5Avoid6Router14processActionsEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r2 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r3 = r2 + 4; - if ((HEAP8[r1 + 143 | 0] & 1) << 24 >> 24 == 0) { - r4 = 1; - } else { - r4 = (HEAP8[r1 + 136 | 0] & 1) << 24 >> 24 == 0; - } - HEAP32[r1 + 876 >> 2] = _clock(); - HEAP8[r1 + 880 | 0] = 0; - r5 = r1 + 672 | 0; - r6 = (r1 + 676 | 0) >> 2; - r7 = r5; - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r2, HEAP32[r6], r7, HEAP32[r1 + 680 >> 2]); - r8 = HEAP32[r6]; - L1894 : do { - if ((r8 | 0) != (r7 | 0)) { - r9 = r1 + 142 | 0; - r10 = r1 + 689 | 0; - r11 = 0; - r12 = r8; - while (1) { - r13 = r12 + 8 | 0; - r14 = r13 | 0; - r15 = HEAP32[r14 >> 2]; - do { - if ((r15 | 0) == 2 | (r15 | 0) == 0 | (r15 | 0) == 5 | (r15 | 0) == 3) { - r16 = __ZNK5Avoid10ActionInfo8obstacleEv(r13); - r17 = __ZNK5Avoid10ActionInfo5shapeEv(r13); - r18 = __ZNK5Avoid10ActionInfo8junctionEv(r13); - r19 = HEAP32[r14 >> 2]; - r20 = HEAP8[r12 + 84 | 0]; - r21 = r16; - r22 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r16 + 8 >> 2]); - __ZN5Avoid8Obstacle15removeFromGraphEv(r21); - do { - if ((HEAP8[r9] & 1) << 24 >> 24 != 0) { - if (!(r4 | (r19 | 0) != 3 & (r19 | 0) != 0 | (r20 & 1) << 24 >> 24 != 0)) { - break; - } - __ZN5Avoid6Router14markConnectorsEPNS_8ObstacleE(r1, r16); - } - } while (0); - __ZN5Avoid6Router21adjustContainsWithDelEi(r1, r22); - if ((r19 | 0) == 3 | (r19 | 0) == 0) { - if ((r17 | 0) != 0) { - __ZN5Avoid8ShapeRef17moveAttachedConnsERKNS_7PolygonE(r17, r12 + 16 | 0); - __ZN5Avoid8Obstacle12makeInactiveEv(r21); - r23 = 1; - break; - } - if ((r18 | 0) != 0) { - __ZN5Avoid11JunctionRef17moveAttachedConnsERKNS_5PointE(r18, r12 + 60 | 0); - } - __ZN5Avoid8Obstacle12makeInactiveEv(r21); - if ((r19 | 0) == 3 | (r19 | 0) == 0) { - r23 = 1; - break; - } - } else { - __ZN5Avoid8Obstacle12makeInactiveEv(r21); - } - HEAP8[r10] = 1; - if ((r16 | 0) != 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r16 >> 2] + 4 >> 2]](r16); - } - HEAP8[r10] = 0; - r23 = 1; - } else { - r23 = r11; - } - } while (0); - r14 = HEAP32[r12 + 4 >> 2]; - if ((r14 | 0) == (r7 | 0)) { - break; - } else { - r11 = r23; - r12 = r14; - } - } - if ((r23 & 1) << 24 >> 24 == 0) { - break; - } - if ((HEAP8[r1 + 888 | 0] & 1) << 24 >> 24 == 0) { - break; - } - if ((HEAP8[r1 + 141 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid6Router20checkAllMissingEdgesEv(r1); - break; - } - r12 = HEAP32[r6]; - if ((r12 | 0) == (r7 | 0)) { - break; - } else { - r24 = r12; - } - while (1) { - r12 = r24 + 8 | 0; - r11 = HEAP32[r12 >> 2]; - if ((r11 | 0) == 2 | (r11 | 0) == 0 | (r11 | 0) == 5 | (r11 | 0) == 3) { - __ZN5Avoid6Router20checkAllBlockedEdgesEi(r1, __ZNK5Avoid8Obstacle2idEv(HEAP32[__ZNK5Avoid10ActionInfo8obstacleEv(r12) + 8 >> 2])); - } - r12 = HEAP32[r24 + 4 >> 2]; - if ((r12 | 0) == (r7 | 0)) { - break L1894; - } else { - r24 = r12; - } - } - } - } while (0); - r24 = HEAP32[r6]; - if ((r24 | 0) == (r7 | 0)) { - __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5clearEv(r5); - STACKTOP = r2; - return; - } - r23 = r1 + 888 | 0; - r8 = r1 + 140 | 0; - r12 = r24; - while (1) { - r24 = r12 + 8 | 0; - r11 = r24 | 0; - r10 = HEAP32[r11 >> 2]; - if ((r10 | 0) == 1 | (r10 | 0) == 0 | (r10 | 0) == 4 | (r10 | 0) == 3) { - r10 = __ZNK5Avoid10ActionInfo8obstacleEv(r24); - r9 = __ZNK5Avoid10ActionInfo5shapeEv(r24); - r14 = __ZNK5Avoid10ActionInfo8junctionEv(r24); - r24 = r12 + 16 | 0; - r13 = HEAP32[r11 >> 2]; - r11 = r10; - r15 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r10 + 8 >> 2]); - __ZN5Avoid8Obstacle10makeActiveEv(r11); - do { - if ((r13 | 0) == 3 | (r13 | 0) == 0) { - if ((r9 | 0) == 0) { - __ZN5Avoid11JunctionRef11setPositionERKNS_5PointE(r14, r12 + 60 | 0); - break; - } else { - __ZN5Avoid8Obstacle10setNewPolyERKNS_7PolygonE(r9, r24); - break; - } - } - } while (0); - __ZNK5Avoid8Obstacle14routingPolygonEv(r3, r11); - __ZN5Avoid6Router21adjustContainsWithAddERKNS_7PolygonEi(r1, r3, r15); - if ((HEAP8[r23] & 1) << 24 >> 24 != 0) { - if (r4 | (r13 | 0) != 3 & (r13 | 0) != 0) { - __ZN5Avoid6Router16newBlockingShapeERKNS_7PolygonEi(r1, r3, r15); - } - if ((HEAP8[r8] & 1) << 24 >> 24 == 0) { - __ZN5Avoid8Obstacle22computeVisibilityNaiveEv(r10); - } else { - __ZN5Avoid8Obstacle22computeVisibilitySweepEv(r10); - } - __ZN5Avoid8Obstacle27updatePinPolyLineVisibilityEv(r11); - } - __ZN5Avoid7PolygonD1Ev(r3); - } - r24 = HEAP32[r12 + 4 >> 2]; - if ((r24 | 0) == (r7 | 0)) { - break; - } else { - r12 = r24; - } - } - r12 = HEAP32[r6]; - if ((r12 | 0) == (r7 | 0)) { - __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5clearEv(r5); - STACKTOP = r2; - return; - } else { - r25 = r12; - } - while (1) { - r12 = r25 + 8 | 0; - L1960 : do { - if ((HEAP32[r12 >> 2] | 0) == 6) { - r6 = HEAP32[r25 + 92 >> 2]; - r3 = r25 + 88 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r26 = r6; - } - while (1) { - __ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE(__ZNK5Avoid10ActionInfo4connEv(r12), HEAP32[r26 + 8 >> 2], r26 + 12 | 0); - r6 = HEAP32[r26 + 4 >> 2]; - if ((r6 | 0) == (r3 | 0)) { - break L1960; - } else { - r26 = r6; - } - } - } - } while (0); - r12 = HEAP32[r25 + 4 >> 2]; - if ((r12 | 0) == (r7 | 0)) { - break; - } else { - r25 = r12; - } - } - __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5clearEv(r5); - STACKTOP = r2; - return; -} -__ZN5Avoid6Router14processActionsEv["X"] = 1; -function __ZN5Avoid6Router14markConnectorsEPNS_8ObstacleE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 168 | 0; - r5 = r4; - r6 = r4 + 24; - r7 = r4 + 48; - r8 = r4 + 72; - r9 = r4 + 96; - r10 = r4 + 120; - r11 = r4 + 144; - if ((HEAP8[r1 + 144 | 0] & 1) << 24 >> 24 != 0) { - STACKTOP = r4; - return; - } - if ((HEAP8[r1 + 142 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5248184, 1504, 5258548, 5250076); - } - r12 = r1 + 16 | 0; - r13 = HEAP32[r1 + 20 >> 2]; - if ((r13 | 0) == (r12 | 0)) { - STACKTOP = r4; - return; - } - r1 = r5; - r14 = r6; - r15 = (r5 | 0) >> 2; - r16 = (r5 + 8 | 0) >> 2; - r17 = (r6 | 0) >> 2; - r18 = (r6 + 8 | 0) >> 2; - r19 = r11 | 0; - r20 = r11 + 8 | 0; - r21 = r7 + 8 | 0; - r22 = r7 | 0; - r23 = r8; - r24 = r9; - r25 = r8 | 0; - r26 = r8 + 8 | 0; - r27 = r9 | 0; - r28 = r9 + 8 | 0; - r29 = r10 + 8 | 0; - r30 = r10 | 0; - r31 = r2 + 64 | 0; - r32 = r2 + 68 | 0; - r2 = r13; - while (1) { - r13 = HEAP32[r2 + 8 >> 2]; - r33 = r13 + 20 | 0; - L1978 : do { - if (!__ZNK5Avoid7Polygon5emptyEv(r33)) { - r34 = r13 + 16 | 0; - if ((HEAP8[r34] & 1) << 24 >> 24 != 0) { - break; - } - r35 = HEAP32[r13 + 28 >> 2]; - r36 = r35 >> 2; - HEAP32[r1 >> 2] = HEAP32[r36]; - HEAP32[r1 + 4 >> 2] = HEAP32[r36 + 1]; - HEAP32[r1 + 8 >> 2] = HEAP32[r36 + 2]; - HEAP32[r1 + 12 >> 2] = HEAP32[r36 + 3]; - HEAP32[r1 + 16 >> 2] = HEAP32[r36 + 4]; - HEAP32[r1 + 20 >> 2] = HEAP32[r36 + 5]; - r36 = (r35 + ((__ZNK5Avoid7Polygon4sizeEv(r33) - 1) * 24 & -1) | 0) >> 2; - HEAP32[r14 >> 2] = HEAP32[r36]; - HEAP32[r14 + 4 >> 2] = HEAP32[r36 + 1]; - HEAP32[r14 + 8 >> 2] = HEAP32[r36 + 2]; - HEAP32[r14 + 12 >> 2] = HEAP32[r36 + 3]; - HEAP32[r14 + 16 >> 2] = HEAP32[r36 + 4]; - HEAP32[r14 + 20 >> 2] = HEAP32[r36 + 5]; - r36 = r13 + 108 | 0; - r35 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r36 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r36 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r36 = __ZN5Avoid8Obstacle9firstVertEv(HEAP32[r31 >> 2]); - r37 = HEAP32[__ZN5Avoid8Obstacle8lastVertEv(HEAP32[r32 >> 2]) + 40 >> 2]; - r38 = r37; - if ((r36 | 0) == (r37 | 0)) { - break; - } - r37 = r36; - while (1) { - r36 = r37 + 12 | 0; - r39 = HEAP32[r37 + 48 >> 2]; - r40 = r39 + 12 | 0; - r41 = r37 + 20 | 0, r42 = r41 >> 2; - r43 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r42], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r42 + 1], HEAPF64[tempDoublePtr >> 3]); - r44 = r39 + 20 | 0; - r39 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r44 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r44 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r43 == r39) { - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 1], HEAPF64[tempDoublePtr >> 3]); - r46 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 1], HEAPF64[tempDoublePtr >> 3]) - r43; - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]); - r48 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]) - r43; - r49 = r36 | 0; - r50 = r40 | 0; - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r50 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r49 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r49 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r52 = r43; - r53 = r45; - r54 = r48; - r55 = r47; - r56 = r46; - r57 = r51 < r50 ? r51 : r50; - r58 = r50 < r51 ? r51 : r50; - } else { - r50 = (r36 | 0) >> 2; - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r50], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 1], HEAPF64[tempDoublePtr >> 3]); - r46 = r40 | 0; - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r51 == r47) { - r46 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 1], HEAPF64[tempDoublePtr >> 3]); - r48 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 1], HEAPF64[tempDoublePtr >> 3]) - r51; - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]); - r49 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]) - r51; - r59 = r39 < r43 ? r44 : r41; - r60 = r43 < r39 ? r44 : r41; - r52 = r51; - r53 = r46; - r54 = r49; - r55 = r45; - r56 = r48; - r57 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r59 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r59 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r58 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r60 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r60 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - break; - } else { - __ZN5Avoid5PointC1Edd(r7, r47 - r51, r39 - r43); - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r50], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 1], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r8, r51, (HEAP32[tempDoublePtr >> 2] = HEAP32[r16], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r42], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r42 + 1], HEAPF64[tempDoublePtr >> 3])); - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r50], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 1], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r9, r51, (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r42], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r42 + 1], HEAPF64[tempDoublePtr >> 3])); - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r47 = -Math.atan2(r51, r50); - __ZN5Avoid5PointC1Edd(r10, 0, 0); - HEAP32[r1 >> 2] = HEAP32[r23 >> 2]; - HEAP32[r1 + 4 >> 2] = HEAP32[r23 + 4 >> 2]; - HEAP32[r1 + 8 >> 2] = HEAP32[r23 + 8 >> 2]; - HEAP32[r1 + 12 >> 2] = HEAP32[r23 + 12 >> 2]; - HEAP32[r1 + 16 >> 2] = HEAP32[r23 + 16 >> 2]; - HEAP16[r1 + 20 >> 1] = HEAP16[r23 + 20 >> 1]; - HEAP32[r14 >> 2] = HEAP32[r24 >> 2]; - HEAP32[r14 + 4 >> 2] = HEAP32[r24 + 4 >> 2]; - HEAP32[r14 + 8 >> 2] = HEAP32[r24 + 8 >> 2]; - HEAP32[r14 + 12 >> 2] = HEAP32[r24 + 12 >> 2]; - HEAP32[r14 + 16 >> 2] = HEAP32[r24 + 16 >> 2]; - HEAP16[r14 + 20 >> 1] = HEAP16[r24 + 20 >> 1]; - r60 = Math.cos(r47); - r59 = Math.sin(r47); - r47 = r60 * r50 - r59 * r51; - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r26 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r26 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r48 = r60 * r51 - r59 * r50; - HEAPF64[tempDoublePtr >> 3] = r48, HEAP32[r15] = HEAP32[tempDoublePtr >> 2], HEAP32[r15 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r45 = r60 * r50 + r59 * r51; - HEAPF64[tempDoublePtr >> 3] = r45, HEAP32[r16] = HEAP32[tempDoublePtr >> 2], HEAP32[r16 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r28 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r28 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r49 = r60 * r51 - r59 * r50; - HEAPF64[tempDoublePtr >> 3] = r49, HEAP32[r17] = HEAP32[tempDoublePtr >> 2], HEAP32[r17 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r46 = r60 * r50 + r59 * r51; - HEAPF64[tempDoublePtr >> 3] = r46, HEAP32[r18] = HEAP32[tempDoublePtr >> 2], HEAP32[r18 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r51 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r29 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r29 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r59 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r30 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r30 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r52 = r51; - r53 = r48; - r54 = r46 - r51; - r55 = r49; - r56 = r45 - r51; - r57 = r47 < r59 ? r47 : r59; - r58 = r59 < r47 ? r47 : r59; - break; - } - } - } while (0); - if (r56 + r54 == 0) { - r61 = r54 * -1; - } else { - r61 = r54; - } - do { - if (r56 == 0 & r61 == 0) { - if (r53 < r57 & r55 < r57) { - r62 = r53; - r3 = 1707; - break; - } - if (r53 > r58 & r55 > r58) { - r62 = r53; - r3 = 1707; - break; - } else { - break; - } - } else { - r62 = (r56 * r55 + r53 * r61) / (r56 + r61); - r3 = 1707; - break; - } - } while (0); - if (r3 == 1707) { - r3 = 0; - r42 = r57 < r62 ? r62 : r57; - r43 = r42 < r58 ? r42 : r58; - __ZN5Avoid5PointC1Ev(r11); - r42 = r36 | 0; - r39 = r40 | 0; - r41 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r42 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r42 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r39 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r39 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r39 = r41 ? r52 : r43; - r42 = r41 ? r43 : r52; - HEAPF64[tempDoublePtr >> 3] = r39, HEAP32[r19 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r19 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAPF64[tempDoublePtr >> 3] = r42, HEAP32[r20 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r20 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - if (__ZN5Avoid13euclideanDistERKNS_5PointES2_(r5, r11) + __ZN5Avoid13euclideanDistERKNS_5PointES2_(r11, r6) < r35) { - break; - } - } - r42 = HEAP32[r37 + 40 >> 2]; - if ((r42 | 0) == (r38 | 0)) { - break L1978; - } else { - r37 = r42; - } - } - HEAP8[r34] = HEAP8[r34] | 1; - } - } while (0); - r13 = HEAP32[r2 + 4 >> 2]; - if ((r13 | 0) == (r12 | 0)) { - break; - } else { - r2 = r13; - } - } - STACKTOP = r4; - return; -} -__ZN5Avoid6Router14markConnectorsEPNS_8ObstacleE["X"] = 1; -function __ZN5Avoid6Router21adjustContainsWithDelEi(r1, r2) { - var r3, r4, r5, r6; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = HEAP32[r1 + 88 >> 2]; - r6 = r1 + 92 | 0; - if ((r5 | 0) == (r6 | 0)) { - STACKTOP = r3; - return; - } - r1 = r6; - r6 = r5; - while (1) { - HEAP32[r4 >> 2] = r2; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE14__erase_uniqueIjEEjRKT_(r6 + 24 | 0, r4); - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r6 | 0); - if ((r5 | 0) == (r1 | 0)) { - break; - } else { - r6 = r5; - } - } - STACKTOP = r3; - return; -} -function __ZN5Avoid6Router20checkAllBlockedEdgesEi(r1, r2) { - var r3, r4, r5; - if ((HEAP8[r1 + 141 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5248184, 1350, 5258500, 5250312); - } - r3 = __ZN5Avoid8EdgeList5beginEv(HEAP32[r1 + 60 >> 2]); - if ((r3 | 0) == 0) { - return; - } - r1 = r3; - while (1) { - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = __ZNK5Avoid7EdgeInf7blockerEv(HEAP32[r1 + 12 >> 2]); - do { - if ((r5 | 0) == -1) { - __ZN5Avoid7EdgeInf10alertConnsEv(r4); - __ZN5Avoid7EdgeInf8checkVisEv(r4); - } else { - if ((r5 | 0) != (r2 | 0)) { - break; - } - __ZN5Avoid7EdgeInf8checkVisEv(r4); - } - } while (0); - if ((r3 | 0) == 0) { - break; - } else { - r1 = r3; - } - } - return; -} -function __ZN5Avoid6Router20checkAllMissingEdgesEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 8; - if ((HEAP8[r1 + 141 | 0] & 1) << 24 >> 24 != 0) { - ___assert_func(5248184, 1372, 5258456, 5250184); - } - r6 = __ZN5Avoid11VertInfList10connsBeginEv(r1 + 100 | 0); - r1 = r6; - if ((r6 | 0) == 0) { - STACKTOP = r3; - return; - } - r6 = r4 | 0; - r7 = r5 | 0; - r8 = r4 + 6 | 0; - r9 = r1; - while (1) { - __ZN5Avoid6VertIDC1ERKS0_(r4, r9 + 4 | 0); - L2035 : do { - if ((r1 | 0) != (r9 | 0)) { - r10 = r9; - r11 = r1; - while (1) { - __ZN5Avoid6VertIDC1ERKS0_(r5, r11 + 4 | 0); - r12 = HEAP16[r8 >> 1]; - do { - if (__ZNK5Avoid6VertID8isConnPtEv(r12)) { - if (__ZNK5Avoid6VertID15isConnectionPinEv(r12)) { - r2 = 1742; - break; - } - if ((HEAP32[r6 >> 2] | 0) == (HEAP32[r7 >> 2] | 0)) { - r2 = 1742; - break; - } else { - break; - } - } else { - r2 = 1742; - } - } while (0); - do { - if (r2 == 1742) { - r2 = 0; - r12 = r11; - if ((__ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_(r10, r12) | 0) != 0) { - break; - } - __ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b(r10, r12); - } - } while (0); - r12 = HEAP32[r11 + 40 >> 2]; - if ((r12 | 0) == (r9 | 0)) { - break L2035; - } else { - r11 = r12; - } - } - } - } while (0); - r11 = HEAP32[r9 + 40 >> 2]; - if ((r11 | 0) == 0) { - break; - } else { - r9 = r11; - } - } - STACKTOP = r3; - return; -} -__ZN5Avoid6Router20checkAllMissingEdgesEv["X"] = 1; -function __ZN5Avoid6Router21adjustContainsWithAddERKNS_7PolygonEi(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r1 + 100 | 0; - r8 = __ZN5Avoid11VertInfList10connsBeginEv(r7); - r9 = r7; - if ((r8 | 0) == (__ZN5Avoid11VertInfList11shapesBeginEv(HEAP32[r9 >> 2]) | 0)) { - STACKTOP = r4; - return; - } - r7 = r1 + 88 | 0; - r1 = r8; - while (1) { - if (__ZN5Avoid6inPolyERKNS_7PolygonERKNS_5PointEb(r2, r1 + 12 | 0)) { - r8 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r7, r1 + 4 | 0); - HEAP32[r6 >> 2] = r3; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj(r5, r8 | 0, r6); - } - r8 = HEAP32[r1 + 40 >> 2]; - if ((r8 | 0) == (__ZN5Avoid11VertInfList11shapesBeginEv(HEAP32[r9 >> 2]) | 0)) { - break; - } else { - r1 = r8; - } - } - STACKTOP = r4; - return; -} - - - -function __ZN5Avoid6Router16newBlockingShapeERKNS_7PolygonEi(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32; - r4 = STACKTOP; - STACKTOP = STACKTOP + 132 | 0; - r5 = r4; - r6 = r4 + 16; - r7 = r4 + 24; - r8 = r4 + 32; - r9 = r4 + 80; - r10 = r4 + 104; - r11 = r4 + 128; - r12 = __ZN5Avoid8EdgeList5beginEv(HEAP32[r1 + 44 >> 2]); - if ((r12 | 0) == 0) { - STACKTOP = r4; - return; - } - r13 = r5; - r14 = r5 | 0; - r15 = r5 + 8 | 0; - r5 = r8; - r16 = r9 >> 2; - r17 = r8 >> 2; - r18 = r10 >> 2; - r19 = (r8 + 24 | 0) >> 2; - r8 = r2; - r20 = r2 + 8 | 0; - r21 = r1 + 141 | 0; - r1 = r6 + 6 | 0; - r22 = r7 + 6 | 0; - r23 = r12, r12 = r23 >> 2; - while (1) { - r24 = HEAP32[r12 + 1]; - r25 = r23 + 52 | 0; - L2064 : do { - if (__ZN5Avoid7EdgeInf7getDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) != 0) { - r26 = r23; - __ZNK5Avoid7EdgeInf3idsEv(r13, r26); - __ZN5Avoid6VertIDC1ERKS0_(r6, r14); - __ZN5Avoid6VertIDC1ERKS0_(r7, r15); - __ZNK5Avoid7EdgeInf6pointsEv(r5, HEAP32[r12 + 6], HEAP32[r12 + 7]); - HEAP32[r16] = HEAP32[r17]; - HEAP32[r16 + 1] = HEAP32[r17 + 1]; - HEAP32[r16 + 2] = HEAP32[r17 + 2]; - HEAP32[r16 + 3] = HEAP32[r17 + 3]; - HEAP32[r16 + 4] = HEAP32[r17 + 4]; - HEAP32[r16 + 5] = HEAP32[r17 + 5]; - HEAP32[r18] = HEAP32[r19]; - HEAP32[r18 + 1] = HEAP32[r19 + 1]; - HEAP32[r18 + 2] = HEAP32[r19 + 2]; - HEAP32[r18 + 3] = HEAP32[r19 + 3]; - HEAP32[r18 + 4] = HEAP32[r19 + 4]; - HEAP32[r18 + 5] = HEAP32[r19 + 5]; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r1 >> 1])) { - r27 = __ZN5Avoid6inPolyERKNS_7PolygonERKNS_5PointEb(r2, r9); - } else { - r27 = 0; - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r22 >> 1])) { - r28 = __ZN5Avoid6inPolyERKNS_7PolygonERKNS_5PointEb(r2, r10); - } else { - r28 = 0; - } - if (r27 | r28) { - break; - } - HEAP8[r11] = 0; - r29 = 0; - while (1) { - if (r29 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 16 >> 2]](r2) >>> 0) { - break L2064; - } - r30 = r29 + 1 | 0; - r31 = (r29 | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 16 >> 2]](r2) - 1 | 0) ? 0 : r30; - r32 = HEAP32[r20 >> 2]; - if (__ZN5Avoid21segmentShapeIntersectERKNS_5PointES2_S2_S2_Rb(r9, r10, r32 + (r29 * 24 & -1) | 0, r32 + (r31 * 24 & -1) | 0, r11)) { - break; - } else { - r29 = r30; - } - } - __ZN5Avoid7EdgeInf10alertConnsEv(r26); - if ((HEAP8[r21] & 1) << 24 >> 24 != 0) { - __ZN5Avoid7EdgeInf10addBlockerEi(r26, r3); - break; - } - if ((r23 | 0) == 0) { - break; - } - __ZN5Avoid7EdgeInfD1Ev(r26); - __ZdlPv(r23); - } - } while (0); - if ((r24 | 0) == 0) { - break; - } else { - r23 = r24, r12 = r23 >> 2; - } - } - STACKTOP = r4; - return; -} -__ZN5Avoid6Router16newBlockingShapeERKNS_7PolygonEi["X"] = 1; -function __ZN5Avoid6Router28rerouteAndCallbackConnectorsEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20; - r2 = STACKTOP; - STACKTOP = STACKTOP + 28 | 0; - r3 = r2; - r4 = r2 + 4; - r5 = r2 + 16; - r6 = r4; - HEAP32[r4 >> 2] = r6; - r7 = r4 + 4 | 0; - HEAP32[r7 >> 2] = r6; - HEAP32[r4 + 8 >> 2] = 0; - r8 = r1 + 16 | 0; - __ZN5Avoid23ConnRerouteFlagDelegate10alertConnsEv(r1 + 760 | 0); - __ZN5Avoid6Router26regenerateStaticBuiltGraphEv(r1); - r9 = r1 + 20 | 0; - r10 = HEAP32[r9 >> 2]; - L2086 : do { - if ((r10 | 0) != (r8 | 0)) { - r11 = r10; - while (1) { - __ZN5Avoid7ConnRef14freeActivePinsEv(HEAP32[r11 + 8 >> 2]); - r12 = HEAP32[r11 + 4 >> 2]; - if ((r12 | 0) == (r8 | 0)) { - break L2086; - } else { - r11 = r12; - } - } - } - } while (0); - r10 = r1 + 772 | 0; - __ZN5Avoid17HyperedgeRerouter23calcHyperedgeConnectorsEv(r5, r10); - r11 = r1 + 148 | 0; - __ZN5Avoid5Timer8RegisterENS_10TimerIndexEb(r11, 7); - r12 = HEAP32[r9 >> 2]; - L2092 : do { - if ((r12 | 0) != (r8 | 0)) { - r9 = r5 | 0; - r13 = r3 | 0; - r14 = r5 + 4 | 0; - r15 = r4; - r16 = r12; - while (1) { - r17 = r16 + 8 | 0; - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r3, r9, r17); - do { - if ((HEAP32[r13 >> 2] | 0) == (r14 | 0)) { - r18 = HEAP32[r17 >> 2] + 16 | 0; - HEAP8[r18] = HEAP8[r18] & -5; - if (!__ZN5Avoid7ConnRef12generatePathEv(HEAP32[r17 >> 2])) { - break; - } - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_(r15, r17); - } - } while (0); - r17 = HEAP32[r16 + 4 >> 2]; - if ((r17 | 0) == (r8 | 0)) { - break L2092; - } else { - r16 = r17; - } - } - } - } while (0); - __ZN5Avoid5Timer4StopEv(r11); - __ZN5Avoid17HyperedgeRerouter16performReroutingEv(r10); - __ZN5Avoid6Router16improveCrossingsEv(r1); - r10 = r1; - if (__ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(r1, 1)) { - __ZN5Avoid22improveHyperedgeRoutesEPNS_6RouterE(r10); - } - __ZN5Avoid23improveOrthogonalRoutesEPNS_6RouterE(r10); - r10 = HEAP32[r7 >> 2]; - if ((r10 | 0) == (r6 | 0)) { - __ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r5); - r19 = r4; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r19); - STACKTOP = r2; - return; - } else { - r20 = r10; - } - while (1) { - r10 = r20 + 8 | 0; - r7 = HEAP32[r10 >> 2] + 16 | 0; - HEAP8[r7] = HEAP8[r7] | 4; - __ZN5Avoid7ConnRef15performCallbackEv(HEAP32[r10 >> 2]); - r10 = HEAP32[r20 + 4 >> 2]; - if ((r10 | 0) == (r6 | 0)) { - break; - } else { - r20 = r10; - } - } - __ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r5); - r19 = r4; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r19); - STACKTOP = r2; - return; -} -__ZN5Avoid6Router28rerouteAndCallbackConnectorsEv["X"] = 1; -function __ZN5Avoid6Router11addJunctionEPNS_11JunctionRefE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 276 | 0; - r5 = r4; - r6 = r4 + 92; - r7 = r4 + 184; - r8 = r1 + 672 | 0; - r9 = r1 + 676 | 0; - r10 = HEAP32[r9 >> 2]; - r11 = r8; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r5, 5, r2); - L2117 : do { - if ((r10 | 0) != (r11 | 0)) { - r12 = HEAP32[r5 >> 2]; - r13 = HEAP32[r5 + 4 >> 2]; - r14 = r10; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r14 + 8 | 0, r12, r13)) { - break; - } - r15 = HEAP32[r14 + 4 >> 2]; - if ((r15 | 0) == (r11 | 0)) { - break L2117; - } else { - r14 = r15; - } - } - ___assert_func(5248184, 628, 5258664, 5251624); - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r5); - r5 = HEAP32[r9 >> 2]; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r6, 3, r2); - L2124 : do { - if ((r5 | 0) != (r11 | 0)) { - r10 = HEAP32[r6 >> 2]; - r14 = HEAP32[r6 + 4 >> 2]; - r13 = r5; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r13 + 8 | 0, r10, r14)) { - break; - } - r12 = HEAP32[r13 + 4 >> 2]; - if ((r12 | 0) == (r11 | 0)) { - break L2124; - } else { - r13 = r12; - } - } - ___assert_func(5248184, 630, 5258664, 5251084); - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r6); - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r7, 4, r2); - r2 = HEAP32[r7 >> 2]; - r6 = HEAP32[r7 + 4 >> 2]; - r5 = r9; - while (1) { - r9 = HEAP32[r5 >> 2]; - if ((r9 | 0) == (r11 | 0)) { - r3 = 1822; - break; - } - if (__ZNK5Avoid10ActionInfoeqERKS0_(r9 + 8 | 0, r2, r6)) { - break; - } else { - r5 = r9 + 4 | 0; - } - } - if (r3 == 1822) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r8, r7); - } - if ((HEAP8[r1 + 688 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid10ActionInfoD1Ev(r7); - STACKTOP = r4; - return; - } - __ZN5Avoid6Router18processTransactionEv(r1); - __ZN5Avoid10ActionInfoD1Ev(r7); - STACKTOP = r4; - return; -} -__ZN5Avoid6Router11addJunctionEPNS_11JunctionRefE["X"] = 1; -function __ZNK5Avoid6Router11newObjectIdEv(r1) { - return HEAP32[r1 + 684 >> 2] + 1 | 0; -} -function __ZN5Avoid23ConnRerouteFlagDelegate10alertConnsEv(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = r1; - if ((r2 | 0) == (r3 | 0)) { - return; - } else { - r4 = r2; - } - while (1) { - r2 = HEAP32[r4 + 8 >> 2]; - do { - if ((r2 | 0) != 0) { - r1 = r4 + 12 | 0; - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - break; - } - HEAP8[r1] = 0; - r1 = r2 + 16 | 0; - HEAP8[r1] = HEAP8[r1] | 1; - } - } while (0); - r2 = HEAP32[r4 + 4 >> 2]; - if ((r2 | 0) == (r3 | 0)) { - break; - } else { - r4 = r2; - } - } - return; -} -function __ZN5Avoid6Router14deleteJunctionEPNS_11JunctionRefE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 280 | 0; - r5 = r4; - r6 = r4 + 92; - r7 = r4 + 184; - r8 = r4 + 188; - r9 = r1 + 672 | 0; - r10 = r1 + 676 | 0; - r11 = HEAP32[r10 >> 2]; - r12 = r9; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r5, 4, r2); - L2153 : do { - if ((r11 | 0) != (r12 | 0)) { - r13 = HEAP32[r5 >> 2]; - r14 = HEAP32[r5 + 4 >> 2]; - r15 = r11; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r15 + 8 | 0, r13, r14)) { - break; - } - r16 = HEAP32[r15 + 4 >> 2]; - if ((r16 | 0) == (r12 | 0)) { - break L2153; - } else { - r15 = r16; - } - } - ___assert_func(5248184, 654, 5258604, 5250748); - } - } while (0); - __ZN5Avoid10ActionInfoD1Ev(r5); - r5 = HEAP32[r10 >> 2]; - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r6, 3, r2); - L2160 : do { - if ((r5 | 0) == (r12 | 0)) { - r3 = 1852; - } else { - r11 = HEAP32[r6 >> 2]; - r15 = HEAP32[r6 + 4 >> 2]; - r14 = r5; - while (1) { - if (__ZNK5Avoid10ActionInfoeqERKS0_(r14 + 8 | 0, r11, r15)) { - break; - } - r13 = HEAP32[r14 + 4 >> 2]; - if ((r13 | 0) == (r12 | 0)) { - r3 = 1852; - break L2160; - } else { - r14 = r13; - } - } - __ZN5Avoid10ActionInfoD1Ev(r6); - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r7, r9, r14); - break; - } - } while (0); - if (r3 == 1852) { - __ZN5Avoid10ActionInfoD1Ev(r6); - } - __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r8, 5, r2); - r2 = HEAP32[r8 >> 2]; - r6 = HEAP32[r8 + 4 >> 2]; - r7 = r10; - while (1) { - r10 = HEAP32[r7 >> 2]; - if ((r10 | 0) == (r12 | 0)) { - r3 = 1856; - break; - } - if (__ZNK5Avoid10ActionInfoeqERKS0_(r10 + 8 | 0, r2, r6)) { - break; - } else { - r7 = r10 + 4 | 0; - } - } - if (r3 == 1856) { - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_(r9, r8); - } - if ((HEAP8[r1 + 688 | 0] & 1) << 24 >> 24 != 0) { - __ZN5Avoid10ActionInfoD1Ev(r8); - STACKTOP = r4; - return; - } - __ZN5Avoid6Router18processTransactionEv(r1); - __ZN5Avoid10ActionInfoD1Ev(r8); - STACKTOP = r4; - return; -} -__ZN5Avoid6Router14deleteJunctionEPNS_11JunctionRefE["X"] = 1; -function __ZN5Avoid6Router8assignIdEj(r1) { - var r2, r3; - r2 = FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 8 >> 2]](r1); - if (!__ZNK5Avoid6Router16objectIdIsUnusedEj(r1, r2)) { - ___assert_func(5248184, 777, 5258300, 5250556); - } - r3 = r1 + 684 | 0; - r1 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = r1 >>> 0 < r2 >>> 0 ? r2 : r1; - return r2; -} -function __ZNK5Avoid6Router16objectIdIsUnusedEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = 0; - r4 = r1 + 4 | 0; - r5 = r1 + 8 | 0; - while (1) { - r6 = HEAP32[r5 >> 2]; - if ((r6 | 0) == (r4 | 0)) { - break; - } - if ((__ZNK5Avoid8Obstacle2idEv(HEAP32[HEAP32[r6 + 8 >> 2] + 8 >> 2]) | 0) == (r2 | 0)) { - r7 = 0; - r3 = 1879; - break; - } else { - r5 = r6 + 4 | 0; - } - } - if (r3 == 1879) { - return r7; - } - r5 = r1 + 16 | 0; - r4 = r1 + 20 | 0; - while (1) { - r6 = HEAP32[r4 >> 2]; - if ((r6 | 0) == (r5 | 0)) { - break; - } - if ((__ZNK5Avoid7ConnRef2idEv(HEAP32[HEAP32[r6 + 8 >> 2] + 4 >> 2]) | 0) == (r2 | 0)) { - r7 = 0; - r3 = 1877; - break; - } else { - r4 = r6 + 4 | 0; - } - } - if (r3 == 1877) { - return r7; - } - r4 = r1 + 28 | 0; - r5 = r1 + 32 | 0; - while (1) { - r1 = HEAP32[r5 >> 2]; - if ((r1 | 0) == (r4 | 0)) { - r7 = 1; - r3 = 1880; - break; - } - if ((__ZNK5Avoid10ClusterRef2idEv(HEAP32[HEAP32[r1 + 8 >> 2] + 4 >> 2]) | 0) == (r2 | 0)) { - r7 = 0; - r3 = 1878; - break; - } else { - r5 = r1 + 4 | 0; - } - } - if (r3 == 1878) { - return r7; - } else if (r3 == 1880) { - return r7; - } -} -__ZNK5Avoid6Router16objectIdIsUnusedEj["X"] = 1; -function __ZN5Avoid6Router16improveCrossingsEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 192 | 0; - r4 = r3; - r5 = r3 + 8; - r6 = r3 + 16; - r7 = r3 + 20; - r8 = r3 + 24; - r9 = r3 + 36; - r10 = r3 + 48; - r11 = r3 + 60; - r12 = r3 + 72; - r13 = r3 + 84; - r14 = r3 + 144; - r15 = r3 + 156; - r16 = r3 + 168; - r17 = r3 + 180; - r18 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r1, 2); - r19 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r1, 4); - if (r18 == 0 & r19 == 0) { - STACKTOP = r3; - return; - } - __ZN5Avoid6Router26performSlowRoutingCallBackEd(r1, 0); - r20 = r1 + 880 | 0; - if ((HEAP8[r20] & 1) << 24 >> 24 != 0) { - STACKTOP = r3; - return; - } - r21 = r1 + 891 | 0; - HEAP8[r21] = 1; - r22 = r8 | 0; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS6_(r22); - r23 = r9; - HEAP32[r9 >> 2] = r23; - r24 = r9 + 4 | 0; - HEAP32[r24 >> 2] = r23; - HEAP32[r9 + 8 >> 2] = 0; - r25 = r1 + 16 | 0; - r26 = HEAP32[r1 + 20 >> 2]; - L2209 : do { - if ((r26 | 0) != (r25 | 0)) { - r27 = (r10 | 0) >> 2; - r28 = r10 + 8 | 0; - r29 = (r11 | 0) >> 2; - r30 = r11 + 8 | 0; - r31 = r12 | 0; - r32 = r12 + 8 | 0; - r33 = r13; - r34 = r19 > 0; - r35 = r13 + 28 | 0; - r36 = r1 + 758 | 0; - r37 = r18 > 0; - r38 = r13 + 24 | 0; - r39 = r14 | 0; - r40 = r14 + 8 | 0; - r41 = r15 | 0; - r42 = r15 + 8 | 0; - r43 = r13 + 44 | 0; - r44 = r13 + 52 | 0; - r45 = r8 + 4 | 0; - r46 = r26; - while (1) { - r47 = (r46 + 8 | 0) >> 2; - r48 = __ZN5Avoid7ConnRef8routeRefEv(HEAP32[r47]); - L2214 : do { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r48 >> 2] + 16 >> 2]](r48) | 0) == 0) { - r49 = r46 + 4 | 0; - } else { - r50 = __ZN5AvoidL18cheapEstimatedCostEPNS_7ConnRefE(HEAP32[r47]); - r51 = HEAP32[r47]; - HEAPF64[tempDoublePtr >> 3] = r50, HEAP32[r27] = HEAP32[tempDoublePtr >> 2], HEAP32[r27 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r28 >> 2] = r51; - r51 = r46 + 4 | 0; - r50 = HEAP32[r51 >> 2]; - if ((r50 | 0) == (r25 | 0)) { - r49 = r51; - break; - } else { - r52 = r50; - } - while (1) { - r50 = (r52 + 8 | 0) >> 2; - r53 = __ZN5AvoidL18cheapEstimatedCostEPNS_7ConnRefE(HEAP32[r50]); - r54 = HEAP32[r50]; - HEAPF64[tempDoublePtr >> 3] = r53, HEAP32[r29] = HEAP32[tempDoublePtr >> 2], HEAP32[r29 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r30 >> 2] = r54; - r55 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 1], HEAPF64[tempDoublePtr >> 3]); - r56 = HEAP32[r28 >> 2]; - HEAPF64[tempDoublePtr >> 3] = r53, HEAP32[r31 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r31 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r32 >> 2] = r54; - L2220 : do { - if (!__ZN5AvoidL17connsKnownToCrossERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_(r9, r55, r56, r12)) { - r57 = HEAP32[r45 >> 2]; - if ((__ZNKSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__count_uniqueIS5_EEjRKT_(r57, r56) | 0) != 0) { - if ((__ZNKSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__count_uniqueIS5_EEjRKT_(r57, r54) | 0) != 0) { - break; - } - } - r57 = HEAP32[r50]; - r58 = __ZN5Avoid7ConnRef8routeRefEv(r57); - __ZN5Avoid18ConnectorCrossingsC1ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r33, r48, 1, r58, HEAP32[r47], r57); - r57 = r58; - r59 = 1; - L2225 : while (1) { - if (r59 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r57 >> 2] + 16 >> 2]](r58) >>> 0) { - break L2220; - } - r60 = r59 + 1 | 0; - __ZN5Avoid18ConnectorCrossings15countForSegmentEjb(r33, r59, (r60 | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r57 >> 2] + 16 >> 2]](r58) | 0)); - do { - if (r34) { - r61 = HEAP32[r35 >> 2]; - if ((r61 & 10 | 0) != 10) { - break; - } - r62 = (r61 & 4 | 0) == 0; - if ((HEAP8[r36] & 1) << 24 >> 24 != 0) { - r2 = 1910; - break L2225; - } - if (r62) { - r63 = r55; - r64 = r53; - break L2225; - } - } - } while (0); - if (!r37) { - r59 = r60; - continue; - } - if ((HEAP32[r38 >> 2] | 0) == 0) { - r59 = r60; - } else { - r2 = 1915; - break; - } - } - do { - if (r2 == 1910) { - r2 = 0; - if (r62) { - r63 = r55; - r64 = r53; - break; - } - r59 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r43 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r43 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r59, HEAP32[r27] = HEAP32[tempDoublePtr >> 2], HEAP32[r27 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r58 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r44 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r44 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r58, HEAP32[r29] = HEAP32[tempDoublePtr >> 2], HEAP32[r29 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r63 = r59; - r64 = r58; - } else if (r2 == 1915) { - r2 = 0; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r4, r22, r10); - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r5, r22, r11); - break L2220; - } - } while (0); - HEAPF64[tempDoublePtr >> 3] = r63, HEAP32[r39 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r39 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r40 >> 2] = r56; - HEAPF64[tempDoublePtr >> 3] = r64, HEAP32[r41 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r41 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r42 >> 2] = r54; - __ZN5AvoidL25addCrossingConnsToSetListERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_(r9, r14, r15); - } - } while (0); - r54 = HEAP32[r52 + 4 >> 2]; - if ((r54 | 0) == (r25 | 0)) { - r49 = r51; - break L2214; - } else { - r52 = r54; - } - } - } - } while (0); - r47 = HEAP32[r49 >> 2]; - if ((r47 | 0) == (r25 | 0)) { - break L2209; - } else { - r46 = r47; - } - } - } - } while (0); - __ZN5Avoid6Router26performSlowRoutingCallBackEd(r1, 0); - if ((HEAP8[r20] & 1) << 24 >> 24 == 0) { - r20 = r8 | 0; - r25 = r8 + 4 | 0; - r49 = r17 + 4 | 0; - r52 = r17; - r15 = r17 + 8 | 0; - r14 = (r16 + 4 | 0) >> 2; - r64 = r16; - r63 = r16 + 8 | 0; - r11 = 1; - r5 = 1; - r10 = 0; - while (1) { - r4 = HEAP32[r24 >> 2]; - L2252 : do { - if ((r4 | 0) == (r23 | 0)) { - r65 = r11; - r66 = r5; - } else { - r2 = (r10 | 0) == 0; - r62 = (r10 | 0) == 1; - r12 = r4; - r26 = r11; - r13 = r5; - while (1) { - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC1INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE(r16, HEAP32[r12 + 8 >> 2], r12 + 12 | 0); - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_(r6, HEAP32[r14], r64, HEAP32[r63 >> 2]); - r18 = HEAP32[r14]; - L2257 : do { - if ((r18 | 0) == (r64 | 0)) { - r67 = r26; - r68 = r13; - } else { - r19 = r18; - r46 = r26; - r42 = r13; - while (1) { - if (r2) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__erase_uniqueIS5_EEjRKT_(r22, r19 + 8 | 0); - } - do { - if ((r19 | 0) == (HEAP32[r14] | 0)) { - r69 = r42; - r70 = r46; - } else { - r41 = HEAP32[r19 + 16 >> 2]; - if (r2) { - r40 = r41; - __ZN5Avoid7ConnRef15makePathInvalidEv(r40); - __ZN5Avoid7ConnRef10freeRoutesEv(r40); - __ZN5Avoid7ConnRef14freeActivePinsEv(r40); - r69 = r42; - r70 = r46 + 1 | 0; - break; - } - if (!r62) { - r69 = r42; - r70 = r46; - break; - } - __ZN5Avoid6Router26performSlowRoutingCallBackEd(r1, (r42 >>> 0) / (r46 >>> 0)); - __ZN5Avoid7ConnRef12generatePathEv(r41); - r69 = r42 + 1 | 0; - r70 = r46; - } - } while (0); - r41 = HEAP32[r19 + 4 >> 2]; - if ((r41 | 0) == (r64 | 0)) { - r67 = r70; - r68 = r69; - break L2257; - } else { - r19 = r41; - r46 = r70; - r42 = r69; - } - } - } - } while (0); - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED1Ev(r16); - r18 = HEAP32[r12 + 4 >> 2]; - if ((r18 | 0) == (r23 | 0)) { - r65 = r67; - r66 = r68; - break L2252; - } else { - r12 = r18; - r26 = r67; - r13 = r68; - } - } - } - } while (0); - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC1INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE(r17, HEAP32[r20 >> 2], r25); - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_(r7, HEAP32[r49 >> 2], r52, HEAP32[r15 >> 2]); - r4 = HEAP32[r49 >> 2]; - L2274 : do { - if ((r4 | 0) == (r52 | 0)) { - r71 = r65; - r72 = r66; - } else { - r13 = r4; - r26 = r65; - r12 = r66; - while (1) { - r62 = HEAP32[r13 + 16 >> 2]; - if ((r10 | 0) == 0) { - r2 = r62; - __ZN5Avoid7ConnRef15makePathInvalidEv(r2); - __ZN5Avoid7ConnRef10freeRoutesEv(r2); - __ZN5Avoid7ConnRef14freeActivePinsEv(r2); - r73 = r12; - r74 = r26 + 1 | 0; - } else if ((r10 | 0) == 1) { - __ZN5Avoid6Router26performSlowRoutingCallBackEd(r1, (r12 >>> 0) / (r26 >>> 0)); - __ZN5Avoid7ConnRef12generatePathEv(r62); - r73 = r12 + 1 | 0; - r74 = r26; - } else { - r73 = r12; - r74 = r26; - } - r62 = HEAP32[r13 + 4 >> 2]; - if ((r62 | 0) == (r52 | 0)) { - r71 = r74; - r72 = r73; - break L2274; - } else { - r13 = r62; - r26 = r74; - r12 = r73; - } - } - } - } while (0); - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED1Ev(r17); - r4 = r10 + 1 | 0; - if ((r4 | 0) < 2) { - r11 = r71; - r5 = r72; - r10 = r4; - } else { - break; - } - } - HEAP8[r21] = 0; - } - __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED1Ev(r9); - __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(r8); - STACKTOP = r3; - return; -} -__ZN5Avoid6Router16improveCrossingsEv["X"] = 1; -function __ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(r1, r2) { - if ((r2 | 0) >= 4) { - ___assert_func(5248184, 1770, 5254164, 5248948); - } - return (HEAP8[r1 + (r2 + 756) | 0] & 1) << 24 >> 24 != 0; -} -function __ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid6Router26performSlowRoutingCallBackEd(r1, r2) { - var r3, r4; - r3 = r1 + 872 | 0; - if ((HEAP32[r3 >> 2] | 0) == 0) { - return; - } - r4 = _clock(); - if (FUNCTION_TABLE[HEAP32[r3 >> 2]](r4 - HEAP32[r1 + 876 >> 2] | 0, r2 * 100)) { - return; - } - HEAP8[r1 + 891 | 0] = 0; - HEAP8[r1 + 880 | 0] = 1; - return; -} -function __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r1, r2) { - var r3; - if ((r2 | 0) >= 8) { - ___assert_func(5248184, 1756, 5254088, 5249116); - } - r3 = (r2 << 3) + r1 + 692 | 0; - return HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]; -} -function __ZN5AvoidL18cheapEstimatedCostEPNS_7ConnRefE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11; - r2 = __ZNK5Avoid7ConnRef5routeEv(r1); - r3 = r2 + 8 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 16 >> 2]](r2) - 1 | 0; - r2 = HEAP32[r3 >> 2]; - r3 = r2 + (r5 * 24 & -1) | 0; - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r1 + 8 >> 2]) | 0) == 1) { - r6 = __ZN5Avoid13euclideanDistERKNS_5PointES2_(r4, r3); - return r6; - } - r1 = r3 | 0; - r7 = r4 | 0; - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != 0) { - r8 = r4 + 8 | 0; - r9 = r2 + (r5 * 24 & -1) + 8 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r10 == 0) { - r11 = 0; - break; - } - r11 = 2e3; - } else { - r11 = 0; - } - } while (0); - r6 = r11 + __ZN5Avoid13manhattanDistERKNS_5PointES2_(r4, r3); - return r6; -} -function __ZN5AvoidL17connsKnownToCrossERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = r5 + 16; - r9 = r5 + 20; - r10 = r7 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r10 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r7 + 8 >> 2] = r3; - __ZN5AvoidL18setForCrossingConnERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_(r6, r1, r7); - r7 = r9 | 0; - r3 = r4 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r10, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r9 + 8 >> 2] = HEAP32[r4 + 8 >> 2]; - __ZN5AvoidL18setForCrossingConnERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_(r8, r1, r9); - r9 = HEAP32[r6 >> 2]; - do { - if ((r9 | 0) == (HEAP32[r8 >> 2] | 0)) { - if ((r9 | 0) == (r1 | 0)) { - break; - } else { - r11 = 1; - } - STACKTOP = r5; - return r11; - } - } while (0); - r11 = 0; - STACKTOP = r5; - return r11; -} -function __ZNK5Avoid6Router33isInCrossingPenaltyReroutingStageEv(r1) { - return (r1 & 1) << 24 >> 24 != 0; -} -function __ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r1, r2) { - return r1 < r2; -} -function __ZNK5Avoid6Router13validConnTypeENS_8ConnTypeE(r1) { - var r2; - if ((HEAP8[r1 + 888 | 0] & 1) << 24 >> 24 != 0) { - r2 = 1; - return r2; - } - r2 = (HEAP8[r1 + 889 | 0] & 1) << 24 >> 24 == 0 ? 0 : 2; - return r2; -} -function __ZN5Avoid23ConnRerouteFlagDelegateC2Ev(r1) { - var r2; - r2 = r1; - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r2; - HEAP32[r1 + 8 >> 2] = 0; - return; -} -function __ZN5Avoid23ConnRerouteFlagDelegate10removeConnEPNS_7ConnRefE(r1, r2) { - var r3, r4, r5; - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r5 = r3; - } - while (1) { - r3 = r5 + 8 | 0; - if ((HEAP32[r3 >> 2] | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 0; - } - r3 = HEAP32[r5 + 4 >> 2]; - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r5 = r3; - } - } - return; -} -function __ZN5AvoidL25addCrossingConnsToSetListERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r4 = STACKTOP; - STACKTOP = STACKTOP + 84 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 16; - r8 = r4 + 24; - r9 = r4 + 32; - r10 = r4 + 36; - r11 = r4 + 40; - r12 = r4 + 52; - r13 = r4 + 56; - r14 = r4 + 68; - r15 = r4 + 80; - r16 = r11 | 0; - r17 = r2 | 0; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r18, HEAP32[r16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r16 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r11 + 8 >> 2] = HEAP32[r2 + 8 >> 2]; - __ZN5AvoidL18setForCrossingConnERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_(r10, r1, r11); - r11 = r13 | 0; - r16 = r3 | 0; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r18, HEAP32[r11 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r13 + 8 >> 2] = HEAP32[r3 + 8 >> 2]; - __ZN5AvoidL18setForCrossingConnERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_(r12, r1, r13); - r13 = r1; - r11 = HEAP32[r10 >> 2]; - r10 = r12 | 0; - r12 = HEAP32[r10 >> 2]; - r18 = (r12 | 0) == (r13 | 0); - if ((r11 | 0) == (r13 | 0)) { - if (!r18) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r8, r12 + 8 | 0, r2); - STACKTOP = r4; - return; - } - r8 = r14 | 0; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS6_(r8); - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r6, r8, r2); - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r5, r8, r3); - __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE9push_backERKSA_(r1, r14); - __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(r14); - STACKTOP = r4; - return; - } - if (r18) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r7, r11 + 8 | 0, r3); - STACKTOP = r4; - return; - } - r3 = HEAP32[r12 + 8 >> 2]; - r7 = r12 + 12 | 0; - r18 = r11 + 8 | 0; - r14 = r11 + 12 | 0; - if ((r3 | 0) == (r7 | 0)) { - r19 = r12; - } else { - r12 = r7; - r7 = r3; - while (1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEERKS5_(r9, r18, r14, r7 + 16 | 0); - r3 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r7 | 0); - if ((r3 | 0) == (r12 | 0)) { - break; - } else { - r7 = r3; - } - } - r19 = HEAP32[r10 >> 2]; - } - __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE5eraseENS_21__list_const_iteratorISA_PvEE(r15, r1, r19); - STACKTOP = r4; - return; -} -__ZN5AvoidL25addCrossingConnsToSetListERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_["X"] = 1; -function __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC1INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE(r1, r2, r3) { - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC2INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE(r1, r2, r3); - return; -} -function __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED1Ev(r1) { - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED2Ev(r1); - return; -} -function __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED1Ev(r1) { - __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED2Ev(r1); - return; -} -function __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(r1) { - __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED2Ev(r1); - return; -} -function __ZN5Avoid6Router16generateContainsEPNS_7VertInfE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = r3 + 8; - r6 = r3 + 16; - r7 = r3 + 20; - r8 = r1 + 88 | 0; - r9 = r2 + 4 | 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5clearEv(__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r8, r9) | 0); - r10 = r1 + 124 | 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5clearEv(__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r10, r9) | 0); - r11 = r1 + 4 | 0; - r12 = HEAP32[r1 + 8 >> 2]; - L2364 : do { - if ((r12 | 0) != (r11 | 0)) { - r13 = r2 + 12 | 0; - r14 = r12; - while (1) { - r15 = r14 + 8 | 0; - if (__ZN5Avoid6inPolyERKNS_7PolygonERKNS_5PointEb(__ZNK5Avoid8Obstacle7polygonEv(HEAP32[r15 >> 2]), r13)) { - r16 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r8, r9); - HEAP32[r6 >> 2] = __ZNK5Avoid8Obstacle2idEv(HEAP32[HEAP32[r15 >> 2] + 8 >> 2]); - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj(r4, r16 | 0, r6); - } - r16 = HEAP32[r14 + 4 >> 2]; - if ((r16 | 0) == (r11 | 0)) { - break L2364; - } else { - r14 = r16; - } - } - } - } while (0); - r11 = r1 + 28 | 0; - r6 = HEAP32[r1 + 32 >> 2]; - if ((r6 | 0) == (r11 | 0)) { - STACKTOP = r3; - return; - } - r1 = r2 + 12 | 0; - r2 = r6; - while (1) { - r6 = r2 + 8 | 0; - if (__ZN5Avoid9inPolyGenERKNS_16PolygonInterfaceERKNS_5PointE(__ZN5Avoid10ClusterRef7polygonEv(HEAP32[r6 >> 2]) | 0, r1)) { - r4 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r10, r9); - HEAP32[r7 >> 2] = __ZNK5Avoid10ClusterRef2idEv(HEAP32[HEAP32[r6 >> 2] + 4 >> 2]); - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj(r5, r4 | 0, r7); - } - r4 = HEAP32[r2 + 4 >> 2]; - if ((r4 | 0) == (r11 | 0)) { - break; - } else { - r2 = r4; - } - } - STACKTOP = r3; - return; -} -__ZN5Avoid6Router16generateContainsEPNS_7VertInfE["X"] = 1; -function __ZN5Avoid6Router25improveOrthogonalTopologyEv(r1) { - var r2, r3, r4; - r2 = r1 + 884 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - ___assert_func(5248184, 2047, 5258408, 5246440); - r4 = HEAP32[r2 >> 2]; - } else { - r4 = r3; - } - FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 12 >> 2]](r4, r1); - return; -} -function __ZN5Avoid23ConnRerouteFlagDelegateD2Ev(r1) { - __ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED1Ev(r1 | 0); - return; -} -function __ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED1Ev(r1) { - __ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED2Ev(r1); - return; -} -function __ZN5Avoid23ConnRerouteFlagDelegate7addConnEPNS_7ConnRefE(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - HEAP32[r4 >> 2] = r2; - HEAP8[r4 + 4 | 0] = 0; - __ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEE9push_backERKS5_(r1 | 0, r4); - STACKTOP = r3; - return HEAP32[r1 >> 2] + 12 | 0; -} -function __ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEE9push_backERKS5_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(16); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - HEAP8[r3 + 12 | 0] = HEAP8[r2 + 4 | 0] & 1; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE14__erase_uniqueIjEEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5eraseENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5eraseENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEESB_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__construct_nodeERKj(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__insert_node_atEPNS_16__tree_node_baseIPvEERS9_S9_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__erase_uniqueIS5_EEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE4findIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE5eraseENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE4findIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE13__lower_boundIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_SF_SF_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(HEAP32[r3 + 8 >> 2], HEAP32[r6 + 24 >> 2])) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE5eraseENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE13__lower_boundIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_SF_SF_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L2422 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 + 8 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (!__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(HEAP32[r10 + 6], r6)) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L2422; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L2422; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r1, r2) { - return __ZNK5Avoid7ConnRef2idEv(HEAP32[r1 + 4 >> 2]) >>> 0 < __ZNK5Avoid7ConnRef2idEv(HEAP32[r2 + 4 >> 2]) >>> 0; -} -function __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - if ((r4 | 0) == 0 | (r4 | 0) == 1) { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } else if ((r4 | 0) == 2) { - r8 = HEAP32[r3 >> 2]; - r9 = r8 + 8 | 0; - r10 = r2 + 8 | 0; - if (__ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_((HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]))) { - r10 = (r8 + 4 | 0) >> 2; - r9 = (r8 | 0) >> 2; - HEAP32[HEAP32[r9] + 4 >> 2] = HEAP32[r10]; - HEAP32[HEAP32[r10] >> 2] = HEAP32[r9]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r9] = HEAP32[r11]; - HEAP32[r11] = r8; - HEAP32[r10] = r2; - HEAP32[r1 >> 2] = r8; - STACKTOP = r5; - return; - } else { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } - } else { - r8 = r4 >>> 1; - L2443 : do { - if ((r8 | 0) == 0) { - r12 = r2; - } else { - r10 = r8; - r11 = r2; - while (1) { - r9 = r10 - 1 | 0; - r13 = HEAP32[r11 + 4 >> 2]; - if ((r9 | 0) > 0) { - r10 = r9; - r11 = r13; - } else { - r12 = r13; - break L2443; - } - } - } - } while (0); - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_(r6, r2, r12, r8); - r2 = HEAP32[r6 >> 2]; - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_(r7, r12, r3, r4 - r8 | 0); - r8 = HEAP32[r7 >> 2]; - r7 = r8 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r2 + 8 | 0; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (__ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r4, r12)) { - r4 = HEAP32[r8 + 4 >> 2]; - L2449 : do { - if ((r4 | 0) == (r3 | 0)) { - r14 = r3; - } else { - r7 = r4; - while (1) { - r6 = r7 + 8 | 0; - if (!__ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_((HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), r12)) { - r14 = r7; - break L2449; - } - r6 = HEAP32[r7 + 4 >> 2]; - if ((r6 | 0) == (r3 | 0)) { - r14 = r3; - break L2449; - } else { - r7 = r6; - } - } - } - } while (0); - r12 = HEAP32[r14 >> 2]; - r4 = (r12 + 4 | 0) >> 2; - r7 = (r8 | 0) >> 2; - HEAP32[HEAP32[r7] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r7]; - r6 = HEAP32[r2 + 4 >> 2]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r7] = HEAP32[r11]; - HEAP32[r11] = r12; - HEAP32[r4] = r2; - r15 = r8; - r16 = r14; - r17 = r6; - } else { - r15 = r2; - r16 = r8; - r17 = HEAP32[r2 + 4 >> 2]; - } - L2456 : do { - if ((r17 | 0) != (r16 | 0)) { - r2 = r16; - r8 = r16; - r6 = r17; - while (1) { - r14 = (r2 | 0) == (r3 | 0); - r4 = r2 + 8 | 0; - r12 = r6; - while (1) { - if (r14) { - break L2456; - } - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r12 + 8 | 0; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (__ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r11, r18)) { - break; - } - r11 = HEAP32[r12 + 4 >> 2]; - if ((r11 | 0) == (r8 | 0)) { - break L2456; - } else { - r12 = r11; - } - } - r4 = HEAP32[r2 + 4 >> 2]; - L2464 : do { - if ((r4 | 0) == (r3 | 0)) { - r19 = r3; - } else { - r14 = r4; - while (1) { - r11 = r14 + 8 | 0; - if (!__ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_((HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), r18)) { - r19 = r14; - break L2464; - } - r11 = HEAP32[r14 + 4 >> 2]; - if ((r11 | 0) == (r3 | 0)) { - r19 = r3; - break L2464; - } else { - r14 = r11; - } - } - } - } while (0); - r4 = HEAP32[r19 >> 2]; - r14 = (r4 + 4 | 0) >> 2; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = HEAP32[r14]; - HEAP32[HEAP32[r14] >> 2] = HEAP32[r11]; - r7 = HEAP32[r12 + 4 >> 2]; - r10 = (r8 | 0) == (r2 | 0) ? r19 : r8; - r13 = (r12 | 0) >> 2; - HEAP32[HEAP32[r13] + 4 >> 2] = r2; - HEAP32[r11] = HEAP32[r13]; - HEAP32[r13] = r4; - HEAP32[r14] = r12; - if ((r7 | 0) == (r10 | 0)) { - break L2456; - } else { - r2 = r19; - r8 = r10; - r6 = r7; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r15; - STACKTOP = r5; - return; - } -} -__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_["X"] = 1; -function __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC2INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE(r1, r2, r3) { - var r4, r5; - r4 = r1; - HEAP32[r1 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == (r3 | 0)) { - return; - } else { - r5 = r2; - } - while (1) { - __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE9push_backERKS5_(r1, r5 + 16 | 0); - r2 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r5 | 0); - if ((r2 | 0) == (r3 | 0)) { - break; - } else { - r5 = r2; - } - } - return; -} -function __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE9push_backERKS5_(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = __Znwj(20), r4 = r3 >> 2; - r5 = r3; - r6 = r3 + 8 | 0; - if ((r6 | 0) != 0) { - r3 = r6; - r6 = r2 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r4 + 4] = HEAP32[r2 + 8 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r5; - HEAP32[r4] = HEAP32[r2]; - HEAP32[r2] = r5; - HEAP32[r4 + 1] = r1; - r4 = r1 + 8 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] + 1 | 0; - return; -} -function __ZNSt3__110__list_impINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNKSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__count_uniqueIS5_EEjRKT_(r1, r2) { - var r3, r4, r5, r6; - r3 = 0; - if ((r1 | 0) == 0) { - r4 = 0; - return r4; - } else { - r5 = r1; - } - while (1) { - r1 = HEAP32[r5 + 24 >> 2]; - if (__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r2, r1)) { - r6 = r5 | 0; - } else { - if (!__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r1, r2)) { - r4 = 1; - r3 = 2132; - break; - } - r6 = r5 + 4 | 0; - } - r1 = HEAP32[r6 >> 2]; - if ((r1 | 0) == 0) { - r4 = 0; - r3 = 2131; - break; - } else { - r5 = r1; - } - } - if (r3 == 2132) { - return r4; - } else if (r3 == 2131) { - return r4; - } -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEESF_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__construct_nodeERKS5_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSD_SD_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC2ERKS6_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L2511 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L2511; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L2511; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEESF_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 + 8 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 24 >> 2]; - if (__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r1, r6)) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 2148; - break; - } else { - r3 = r5; - continue; - } - } - if (!__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r6, r1)) { - r4 = 2152; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 2151; - break; - } else { - r3 = r6; - } - } - if (r4 == 2152) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } else if (r4 == 2151) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 2148) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__construct_nodeERKS5_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(28); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - r8 = r6; - r6 = r3 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r5 + 24 >> 2] = HEAP32[r3 + 8 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSD_SD_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS6_(r1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC2ERKS6_(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZN5Avoid10ActionInfoD1Ev(r6 + 8 | 0); - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC2ERKSD_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC2ERKS9_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - if ((r4 | 0) == 0 | (r4 | 0) == 1) { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } else if ((r4 | 0) == 2) { - r8 = HEAP32[r3 >> 2]; - if (__ZNK5Avoid10ActionInfoltERKS0_(r8 + 8 | 0, r2 + 8 | 0)) { - r9 = (r8 + 4 | 0) >> 2; - r10 = (r8 | 0) >> 2; - HEAP32[HEAP32[r10] + 4 >> 2] = HEAP32[r9]; - HEAP32[HEAP32[r9] >> 2] = HEAP32[r10]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r10] = HEAP32[r11]; - HEAP32[r11] = r8; - HEAP32[r9] = r2; - HEAP32[r1 >> 2] = r8; - STACKTOP = r5; - return; - } else { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } - } else { - r8 = r4 >>> 1; - L13 : do { - if ((r8 | 0) == 0) { - r12 = r2; - } else { - r9 = r8; - r11 = r2; - while (1) { - r10 = r9 - 1 | 0; - r13 = HEAP32[r11 + 4 >> 2]; - if ((r10 | 0) > 0) { - r9 = r10; - r11 = r13; - } else { - r12 = r13; - break L13; - } - } - } - } while (0); - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r6, r2, r12, r8); - r2 = HEAP32[r6 >> 2]; - __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r7, r12, r3, r4 - r8 | 0); - r8 = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - if (__ZNK5Avoid10ActionInfoltERKS0_(r8 + 8 | 0, r7)) { - r4 = HEAP32[r8 + 4 >> 2]; - L19 : do { - if ((r4 | 0) == (r3 | 0)) { - r14 = r3; - } else { - r12 = r4; - while (1) { - if (!__ZNK5Avoid10ActionInfoltERKS0_(r12 + 8 | 0, r7)) { - r14 = r12; - break L19; - } - r6 = HEAP32[r12 + 4 >> 2]; - if ((r6 | 0) == (r3 | 0)) { - r14 = r3; - break L19; - } else { - r12 = r6; - } - } - } - } while (0); - r7 = HEAP32[r14 >> 2]; - r4 = (r7 + 4 | 0) >> 2; - r12 = (r8 | 0) >> 2; - HEAP32[HEAP32[r12] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r12]; - r6 = HEAP32[r2 + 4 >> 2]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r12] = HEAP32[r11]; - HEAP32[r11] = r7; - HEAP32[r4] = r2; - r15 = r8; - r16 = r14; - r17 = r6; - } else { - r15 = r2; - r16 = r8; - r17 = HEAP32[r2 + 4 >> 2]; - } - L26 : do { - if ((r17 | 0) != (r16 | 0)) { - r2 = r16; - r8 = r16; - r6 = r17; - while (1) { - r14 = r2 + 8 | 0; - r4 = (r2 | 0) == (r3 | 0); - r7 = r6; - while (1) { - if (r4) { - break L26; - } - if (__ZNK5Avoid10ActionInfoltERKS0_(r14, r7 + 8 | 0)) { - break; - } - r11 = HEAP32[r7 + 4 >> 2]; - if ((r11 | 0) == (r8 | 0)) { - break L26; - } else { - r7 = r11; - } - } - r14 = HEAP32[r2 + 4 >> 2]; - L34 : do { - if ((r14 | 0) == (r3 | 0)) { - r18 = r3; - } else { - r4 = r7 + 8 | 0; - r11 = r14; - while (1) { - if (!__ZNK5Avoid10ActionInfoltERKS0_(r11 + 8 | 0, r4)) { - r18 = r11; - break L34; - } - r12 = HEAP32[r11 + 4 >> 2]; - if ((r12 | 0) == (r3 | 0)) { - r18 = r3; - break L34; - } else { - r11 = r12; - } - } - } - } while (0); - r14 = HEAP32[r18 >> 2]; - r11 = (r14 + 4 | 0) >> 2; - r4 = (r2 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = HEAP32[r11]; - HEAP32[HEAP32[r11] >> 2] = HEAP32[r4]; - r12 = HEAP32[r7 + 4 >> 2]; - r9 = (r8 | 0) == (r2 | 0) ? r18 : r8; - r13 = (r7 | 0) >> 2; - HEAP32[HEAP32[r13] + 4 >> 2] = r2; - HEAP32[r4] = HEAP32[r13]; - HEAP32[r13] = r14; - HEAP32[r11] = r7; - if ((r12 | 0) == (r9 | 0)) { - break L26; - } else { - r2 = r18; - r8 = r9; - r6 = r12; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r15; - STACKTOP = r5; - return; - } -} -__ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_["X"] = 1; -function __ZN5Avoid10ActionInfoC1ERKS0_(r1, r2) { - __ZN5Avoid10ActionInfoC2ERKS0_(r1, r2); - return; -} -function __ZN5Avoid10ActionInfoC2ERKS0_(r1, r2) { - var r3, r4; - HEAP32[r1 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r1 + 4 >> 2] = HEAP32[r2 + 4 >> 2]; - __ZN5Avoid7PolygonC1ERKS0_(r1 + 8 | 0, r2 + 8 | 0); - r3 = (r1 + 52 | 0) >> 2; - r4 = (r2 + 52 | 0) >> 2; - HEAP32[r3] = HEAP32[r4]; - HEAP32[r3 + 1] = HEAP32[r4 + 1]; - HEAP32[r3 + 2] = HEAP32[r4 + 2]; - HEAP32[r3 + 3] = HEAP32[r4 + 3]; - HEAP32[r3 + 4] = HEAP32[r4 + 4]; - HEAP32[r3 + 5] = HEAP32[r4 + 5]; - HEAP8[r1 + 76 | 0] = HEAP8[r2 + 76 | 0] & 1; - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEEC1ERKS7_(r1 + 80 | 0, r2 + 80 | 0); - return; -} -function __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEEC1ERKS7_(r1, r2) { - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEEC2ERKS7_(r1, r2); - return; -} -function __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEEC2ERKS7_(r1, r2) { - var r3, r4, r5; - r3 = r1; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2; - r4 = HEAP32[r2 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - return; - } else { - r5 = r4; - } - while (1) { - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE9push_backERKS4_(r1, r5 + 8 | 0); - r4 = HEAP32[r5 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - break; - } else { - r5 = r4; - } - } - return; -} -function __ZNSt3__110__list_impINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE5clearEv(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC1ERKSD_(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC2ERKSD_(r1); - return; -} -function __ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(r1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(r6 + 8 | 0); - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED2Ev(r1 | 0); - return; -} -function __ZN5AvoidL18setForCrossingConnERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - r7 = r2; - r8 = r6 | 0; - r9 = r2 + 4 | 0; - while (1) { - r10 = HEAP32[r9 >> 2]; - if ((r10 | 0) == (r7 | 0)) { - r4 = 75; - break; - } - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE4findIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_(r6, r10 + 8 | 0, r3); - if ((HEAP32[r8 >> 2] | 0) == (r10 + 12 | 0)) { - r9 = r10 + 4 | 0; - } else { - r4 = 74; - break; - } - } - if (r4 == 74) { - HEAP32[r1 >> 2] = r10; - STACKTOP = r5; - return; - } else if (r4 == 75) { - HEAP32[r1 >> 2] = r7; - STACKTOP = r5; - return; - } -} -function __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE9push_backERKSA_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = __Znwj(20); - r6 = r5; - r7 = r5 + 8 | 0; - L95 : do { - if ((r7 | 0) != 0) { - r8 = r7; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS9_(r8); - r9 = HEAP32[r2 >> 2]; - r10 = r2 + 4 | 0; - r11 = r5 + 12 | 0; - if ((r9 | 0) == (r10 | 0)) { - break; - } - r12 = r10; - r10 = r9; - while (1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEERKS5_(r4, r8, r11, r10 + 16 | 0); - r9 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r10 | 0); - if ((r9 | 0) == (r12 | 0)) { - break L95; - } else { - r10 = r9; - } - } - } - } while (0); - r4 = (r1 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = r6; - HEAP32[r5 >> 2] = HEAP32[r4]; - HEAP32[r4] = r6; - HEAP32[r5 + 4 >> 2] = r1; - r5 = r1 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] + 1 | 0; - STACKTOP = r3; - return; -} -__ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE9push_backERKSA_["X"] = 1; -function __ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE5eraseENS_21__list_const_iteratorISA_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev(r3 + 8 | 0); - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEERKS5_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_SC_EEiEESF_RKT_(r2, r3, r6, r4); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) != 0) { - r9 = r3; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; - } - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__construct_nodeERKS5_(r7, r2, r4); - r4 = r7 | 0; - r7 = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSD_SD_(r2, HEAP32[r6 >> 2], r8, r7 | 0); - r9 = r7; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_SC_EEiEESF_RKT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r6 = r1 + 4 | 0; - do { - if ((r6 | 0) != (r2 | 0)) { - r7 = HEAP32[r4 + 8 >> 2]; - r8 = HEAP32[r2 + 24 >> 2]; - if (__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r7, r8)) { - break; - } - r9 = r2 | 0; - if (!__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r8, r7)) { - HEAP32[r5] = r9; - r10 = r3; - return r10; - } - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r9); - do { - if ((r8 | 0) != (r6 | 0)) { - if (__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(r7, HEAP32[r8 + 24 >> 2])) { - break; - } - r10 = __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEESF_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r7 = r2 + 4 | 0; - if ((HEAP32[r7 >> 2] | 0) == 0) { - HEAP32[r5] = r9; - r10 = r7; - return r10; - } else { - HEAP32[r5] = r8; - r10 = r8 | 0; - return r10; - } - } - } while (0); - do { - if ((HEAP32[r1 >> 2] | 0) == (r2 | 0)) { - r11 = r2; - } else { - r6 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if (__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_(HEAP32[r6 + 24 >> 2], HEAP32[r4 + 8 >> 2])) { - r11 = r6; - break; - } - r10 = __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEESF_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r4 = r2 | 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - HEAP32[r5] = r2 | 0; - r10 = r4; - return r10; - } else { - HEAP32[r5] = r11 | 0; - r10 = r11 + 4 | 0; - return r10; - } -} -__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_SC_EEiEESF_RKT_["X"] = 1; -function __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS9_(r1) { - __ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC2ERKS9_(r1); - return; -} -function __ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__14pairIjN5Avoid7ConnEndEED2Ev(r1) { - __ZN5Avoid7ConnEndD1Ev(r1 + 4 | 0); - return; -} -function __ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid8ObstacleENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid8ObstacleENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid8ObstacleENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIPN5Avoid8ObstacleENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__14listIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid10ClusterRefENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIPN5Avoid10ClusterRefENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEED1Ev(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE(HEAP32[r1 + 4 >> 2]); - __ZNSt3__14pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEED1Ev(r1 + 16 | 0); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__14pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEED1Ev(r1) { - __ZNSt3__14pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEED2Ev(r1); - return; -} -function __ZNSt3__14pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEED2Ev(r1) { - __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r1 + 8 | 0); - return; -} -function __ZNSt3__110__list_impINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZNSt3__14pairIjN5Avoid7ConnEndEED1Ev(r6 + 8 | 0); - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZN5Avoid22TopologyAddonInterfaceD1Ev(r1) { - return; -} -function __ZN5Avoid22TopologyAddonInterface25improveOrthogonalTopologyEPNS_6RouterE(r1, r2) { - return; -} -function __ZNK5Avoid22TopologyAddonInterface10outputCodeEP7__sFILE(r1, r2) { - return 0; -} -function __ZNK5Avoid22TopologyAddonInterface18outputDeletionCodeEP7__sFILE(r1, r2) { - return 0; -} -function __ZN5Avoid22TopologyAddonInterfaceC2Ev(r1) { - HEAP32[r1 >> 2] = 5267440; - return; -} -function __ZN5Avoid22TopologyAddonInterfaceC2ERKS0_(r1) { - HEAP32[r1 >> 2] = 5267440; - return; -} -function __ZNK5Avoid8ShapeRef7polygonEv(r1) { - return r1 + 12 | 0; -} -function __ZN5Avoid5Timer5ResetEv(r1) { - var r2, r3, r4; - r2 = r1 >> 2; - r3 = 0; - while (1) { - r4 = (r3 << 3) + r1 + 168 | 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - r4 = (r3 << 3) + r1 + 56 | 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[((r3 << 2) + 336 >> 2) + r2] = 0; - HEAP32[((r3 << 2) + 280 >> 2) + r2] = 0; - HEAP32[((r3 << 2) + 448 >> 2) + r2] = 0; - HEAP32[((r3 << 2) + 392 >> 2) + r2] = 0; - r4 = r3 + 1 | 0; - if ((r4 | 0) == 14) { - break; - } else { - r3 = r4; - } - } - HEAP8[r1 + 504 | 0] = 0; - HEAP32[r2 + 127] = 0; - HEAP32[r2 + 129] = 0; - HEAP32[r2 + 128] = 0; - return; -} -function __ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5clearEv(r1); - return; -} -function __ZN5Avoid17HyperedgeRerouterD2Ev(r1) { - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1 + 88 | 0); - __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED1Ev(r1 + 76 | 0); - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev(r1 + 64 | 0); - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev(r1 + 52 | 0); - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev(r1 + 40 | 0); - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev(r1 + 28 | 0); - __ZNSt3__16vectorIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r1 + 16 | 0); - __ZNSt3__16vectorINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED1Ev(r1 + 4 | 0); - return; -} -function __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED1Ev(r1) { - __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev(r1) { - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev(r1) { - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED1Ev(r1) { - __ZNSt3__16vectorINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - while (1) { - r1 = r5 - 12 | 0; - HEAP32[r4] = r1; - __ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED1Ev(r1); - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - } else { - break; - } - } - r6 = HEAP32[r2 >> 2]; - } else { - r6 = r3; - } - __ZdlPv(r6); - return; -} -function __ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid7ConnEndENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIN5Avoid7ConnEndENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid7ConnEndENS_9allocatorIS2_EEE5clearEv(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - while (1) { - r1 = r5 - 12 | 0; - HEAP32[r4] = r1; - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r1); - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - } else { - break; - } - } - r6 = HEAP32[r2 >> 2]; - } else { - r6 = r3; - } - __ZdlPv(r6); - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - while (1) { - r1 = r5 - 12 | 0; - HEAP32[r4] = r1; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r1); - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - } else { - break; - } - } - r6 = HEAP32[r2 >> 2]; - } else { - r6 = r3; - } - __ZdlPv(r6); - return; -} -function __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - while (1) { - r1 = r5 - 12 | 0; - HEAP32[r4] = r1; - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1); - r1 = HEAP32[r4]; - if (r3 >>> 0 < r1 >>> 0) { - r5 = r1; - } else { - break; - } - } - r6 = HEAP32[r2 >> 2]; - } else { - r6 = r3; - } - __ZdlPv(r6); - return; -} -function __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZN5Avoid22TopologyAddonInterfaceD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNK5Avoid22TopologyAddonInterface5cloneEv(r1) { - r1 = __Znwj(4); - __ZN5Avoid22TopologyAddonInterfaceC1ERKS0_(r1); - return r1; -} -function __ZN5Avoid22TopologyAddonInterfaceC1ERKS0_(r1) { - __ZN5Avoid22TopologyAddonInterfaceC2ERKS0_(r1); - return; -} -function __ZN5Avoid8ShapeRefC1EPNS_6RouterERNS_7PolygonEj(r1, r2, r3) { - __ZN5Avoid8ShapeRefC2EPNS_6RouterERNS_7PolygonEj(r1, r2, r3); - return; -} -function __ZN5Avoid8ShapeRefD0Ev(r1) { - __ZN5Avoid8ShapeRefD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid8ShapeRefD1Ev(r1) { - __ZN5Avoid8ShapeRefD2Ev(r1); - return; -} -function __ZN5Avoid8ShapeRef17moveAttachedConnsERKNS_7PolygonE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = HEAP32[r1 + 72 >> 2]; - r4 = r1 + 76 | 0; - L299 : do { - if ((r3 | 0) != (r4 | 0)) { - r5 = r1 + 4 | 0; - r6 = r4; - r7 = r3; - while (1) { - r8 = HEAP32[r7 + 16 >> 2]; - r9 = r8 + 40 | 0; - r10 = HEAP32[r9 >> 2]; - if ((r10 | 0) == 0) { - ___assert_func(5247844, 64, 5256256, 5246596); - r11 = HEAP32[r9 >> 2]; - } else { - r11 = r10; - } - __ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb(HEAP32[r5 >> 2], r11, __ZNK5Avoid7ConnEnd12endpointTypeEv(r8), r8, 1); - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r7 | 0); - if ((r8 | 0) == (r6 | 0)) { - break L299; - } else { - r7 = r8; - } - } - } - } while (0); - r11 = HEAP32[r1 + 84 >> 2]; - r3 = r1 + 88 | 0; - if ((r11 | 0) == (r3 | 0)) { - return; - } - r1 = r3; - r3 = r11; - while (1) { - __ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_7PolygonE(HEAP32[r3 + 16 >> 2], r2); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r3 | 0); - if ((r11 | 0) == (r1 | 0)) { - break; - } else { - r3 = r11; - } - } - return; -} -function __ZNK5Avoid8ShapeRef10outputCodeEP7__sFILE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r3 = STACKTOP; - r4 = (r1 + 8 | 0) >> 2; - r5 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r4]); - r6 = __ZNK5Avoid8ShapeRef7polygonEv(r1); - r7 = r6 >> 2; - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r7] + 16 >> 2]](r6); - _fprintf(r2, 5245784, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r5, HEAP32[tempInt + 4 >> 2] = r8, tempInt)); - L314 : do { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r7] + 16 >> 2]](r6) | 0) != 0) { - r8 = r6; - r5 = 0; - while (1) { - r9 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r4]); - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 24 >> 2]](r6, r5) | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 24 >> 2]](r6, r5) + 8 | 0; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - _fprintf(r2, 5244928, (tempInt = STACKTOP, STACKTOP = STACKTOP + 24 | 0, HEAP32[tempInt >> 2] = r9, HEAP32[tempInt + 4 >> 2] = r5, HEAPF64[tempDoublePtr >> 3] = r11, HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - r12 = r5 + 1 | 0; - if (r12 >>> 0 < FUNCTION_TABLE[HEAP32[HEAP32[r7] + 16 >> 2]](r6) >>> 0) { - r5 = r12; - } else { - break L314; - } - } - } - } while (0); - _fwrite(5244536, 4, 1, r2); - if ((HEAP32[r1 + 92 >> 2] | 0) != 0) { - r6 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r4]); - _fprintf(r2, 5244104, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)); - } - r6 = __ZNK5Avoid8Obstacle2idEv(HEAP32[r4]); - _fprintf(r2, 5243312, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r6, HEAP32[tempInt + 4 >> 2] = r6, tempInt)); - r6 = HEAP32[r1 + 84 >> 2]; - r4 = r1 + 88 | 0; - if ((r6 | 0) == (r4 | 0)) { - r13 = _fputc(10, r2); - STACKTOP = r3; - return; - } - r1 = r4; - r4 = r6; - while (1) { - __ZNK5Avoid18ShapeConnectionPin10outputCodeEP7__sFILE(HEAP32[r4 + 16 >> 2], r2); - r6 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r4 | 0); - if ((r6 | 0) == (r1 | 0)) { - break; - } else { - r4 = r6; - } - } - r13 = _fputc(10, r2); - STACKTOP = r3; - return; -} -__ZNK5Avoid8ShapeRef10outputCodeEP7__sFILE["X"] = 1; -function __ZNK5Avoid8ShapeRef8positionEv(r1, r2) { - var r3, r4, r5, r6; - r3 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r4 = r3; - __ZNK5Avoid8Obstacle10routingBoxEv(r4, r2); - __ZN5Avoid5PointC1Ev(r1); - r2 = r4 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r4 + 24 | 0; - r6 = r5 + ((HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r5) * .5; - r5 = r1 | 0; - HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = r4 + 8 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r4 + 32 | 0; - r4 = r6 + ((HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r6) * .5; - r6 = r1 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r3; - return; -} -function __ZN5Avoid5TimerC1Ev(r1) { - __ZN5Avoid5TimerC2Ev(r1); - return; -} -function __ZN5Avoid5TimerC2Ev(r1) { - __ZN5Avoid5Timer5ResetEv(r1); - return; -} -function __ZN5Avoid5Timer8RegisterENS_10TimerIndexEb(r1, r2) { - var r3; - if ((r2 | 0) == 0) { - ___assert_func(5246584, 60, 5258720, 5253012); - } - r3 = r1 + 512 | 0; - HEAP32[r3 >> 2] = (HEAP32[r3 >> 2] | 0) == 0 ? r2 : 5; - __ZN5Avoid5Timer5StartEv(r1); - return; -} -function __ZN5Avoid5Timer5StartEv(r1) { - var r2, r3; - r2 = r1 + 504 | 0; - if ((HEAP8[r2] & 1) << 24 >> 24 != 0) { - ___assert_func(5246584, 79, 5258788, 5249104); - } - r3 = _clock(); - HEAP32[r1 + (HEAP32[r1 + 512 >> 2] << 2) >> 2] = r3; - HEAP8[r2] = 1; - return; -} -function __ZNSt3__110__list_impIN5Avoid7ConnEndENS_9allocatorIS2_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZN5Avoid7ConnEndD1Ev(r6 + 8 | 0); - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZN5Avoid8ShapeRefC2EPNS_6RouterERNS_7PolygonEj(r1, r2, r3) { - var r4, r5; - r4 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r5 = r4; - __ZN5Avoid7PolygonC1ERKS0_(r5, r3); - __ZN5Avoid8ObstacleC2EPNS_6RouterENS_7PolygonEj(r1, r2, r5); - __ZN5Avoid7PolygonD1Ev(r5); - HEAP32[r1 >> 2] = 5267300; - __ZN5Avoid6Router8addShapeEPNS_8ShapeRefE(HEAP32[r1 + 4 >> 2], r1); - STACKTOP = r4; - return; -} -function __ZN5Avoid8ShapeRefD2Ev(r1) { - var r2, r3; - r2 = STACKTOP; - HEAP32[r1 >> 2] = 5267300; - if ((HEAP8[HEAP32[r1 + 4 >> 2] + 689 | 0] & 1) << 24 >> 24 != 0) { - r3 = r1; - __ZN5Avoid8ObstacleD2Ev(r3); - STACKTOP = r2; - return; - } - __ZN5Avoid10err_printfEPKcz(5246852, (tempInt = STACKTOP, STACKTOP = STACKTOP + 1 | 0, STACKTOP = STACKTOP + 3 >> 2 << 2, HEAP32[tempInt >> 2] = 0, tempInt)); - __ZN5Avoid10err_printfEPKcz(5249156, (tempInt = STACKTOP, STACKTOP = STACKTOP + 1 | 0, STACKTOP = STACKTOP + 3 >> 2 << 2, HEAP32[tempInt >> 2] = 0, tempInt)); - _abort(); - r3 = r1; - __ZN5Avoid8ObstacleD2Ev(r3); - STACKTOP = r2; - return; -} -function __ZN5Avoid6VertIDC2Ejtt(r1, r2, r3, r4) { - HEAP32[r1 >> 2] = r2; - HEAP16[r1 + 4 >> 1] = r3; - HEAP16[r1 + 6 >> 1] = r4; - return; -} -function __ZN5Avoid6VertIDC2ERKS0_(r1, r2) { - HEAP32[r1 >> 2] = HEAP32[r2 >> 2]; - HEAP16[r1 + 4 >> 1] = HEAP16[r2 + 4 >> 1]; - HEAP16[r1 + 6 >> 1] = HEAP16[r2 + 6 >> 1]; - return; -} -function __ZN5Avoid6VertIDaSERKS0_(r1, r2) { - HEAP32[r1 >> 2] = HEAP32[r2 >> 2]; - HEAP16[r1 + 4 >> 1] = HEAP16[r2 + 4 >> 1]; - HEAP16[r1 + 6 >> 1] = HEAP16[r2 + 6 >> 1]; - return; -} -function __ZNK5Avoid6VertIDeqERKS0_(r1, r2) { - if ((HEAP32[r1 >> 2] | 0) == (HEAP32[r2 >> 2] | 0)) { - return HEAP16[r1 + 4 >> 1] << 16 >> 16 == HEAP16[r2 + 4 >> 1] << 16 >> 16; - } else { - return 0; - } -} -function __ZNK5Avoid6VertIDneERKS0_(r1, r2) { - if ((HEAP32[r1 >> 2] | 0) == (HEAP32[r2 >> 2] | 0)) { - return HEAP16[r1 + 4 >> 1] << 16 >> 16 != HEAP16[r2 + 4 >> 1] << 16 >> 16; - } else { - return 1; - } -} -function __ZNK5Avoid6VertIDltERKS0_(r1, r2) { - var r3, r4, r5; - r3 = HEAP32[r1 >> 2]; - r4 = HEAP32[r2 >> 2]; - if (r3 >>> 0 < r4 >>> 0) { - r5 = 1; - return r5; - } - do { - if ((r3 | 0) == (r4 | 0)) { - if (HEAPU16[r1 + 4 >> 1] < HEAPU16[r2 + 4 >> 1]) { - r5 = 1; - } else { - break; - } - return r5; - } - } while (0); - r5 = 0; - return r5; -} -function __ZN5Avoid6VertIDppEi(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP16[r2 >> 1] = HEAP16[r2 >> 1] + 1 & 65535; - return; -} -function __ZN5Avoid7VertInf8orphanedEv(r1) { - var r2; - if ((HEAP32[r1 + 60 >> 2] | 0) != 0) { - r2 = 0; - return r2; - } - if ((HEAP32[r1 + 92 >> 2] | 0) != 0) { - r2 = 0; - return r2; - } - r2 = (HEAP32[r1 + 76 >> 2] | 0) == 0; - return r2; -} -function __ZN5Avoid5Timer4StopEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10; - r2 = r1 + 504 | 0; - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - ___assert_func(5246584, 87, 5258816, 5247836); - } - r3 = _clock(); - HEAP8[r2] = 0; - r2 = (r1 + 512 | 0) >> 2; - r4 = HEAP32[r2]; - r5 = HEAP32[r1 + (r4 << 2) >> 2]; - if (r3 >>> 0 < r5 >>> 0) { - r6 = (i64Math.subtract(r3 | 0, 1, r5, 0), HEAP32[tempDoublePtr >> 2]); - r7 = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = r6; - } else { - r7 = 0; - r8 = r3 - r5 | 0; - } - r5 = 0; - if (r7 >>> 0 < r5 >>> 0 | r7 >>> 0 == r5 >>> 0 & r8 >>> 0 < 2147483647 >>> 0) { - r9 = r4; - } else { - ___assert_func(5246584, 104, 5258816, 5246564); - r9 = HEAP32[r2]; - } - if ((r9 | 0) == 4) { - r4 = (r1 + 516 | 0) >> 2; - r5 = ((HEAP32[r4] << 3) + r1 + 168 | 0) >> 2; - r3 = (i64Math.add(HEAP32[r5], HEAP32[r5 + 1], r8, r7), HEAP32[tempDoublePtr >> 2]); - r6 = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r5] = r3; - HEAP32[r5 + 1] = r6; - r6 = (HEAP32[r4] << 2) + r1 + 336 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - r6 = r8; - r5 = (HEAP32[r4] << 2) + r1 + 448 | 0; - if (r6 >>> 0 <= HEAP32[r5 >> 2] >>> 0) { - HEAP32[r2] = 0; - return; - } - HEAP32[r5 >> 2] = r6; - HEAP32[r2] = 0; - return; - } else { - r6 = ((r9 << 3) + r1 + 56 | 0) >> 2; - r9 = (i64Math.add(HEAP32[r6], HEAP32[r6 + 1], r8, r7), HEAP32[tempDoublePtr >> 2]); - r7 = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r6] = r9; - HEAP32[r6 + 1] = r7; - r7 = (HEAP32[r2] << 2) + r1 + 280 | 0; - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] + 1 | 0; - r7 = r8; - r8 = HEAP32[r2]; - r6 = (r8 << 2) + r1 + 392 | 0; - if (r7 >>> 0 > HEAP32[r6 >> 2] >>> 0) { - HEAP32[r6 >> 2] = r7; - r10 = HEAP32[r2]; - } else { - r10 = r8; - } - HEAP32[r1 + 516 >> 2] = r10; - HEAP32[r2] = 0; - return; - } -} -__ZN5Avoid5Timer4StopEv["X"] = 1; -function __ZN5Avoid6VertIDC1Ejtt(r1, r2, r3, r4) { - __ZN5Avoid6VertIDC2Ejtt(r1, r2, r3, r4); - return; -} -function __ZN5Avoid6VertIDC1ERKS0_(r1, r2) { - __ZN5Avoid6VertIDC2ERKS0_(r1, r2); - return; -} -function __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r1, r2, r3, r4, r5) { - __ZN5Avoid7VertInfC2EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r1, r2, r3, r4, r5); - return; -} -function __ZN5Avoid7VertInfC2EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r1, r2, r3, r4, r5) { - var r6, r7; - r6 = r1 | 0; - HEAP32[r6 >> 2] = r2; - __ZN5Avoid6VertIDC1ERKS0_(r1 + 4 | 0, r3); - r2 = (r1 + 12 | 0) >> 2; - r7 = r4 >> 2; - HEAP32[r2] = HEAP32[r7]; - HEAP32[r2 + 1] = HEAP32[r7 + 1]; - HEAP32[r2 + 2] = HEAP32[r7 + 2]; - HEAP32[r2 + 3] = HEAP32[r7 + 3]; - HEAP32[r2 + 4] = HEAP32[r7 + 4]; - HEAP32[r2 + 5] = HEAP32[r7 + 5]; - r7 = r1 + 52 | 0; - r2 = r7; - r4 = (r1 + 36 | 0) >> 2; - HEAP32[r4] = 0; - HEAP32[r4 + 1] = 0; - HEAP32[r4 + 2] = 0; - HEAP32[r4 + 3] = 0; - HEAP32[r7 >> 2] = r2; - HEAP32[r1 + 56 >> 2] = r2; - HEAP32[r1 + 60 >> 2] = 0; - HEAP32[r1 + 64 >> 2] = 0; - r2 = r1 + 68 | 0; - r7 = r2; - HEAP32[r2 >> 2] = r7; - HEAP32[r1 + 72 >> 2] = r7; - HEAP32[r1 + 76 >> 2] = 0; - HEAP32[r1 + 80 >> 2] = 0; - r7 = r1 + 84 | 0; - r2 = r7; - HEAP32[r7 >> 2] = r2; - HEAP32[r1 + 88 >> 2] = r2; - HEAP32[r1 + 120 >> 2] = 0; - r2 = r1 + 124 | 0; - r7 = r2; - r4 = (r1 + 92 | 0) >> 2; - HEAP32[r4] = 0; - HEAP32[r4 + 1] = 0; - HEAP32[r4 + 2] = 0; - HEAP32[r4 + 3] = 0; - HEAP32[r4 + 4] = 0; - HEAP32[r2 >> 2] = r7; - HEAP32[r1 + 128 >> 2] = r7; - HEAP32[r1 + 132 >> 2] = 0; - HEAP32[r1 + 136 >> 2] = 0; - HEAP32[r1 + 28 >> 2] = HEAP32[r3 >> 2]; - HEAP16[r1 + 32 >> 1] = HEAP16[r3 + 4 >> 1]; - if (!r5) { - return; - } - __ZN5Avoid11VertInfList9addVertexEPNS_7VertInfE(HEAP32[r6 >> 2] + 100 | 0, r1); - return; -} -__ZN5Avoid7VertInfC2EPNS_6RouterERKNS_6VertIDERKNS_5PointEb["X"] = 1; -function __ZN5Avoid11VertInfList9addVertexEPNS_7VertInfE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r3 = r1 >> 2; - r4 = 0; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - do { - if ((r6 | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) == 0) { - break; - } else { - r4 = 367; - break; - } - } else { - r4 = 367; - } - } while (0); - do { - if (r4 == 367) { - if ((HEAP32[r6 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 490, 5261360, 5243996); - } - } while (0); - r6 = (r1 | 0) >> 2; - r7 = HEAP32[r6]; - do { - if ((r7 | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) == 0) { - break; - } else { - r4 = 372; - break; - } - } else { - r4 = 372; - } - } while (0); - do { - if (r4 == 372) { - if ((HEAP32[r7 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 490, 5261360, 5243200); - } - } while (0); - r7 = (r1 + 8 | 0) >> 2; - r8 = HEAP32[r7]; - do { - if ((r8 | 0) != 0) { - if ((HEAP32[r8 + 40 >> 2] | 0) == 0) { - break; - } - ___assert_func(5247720, 490, 5261360, 5252728); - } - } while (0); - r8 = (r1 + 12 | 0) >> 2; - r9 = HEAP32[r8]; - do { - if ((r9 | 0) == 0) { - r10 = 0; - } else { - if ((HEAP32[r9 + 40 >> 2] | 0) == (HEAP32[r6] | 0)) { - r10 = r9; - break; - } - ___assert_func(5247720, 490, 5261360, 5252144); - r10 = HEAP32[r8]; - } - } while (0); - r9 = (r10 | 0) == 0; - do { - if ((HEAP32[r5] | 0) == 0) { - if (r9) { - break; - } else { - r4 = 384; - break; - } - } else { - if (r9) { - r4 = 384; - break; - } else { - break; - } - } - } while (0); - if (r4 == 384) { - ___assert_func(5247720, 490, 5261360, 5251840); - } - r9 = HEAP32[r6]; - r10 = (HEAP32[r7] | 0) == 0; - do { - if ((r9 | 0) == 0) { - if (r10) { - break; - } else { - r4 = 388; - break; - } - } else { - if (r10) { - r4 = 388; - break; - } else { - r11 = r9; - r4 = 389; - break; - } - } - } while (0); - do { - if (r4 == 388) { - ___assert_func(5247720, 490, 5261360, 5251516); - r9 = HEAP32[r6]; - if ((r9 | 0) == 0) { - r4 = 391; - break; - } else { - r11 = r9; - r4 = 389; - break; - } - } - } while (0); - do { - if (r4 == 389) { - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r11 + 10 >> 1])) { - r4 = 391; - break; - } - ___assert_func(5247720, 490, 5261360, 5251012); - r4 = 391; - break; - } - } while (0); - do { - if (r4 == 391) { - r11 = HEAP32[r7]; - if ((r11 | 0) == 0) { - break; - } - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r11 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 490, 5261360, 5250672); - } - } while (0); - r11 = HEAP32[r5]; - do { - if ((r11 | 0) != 0) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r11 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 490, 5261360, 5250504); - } - } while (0); - r11 = HEAP32[r8]; - do { - if ((r11 | 0) != 0) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r11 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 490, 5261360, 5250424); - } - } while (0); - r11 = r2 + 36 | 0; - if ((HEAP32[r11 >> 2] | 0) != 0) { - ___assert_func(5247720, 491, 5261360, 5250288); - } - r9 = (r2 + 40 | 0) >> 2; - if ((HEAP32[r9] | 0) != 0) { - ___assert_func(5247720, 492, 5261360, 5250160); - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r2 + 10 >> 1])) { - r10 = HEAP32[r5]; - if ((r10 | 0) == 0) { - HEAP32[r5] = r2; - HEAP32[r8] = r2; - HEAP32[r9] = HEAP32[r6]; - } else { - HEAP32[r9] = r10; - HEAP32[HEAP32[r5] + 36 >> 2] = r2; - HEAP32[r5] = r2; - } - r10 = r1 + 20 | 0; - HEAP32[r10 >> 2] = HEAP32[r10 >> 2] + 1 | 0; - } else { - r10 = HEAP32[r7]; - do { - if ((r10 | 0) == 0) { - HEAP32[r6] = r2; - HEAP32[r7] = r2; - r9 = HEAP32[r8]; - if ((r9 | 0) == 0) { - break; - } - if ((HEAP32[r9 + 40 >> 2] | 0) == 0) { - r12 = r9; - } else { - ___assert_func(5247720, 538, 5261360, 5250040); - r12 = HEAP32[r8]; - } - HEAP32[r12 + 40 >> 2] = r2; - } else { - HEAP32[r11 >> 2] = r10; - HEAP32[HEAP32[r7] + 40 >> 2] = r2; - HEAP32[r7] = r2; - } - } while (0); - r2 = r1 + 16 | 0; - HEAP32[r2 >> 2] = HEAP32[r2 >> 2] + 1 | 0; - } - r2 = HEAP32[r5]; - do { - if ((r2 | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) == 0) { - break; - } else { - r4 = 418; - break; - } - } else { - r4 = 418; - } - } while (0); - do { - if (r4 == 418) { - if ((HEAP32[r2 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 545, 5261360, 5243996); - } - } while (0); - r2 = HEAP32[r6]; - do { - if ((r2 | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) == 0) { - break; - } else { - r4 = 423; - break; - } - } else { - r4 = 423; - } - } while (0); - do { - if (r4 == 423) { - if ((HEAP32[r2 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 545, 5261360, 5243200); - } - } while (0); - r3 = HEAP32[r7]; - do { - if ((r3 | 0) != 0) { - if ((HEAP32[r3 + 40 >> 2] | 0) == 0) { - break; - } - ___assert_func(5247720, 545, 5261360, 5252728); - } - } while (0); - r3 = HEAP32[r8]; - do { - if ((r3 | 0) == 0) { - r13 = 0; - } else { - if ((HEAP32[r3 + 40 >> 2] | 0) == (HEAP32[r6] | 0)) { - r13 = r3; - break; - } - ___assert_func(5247720, 545, 5261360, 5252144); - r13 = HEAP32[r8]; - } - } while (0); - r3 = (r13 | 0) == 0; - do { - if ((HEAP32[r5] | 0) == 0) { - if (r3) { - break; - } else { - r4 = 435; - break; - } - } else { - if (r3) { - r4 = 435; - break; - } else { - break; - } - } - } while (0); - if (r4 == 435) { - ___assert_func(5247720, 545, 5261360, 5251840); - } - r3 = HEAP32[r6]; - r13 = (HEAP32[r7] | 0) == 0; - do { - if ((r3 | 0) == 0) { - if (r13) { - break; - } else { - r4 = 439; - break; - } - } else { - if (r13) { - r4 = 439; - break; - } else { - r14 = r3; - r4 = 440; - break; - } - } - } while (0); - do { - if (r4 == 439) { - ___assert_func(5247720, 545, 5261360, 5251516); - r3 = HEAP32[r6]; - if ((r3 | 0) == 0) { - r4 = 442; - break; - } else { - r14 = r3; - r4 = 440; - break; - } - } - } while (0); - do { - if (r4 == 440) { - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r14 + 10 >> 1])) { - r4 = 442; - break; - } - ___assert_func(5247720, 545, 5261360, 5251012); - r4 = 442; - break; - } - } while (0); - do { - if (r4 == 442) { - r14 = HEAP32[r7]; - if ((r14 | 0) == 0) { - break; - } - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r14 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 545, 5261360, 5250672); - } - } while (0); - r7 = HEAP32[r5]; - do { - if ((r7 | 0) != 0) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r7 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 545, 5261360, 5250504); - } - } while (0); - r7 = HEAP32[r8]; - if ((r7 | 0) == 0) { - return; - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r7 + 10 >> 1])) { - return; - } - ___assert_func(5247720, 545, 5261360, 5250424); - return; -} -__ZN5Avoid11VertInfList9addVertexEPNS_7VertInfE["X"] = 1; -function __ZNSt3__14listIjNS_9allocatorIjEEED1Ev(r1) { - __ZNSt3__14listIjNS_9allocatorIjEEED2Ev(r1); - return; -} -function __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid7VertInfD1Ev(r1) { - __ZN5Avoid7VertInfD2Ev(r1); - return; -} -function __ZN5Avoid7VertInfD2Ev(r1) { - if (!__ZN5Avoid7VertInf8orphanedEv(r1)) { - ___assert_func(5247720, 186, 5256720, 5246552); - } - __ZNSt3__14listIjNS_9allocatorIjEEED1Ev(r1 + 124 | 0); - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev(r1 + 84 | 0); - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev(r1 + 68 | 0); - __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev(r1 + 52 | 0); - return; -} -function __ZNK5Avoid7VertInf12hasNeighbourEPS0_b(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = 0; - r5 = r3 ? r1 + 68 | 0 : r1 + 52 | 0; - r3 = r5; - r6 = r1; - r1 = r5 + 4 | 0; - while (1) { - r5 = HEAP32[r1 >> 2]; - if ((r5 | 0) == (r3 | 0)) { - r7 = 0; - r4 = 467; - break; - } - r8 = r5 + 8 | 0; - if ((__ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE(HEAP32[r8 >> 2], r6) | 0) == (r2 | 0)) { - break; - } else { - r1 = r5 + 4 | 0; - } - } - if (r4 == 467) { - return r7; - } - r7 = HEAP32[r8 >> 2]; - return r7; -} -function __ZN5Avoid7VertInf5ResetERKNS_6VertIDERKNS_5PointE(r1, r2, r3) { - var r4, r5; - r4 = r1 + 4 | 0; - __ZN5Avoid6VertIDaSERKS0_(r4, r2); - r2 = (r1 + 12 | 0) >> 2; - r5 = r3 >> 2; - HEAP32[r2] = HEAP32[r5]; - HEAP32[r2 + 1] = HEAP32[r5 + 1]; - HEAP32[r2 + 2] = HEAP32[r5 + 2]; - HEAP32[r2 + 3] = HEAP32[r5 + 3]; - HEAP32[r1 + 28 >> 2] = HEAP32[r4 >> 2]; - HEAP16[r1 + 32 >> 1] = HEAP16[r1 + 8 >> 1]; - return; -} -function __ZN5Avoid7VertInf5ResetERKNS_5PointE(r1, r2) { - var r3, r4; - r3 = (r1 + 12 | 0) >> 2; - r4 = r2 >> 2; - HEAP32[r3] = HEAP32[r4]; - HEAP32[r3 + 1] = HEAP32[r4 + 1]; - HEAP32[r3 + 2] = HEAP32[r4 + 2]; - HEAP32[r3 + 3] = HEAP32[r4 + 3]; - HEAP32[r1 + 28 >> 2] = HEAP32[r1 + 4 >> 2]; - HEAP16[r1 + 32 >> 1] = HEAP16[r1 + 8 >> 1]; - return; -} -function __ZNK5Avoid7VertInf15treeRootPointerEv(r1) { - return r1; -} -function __ZN5Avoid11VertInfList11shapesBeginEv(r1) { - return r1; -} -function __ZNK5Avoid11VertInfList9connsSizeEv(r1) { - return r1; -} -function __ZNK5Avoid7VertInf8treeRootEv(r1) { - var r2; - if ((r1 | 0) == 0) { - r2 = 0; - } else { - r2 = HEAP32[r1 >> 2]; - } - return r2; -} -function __ZN5Avoid7VertInf18setTreeRootPointerEPPS0_(r1, r2) { - HEAP32[r1 + 108 >> 2] = r2; - return; -} -function __ZN5Avoid11VertInfList10connsBeginEv(r1) { - var r2, r3; - r2 = HEAP32[r1 + 4 >> 2]; - if ((r2 | 0) != 0) { - r3 = r2; - return r3; - } - r3 = HEAP32[r1 >> 2]; - return r3; -} -function __ZN5Avoid7VertInf15removeFromGraphEb(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - do { - if (r2) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r1 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 232, 5256748, 5245760); - } - } while (0); - r2 = r1 + 52 | 0; - r3 = r1 + 56 | 0; - r4 = HEAP32[r3 >> 2]; - L579 : do { - if ((r4 | 0) != (r2 | 0)) { - r5 = r4; - while (1) { - r6 = r5 + 8 | 0; - __ZN5Avoid7EdgeInf10alertConnsEv(HEAP32[r6 >> 2]); - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) != 0) { - __ZN5Avoid7EdgeInfD1Ev(r7); - __ZdlPv(r7); - } - r7 = HEAP32[r3 >> 2]; - if ((r7 | 0) == (r2 | 0)) { - break L579; - } else { - r5 = r7; - } - } - } - } while (0); - r2 = r1 + 68 | 0; - r3 = r1 + 72 | 0; - r4 = HEAP32[r3 >> 2]; - L587 : do { - if ((r4 | 0) != (r2 | 0)) { - r5 = r4; - while (1) { - r7 = r5 + 8 | 0; - __ZN5Avoid7EdgeInf10alertConnsEv(HEAP32[r7 >> 2]); - r6 = HEAP32[r7 >> 2]; - if ((r6 | 0) != 0) { - __ZN5Avoid7EdgeInfD1Ev(r6); - __ZdlPv(r6); - } - r6 = HEAP32[r3 >> 2]; - if ((r6 | 0) == (r2 | 0)) { - break L587; - } else { - r5 = r6; - } - } - } - } while (0); - r2 = r1 + 84 | 0; - r3 = r1 + 88 | 0; - r1 = HEAP32[r3 >> 2]; - if ((r1 | 0) == (r2 | 0)) { - return; - } else { - r8 = r1; - } - while (1) { - r1 = HEAP32[r8 + 8 >> 2]; - if ((r1 | 0) == 0) { - r9 = r8; - } else { - __ZN5Avoid7EdgeInfD1Ev(r1); - __ZdlPv(r1); - r9 = HEAP32[r3 >> 2]; - } - if ((r9 | 0) == (r2 | 0)) { - break; - } else { - r8 = r9; - } - } - return; -} -__ZN5Avoid7VertInf15removeFromGraphEb["X"] = 1; -function __ZNK5Avoid7VertInf13directionFromEPKS0_(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = r1 + 12 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r1 + 20 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r2 + 12 | 0; - r7 = r2 + 20 | 0; - __ZNK5Avoid5PointmiERKS0_(r4, r6, r1, (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r7 = r4 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r5 > 1e-6 & 1; - r1 = r5 < -1e-6 ? r7 | 2 : r7; - r7 = r4 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r4 > 1e-6 ? r1 | 8 : r1; - STACKTOP = r3; - return r4 < -1e-6 ? r7 | 4 : r7; -} -function __ZN5Avoid7VertInf20setVisibleDirectionsEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = HEAP32[r1 + 56 >> 2]; - r4 = r1 + 52 | 0; - L606 : do { - if ((r3 | 0) != (r4 | 0)) { - r5 = (r2 | 0) == 15; - r6 = r1; - r7 = r3; - while (1) { - r8 = r7 + 8 | 0; - r9 = HEAP32[r8 >> 2]; - if (r5) { - __ZN5Avoid7EdgeInf11setDisabledEb(r9, 0); - } else { - r10 = __ZNK5Avoid7VertInf13directionFromEPKS0_(__ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE(r9, r6), r1) & r2; - __ZN5Avoid7EdgeInf11setDisabledEb(HEAP32[r8 >> 2], (r10 | 0) == 0); - } - r10 = HEAP32[r7 + 4 >> 2]; - if ((r10 | 0) == (r4 | 0)) { - break L606; - } else { - r7 = r10; - } - } - } - } while (0); - r4 = HEAP32[r1 + 72 >> 2]; - r3 = r1 + 68 | 0; - if ((r4 | 0) == (r3 | 0)) { - return; - } - r7 = (r2 | 0) == 15; - r6 = r1; - r5 = r4; - while (1) { - r4 = r5 + 8 | 0; - r10 = HEAP32[r4 >> 2]; - if (r7) { - __ZN5Avoid7EdgeInf11setDisabledEb(r10, 0); - } else { - r8 = __ZNK5Avoid7VertInf13directionFromEPKS0_(__ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE(r10, r6), r1) & r2; - __ZN5Avoid7EdgeInf11setDisabledEb(HEAP32[r4 >> 2], (r8 | 0) == 0); - } - r8 = HEAP32[r5 + 4 >> 2]; - if ((r8 | 0) == (r3 | 0)) { - break; - } else { - r5 = r8; - } - } - return; -} -__ZN5Avoid7VertInf20setVisibleDirectionsEj["X"] = 1; -function __ZNK5Avoid7VertInf15pathLeadsBackToEPKS0_(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = 0; - if ((r1 | 0) == (r2 | 0)) { - r4 = 1; - return r4; - } else { - r5 = 1; - r6 = r1; - } - while (1) { - r1 = r5 + 1 | 0; - if ((r6 | 0) == 0) { - r4 = 0; - r3 = 532; - break; - } - if (r1 >>> 0 >= 2e4) { - ___assert_func(5247720, 370, 5253736, 5244896); - } - r7 = HEAP32[r6 + 100 >> 2]; - if ((r7 | 0) == (r2 | 0)) { - r4 = r1; - r3 = 530; - break; - } else { - r5 = r1; - r6 = r7; - } - } - if (r3 == 530) { - return r4; - } else if (r3 == 532) { - return r4; - } -} -function __ZN5Avoid7VertInf19makeTreeRootPointerEPS0_(r1, r2) { - var r3, r4; - r3 = _malloc(4); - r4 = r1 + 108 | 0; - HEAP32[r4 >> 2] = r3; - HEAP32[r3 >> 2] = r2; - return HEAP32[r4 >> 2]; -} -function __ZN5Avoid11VertInfListC1Ev(r1) { - __ZN5Avoid11VertInfListC2Ev(r1); - return; -} -function __ZN5Avoid11VertInfListC2Ev(r1) { - var r2; - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - return; -} -function __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r3 = r1 >> 2; - r4 = 0; - if ((r2 | 0) == 0) { - r5 = 0; - return r5; - } - r6 = (r1 + 4 | 0) >> 2; - r7 = HEAP32[r6]; - do { - if ((r7 | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) == 0) { - break; - } else { - r4 = 539; - break; - } - } else { - r4 = 539; - } - } while (0); - do { - if (r4 == 539) { - if ((HEAP32[r7 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 558, 5261416, 5243996); - } - } while (0); - r7 = (r1 | 0) >> 2; - r8 = HEAP32[r7]; - do { - if ((r8 | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) == 0) { - break; - } else { - r4 = 544; - break; - } - } else { - r4 = 544; - } - } while (0); - do { - if (r4 == 544) { - if ((HEAP32[r8 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 558, 5261416, 5243200); - } - } while (0); - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - do { - if ((r9 | 0) != 0) { - if ((HEAP32[r9 + 40 >> 2] | 0) == 0) { - break; - } - ___assert_func(5247720, 558, 5261416, 5252728); - } - } while (0); - r9 = (r1 + 12 | 0) >> 2; - r10 = HEAP32[r9]; - do { - if ((r10 | 0) == 0) { - r11 = 0; - } else { - if ((HEAP32[r10 + 40 >> 2] | 0) == (HEAP32[r7] | 0)) { - r11 = r10; - break; - } - ___assert_func(5247720, 558, 5261416, 5252144); - r11 = HEAP32[r9]; - } - } while (0); - r10 = (r11 | 0) == 0; - do { - if ((HEAP32[r6] | 0) == 0) { - if (r10) { - break; - } else { - r4 = 556; - break; - } - } else { - if (r10) { - r4 = 556; - break; - } else { - break; - } - } - } while (0); - if (r4 == 556) { - ___assert_func(5247720, 558, 5261416, 5251840); - } - r10 = HEAP32[r7]; - r11 = (HEAP32[r8] | 0) == 0; - do { - if ((r10 | 0) == 0) { - if (r11) { - break; - } else { - r4 = 560; - break; - } - } else { - if (r11) { - r4 = 560; - break; - } else { - r12 = r10; - r4 = 561; - break; - } - } - } while (0); - do { - if (r4 == 560) { - ___assert_func(5247720, 558, 5261416, 5251516); - r10 = HEAP32[r7]; - if ((r10 | 0) == 0) { - r4 = 563; - break; - } else { - r12 = r10; - r4 = 561; - break; - } - } - } while (0); - do { - if (r4 == 561) { - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r12 + 10 >> 1])) { - r4 = 563; - break; - } - ___assert_func(5247720, 558, 5261416, 5251012); - r4 = 563; - break; - } - } while (0); - do { - if (r4 == 563) { - r12 = HEAP32[r8]; - if ((r12 | 0) == 0) { - break; - } - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r12 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 558, 5261416, 5250672); - } - } while (0); - r12 = HEAP32[r6]; - do { - if ((r12 | 0) != 0) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r12 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 558, 5261416, 5250504); - } - } while (0); - r12 = HEAP32[r9]; - do { - if ((r12 | 0) != 0) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r12 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 558, 5261416, 5250424); - } - } while (0); - r12 = (r2 + 40 | 0) >> 2; - r10 = HEAP32[r12], r11 = r10 >> 2; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r2 + 10 >> 1])) { - r13 = (HEAP32[r9] | 0) == (r2 | 0); - do { - if ((HEAP32[r6] | 0) == (r2 | 0)) { - if (r13) { - HEAP32[r6] = 0; - HEAP32[r9] = 0; - break; - } - HEAP32[r6] = r10; - if ((r10 | 0) == 0) { - break; - } - HEAP32[r11 + 9] = 0; - } else { - r14 = r2 + 36 | 0; - r15 = HEAP32[r14 >> 2]; - if (r13) { - HEAP32[r9] = r15; - HEAP32[r15 + 40 >> 2] = HEAP32[r7]; - break; - } else { - HEAP32[r11 + 9] = r15; - HEAP32[HEAP32[r14 >> 2] + 40 >> 2] = HEAP32[r12]; - break; - } - } - } while (0); - r13 = r1 + 20 | 0; - HEAP32[r13 >> 2] = HEAP32[r13 >> 2] - 1 | 0; - } else { - do { - if ((HEAP32[r8] | 0) == (r2 | 0)) { - r13 = HEAP32[r2 + 36 >> 2]; - HEAP32[r8] = r13; - do { - if ((HEAP32[r7] | 0) == (r2 | 0)) { - HEAP32[r7] = 0; - r14 = HEAP32[r9]; - if ((r14 | 0) == 0) { - r16 = r13; - break; - } - HEAP32[r14 + 40 >> 2] = 0; - r16 = HEAP32[r8]; - } else { - r16 = r13; - } - } while (0); - if ((r16 | 0) == 0) { - break; - } - HEAP32[r16 + 40 >> 2] = 0; - } else { - if ((HEAP32[r7] | 0) != (r2 | 0)) { - r13 = r2 + 36 | 0; - HEAP32[r11 + 9] = HEAP32[r13 >> 2]; - HEAP32[HEAP32[r13 >> 2] + 40 >> 2] = HEAP32[r12]; - break; - } - HEAP32[r7] = r10; - r13 = HEAP32[r9]; - if ((r13 | 0) == 0) { - r17 = r10; - } else { - HEAP32[r13 + 40 >> 2] = r10; - r17 = HEAP32[r7]; - } - if ((r17 | 0) == 0) { - break; - } - HEAP32[r17 + 36 >> 2] = 0; - } - } while (0); - r17 = r1 + 16 | 0; - HEAP32[r17 >> 2] = HEAP32[r17 >> 2] - 1 | 0; - } - HEAP32[r2 + 36 >> 2] = 0; - HEAP32[r12] = 0; - r12 = HEAP32[r6]; - do { - if ((r12 | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) == 0) { - break; - } else { - r4 = 597; - break; - } - } else { - r4 = 597; - } - } while (0); - do { - if (r4 == 597) { - if ((HEAP32[r12 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 5] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 648, 5261416, 5243996); - } - } while (0); - r12 = HEAP32[r7]; - do { - if ((r12 | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) == 0) { - break; - } else { - r4 = 602; - break; - } - } else { - r4 = 602; - } - } while (0); - do { - if (r4 == 602) { - if ((HEAP32[r12 + 36 >> 2] | 0) == 0) { - if ((HEAP32[r3 + 4] | 0) != 0) { - break; - } - } - ___assert_func(5247720, 648, 5261416, 5243200); - } - } while (0); - r3 = HEAP32[r8]; - do { - if ((r3 | 0) != 0) { - if ((HEAP32[r3 + 40 >> 2] | 0) == 0) { - break; - } - ___assert_func(5247720, 648, 5261416, 5252728); - } - } while (0); - r3 = HEAP32[r9]; - do { - if ((r3 | 0) == 0) { - r18 = 0; - } else { - if ((HEAP32[r3 + 40 >> 2] | 0) == (HEAP32[r7] | 0)) { - r18 = r3; - break; - } - ___assert_func(5247720, 648, 5261416, 5252144); - r18 = HEAP32[r9]; - } - } while (0); - r3 = (r18 | 0) == 0; - do { - if ((HEAP32[r6] | 0) == 0) { - if (r3) { - break; - } else { - r4 = 614; - break; - } - } else { - if (r3) { - r4 = 614; - break; - } else { - break; - } - } - } while (0); - if (r4 == 614) { - ___assert_func(5247720, 648, 5261416, 5251840); - } - r3 = HEAP32[r7]; - r18 = (HEAP32[r8] | 0) == 0; - do { - if ((r3 | 0) == 0) { - if (r18) { - break; - } else { - r4 = 618; - break; - } - } else { - if (r18) { - r4 = 618; - break; - } else { - r19 = r3; - r4 = 619; - break; - } - } - } while (0); - do { - if (r4 == 618) { - ___assert_func(5247720, 648, 5261416, 5251516); - r3 = HEAP32[r7]; - if ((r3 | 0) == 0) { - r4 = 621; - break; - } else { - r19 = r3; - r4 = 619; - break; - } - } - } while (0); - do { - if (r4 == 619) { - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r19 + 10 >> 1])) { - r4 = 621; - break; - } - ___assert_func(5247720, 648, 5261416, 5251012); - r4 = 621; - break; - } - } while (0); - do { - if (r4 == 621) { - r19 = HEAP32[r8]; - if ((r19 | 0) == 0) { - break; - } - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r19 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 648, 5261416, 5250672); - } - } while (0); - r8 = HEAP32[r6]; - do { - if ((r8 | 0) != 0) { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r8 + 10 >> 1])) { - break; - } - ___assert_func(5247720, 648, 5261416, 5250504); - } - } while (0); - r8 = HEAP32[r9]; - if ((r8 | 0) == 0) { - r5 = r10; - return r5; - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r8 + 10 >> 1])) { - r5 = r10; - return r5; - } - ___assert_func(5247720, 648, 5261416, 5250424); - r5 = r10; - return r5; -} -__ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE["X"] = 1; -function __ZN5Avoid11VertInfList13getVertexByIDERKNS_6VertIDE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r4; - __ZN5Avoid6VertIDC1ERKS0_(r5, r2); - r2 = (r5 + 4 | 0) >> 1; - do { - if (HEAP16[r2] << 16 >> 16 == 8) { - r6 = r5 | 0; - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) < 0) { - HEAP32[r6 >> 2] = r7 & 2147483647; - HEAP16[r2] = 1; - break; - } else { - HEAP16[r2] = 2; - break; - } - } - } while (0); - r2 = __ZN5Avoid11VertInfList10connsBeginEv(r1); - if ((r2 | 0) == 0) { - r8 = 0; - STACKTOP = r4; - return r8; - } else { - r9 = r2; - } - while (1) { - if (__ZNK5Avoid6VertIDeqERKS0_(r9 + 4 | 0, r5)) { - r8 = r9; - r3 = 645; - break; - } - r2 = HEAP32[r9 + 40 >> 2]; - if ((r2 | 0) == 0) { - r8 = 0; - r3 = 644; - break; - } else { - r9 = r2; - } - } - if (r3 == 644) { - STACKTOP = r4; - return r8; - } else if (r3 == 645) { - STACKTOP = r4; - return r8; - } -} -function __ZN5Avoid11VertInfList14getVertexByPosERKNS_5PointE(r1, r2) { - var r3, r4, r5; - r3 = __ZN5Avoid11VertInfList11shapesBeginEv(r1); - L796 : do { - if ((r3 | 0) == 0) { - r4 = 0; - } else { - r1 = r3; - while (1) { - if (__ZNK5Avoid5PointeqERKS0_(r1 + 12 | 0, r2)) { - r4 = r1; - break L796; - } - r5 = HEAP32[r1 + 40 >> 2]; - if ((r5 | 0) == 0) { - r4 = 0; - break L796; - } else { - r1 = r5; - } - } - } - } while (0); - return r4; -} -function __ZNK5Avoid10ClusterRef2idEv(r1) { - return r1; -} -function __ZN5Avoid10ClusterRef7polygonEv(r1) { - return r1 + 8 | 0; -} -function __ZN5Avoid10ClusterRef18rectangularPolygonEv(r1) { - return r1 + 40 | 0; -} -function __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29; - r8 = r5 - r3 | 0; - r9 = (r6 + 12 | 0) >> 2; - r6 = HEAP32[r9]; - r10 = (r6 | 0) > (r8 | 0) ? r6 - r8 | 0 : 0; - L805 : do { - if (r3 >>> 0 < r4 >>> 0) { - r8 = r3; - r6 = r2; - r11 = r2; - while (1) { - r12 = HEAP8[r8]; - do { - if ((r6 | 0) == 0) { - r13 = 0; - r14 = r11; - } else { - r15 = r6 + 24 | 0; - r16 = HEAP32[r15 >> 2]; - if ((r16 | 0) == (HEAP32[r6 + 28 >> 2] | 0)) { - r17 = (FUNCTION_TABLE[HEAP32[HEAP32[r6 >> 2] + 52 >> 2]](r6, r12 & 255) | 0) == -1; - r13 = r17 ? 0 : r6; - r14 = r17 ? 0 : r11; - break; - } else { - HEAP32[r15 >> 2] = r16 + 1 | 0; - HEAP8[r16] = r12; - r13 = r6; - r14 = r11; - break; - } - } - } while (0); - r12 = r8 + 1 | 0; - if ((r12 | 0) == (r4 | 0)) { - r18 = r4; - r19 = r14; - break L805; - } else { - r8 = r12; - r6 = r13; - r11 = r14; - } - } - } else { - r18 = r3; - r19 = r2; - } - } while (0); - L815 : do { - if ((r10 | 0) == 0) { - r20 = r19; - } else { - r2 = r7 & 255; - r3 = r10; - r14 = r19; - r13 = r19; - while (1) { - do { - if ((r14 | 0) == 0) { - r21 = 0; - r22 = r13; - } else { - r4 = r14 + 24 | 0; - r11 = HEAP32[r4 >> 2]; - if ((r11 | 0) == (HEAP32[r14 + 28 >> 2] | 0)) { - r6 = (FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 52 >> 2]](r14, r2) | 0) == -1; - r21 = r6 ? 0 : r14; - r22 = r6 ? 0 : r13; - break; - } else { - HEAP32[r4 >> 2] = r11 + 1 | 0; - HEAP8[r11] = r7; - r21 = r14; - r22 = r13; - break; - } - } - } while (0); - r11 = r3 - 1 | 0; - if ((r11 | 0) == 0) { - r20 = r22; - break L815; - } else { - r3 = r11; - r14 = r21; - r13 = r22; - } - } - } - } while (0); - if (r18 >>> 0 < r5 >>> 0) { - r23 = r18; - r24 = r20; - r25 = r20; - } else { - r26 = r20; - HEAP32[r9] = 0; - r27 = r1 | 0; - HEAP32[r27 >> 2] = r26; - return; - } - while (1) { - r20 = HEAP8[r23]; - do { - if ((r24 | 0) == 0) { - r28 = 0; - r29 = r25; - } else { - r18 = r24 + 24 | 0; - r22 = HEAP32[r18 >> 2]; - if ((r22 | 0) == (HEAP32[r24 + 28 >> 2] | 0)) { - r21 = (FUNCTION_TABLE[HEAP32[HEAP32[r24 >> 2] + 52 >> 2]](r24, r20 & 255) | 0) == -1; - r28 = r21 ? 0 : r24; - r29 = r21 ? 0 : r25; - break; - } else { - HEAP32[r18 >> 2] = r22 + 1 | 0; - HEAP8[r22] = r20; - r28 = r24; - r29 = r25; - break; - } - } - } while (0); - r20 = r23 + 1 | 0; - if ((r20 | 0) == (r5 | 0)) { - r26 = r29; - break; - } else { - r23 = r20; - r24 = r28; - r25 = r29; - } - } - HEAP32[r9] = 0; - r27 = r1 | 0; - HEAP32[r27 >> 2] = r26; - return; -} -__ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_["X"] = 1; -function __ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__14listIjNS_9allocatorIjEEED2Ev(r1) { - __ZNSt3__110__list_impIjNS_9allocatorIjEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIjNS_9allocatorIjEEED2Ev(r1) { - __ZNSt3__110__list_impIjNS_9allocatorIjEEE5clearEv(r1); - return; -} -function __ZN5Avoid8Obstacle22computeVisibilityNaiveEv(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = r1 + 4 | 0; - r3 = HEAP32[r2 >> 2]; - if ((HEAP8[__ZNK5Avoid8Obstacle6routerEv(r3) + 141 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid8Obstacle15removeFromGraphEv(r1); - r4 = HEAP32[r2 >> 2]; - } else { - r4 = r3; - } - r3 = __ZN5Avoid8Obstacle9firstVertEv(HEAP32[r1 + 64 >> 2]); - r2 = HEAP32[__ZN5Avoid8Obstacle8lastVertEv(HEAP32[r1 + 68 >> 2]) + 40 >> 2]; - r1 = r2; - r5 = __ZN5Avoid11VertInfList10connsBeginEv(__ZNK5Avoid8Obstacle6routerEv(r4) + 100 | 0); - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r2 | 0) == 0; - r2 = r3; - while (1) { - L859 : do { - if ((r5 | 0) != (r2 | 0)) { - r3 = r2; - r6 = r5; - while (1) { - if (!__ZNK5Avoid6VertIDeqERKS0_(r6 + 4 | 0, 5274192)) { - __ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b(r3, r6); - } - r7 = HEAP32[r6 + 40 >> 2]; - if ((r7 | 0) == (r2 | 0)) { - break L859; - } else { - r6 = r7; - } - } - } - } while (0); - L867 : do { - if (!r4) { - r6 = r2; - r3 = r1; - while (1) { - if (!__ZNK5Avoid6VertIDeqERKS0_(r3 + 4 | 0, 5274192)) { - __ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b(r6, r3); - } - r7 = HEAP32[r3 + 40 >> 2]; - if ((r7 | 0) == 0) { - break L867; - } else { - r3 = r7; - } - } - } - } while (0); - r3 = HEAP32[r2 + 40 >> 2]; - if ((r3 | 0) == (r1 | 0)) { - break; - } else { - r2 = r3; - } - } - return; -} -__ZN5Avoid8Obstacle22computeVisibilityNaiveEv["X"] = 1; -function __ZN5Avoid8Obstacle22computeVisibilitySweepEv(r1) { - var r2, r3; - if ((HEAP8[__ZNK5Avoid8Obstacle6routerEv(HEAP32[r1 + 4 >> 2]) + 141 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid8Obstacle15removeFromGraphEv(r1); - } - r2 = __ZN5Avoid8Obstacle9firstVertEv(HEAP32[r1 + 64 >> 2]); - r3 = HEAP32[__ZN5Avoid8Obstacle8lastVertEv(HEAP32[r1 + 68 >> 2]) + 40 >> 2]; - r1 = r3; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r3 = r2; - while (1) { - __ZN5AvoidL11vertexSweepEPNS_7VertInfE(r3); - r2 = HEAP32[r3 + 40 >> 2]; - if ((r2 | 0) == (r1 | 0)) { - break; - } else { - r3 = r2; - } - } - return; -} -function __ZNK5Avoid6VertID16isConnCheckpointEv(r1) { - return (r1 & 8) << 16 >> 16 != 0; -} -function __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d598(r1, r2, r3, r4, r5, r6) { - var r7, r8; - r7 = (r3 - r1) * (r6 - r2) - (r4 - r2) * (r5 - r1); - if (r7 < 0) { - r8 = -1; - return r8; - } - r8 = r7 > 0 & 1; - return r8; -} -function __ZN5Avoid8EdgePair16setNegativeAngleEv(r1) { - var r2; - r2 = r1 + 24 | 0; - HEAPF64[tempDoublePtr >> 3] = -1, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -function __ZN5AvoidL11vertexSweepEPNS_7VertInfE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 644 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 12; - r7 = r3 + 20; - r8 = r3 + 24; - r9 = r3 + 32; - r10 = r3 + 40; - r11 = r3 + 48; - r12 = r3 + 56; - r13 = r3 + 64; - r14 = r3 + 68; - r15 = r3 + 76; - r16 = r3 + 100; - r17 = r3 + 112; - r18 = r3 + 156; - r19 = r3 + 200; - r20 = r3 + 244; - r21 = r3 + 288; - r22 = r3 + 332; - r23 = r3 + 344; - r24 = r3 + 356; - r25 = r3 + 380; - r26 = r3 + 444; - r27 = r3 + 508; - r28 = r3 + 512; - r29 = r3 + 516; - r30 = r3 + 580; - r31 = HEAP32[r1 >> 2]; - r32 = r1 + 12 | 0; - __ZN5Avoid6VertIDC1ERKS0_(r14, r1 + 4 | 0); - r33 = r15 >> 2; - r34 = r32 >> 2; - HEAP32[r33] = HEAP32[r34]; - HEAP32[r33 + 1] = HEAP32[r34 + 1]; - HEAP32[r33 + 2] = HEAP32[r34 + 2]; - HEAP32[r33 + 3] = HEAP32[r34 + 3]; - HEAP32[r33 + 4] = HEAP32[r34 + 4]; - HEAP32[r33 + 5] = HEAP32[r34 + 5]; - r34 = r16 | 0; - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_(r34); - r33 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r31 + 88 | 0, r14); - r35 = __ZN5Avoid11VertInfList10connsBeginEv(r31 + 100 | 0); - L895 : do { - if ((r35 | 0) != 0) { - r36 = r33 | 0; - r37 = r13 | 0; - r38 = r33 + 4 | 0; - r39 = r14 | 0; - r40 = r14 + 6 | 0; - r41 = r35; - while (1) { - do { - if ((r41 | 0) != (r1 | 0)) { - r42 = r41 + 4 | 0; - if (__ZNK5Avoid6VertIDeqERKS0_(r42, 5274192)) { - break; - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r40 >> 1])) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r13, r36, r42 | 0); - if ((HEAP32[r37 >> 2] | 0) != (r38 | 0)) { - break; - } - } - r43 = HEAP16[r41 + 10 >> 1]; - if (!__ZNK5Avoid6VertID8isConnPtEv(r43)) { - __ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE(r21, r15, r41); - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r8, r34, r21); - break; - } - r44 = HEAP16[r40 >> 1]; - if (!__ZNK5Avoid6VertID8isConnPtEv(r44)) { - __ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE(r20, r15, r41); - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r9, r34, r20); - break; - } - if (__ZNK5Avoid6VertID15isConnectionPinEv(r43)) { - __ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE(r17, r15, r41); - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r12, r34, r17); - break; - } - if (__ZNK5Avoid6VertID15isConnectionPinEv(r44)) { - __ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE(r18, r15, r41); - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r11, r34, r18); - break; - } - if ((HEAP32[r42 >> 2] | 0) != (HEAP32[r39 >> 2] | 0)) { - break; - } - __ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE(r19, r15, r41); - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r10, r34, r19); - } - } while (0); - r42 = HEAP32[r41 + 40 >> 2]; - if ((r42 | 0) == 0) { - break L895; - } else { - r41 = r42; - } - } - } - } while (0); - r19 = r22 | 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC1ERKS2_(r19); - r34 = r23; - HEAP32[r23 >> 2] = r34; - r10 = (r23 + 4 | 0) >> 2; - HEAP32[r10] = r34; - r18 = r23 + 8 | 0; - HEAP32[r18 >> 2] = 0; - r11 = HEAP32[r16 >> 2]; - r17 = r16 + 4 | 0; - r12 = (r1 + 20 | 0) >> 2; - __ZN5Avoid5PointC1Edd(r24, 1.7976931348623157e+308, (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3])); - r20 = (r11 | 0) == (r17 | 0); - L925 : do { - if (!r20) { - r9 = r33 | 0; - r21 = r7 | 0; - r8 = r33 + 4 | 0; - r13 = (r32 | 0) >> 2; - r35 = (r24 | 0) >> 2; - r41 = (r24 + 8 | 0) >> 2; - r39 = r14 + 6 | 0; - r40 = r17; - r38 = r11; - while (1) { - r37 = r38 + 16 | 0; - r36 = HEAP32[r37 >> 2]; - if ((r36 | 0) == (r1 | 0)) { - ___assert_func(5246524, 520, 5255916, 5244504); - } - do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r39 >> 1])) { - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r7, r9, r36 + 4 | 0); - if ((HEAP32[r21 >> 2] | 0) == (r8 | 0)) { - break; - } - ___assert_func(5246524, 522, 5255916, 5243900); - } - } while (0); - r42 = HEAP32[r36 + 44 >> 2]; - r44 = HEAP32[r36 + 48 >> 2]; - do { - if ((r42 | 0) == 0 | (r42 | 0) == (r1 | 0)) { - r2 = 764; - } else { - r43 = r42 + 12 | 0; - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r46 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]); - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r35], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r35 + 1], HEAPF64[tempDoublePtr >> 3]); - r48 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r41], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r41 + 1], HEAPF64[tempDoublePtr >> 3]); - r49 = r43 | 0; - r50 = r42 + 20 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d598(r45, r46, r47, r48, (HEAP32[tempDoublePtr >> 2] = HEAP32[r49 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r49 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r50 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) != 1) { - r2 = 764; - break; - } - r50 = r36 + 12 | 0; - if (__ZN5Avoid16segmentIntersectERKNS_5PointES2_S2_S2_(r32, r24, r43, r50)) { - __ZN5Avoid8EdgePairC1ERKNS_9PointPairEPNS_7VertInfE(r25, r37, r42); - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE9push_backERKS2_(r23, r25); - } - if (!__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r43, r50, r32, 0)) { - break; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj(r6, r19, r36 + 4 | 0); - break; - } - } while (0); - do { - if (r2 == 764) { - r2 = 0; - if ((r44 | 0) == 0 | (r44 | 0) == (r1 | 0)) { - break; - } - r42 = r44 + 12 | 0; - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r43 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]); - r49 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r35], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r35 + 1], HEAPF64[tempDoublePtr >> 3]); - r48 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r41], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r41 + 1], HEAPF64[tempDoublePtr >> 3]); - r47 = r42 | 0; - r46 = r44 + 20 | 0; - if ((__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d598(r50, r43, r49, r48, (HEAP32[tempDoublePtr >> 2] = HEAP32[r47 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r47 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) | 0) != 1) { - break; - } - r46 = r36 + 12 | 0; - if (__ZN5Avoid16segmentIntersectERKNS_5PointES2_S2_S2_(r32, r24, r42, r46)) { - __ZN5Avoid8EdgePairC1ERKNS_9PointPairEPNS_7VertInfE(r26, r37, r44); - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE9push_backERKS2_(r23, r26); - } - if (!__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r42, r46, r32, 0)) { - break; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj(r5, r19, r36 + 4 | 0); - } - } while (0); - r36 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r38 | 0); - if ((r36 | 0) == (r40 | 0)) { - break L925; - } else { - r38 = r36; - } - } - } - } while (0); - r19 = HEAP32[r10]; - L957 : do { - if ((r19 | 0) != (r34 | 0)) { - r5 = r19; - while (1) { - __ZN5Avoid8EdgePair16setNegativeAngleEv(r5 + 8 | 0); - r32 = HEAP32[r5 + 4 >> 2]; - if ((r32 | 0) == (r34 | 0)) { - break L957; - } else { - r5 = r32; - } - } - } - } while (0); - __ZN5Avoid15isBoundingShapeC1ERNSt3__13setIjNS1_4lessIjEENS1_9allocatorIjEEEE(r27, r33); - if (r20) { - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED1Ev(r23); - __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r22); - __ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r16); - STACKTOP = r3; - return; - } - r20 = r1; - r33 = r31 + 141 | 0; - r27 = (r15 | 0) >> 2; - r19 = (r15 + 8 | 0) >> 2; - r5 = r31 + 139 | 0; - r31 = r1 + 44 | 0; - r32 = r1 + 48 | 0; - r26 = r14 + 6 | 0; - r14 = r17; - r17 = r11; - while (1) { - r11 = r17 + 16 | 0; - r24 = HEAP32[r11 >> 2], r12 = r24 >> 2; - r2 = r24 + 12 | 0; - r6 = r17 + 28 | 0; - r25 = r24; - r7 = __ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_(r20, r25); - if ((r7 | 0) == 0) { - r38 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r38, r20, r25, 0); - r51 = r38; - } else { - r51 = r7; - } - r7 = HEAP32[r10]; - if ((r7 | 0) == (r34 | 0)) { - r52 = r34; - } else { - r38 = r7; - while (1) { - __ZN5Avoid8EdgePair12setCurrAngleERKNS_9PointPairE(r38 + 8 | 0, r11); - r7 = HEAP32[r38 + 4 >> 2]; - if ((r7 | 0) == (r34 | 0)) { - break; - } else { - r38 = r7; - } - } - r52 = HEAP32[r10]; - } - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r4, r52, r34, HEAP32[r18 >> 2]); - HEAP32[r28 >> 2] = 0; - r38 = __ZN5AvoidL12sweepVisibleERNSt3__14listINS_8EdgePairENS0_9allocatorIS2_EEEERKNS_9PointPairERNS0_3setIjNS0_4lessIjEENS3_IjEEEEPi(r23, r11, r22, r28); - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r26 >> 1])) { - r53 = 1; - } else { - r53 = __ZN5Avoid13inValidRegionEbRKNS_5PointES2_S2_S2_((HEAP8[r5] & 1) << 24 >> 24 != 0, HEAP32[r31 >> 2] + 12 | 0, r15, HEAP32[r32 >> 2] + 12 | 0, r2); - } - r7 = r24 + 10 | 0; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r7 >> 1])) { - r54 = 1; - } else { - r54 = __ZN5Avoid13inValidRegionEbRKNS_5PointES2_S2_S2_((HEAP8[r5] & 1) << 24 >> 24 != 0, HEAP32[r12 + 11] + 12 | 0, r2, HEAP32[r12 + 12] + 12 | 0, r15); - } - do { - if (r53 & r54) { - if (r38) { - __ZN5Avoid7EdgeInf7setDistEd(r51, (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - break; - } - if ((HEAP8[r33] & 1) << 24 >> 24 == 0) { - break; - } - __ZN5Avoid7EdgeInf10addBlockerEi(r51, HEAP32[r28 >> 2]); - } else { - if ((HEAP8[r33] & 1) << 24 >> 24 == 0) { - break; - } - __ZN5Avoid7EdgeInf10addBlockerEi(r51, 0); - } - } while (0); - r6 = r51; - do { - if (!__ZN5Avoid7EdgeInf5addedEv(HEAP8[r51 + 16 | 0])) { - if ((HEAP8[r33] & 1) << 24 >> 24 != 0 | (r51 | 0) == 0) { - break; - } - __ZN5Avoid7EdgeInfD1Ev(r6); - __ZdlPv(r51); - } - } while (0); - do { - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r7 >> 1])) { - r6 = HEAP32[r12 + 11]; - do { - if ((r6 | 0) != (r1 | 0)) { - r38 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 1], HEAPF64[tempDoublePtr >> 3]); - r25 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r40 = r2 | 0; - r41 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = r24 + 20 | 0; - r35 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = r6 + 12 | 0; - r13 = r6 + 20 | 0; - r8 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d598(r38, r25, r41, r35, (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid8EdgePairC1ERKNS_9PointPairEPNS_7VertInfE(r29, r11, r6); - if ((r8 | 0) == -1) { - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6removeERKS2_(r23, r29); - break; - } else if ((r8 | 0) == 1) { - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE10push_frontERKS2_(r23, r29); - break; - } else { - break; - } - } - } while (0); - r6 = HEAP32[r12 + 12]; - if ((r6 | 0) == (r1 | 0)) { - break; - } - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 1], HEAPF64[tempDoublePtr >> 3]); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r40 = r2 | 0; - r35 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = r24 + 20 | 0; - r41 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = r6 + 12 | 0; - r25 = r6 + 20 | 0; - r38 = __ZN5AvoidL6vecDirERKNS_5PointES2_S2_d598(r8, r13, r35, r41, (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid8EdgePairC1ERKNS_9PointPairEPNS_7VertInfE(r30, r11, r6); - if ((r38 | 0) == -1) { - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6removeERKS2_(r23, r30); - break; - } else if ((r38 | 0) == 1) { - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE10push_frontERKS2_(r23, r30); - break; - } else { - break; - } - } - } while (0); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r17 | 0); - if ((r11 | 0) == (r14 | 0)) { - break; - } else { - r17 = r11; - } - } - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED1Ev(r23); - __ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev(r22); - __ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r16); - STACKTOP = r3; - return; -} -__ZN5AvoidL11vertexSweepEPNS_7VertInfE["X"] = 1; -function __ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = HEAP32[r1 >> 2]; - r4 = r1 + 10 | 0; - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r4 >> 1])) { - ___assert_func(5246524, 122, 5261168, 5245732); - } - if ((HEAP8[r3 + 141 | 0] & 1) << 24 >> 24 == 0) { - __ZN5Avoid7VertInf15removeFromGraphEb(r1, 1); - } - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r4 >> 1])) { - __ZN5Avoid6Router16generateContainsEPNS_7VertInfE(r3, r1); - } - if ((HEAP8[r3 + 140 | 0] & 1) << 24 >> 24 != 0) { - __ZN5AvoidL11vertexSweepEPNS_7VertInfE(r1); - return; - } - r4 = __ZN5Avoid11VertInfList10connsBeginEv(r3 + 100 | 0); - L1027 : do { - if ((r4 | 0) != 0) { - r3 = r1 + 4 | 0; - r5 = r1; - r6 = r4; - while (1) { - r7 = r6 + 4 | 0; - L1031 : do { - if (!__ZNK5Avoid6VertIDeqERKS0_(r7, 5274192)) { - r8 = HEAP16[r6 + 10 >> 1]; - do { - if (__ZNK5Avoid6VertID8isConnPtEv(r8)) { - if (__ZNK5Avoid6VertID15isConnectionPinEv(r8)) { - break; - } - if (!__ZNK5Avoid6VertID16isConnCheckpointEv(r8)) { - break L1031; - } - if ((HEAP32[r7 >> 2] | 0) != (HEAP32[r3 >> 2] | 0)) { - break L1031; - } - } - } while (0); - __ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b(r5, r6); - } - } while (0); - r7 = HEAP32[r6 + 40 >> 2]; - if ((r7 | 0) == 0) { - break L1027; - } else { - r6 = r7; - } - } - } - } while (0); - if ((r2 | 0) == 0) { - return; - } - __ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b(r1, r2); - return; -} -__ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb["X"] = 1; -function __ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE(r1, r2, r3) { - __ZN5Avoid9PointPairC2ERKNS_5PointEPNS_7VertInfE(r1, r2, r3); - return; -} -function __ZN5Avoid8EdgePairC1ERKNS_9PointPairEPNS_7VertInfE(r1, r2, r3) { - __ZN5Avoid8EdgePairC2ERKNS_9PointPairEPNS_7VertInfE(r1, r2, r3); - return; -} -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE9push_backERKS2_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = __Znwj(72); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - r6 = r2; - for (r2 = r6 >> 2, r7 = r5 >> 2, r8 = r2 + 16; r2 < r8; r2++, r7++) { - HEAP32[r7] = HEAP32[r2]; - } - } - r5 = (r1 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r5]; - HEAP32[r5] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid15isBoundingShapeC1ERNSt3__13setIjNS1_4lessIjEENS1_9allocatorIjEEEE(r1, r2) { - __ZN5Avoid15isBoundingShapeC2ERNSt3__13setIjNS1_4lessIjEENS1_9allocatorIjEEEE(r1, r2); - return; -} -function __ZN5Avoid8EdgePair12setCurrAngleERKNS_9PointPairE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = r2 | 0; - r6 = HEAP32[r5 >> 2] + 12 | 0; - r7 = r1 | 0; - if (__ZNK5Avoid5PointeqERKS0_(r6, HEAP32[r7 >> 2] + 12 | 0)) { - r8 = r1 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = r2 + 4 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r1 + 24 | 0; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r3; - return; - } - r8 = r1 + 4 | 0; - if (__ZNK5Avoid5PointeqERKS0_(r6, HEAP32[r8 >> 2] + 12 | 0)) { - r6 = r1 + 16 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r6 = r2 + 4 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 24 | 0; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r3; - return; - } - r6 = (r2 + 4 | 0) >> 2; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]); - r9 = (r1 + 24 | 0) >> 2; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r2 == r10) { - STACKTOP = r3; - return; - } - if (r2 > r10) { - r11 = r2; - } else { - ___assert_func(5246524, 287, 5256576, 5250980); - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]); - } - HEAPF64[tempDoublePtr >> 3] = r11, HEAP32[r9] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid5PointC1Ev(r4); - r9 = HEAP32[r7 >> 2] + 12 | 0; - r7 = HEAP32[r8 >> 2]; - r8 = r1 + 40 | 0; - r11 = HEAP32[r5 >> 2]; - r5 = r7 + 12 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r7 + 20 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r8 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r1 + 48 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r11 + 12 | 0; - r12 = r11 + 20 | 0; - if ((__ZN5Avoid17rayIntersectPointERKNS_5PointES2_S2_S2_PdS3_(r9, r6, r7, r2, r10, (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), r4 | 0, r4 + 8 | 0) | 0) == 1) { - r12 = __ZN5Avoid13euclideanDistERKNS_5PointES2_(r4, r8); - r8 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r3; - return; - } else { - r8 = r1 + 8 | 0; - r12 = r1 + 16 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r4 < r12 ? r4 : r12; - r12 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r12 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r12 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r3; - return; - } -} -__ZN5Avoid8EdgePair12setCurrAngleERKNS_9PointPairE["X"] = 1; -function __ZN5Avoid15isBoundingShapeC2ERNSt3__13setIjNS1_4lessIjEENS1_9allocatorIjEEEE(r1, r2) { - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS4_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZN5AvoidL12sweepVisibleERNSt3__14listINS_8EdgePairENS0_9allocatorIS2_EEEERKNS_9PointPairERNS0_3setIjNS0_4lessIjEENS3_IjEEEEPi(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r7 = r6; - r8 = r6 + 4; - r9 = r6 + 8; - if ((HEAP32[r1 + 8 >> 2] | 0) == 0) { - r10 = 1; - STACKTOP = r6; - return r10; - } - r11 = HEAP32[r2 >> 2]; - r12 = HEAP32[r11 >> 2]; - r13 = r1; - r14 = HEAP32[r1 + 4 >> 2]; - if ((r14 | 0) == (r13 | 0)) { - r10 = 1; - STACKTOP = r6; - return r10; - } - r1 = r11 + 12 | 0; - r15 = r14, r14 = r15 >> 2; - while (1) { - r16 = HEAP32[r14 + 2]; - if (!__ZNK5Avoid5PointeqERKS0_(r1, r16 + 12 | 0)) { - if (!__ZNK5Avoid5PointeqERKS0_(r1, HEAP32[r14 + 3] + 12 | 0)) { - break; - } - } - r17 = HEAP32[r14 + 1]; - if ((r17 | 0) == (r13 | 0)) { - r10 = 1; - r5 = 886; - break; - } else { - r15 = r17, r14 = r15 >> 2; - } - } - if (r5 == 886) { - STACKTOP = r6; - return r10; - } - do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r11 + 10 >> 1])) { - r14 = __ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_(r12 + 88 | 0, r11 + 4 | 0); - if ((r15 | 0) == (r13 | 0)) { - r10 = 1; - STACKTOP = r6; - return r10; - } - r1 = r14 | 0; - r17 = r7 | 0; - r18 = r14 + 4 | 0; - r14 = r15; - while (1) { - r19 = r14 + 8 | 0; - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r7, r1, HEAP32[r19 >> 2] + 4 | 0); - if ((HEAP32[r17 >> 2] | 0) == (r18 | 0)) { - break; - } - r20 = HEAP32[r14 + 4 >> 2]; - if ((r20 | 0) == (r13 | 0)) { - r10 = 1; - r5 = 893; - break; - } else { - r14 = r20; - } - } - if (r5 == 893) { - STACKTOP = r6; - return r10; - } - r18 = r2 + 12 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r18 = r14 + 40 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r17 > r1) { - r21 = r14; - break; - } - if (r17 != r1) { - r10 = 1; - STACKTOP = r6; - return r10; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r8, r3 | 0, HEAP32[r19 >> 2] + 4 | 0); - if ((HEAP32[r8 >> 2] | 0) == (r3 + 4 | 0)) { - r10 = 1; - } else { - r21 = r14; - break; - } - STACKTOP = r6; - return r10; - } else { - r1 = r2 + 12 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = r15 + 40 | 0; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r17 > r18) { - r21 = r15; - break; - } - if (r17 != r18) { - r10 = 1; - STACKTOP = r6; - return r10; - } - __ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_(r9, r3 | 0, r16 + 4 | 0); - if ((HEAP32[r9 >> 2] | 0) == (r3 + 4 | 0)) { - r10 = 1; - } else { - r21 = r15; - break; - } - STACKTOP = r6; - return r10; - } - } while (0); - HEAP32[r4 >> 2] = HEAP32[HEAP32[r21 + 8 >> 2] + 4 >> 2]; - r10 = 0; - STACKTOP = r6; - return r10; -} -__ZN5AvoidL12sweepVisibleERNSt3__14listINS_8EdgePairENS0_9allocatorIS2_EEEERKNS_9PointPairERNS0_3setIjNS0_4lessIjEENS3_IjEEEEPi["X"] = 1; -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6removeERKS2_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = HEAP32[r1 + 4 >> 2]; - r6 = r1; - if ((r5 | 0) == (r6 | 0)) { - STACKTOP = r3; - return; - } - r7 = r4 | 0; - r8 = r5; - while (1) { - r5 = __ZNK5Avoid8EdgePaireqERKS0_(r8 + 8 | 0, r2); - r9 = HEAP32[r8 + 4 >> 2]; - if (r5) { - L1120 : do { - if ((r9 | 0) == (r6 | 0)) { - r10 = r6; - } else { - r5 = r9; - while (1) { - if (!__ZNK5Avoid8EdgePaireqERKS0_(r5 + 8 | 0, r2)) { - r10 = r5; - break L1120; - } - r11 = HEAP32[r5 + 4 >> 2]; - if ((r11 | 0) == (r6 | 0)) { - r10 = r6; - break L1120; - } else { - r5 = r11; - } - } - } - } while (0); - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEES8_(r4, r1, r8, r10); - r12 = HEAP32[r7 >> 2]; - } else { - r12 = r9; - } - if ((r12 | 0) == (r6 | 0)) { - break; - } else { - r8 = r12; - } - } - STACKTOP = r3; - return; -} -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE10push_frontERKS2_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = __Znwj(72); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - r6 = r2; - for (r2 = r6 >> 2, r7 = r5 >> 2, r8 = r2 + 16; r2 < r8; r2++, r7++) { - HEAP32[r7] = HEAP32[r2]; - } - } - r5 = HEAP32[r1 + 4 >> 2]; - r6 = (r5 | 0) >> 2; - HEAP32[HEAP32[r6] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r6]; - HEAP32[r6] = r4; - HEAP32[r3 + 4 >> 2] = r5; - r5 = r1 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] + 1 | 0; - return; -} -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(r1); - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid8EdgePairENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIN5Avoid8EdgePairENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid8EdgePairENS_9allocatorIS2_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIN5Avoid8EdgePairENS_9allocatorIS2_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNK5Avoid8EdgePaireqERKS0_(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = HEAP32[r1 >> 2] + 4 | 0; - r4 = HEAP32[r2 >> 2] + 4 | 0; - do { - if (__ZNK5Avoid6VertIDeqERKS0_(r3, r4)) { - r5 = HEAP32[r2 + 4 >> 2]; - if (__ZNK5Avoid6VertIDeqERKS0_(HEAP32[r1 + 4 >> 2] + 4 | 0, r5 + 4 | 0)) { - r6 = 1; - } else { - r7 = r5; - break; - } - return r6; - } else { - r7 = HEAP32[r2 + 4 >> 2]; - } - } while (0); - do { - if (__ZNK5Avoid6VertIDeqERKS0_(r3, r7 + 4 | 0)) { - if (__ZNK5Avoid6VertIDeqERKS0_(HEAP32[r1 + 4 >> 2] + 4 | 0, r4)) { - r6 = 1; - } else { - break; - } - return r6; - } - } while (0); - r6 = 0; - return r6; -} -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEES8_(r1, r2, r3, r4) { - var r5, r6, r7; - if ((r4 | 0) == (r3 | 0)) { - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; - } - r6 = HEAP32[r4 >> 2] + 4 | 0; - r7 = r3 | 0; - HEAP32[HEAP32[r7 >> 2] + 4 >> 2] = HEAP32[r6 >> 2]; - HEAP32[HEAP32[r6 >> 2] >> 2] = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - r2 = r3; - while (1) { - r3 = HEAP32[r2 + 4 >> 2]; - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] - 1 | 0; - __ZdlPv(r2); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r2 = r3; - } - } - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; -} -function __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - if ((r4 | 0) == 0 | (r4 | 0) == 1) { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } else if ((r4 | 0) == 2) { - r8 = HEAP32[r3 >> 2]; - if (__ZNK5Avoid8EdgePairltERKS0_(r8 + 8 | 0, r2 + 8 | 0)) { - r9 = (r8 + 4 | 0) >> 2; - r10 = (r8 | 0) >> 2; - HEAP32[HEAP32[r10] + 4 >> 2] = HEAP32[r9]; - HEAP32[HEAP32[r9] >> 2] = HEAP32[r10]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r10] = HEAP32[r11]; - HEAP32[r11] = r8; - HEAP32[r9] = r2; - HEAP32[r1 >> 2] = r8; - STACKTOP = r5; - return; - } else { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } - } else { - r8 = r4 >>> 1; - L1180 : do { - if ((r8 | 0) == 0) { - r12 = r2; - } else { - r9 = r8; - r11 = r2; - while (1) { - r10 = r9 - 1 | 0; - r13 = HEAP32[r11 + 4 >> 2]; - if ((r10 | 0) > 0) { - r9 = r10; - r11 = r13; - } else { - r12 = r13; - break L1180; - } - } - } - } while (0); - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r6, r2, r12, r8); - r2 = HEAP32[r6 >> 2]; - __ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r7, r12, r3, r4 - r8 | 0); - r8 = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - if (__ZNK5Avoid8EdgePairltERKS0_(r8 + 8 | 0, r7)) { - r4 = HEAP32[r8 + 4 >> 2]; - L1186 : do { - if ((r4 | 0) == (r3 | 0)) { - r14 = r3; - } else { - r12 = r4; - while (1) { - if (!__ZNK5Avoid8EdgePairltERKS0_(r12 + 8 | 0, r7)) { - r14 = r12; - break L1186; - } - r6 = HEAP32[r12 + 4 >> 2]; - if ((r6 | 0) == (r3 | 0)) { - r14 = r3; - break L1186; - } else { - r12 = r6; - } - } - } - } while (0); - r7 = HEAP32[r14 >> 2]; - r4 = (r7 + 4 | 0) >> 2; - r12 = (r8 | 0) >> 2; - HEAP32[HEAP32[r12] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r12]; - r6 = HEAP32[r2 + 4 >> 2]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r12] = HEAP32[r11]; - HEAP32[r11] = r7; - HEAP32[r4] = r2; - r15 = r8; - r16 = r14; - r17 = r6; - } else { - r15 = r2; - r16 = r8; - r17 = HEAP32[r2 + 4 >> 2]; - } - L1193 : do { - if ((r17 | 0) != (r16 | 0)) { - r2 = r16; - r8 = r16; - r6 = r17; - while (1) { - r14 = r2 + 8 | 0; - r4 = (r2 | 0) == (r3 | 0); - r7 = r6; - while (1) { - if (r4) { - break L1193; - } - if (__ZNK5Avoid8EdgePairltERKS0_(r14, r7 + 8 | 0)) { - break; - } - r11 = HEAP32[r7 + 4 >> 2]; - if ((r11 | 0) == (r8 | 0)) { - break L1193; - } else { - r7 = r11; - } - } - r14 = HEAP32[r2 + 4 >> 2]; - L1201 : do { - if ((r14 | 0) == (r3 | 0)) { - r18 = r3; - } else { - r4 = r7 + 8 | 0; - r11 = r14; - while (1) { - if (!__ZNK5Avoid8EdgePairltERKS0_(r11 + 8 | 0, r4)) { - r18 = r11; - break L1201; - } - r12 = HEAP32[r11 + 4 >> 2]; - if ((r12 | 0) == (r3 | 0)) { - r18 = r3; - break L1201; - } else { - r11 = r12; - } - } - } - } while (0); - r14 = HEAP32[r18 >> 2]; - r11 = (r14 + 4 | 0) >> 2; - r4 = (r2 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = HEAP32[r11]; - HEAP32[HEAP32[r11] >> 2] = HEAP32[r4]; - r12 = HEAP32[r7 + 4 >> 2]; - r9 = (r8 | 0) == (r2 | 0) ? r18 : r8; - r13 = (r7 | 0) >> 2; - HEAP32[HEAP32[r13] + 4 >> 2] = r2; - HEAP32[r4] = HEAP32[r13]; - HEAP32[r13] = r14; - HEAP32[r11] = r7; - if ((r12 | 0) == (r9 | 0)) { - break L1193; - } else { - r2 = r18; - r8 = r9; - r6 = r12; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r15; - STACKTOP = r5; - return; - } -} -__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_["X"] = 1; -function __ZNK5Avoid8EdgePairltERKS0_(r1, r2) { - var r3, r4, r5; - r3 = r1 + 24 | 0; - r4 = r2 + 24 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - ___assert_func(5246524, 240, 5253672, 5251464); - } - r4 = r1 + 32 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r2 + 32 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r3 == r5) { - r4 = r1 + 16 | 0; - r1 = r2 + 16 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - return r2; - } else { - r2 = r3 < r5; - return r2; - } -} -function __ZN5Avoid8EdgePairC2ERKNS_9PointPairEPNS_7VertInfE(r1, r2, r3) { - var r4, r5, r6, r7; - HEAP32[r1 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r1 + 4 >> 2] = r3; - r4 = r1 + 8 | 0; - r5 = (r2 + 12 | 0) >> 2; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 16 | 0; - r6 = r2 + 20 | 0; - r7 = __ZN5Avoid13euclideanDistERKNS_5PointES2_(r3 + 12 | 0, r6); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 24 | 0; - r7 = r2 + 4 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 32 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = (r1 + 40 | 0) >> 2; - r1 = r6 >> 2; - HEAP32[r4] = HEAP32[r1]; - HEAP32[r4 + 1] = HEAP32[r1 + 1]; - HEAP32[r4 + 2] = HEAP32[r1 + 2]; - HEAP32[r4 + 3] = HEAP32[r1 + 3]; - HEAP32[r4 + 4] = HEAP32[r1 + 4]; - HEAP32[r4 + 5] = HEAP32[r1 + 5]; - return; -} -function __ZN5Avoid9PointPairC2ERKNS_5PointEPNS_7VertInfE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - r6 = r1 | 0; - HEAP32[r6 >> 2] = r3; - r7 = (r1 + 20 | 0) >> 2; - r8 = r2 >> 2; - HEAP32[r7] = HEAP32[r8]; - HEAP32[r7 + 1] = HEAP32[r8 + 1]; - HEAP32[r7 + 2] = HEAP32[r8 + 2]; - HEAP32[r7 + 3] = HEAP32[r8 + 3]; - HEAP32[r7 + 4] = HEAP32[r8 + 4]; - HEAP32[r7 + 5] = HEAP32[r8 + 5]; - r8 = r3 + 12 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r3 + 20 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r2 | 0; - r9 = r2 + 8 | 0; - __ZNK5Avoid5PointmiERKS0_(r5, r7, r3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r9 = r5 | 0; - r8 = r5 + 8 | 0; - r5 = __ZN5Avoid15rotationalAngleERKNS_5PointE((HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r8 = r1 + 4 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = __ZN5Avoid13euclideanDistERKNS_5PointES2_(r2, HEAP32[r6 >> 2] + 12 | 0); - r6 = r1 + 12 | 0; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid9PointPairltERKS0_(r3, r6)) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 987; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid9PointPairltERKS0_(r6, r3)) { - r4 = 991; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 990; - break; - } else { - r8 = r6; - } - } - if (r4 == 991) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 987) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } else if (r4 == 990) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r2 + 4 | 0; - r2 = __Znwj(60); - r6 = r2; - r7 = r4 + 4 | 0; - r8 = r4 | 0; - HEAP8[r8] = HEAP8[r7]; - HEAP8[r8 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r8 + 2 | 0] = HEAP8[r7 + 2 | 0]; - r7 = r2 + 16 | 0; - if ((r7 | 0) != 0) { - r2 = r3; - for (r3 = r2 >> 2, r9 = r7 >> 2, r10 = r3 + 11; r3 < r10; r3++, r9++) { - HEAP32[r9] = HEAP32[r3]; - } - } - HEAP32[r1 >> 2] = r6; - HEAP32[r1 + 4 >> 2] = r5; - HEAP8[r1 + 8 | 0] = 1; - r5 = r1 + 9 | 0; - HEAP8[r5] = HEAP8[r8]; - HEAP8[r5 + 1 | 0] = HEAP8[r8 + 1 | 0]; - HEAP8[r5 + 2 | 0] = HEAP8[r8 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNK5Avoid9PointPairltERKS0_(r1, r2) { - var r3, r4, r5, r6; - r3 = r1 + 4 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 + 4 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r5) { - r6 = r4 < r5; - return r6; - } - r5 = r1 + 12 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r2 + 12 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 == r3) { - r6 = __ZNK5Avoid6VertIDltERKS0_(HEAP32[r1 >> 2] + 4 | 0, HEAP32[r2 >> 2] + 4 | 0); - return r6; - } else { - r6 = r4 < r3; - return r6; - } -} -function __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_(r1) { - __ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS4_(r1); - return; -} -function __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb(r1, r2, r3) { - __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb(r1, r2, r3); - return; -} -function __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb(r1, r2, r3) { - var r4; - r4 = r1 | 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = r2; - __ZN5Avoid7PolygonC1ERKS0_(r1 + 8 | 0, r3); - __ZN5Avoid5PointC1Ev(r1 + 52 | 0); - HEAP8[r1 + 76 | 0] = 0; - r3 = r1 + 80 | 0; - r2 = r3; - HEAP32[r3 >> 2] = r2; - HEAP32[r1 + 84 >> 2] = r2; - HEAP32[r1 + 88 >> 2] = 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - return; - } - ___assert_func(5245448, 42, 5261860, 5248764); - return; -} -function __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED1Ev(r1) { - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED2Ev(r1); - return; -} -function __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE(r1, r2, r3) { - __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_8ShapeRefE(r1, r2, r3); - return; -} -function __ZNK5Avoid17HyperedgeRerouter5countEv(r1, r2) { - return (r2 - r1 | 0) / 12 & -1; -} -function __ZNK5Avoid10ActionInfoeqERKS0_(r1, r2, r3) { - var r4; - if ((HEAP32[r1 >> 2] | 0) != (r2 | 0)) { - r4 = 0; - return r4; - } - r4 = (HEAP32[r1 + 4 >> 2] | 0) == (r3 | 0); - return r4; -} -function __ZN5Avoid17HyperedgeRerouter9setRouterEPNS_6RouterE(r1, r2) { - HEAP32[r1 >> 2] = r2; - return; -} -function __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_8ShapeRefE(r1, r2, r3) { - var r4; - r4 = r1 | 0; - HEAP32[r4 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - __ZN5Avoid7PolygonC1Ev(r1 + 8 | 0); - __ZN5Avoid5PointC1Ev(r1 + 52 | 0); - r3 = r1 + 80 | 0; - r2 = r3; - HEAP32[r3 >> 2] = r2; - HEAP32[r1 + 84 >> 2] = r2; - HEAP32[r1 + 88 >> 2] = 0; - if (HEAP32[r4 >> 2] >>> 0 < 3) { - return; - } - ___assert_func(5245448, 52, 5261960, 5247564); - return; -} -function __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE(r1, r2, r3) { - __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_11JunctionRefE(r1, r2, r3); - return; -} -function __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_11JunctionRefE(r1, r2, r3) { - var r4; - r4 = r1 | 0; - HEAP32[r4 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - __ZN5Avoid7PolygonC1Ev(r1 + 8 | 0); - __ZN5Avoid5PointC1Ev(r1 + 52 | 0); - r3 = r1 + 80 | 0; - r2 = r3; - HEAP32[r3 >> 2] = r2; - HEAP32[r1 + 84 >> 2] = r2; - HEAP32[r1 + 88 >> 2] = 0; - if ((HEAP32[r4 >> 2] - 3 | 0) >>> 0 < 3) { - return; - } - ___assert_func(5245448, 70, 5262176, 5245632); - return; -} -function __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_7ConnRefE(r1, r2) { - __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_7ConnRefE(r1, r2); - return; -} -function __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_7ConnRefE(r1, r2) { - var r3, r4; - r3 = r1 | 0; - HEAP32[r3 >> 2] = 6; - HEAP32[r1 + 4 >> 2] = r2; - __ZN5Avoid7PolygonC1Ev(r1 + 8 | 0); - __ZN5Avoid5PointC1Ev(r1 + 52 | 0); - r2 = r1 + 80 | 0; - r4 = r2; - HEAP32[r2 >> 2] = r4; - HEAP32[r1 + 84 >> 2] = r4; - HEAP32[r1 + 88 >> 2] = 0; - if ((HEAP32[r3 >> 2] | 0) == 6) { - return; - } - ___assert_func(5245448, 77, 5262028, 5244816); - return; -} -function __ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_18ShapeConnectionPinE(r1, r2) { - __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_18ShapeConnectionPinE(r1, r2); - return; -} -function __ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_18ShapeConnectionPinE(r1, r2) { - var r3, r4; - r3 = r1 | 0; - HEAP32[r3 >> 2] = 7; - HEAP32[r1 + 4 >> 2] = r2; - __ZN5Avoid7PolygonC1Ev(r1 + 8 | 0); - __ZN5Avoid5PointC1Ev(r1 + 52 | 0); - r2 = r1 + 80 | 0; - r4 = r2; - HEAP32[r2 >> 2] = r4; - HEAP32[r1 + 84 >> 2] = r4; - HEAP32[r1 + 88 >> 2] = 0; - if ((HEAP32[r3 >> 2] | 0) == 7) { - return; - } - ___assert_func(5245448, 85, 5262096, 5244476); - return; -} -function __ZN5Avoid10ActionInfoD1Ev(r1) { - __ZN5Avoid10ActionInfoD2Ev(r1); - return; -} -function __ZN5Avoid10ActionInfoD2Ev(r1) { - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED1Ev(r1 + 80 | 0); - __ZN5Avoid7PolygonD1Ev(r1 + 8 | 0); - return; -} -function __ZNK5Avoid10ActionInfo8obstacleEv(r1) { - if (HEAP32[r1 >> 2] >>> 0 >= 6) { - ___assert_func(5245448, 98, 5254844, 5243716); - } - return HEAP32[r1 + 4 >> 2]; -} -function __ZNK5Avoid10ActionInfo5shapeEv(r1) { - var r2, r3; - r2 = __ZNK5Avoid10ActionInfo8obstacleEv(r1); - if ((r2 | 0) == 0) { - r3 = 0; - return r3; - } - r3 = ___dynamic_cast(r2, 5272672, 5272660); - return r3; -} -function __ZNK5Avoid10ActionInfo4connEv(r1) { - if ((HEAP32[r1 >> 2] | 0) != 6) { - ___assert_func(5245448, 111, 5254900, 5244816); - } - return HEAP32[r1 + 4 >> 2]; -} -function __ZNK5Avoid10ActionInfo8junctionEv(r1) { - var r2, r3; - r2 = __ZNK5Avoid10ActionInfo8obstacleEv(r1); - if ((r2 | 0) == 0) { - r3 = 0; - return r3; - } - r3 = ___dynamic_cast(r2, 5272672, 5272764); - return r3; -} -function __ZNK5Avoid10ActionInfoltERKS0_(r1, r2) { - var r3, r4, r5; - r3 = HEAP32[r1 >> 2]; - r4 = HEAP32[r2 >> 2]; - if ((r3 | 0) != (r4 | 0)) { - r5 = (r3 | 0) < (r4 | 0); - return r5; - } - if ((r3 | 0) == 6) { - r5 = __ZNK5Avoid7ConnRef2idEv(HEAP32[__ZNK5Avoid10ActionInfo4connEv(r1) + 4 >> 2]) >>> 0 < __ZNK5Avoid7ConnRef2idEv(HEAP32[__ZNK5Avoid10ActionInfo4connEv(r2) + 4 >> 2]) >>> 0; - return r5; - } else if ((r3 | 0) == 7) { - r5 = HEAP32[r1 + 4 >> 2] >>> 0 < HEAP32[r2 + 4 >> 2] >>> 0; - return r5; - } else { - r5 = __ZNK5Avoid8Obstacle2idEv(HEAP32[__ZNK5Avoid10ActionInfo8obstacleEv(r1) + 8 >> 2]) >>> 0 < __ZNK5Avoid8Obstacle2idEv(HEAP32[__ZNK5Avoid10ActionInfo8obstacleEv(r2) + 8 >> 2]) >>> 0; - return r5; - } -} -function __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED2Ev(r1 | 0); - return; -} -function __ZN5Avoid17HyperedgeRerouterC1Ev(r1) { - __ZN5Avoid17HyperedgeRerouterC2Ev(r1); - return; -} -function __ZN5Avoid17HyperedgeRerouterC2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 88 | 0; - r3 = r2 | 0; - r4 = r2; - r2 = r1; - for (r5 = r2 >> 2, r6 = r5 + 22; r5 < r6; r5++) { - HEAP32[r5] = 0; - } - HEAP32[r3 >> 2] = r4; - HEAP32[r1 + 92 >> 2] = r4; - HEAP32[r1 + 96 >> 2] = 0; - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC1ERKS6_(r1, r2) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC2ERKS6_(r1, r2); - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1ERKS6_(r1, r2) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC2ERKS6_(r1, r2); - return; -} -function __ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_7ConnRefEPNS_11JunctionRefERNSt3__13setIS2_NS5_4lessIS2_EENS5_9allocatorIS2_EEEE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12; - r6 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r7 = r6; - r8 = r6 + 16; - r9 = r6 + 24; - r10 = r6 + 32; - HEAP32[r9 >> 2] = r3; - __ZN5Avoid7ConnRef29assignConnectionPinVisibilityEb(r6 + 28, r3, 1); - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_(HEAP32[r1 + 64 >> 2] + (r2 * 12 & -1) | 0, r9); - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r6 + 8, r5 | 0, r9); - r3 = HEAP32[r9 >> 2]; - __ZNK5Avoid7ConnRef15endpointAnchorsEv(r10, r3); - r9 = HEAP32[r10 >> 2]; - if ((r9 | 0) == 0) { - r11 = 0; - } else { - r11 = ___dynamic_cast(r9, 5272672, 5272764); - } - r9 = HEAP32[r10 + 4 >> 2]; - if ((r9 | 0) == 0) { - r12 = 0; - } else { - r12 = ___dynamic_cast(r9, 5272672, 5272764); - } - do { - if ((r11 | 0) == 0) { - r9 = r3 + 120 | 0; - if ((HEAP32[r9 >> 2] | 0) == 0) { - ___assert_func(5244912, 169, 5260396, 5252672); - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r7, HEAP32[r1 + 76 >> 2] + (r2 * 12 & -1) | 0, r9); - } else { - if ((r11 | 0) == (r4 | 0)) { - break; - } - __ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_11JunctionRefEPNS_7ConnRefERNSt3__13setIS4_NS5_4lessIS4_EENS5_9allocatorIS4_EEEE(r1, r2, r11, r3, r5); - } - } while (0); - if ((r12 | 0) == 0) { - r11 = r3 + 124 | 0; - if ((HEAP32[r11 >> 2] | 0) == 0) { - ___assert_func(5244912, 184, 5260396, 5252060); - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r8, HEAP32[r1 + 76 >> 2] + (r2 * 12 & -1) | 0, r11); - STACKTOP = r6; - return; - } else { - if ((r12 | 0) == (r4 | 0)) { - STACKTOP = r6; - return; - } - __ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_11JunctionRefEPNS_7ConnRefERNSt3__13setIS4_NS5_4lessIS4_EENS5_9allocatorIS4_EEEE(r1, r2, r12, r3, r5); - STACKTOP = r6; - return; - } -} -__ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_7ConnRefEPNS_11JunctionRefERNSt3__13setIS2_NS5_4lessIS2_EENS5_9allocatorIS2_EEEE["X"] = 1; -function __ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_11JunctionRefEPNS_7ConnRefERNSt3__13setIS4_NS5_4lessIS4_EENS5_9allocatorIS4_EEEE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12; - r6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r7 = r6; - r8 = r6 + 4; - HEAP32[r7 >> 2] = r3; - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE9push_backERKS3_(HEAP32[r1 + 40 >> 2] + (r2 * 12 & -1) | 0, r7); - r3 = HEAP32[r7 >> 2]; - r7 = r8; - __ZNK5Avoid8Obstacle18attachedConnectorsEv(r7, r3); - r9 = HEAP32[r8 + 4 >> 2]; - r10 = r8; - if ((r9 | 0) == (r10 | 0)) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r7); - STACKTOP = r6; - return; - } else { - r11 = r9; - } - while (1) { - r9 = r11 + 8 | 0; - r8 = HEAP32[r9 >> 2]; - if ((r8 | 0) != (r4 | 0)) { - if ((r8 | 0) == 0) { - ___assert_func(5244912, 208, 5260512, 5251816); - r12 = HEAP32[r9 >> 2]; - } else { - r12 = r8; - } - __ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_7ConnRefEPNS_11JunctionRefERNSt3__13setIS2_NS5_4lessIS2_EENS5_9allocatorIS2_EEEE(r1, r2, r12, r3, r5); - } - r8 = HEAP32[r11 + 4 >> 2]; - if ((r8 | 0) == (r10 | 0)) { - break; - } else { - r11 = r8; - } - } - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r7); - STACKTOP = r6; - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE9push_backERKS3_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid17HyperedgeRerouter23calcHyperedgeConnectorsEv(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = r3 + 8; - r6 = r3 + 16; - r7 = r2 | 0; - if ((HEAP32[r7 >> 2] | 0) == 0) { - ___assert_func(5244912, 219, 5260332, 5251428); - } - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1 | 0); - r8 = r2 + 40 | 0; - r9 = HEAP32[r8 >> 2]; - r10 = (r2 + 44 | 0) >> 2; - r11 = HEAP32[r10]; - L1382 : do { - if (r9 >>> 0 < r11 >>> 0) { - r12 = r11; - while (1) { - r13 = r12 - 12 | 0; - HEAP32[r10] = r13; - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r13); - r13 = HEAP32[r10]; - if (r9 >>> 0 < r13 >>> 0) { - r12 = r13; - } else { - break L1382; - } - } - } - } while (0); - r9 = (r2 + 4 | 0) >> 2; - r10 = (r2 + 8 | 0) >> 2; - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj(r8, __ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r9], HEAP32[r10])); - r8 = r2 + 64 | 0; - r11 = HEAP32[r8 >> 2]; - r12 = (r2 + 68 | 0) >> 2; - r13 = HEAP32[r12]; - L1387 : do { - if (r11 >>> 0 < r13 >>> 0) { - r14 = r13; - while (1) { - r15 = r14 - 12 | 0; - HEAP32[r12] = r15; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r15); - r15 = HEAP32[r12]; - if (r11 >>> 0 < r15 >>> 0) { - r14 = r15; - } else { - break L1387; - } - } - } - } while (0); - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj(r8, __ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r9], HEAP32[r10])); - r8 = r2 + 76 | 0; - r11 = r8 | 0; - r12 = HEAP32[r11 >> 2]; - r13 = (r2 + 80 | 0) >> 2; - r14 = HEAP32[r13]; - L1392 : do { - if (r12 >>> 0 < r14 >>> 0) { - r15 = r14; - while (1) { - r16 = r15 - 12 | 0; - HEAP32[r13] = r16; - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r16); - r16 = HEAP32[r13]; - if (r12 >>> 0 < r16 >>> 0) { - r15 = r16; - } else { - break L1392; - } - } - } - } while (0); - __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE6resizeEj(r8, __ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r9], HEAP32[r10])); - r8 = r2 + 88 | 0; - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r8 | 0); - r12 = __ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r9], HEAP32[r10]); - if ((r12 | 0) == 0) { - STACKTOP = r3; - return; - } - r10 = r2 + 16 | 0; - r13 = r5 | 0; - r14 = r5 + 4 | 0; - r5 = r6; - r15 = r6 | 0; - r16 = r6 + 4 | 0; - r6 = 0; - while (1) { - r17 = HEAP32[HEAP32[r10 >> 2] + (r6 << 2) >> 2]; - L1402 : do { - if ((r17 | 0) == 0) { - HEAP8[r13] = 0; - HEAP32[r14 >> 2] = 0; - r18 = HEAP32[r9]; - r19 = HEAP32[r18 + (r6 * 12 & -1) + 4 >> 2]; - if ((r19 | 0) == (r18 + (r6 * 12 & -1) | 0)) { - break; - } else { - r20 = r19; - } - while (1) { - __ZNK5Avoid7ConnEnd18getHyperedgeVertexEPNS_6RouterE(r5, r20 + 8 | 0, HEAP32[r7 >> 2]); - HEAP8[r13] = HEAP8[r15] & 1; - r19 = HEAP32[r16 >> 2]; - HEAP32[r14 >> 2] = r19; - if ((r19 | 0) == 0) { - ___assert_func(5244912, 252, 5260332, 5250932); - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r4, HEAP32[r11 >> 2] + (r6 * 12 & -1) | 0, r14); - if ((HEAP8[r13] & 1) << 24 >> 24 != 0) { - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEE9push_backERKS3_(r8, r14); - } - r19 = HEAP32[r20 + 4 >> 2]; - if ((r19 | 0) == (HEAP32[r9] + (r6 * 12 & -1) | 0)) { - break L1402; - } else { - r20 = r19; - } - } - } else { - __ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_11JunctionRefEPNS_7ConnRefERNSt3__13setIS4_NS5_4lessIS4_EENS5_9allocatorIS4_EEEE(r2, r6, r17, 0, r1); - } - } while (0); - r17 = r6 + 1 | 0; - if (r17 >>> 0 < r12 >>> 0) { - r6 = r17; - } else { - break; - } - } - STACKTOP = r3; - return; -} -__ZN5Avoid17HyperedgeRerouter23calcHyperedgeConnectorsEv["X"] = 1; -function __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = HEAP32[r1 >> 2]; - r6 = (r4 - r5 | 0) / 12 & -1; - if (r6 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE8__appendEj(r1, r2 - r6 | 0); - return; - } - if (r6 >>> 0 <= r2 >>> 0) { - return; - } - r6 = r5 + (r2 * 12 & -1) | 0; - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - } else { - return; - } - while (1) { - r4 = r7 - 12 | 0; - HEAP32[r3] = r4; - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r4); - r4 = HEAP32[r3]; - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - } else { - break; - } - } - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = HEAP32[r1 >> 2]; - r6 = (r4 - r5 | 0) / 12 & -1; - if (r6 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE8__appendEj(r1, r2 - r6 | 0); - return; - } - if (r6 >>> 0 <= r2 >>> 0) { - return; - } - r6 = r5 + (r2 * 12 & -1) | 0; - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - } else { - return; - } - while (1) { - r4 = r7 - 12 | 0; - HEAP32[r3] = r4; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r4); - r4 = HEAP32[r3]; - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - } else { - break; - } - } - return; -} -function __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE6resizeEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = HEAP32[r1 >> 2]; - r6 = (r4 - r5 | 0) / 12 & -1; - if (r6 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE8__appendEj(r1, r2 - r6 | 0); - return; - } - if (r6 >>> 0 <= r2 >>> 0) { - return; - } - r6 = r5 + (r2 * 12 & -1) | 0; - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - } else { - return; - } - while (1) { - r4 = r7 - 12 | 0; - HEAP32[r3] = r4; - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r4); - r4 = HEAP32[r3]; - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - } else { - break; - } - } - return; -} -function __ZN5Avoid10ActionInfo16addConnEndUpdateEjRKNS_7ConnEndEb(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r7 = r6; - r8 = r6 + 52; - r9 = r1 + 80 | 0; - r10 = r9; - r11 = r1 + 84 | 0; - while (1) { - r12 = HEAP32[r11 >> 2]; - if ((r12 | 0) == (r10 | 0)) { - r5 = 1191; - break; - } - if ((HEAP32[r12 + 8 >> 2] | 0) == (r2 | 0)) { - r5 = 1189; - break; - } else { - r11 = r12 + 4 | 0; - } - } - if (r5 == 1189) { - if (r4) { - STACKTOP = r6; - return; - } - r4 = r12 + 12 | 0; - r12 = r3; - for (r13 = r12 >> 2, r14 = r4 >> 2, r15 = r13 + 12; r13 < r15; r13++, r14++) { - HEAP32[r14] = HEAP32[r13]; - } - STACKTOP = r6; - return; - } else if (r5 == 1191) { - r5 = r8; - r4 = r3; - for (r13 = r4 >> 2, r14 = r5 >> 2, r15 = r13 + 12; r13 < r15; r13++, r14++) { - HEAP32[r14] = HEAP32[r13]; - } - HEAP32[r7 >> 2] = r2; - r2 = r7 + 4 | 0; - for (r13 = r4 >> 2, r14 = r2 >> 2, r15 = r13 + 12; r13 < r15; r13++, r14++) { - HEAP32[r14] = HEAP32[r13]; - } - __ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE9push_backERKS4_(r9, r7); - __ZNSt3__14pairIjN5Avoid7ConnEndEED1Ev(r7); - __ZN5Avoid7ConnEndD1Ev(r8); - STACKTOP = r6; - return; - } -} -__ZN5Avoid10ActionInfo16addConnEndUpdateEjRKNS_7ConnEndEb["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 1207; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 1211; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1210; - break; - } else { - r3 = r6; - } - } - if (r4 == 1207) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 1210) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 1211) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS8_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC2ERKSB_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEE9push_backERKS3_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev(r1) { - __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS8_(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS8_(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SB_EEiEESE_RKT_(r2, r3, r6, r4); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) != 0) { - r9 = r3; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r7, r2, r4); - r4 = r7 | 0; - r7 = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r6 >> 2], r8, r7 | 0); - r9 = r7; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SB_EEiEESE_RKT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r6 = r1 + 4 | 0; - do { - if ((r6 | 0) != (r2 | 0)) { - r7 = HEAP32[r4 >> 2]; - r8 = HEAP32[r2 + 16 >> 2]; - if (r7 >>> 0 < r8 >>> 0) { - break; - } - r9 = r2 | 0; - if (r8 >>> 0 >= r7 >>> 0) { - HEAP32[r5] = r9; - r10 = r3; - return r10; - } - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r9); - do { - if ((r8 | 0) != (r6 | 0)) { - if (r7 >>> 0 < HEAP32[r8 + 16 >> 2] >>> 0) { - break; - } - r10 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r7 = r2 + 4 | 0; - if ((HEAP32[r7 >> 2] | 0) == 0) { - HEAP32[r5] = r9; - r10 = r7; - return r10; - } else { - HEAP32[r5] = r8; - r10 = r8 | 0; - return r10; - } - } - } while (0); - do { - if ((HEAP32[r1 >> 2] | 0) == (r2 | 0)) { - r11 = r2; - } else { - r6 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if (HEAP32[r6 + 16 >> 2] >>> 0 < HEAP32[r4 >> 2] >>> 0) { - r11 = r6; - break; - } - r10 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r4 = r2 | 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - HEAP32[r5] = r2 | 0; - r10 = r4; - return r10; - } else { - HEAP32[r5] = r11 | 0; - r10 = r11 + 4 | 0; - return r10; - } -} -__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SB_EEiEESE_RKT_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC2ERKSB_(r1); - return; -} -function __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r2 | 0); - r4 = HEAP32[r3]; - } - r5 = r4 + 12 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC1EjjSB_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC2EjjSB_(r1, r2, r3, r4); - return; -} -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r2 | 0); - r4 = HEAP32[r3]; - } - r5 = r4 + 12 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS9_RSA_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1555 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 12 | 0; - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE10push_frontERKS9_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1555; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED1Ev(r1) { - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = (r1 + 8 | 0) >> 2; - r4 = HEAP32[r3]; - L1561 : do { - if (r2 >>> 0 < r4 >>> 0) { - r5 = r4; - while (1) { - r6 = r5 - 12 | 0; - HEAP32[r3] = r6; - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r6); - r6 = HEAP32[r3]; - if (r2 >>> 0 < r6 >>> 0) { - r5 = r6; - } else { - break L1561; - } - } - } - } while (0); - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZN5Avoid17HyperedgeRerouter16performReroutingEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32; - r2 = STACKTOP; - STACKTOP = STACKTOP + 212 | 0; - r3 = r2; - r4 = r2 + 4; - r5 = r2 + 16; - r6 = r2 + 196; - r7 = r2 + 208; - r8 = (r1 | 0) >> 2; - if ((HEAP32[r8] | 0) == 0) { - ___assert_func(5244912, 303, 5260628, 5251428); - } - r9 = r1 + 28 | 0; - r10 = r9 | 0; - r11 = HEAP32[r10 >> 2]; - r12 = (r1 + 32 | 0) >> 2; - r13 = HEAP32[r12]; - L1573 : do { - if (r11 >>> 0 < r13 >>> 0) { - r14 = r13; - while (1) { - r15 = r14 - 12 | 0; - HEAP32[r12] = r15; - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r15); - r15 = HEAP32[r12]; - if (r11 >>> 0 < r15 >>> 0) { - r14 = r15; - } else { - break L1573; - } - } - } - } while (0); - r11 = (r1 + 4 | 0) >> 2; - r12 = (r1 + 8 | 0) >> 2; - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj(r9, __ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r11], HEAP32[r12])); - r9 = r1 + 52 | 0; - r13 = r9 | 0; - r14 = HEAP32[r13 >> 2]; - r15 = (r1 + 56 | 0) >> 2; - r16 = HEAP32[r15]; - L1577 : do { - if (r14 >>> 0 < r16 >>> 0) { - r17 = r16; - while (1) { - r18 = r17 - 12 | 0; - HEAP32[r15] = r18; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r18); - r18 = HEAP32[r15]; - if (r14 >>> 0 < r18 >>> 0) { - r17 = r18; - } else { - break L1577; - } - } - } - } while (0); - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj(r9, __ZNK5Avoid17HyperedgeRerouter5countEv(HEAP32[r11], HEAP32[r12])); - r9 = HEAP32[r11]; - r14 = HEAP32[r12]; - r15 = __ZNK5Avoid17HyperedgeRerouter5countEv(r9, r14); - if ((r15 | 0) == 0) { - r19 = r9; - r20 = r14; - } else { - r14 = r4 | 0; - r9 = r1 + 76 | 0; - r16 = r6 | 0; - r17 = r6 + 4 | 0; - r18 = r6; - r21 = r4; - r22 = (r1 + 64 | 0) >> 2; - r23 = r1 + 40 | 0; - r24 = r5 + 48 | 0; - r25 = 0; - while (1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_(r14); - r26 = HEAP32[r8]; - r27 = HEAP32[r9 >> 2]; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS8_(r16); - r28 = HEAP32[r27 + (r25 * 12 & -1) >> 2]; - r29 = r27 + (r25 * 12 & -1) + 4 | 0; - L1585 : do { - if ((r28 | 0) != (r29 | 0)) { - r27 = r29; - r30 = r28; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r3, r16, r17, r30 + 16 | 0); - r31 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r30 | 0); - if ((r31 | 0) == (r27 | 0)) { - break L1585; - } else { - r30 = r31; - } - } - } - } while (0); - __ZN5Avoid27MinimumTerminalSpanningTreeC1EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE(r5, r26, r18, r21); - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r6); - __ZN5Avoid27MinimumTerminalSpanningTree20constructInterleavedEv(r5); - r28 = __ZNK5Avoid27MinimumTerminalSpanningTree12rootJunctionEv(HEAP32[r24 >> 2]); - if ((r28 | 0) == 0) { - ___assert_func(5244912, 431, 5260628, 5250652); - } - r29 = r28; - __ZN5Avoid17HyperEdgeTreeNode8addConnsEPNS_17HyperEdgeTreeEdgeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEES8_(r29, 0, HEAP32[r8], HEAP32[r22] + (r25 * 12 & -1) | 0, 0); - __ZN5Avoid17HyperEdgeTreeNode26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE(r29, 0, HEAP32[r10 >> 2] + (r25 * 12 & -1) | 0, HEAP32[r13 >> 2] + (r25 * 12 & -1) | 0); - __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(r29, 0, 0); - __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(r29, 0, 1); - r29 = HEAP32[r22]; - r28 = HEAP32[r29 + (r25 * 12 & -1) + 4 >> 2]; - L1600 : do { - if ((r28 | 0) != (r29 + (r25 * 12 & -1) | 0)) { - r30 = r28; - while (1) { - r27 = r30 + 8 | 0; - __ZN5Avoid7ConnRef29assignConnectionPinVisibilityEb(r7, HEAP32[r27 >> 2], 0); - __ZN5Avoid6Router15deleteConnectorEPNS_7ConnRefE(HEAP32[r8], HEAP32[r27 >> 2]); - r27 = HEAP32[r30 + 4 >> 2]; - if ((r27 | 0) == (HEAP32[r22] + (r25 * 12 & -1) | 0)) { - break L1600; - } else { - r30 = r27; - } - } - } - } while (0); - r28 = HEAP32[r23 >> 2]; - r29 = HEAP32[r28 + (r25 * 12 & -1) + 4 >> 2]; - L1606 : do { - if ((r29 | 0) != (r28 + (r25 * 12 & -1) | 0)) { - r26 = r29; - while (1) { - __ZN5Avoid6Router14deleteJunctionEPNS_11JunctionRefE(HEAP32[r8], HEAP32[r26 + 8 >> 2]); - r30 = HEAP32[r26 + 4 >> 2]; - if ((r30 | 0) == (HEAP32[r23 >> 2] + (r25 * 12 & -1) | 0)) { - break L1606; - } else { - r26 = r30; - } - } - } - } while (0); - __ZN5Avoid27MinimumTerminalSpanningTreeD1Ev(r5); - __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev(r4); - r29 = r25 + 1 | 0; - if (r29 >>> 0 < r15 >>> 0) { - r25 = r29; - } else { - break; - } - } - r19 = HEAP32[r11]; - r20 = HEAP32[r12]; - } - L1614 : do { - if (r19 >>> 0 < r20 >>> 0) { - r11 = r20; - while (1) { - r25 = r11 - 12 | 0; - HEAP32[r12] = r25; - __ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED1Ev(r25); - r25 = HEAP32[r12]; - if (r19 >>> 0 < r25 >>> 0) { - r11 = r25; - } else { - break L1614; - } - } - } - } while (0); - HEAP32[r1 + 20 >> 2] = HEAP32[r1 + 16 >> 2]; - r19 = r1 + 88 | 0; - r12 = HEAP32[r1 + 92 >> 2]; - r1 = r19; - if ((r12 | 0) == (r1 | 0)) { - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r19); - STACKTOP = r2; - return; - } else { - r32 = r12; - } - while (1) { - r12 = (r32 + 8 | 0) >> 2; - __ZN5Avoid7VertInf15removeFromGraphEb(HEAP32[r12], 1); - __ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE(HEAP32[r8] + 100 | 0, HEAP32[r12]); - r20 = HEAP32[r12]; - if ((r20 | 0) != 0) { - __ZN5Avoid7VertInfD1Ev(r20); - __ZdlPv(r20); - } - r20 = HEAP32[r32 + 4 >> 2]; - if ((r20 | 0) == (r1 | 0)) { - break; - } else { - r32 = r20; - } - } - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r19); - STACKTOP = r2; - return; -} -__ZN5Avoid17HyperedgeRerouter16performReroutingEv["X"] = 1; -function __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (((r6 - r7 | 0) / 12 & -1) >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = (r7 - r8 | 0) / 12 & -1; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 357913941) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = (r6 - r8 | 0) / 12 & -1; - if (r10 >>> 0 > 178956969) { - r11 = 357913941; - } else { - r8 = r10 << 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC1EjjSB_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS9_RSA_EE(r1, r4); - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE8__detachEv(r1) { - var r2, r3, r4, r5; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - r4 = r1 + 4 | 0; - HEAP32[r2 >> 2] = r4; - r2 = r4 | 0; - HEAP32[HEAP32[r2 >> 2] + 8 >> 2] = 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r1 = HEAP32[r3 + 4 >> 2]; - if ((r1 | 0) == 0) { - r5 = r3; - return r5; - } - r5 = r1; - return r5; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__find_leaf_highERPNS_16__tree_node_baseIPvEERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - if (r1 >>> 0 < HEAP32[r3 + 16 >> 2] >>> 0) { - r8 = r3 | 0; - r6 = HEAP32[r8 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1357; - break; - } else { - r3 = r6; - continue; - } - } else { - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1359; - break; - } else { - r3 = r6; - continue; - } - } - } - if (r4 == 1357) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 1359) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } -} -function __ZNSt3__111__tree_leafIPNS_16__tree_node_baseIPvEEEET_S5_(r1) { - var r2; - r2 = r1; - while (1) { - r1 = HEAP32[r2 >> 2]; - if ((r1 | 0) != 0) { - r2 = r1; - continue; - } - r1 = HEAP32[r2 + 4 >> 2]; - if ((r1 | 0) == 0) { - break; - } else { - r2 = r1; - } - } - return r2; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3], r4 = r2 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2; - HEAP32[r4] = r6; - HEAP32[r4 + 1] = r6; - HEAP32[r4 + 2] = 0; - r5 = HEAP32[r3]; - } - r6 = r5 + 12 | 0; - HEAP32[r3] = r6; - r7 = r1 - 1 | 0; - if ((r7 | 0) == 0) { - break; - } else { - r1 = r7; - r2 = r6, r4 = r2 >> 2; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3], r4 = r2 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2; - HEAP32[r4] = r6; - HEAP32[r4 + 1] = r6; - HEAP32[r4 + 2] = 0; - r5 = HEAP32[r3]; - } - r6 = r5 + 12 | 0; - HEAP32[r3] = r6; - r7 = r1 - 1 | 0; - if ((r7 | 0) == 0) { - break; - } else { - r1 = r7; - r2 = r6, r4 = r2 >> 2; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE10push_frontERKS9_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22; - r3 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = (r1 + 4 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = r7; - r9 = (r1 | 0) >> 2; - do { - if ((r7 | 0) == (HEAP32[r9] | 0)) { - r10 = (r1 + 8 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = (r1 + 12 | 0) >> 2; - r13 = HEAP32[r12]; - r14 = r13; - if (r11 >>> 0 >= r13 >>> 0) { - r13 = ((r14 - r8 | 0) / 12 & -1) << 1; - r15 = (r13 | 0) == 0 ? 1 : r13; - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC1EjjSB_(r5, r15, (r15 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE18__construct_at_endINS_13move_iteratorIPS9_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESI_SI_(r5, HEAP32[r6], HEAP32[r10]); - r15 = r5 | 0; - r13 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r15 >> 2]; - HEAP32[r15 >> 2] = r13; - r13 = r5 + 4 | 0; - r15 = HEAP32[r6]; - HEAP32[r6] = HEAP32[r13 >> 2]; - HEAP32[r13 >> 2] = r15; - r15 = r5 + 8 | 0; - r13 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r15 >> 2]; - HEAP32[r15 >> 2] = r13; - r13 = r5 + 12 | 0; - r15 = HEAP32[r12]; - HEAP32[r12] = HEAP32[r13 >> 2]; - HEAP32[r13 >> 2] = r15; - __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED1Ev(r5); - r16 = HEAP32[r6]; - break; - } - r15 = (((r14 - r11 | 0) / 12 & -1) + 1 | 0) / 2 & -1; - r14 = r11 + (r15 * 12 & -1) | 0; - if ((r7 | 0) == (r11 | 0)) { - r17 = r14; - r18 = r7; - } else { - r13 = r15 - 1 - Math.floor(((r11 - 12 + -r8 | 0) >>> 0) / 12) | 0; - r12 = r14; - r14 = r11; - while (1) { - r19 = r12 - 12 | 0; - r20 = r14 - 12 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEaSERKS8_(r19 | 0, r20 | 0); - if ((r7 | 0) == (r20 | 0)) { - break; - } else { - r12 = r19; - r14 = r20; - } - } - r17 = r11 + (r13 * 12 & -1) | 0; - r18 = HEAP32[r10]; - } - HEAP32[r6] = r17; - HEAP32[r10] = r18 + (r15 * 12 & -1) | 0; - r16 = r17; - } else { - r16 = r7; - } - } while (0); - r7 = r16 - 12 | 0; - if ((r7 | 0) == 0) { - r21 = r16; - r22 = r21 - 12 | 0; - HEAP32[r6] = r22; - STACKTOP = r3; - return; - } - r17 = r7 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS8_(r17); - r7 = HEAP32[r2 >> 2]; - r18 = r2 + 4 | 0; - r2 = r16 - 12 + 4 | 0; - L1697 : do { - if ((r7 | 0) != (r18 | 0)) { - r16 = r18; - r8 = r7; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r4, r17, r2, r8 + 16 | 0); - r5 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r8 | 0); - if ((r5 | 0) == (r16 | 0)) { - break L1697; - } else { - r8 = r5; - } - } - } - } while (0); - r21 = HEAP32[r6]; - r22 = r21 - 12 | 0; - HEAP32[r6] = r22; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE10push_frontERKS9_["X"] = 1; -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE18__construct_at_endINS_13move_iteratorIPS9_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESI_SI_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - if ((r3 | 0) == (r2 | 0)) { - STACKTOP = r4; - return; - } - r6 = (r1 + 8 | 0) >> 2; - r1 = HEAP32[r6]; - r7 = r2; - while (1) { - if ((r1 | 0) == 0) { - r8 = 0; - r9 = r7; - } else { - r2 = r1 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS8_(r2); - r10 = HEAP32[r7 >> 2]; - r11 = r7 + 4 | 0; - r12 = r1 + 4 | 0; - L1712 : do { - if ((r10 | 0) != (r11 | 0)) { - r13 = r11; - r14 = r10; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r5, r2, r12, r14 + 16 | 0); - r15 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r14 | 0); - if ((r15 | 0) == (r13 | 0)) { - break L1712; - } else { - r14 = r15; - } - } - } - } while (0); - r8 = HEAP32[r6]; - r9 = r7; - } - r12 = r8 + 12 | 0; - HEAP32[r6] = r12; - r2 = r9 + 12 | 0; - if ((r2 | 0) == (r3 | 0)) { - break; - } else { - r1 = r12; - r7 = r2; - } - } - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEaSERKS8_(r1, r2) { - if ((r1 | 0) == (r2 | 0)) { - return; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__assign_multiINS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEEEEvT_SH_(r1, HEAP32[r2 >> 2], r2 + 4 | 0); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__assign_multiINS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEEEEvT_SH_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r4; - r6 = r4 + 4; - L1726 : do { - if ((HEAP32[r1 + 8 >> 2] | 0) == 0) { - r7 = r2; - } else { - r8 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE8__detachEv(r1); - if ((r8 | 0) == 0) { - r7 = r2; - break; - } else { - r9 = r8; - r10 = r2; - } - while (1) { - if ((r10 | 0) == (r3 | 0)) { - break; - } - HEAP32[r9 + 16 >> 2] = HEAP32[r10 + 16 >> 2]; - r8 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE8__detachEPNS_11__tree_nodeIS3_PvEE(r9); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE19__node_insert_multiEPNS_11__tree_nodeIS3_PvEE(r5, r1, r9); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r10 | 0); - if ((r8 | 0) == 0) { - r7 = r11; - break L1726; - } else { - r9 = r8; - r10 = r11; - } - } - r11 = HEAP32[r9 + 8 >> 2]; - if ((r11 | 0) == 0) { - r12 = r9; - } else { - r8 = r11; - while (1) { - r11 = HEAP32[r8 + 8 >> 2]; - if ((r11 | 0) == 0) { - break; - } else { - r8 = r11; - } - } - r12 = r8; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r12); - r7 = r10; - } - } while (0); - if ((r7 | 0) == (r3 | 0)) { - STACKTOP = r4; - return; - } else { - r13 = r7; - } - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__insert_multiERKS3_(r6, r1, r13 + 16 | 0); - r7 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r13 | 0); - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r13 = r7; - } - } - STACKTOP = r4; - return; -} -__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__assign_multiINS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEEEEvT_SH_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE8__detachEPNS_11__tree_nodeIS3_PvEE(r1) { - var r2, r3, r4, r5; - r2 = (r1 + 8 | 0) >> 2; - r3 = HEAP32[r2]; - if ((r3 | 0) == 0) { - r4 = 0; - return r4; - } - r5 = r3 | 0; - if ((r1 | 0) == (HEAP32[r5 >> 2] | 0)) { - HEAP32[r5 >> 2] = 0; - r5 = HEAP32[r2]; - r1 = HEAP32[r5 + 4 >> 2]; - if ((r1 | 0) == 0) { - r4 = r5; - return r4; - } else { - r4 = __ZNSt3__111__tree_leafIPNS_16__tree_node_baseIPvEEEET_S5_(r1); - return r4; - } - } else { - HEAP32[r3 + 4 >> 2] = 0; - r3 = HEAP32[r2]; - r2 = HEAP32[r3 >> 2]; - if ((r2 | 0) == 0) { - r4 = r3; - return r4; - } else { - r4 = __ZNSt3__111__tree_leafIPNS_16__tree_node_baseIPvEEEET_S5_(r2); - return r4; - } - } -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE19__node_insert_multiEPNS_11__tree_nodeIS3_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__find_leaf_highERPNS_16__tree_node_baseIPvEERKS3_(r2, r5, r3 + 16 | 0); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r5 >> 2], r6, r3 | 0); - HEAP32[r1 >> 2] = r3; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__insert_multiERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__find_leaf_highERPNS_16__tree_node_baseIPvEERKS3_(r2, r5, r3); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = HEAP32[r6 >> 2]; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r5 >> 2], r7, r3 | 0); - HEAP32[r1 >> 2] = r3; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1); - return; -} -function __ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC2EjjSB_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 12 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 12 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 12 & -1) | 0; - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC2EjjS9_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1769 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 12 | 0; - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1769; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev(r1) { - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = (r1 + 8 | 0) >> 2; - r4 = HEAP32[r3]; - L1775 : do { - if (r2 >>> 0 < r4 >>> 0) { - r5 = r4; - while (1) { - r6 = r5 - 12 | 0; - HEAP32[r3] = r6; - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r6); - r6 = HEAP32[r3]; - if (r2 >>> 0 < r6 >>> 0) { - r5 = r6; - } else { - break L1775; - } - } - } - } while (0); - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = r6; - r8 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r8] | 0)) { - r9 = (r1 + 8 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = (r1 + 12 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r12; - if (r10 >>> 0 >= r12 >>> 0) { - r12 = ((r13 - r7 | 0) / 12 & -1) << 1; - r14 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_(r4, r14, (r14 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESG_SG_(r4, HEAP32[r5], HEAP32[r9]); - r14 = r4 | 0; - r12 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 4 | 0; - r14 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - r14 = r4 + 8 | 0; - r12 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 12 | 0; - r14 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - r14 = (((r13 - r10 | 0) / 12 & -1) + 1 | 0) / 2 & -1; - r13 = r10 + (r14 * 12 & -1) | 0; - if ((r6 | 0) == (r10 | 0)) { - r16 = r13; - r17 = r6; - } else { - r12 = r14 - 1 - Math.floor(((r10 - 12 + -r7 | 0) >>> 0) / 12) | 0; - r11 = r13; - r13 = r10; - while (1) { - r18 = r11 - 12 | 0; - r19 = r13 - 12 | 0; - if ((r11 | 0) != (r13 | 0)) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE(r18, HEAP32[r13 - 12 + 4 >> 2], r19); - } - if ((r6 | 0) == (r19 | 0)) { - break; - } else { - r11 = r18; - r13 = r19; - } - } - r16 = r10 + (r12 * 12 & -1) | 0; - r17 = HEAP32[r9]; - } - HEAP32[r5] = r16; - HEAP32[r9] = r17 + (r14 * 12 & -1) | 0; - r15 = r16; - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 12 | 0; - if ((r6 | 0) == 0) { - r20 = r15; - r21 = r20 - 12 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; - } - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1ERKS6_(r6, r2); - r20 = HEAP32[r5]; - r21 = r20 - 12 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_["X"] = 1; -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESG_SG_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1ERKS6_(r2, r1); - r5 = HEAP32[r4]; - } - r6 = r5 + 12 | 0; - HEAP32[r4] = r6; - r7 = r1 + 12 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = r1; - r9 = HEAP32[r1 + 4 >> 2]; - r10 = (r9 | 0) == (r8 | 0); - do { - if ((r2 | 0) == (r3 | 0) | r10) { - if (r10) { - r11 = r2; - r4 = 1492; - break; - } else { - r12 = r9; - r4 = 1493; - break; - } - } else { - r13 = r9; - r14 = r2; - while (1) { - HEAP32[r13 + 8 >> 2] = HEAP32[r14 + 8 >> 2]; - r15 = HEAP32[r14 + 4 >> 2]; - r16 = HEAP32[r13 + 4 >> 2]; - r17 = (r16 | 0) == (r8 | 0); - if ((r15 | 0) == (r3 | 0) | r17) { - break; - } else { - r13 = r16; - r14 = r15; - } - } - if (r17) { - r11 = r15; - r4 = 1492; - break; - } else { - r12 = r16; - r4 = 1493; - break; - } - } - } while (0); - if (r4 == 1492) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r6, r1, r8, r11, r3); - STACKTOP = r5; - return; - } else if (r4 == 1493) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_(r7, r1, r12, r8); - STACKTOP = r5; - return; - } -} -function __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (((r6 - r7 | 0) / 12 & -1) >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = (r7 - r8 | 0) / 12 & -1; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 357913941) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = (r6 - r8 | 0) / 12 & -1; - if (r10 >>> 0 > 178956969) { - r11 = 357913941; - } else { - r8 = r10 << 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE(r1, r4); - __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3], r4 = r2 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2; - HEAP32[r4] = r6; - HEAP32[r4 + 1] = r6; - HEAP32[r4 + 2] = 0; - r5 = HEAP32[r3]; - } - r6 = r5 + 12 | 0; - HEAP32[r3] = r6; - r7 = r1 - 1 | 0; - if ((r7 | 0) == 0) { - break; - } else { - r1 = r7; - r2 = r6, r4 = r2 >> 2; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3], r4 = r2 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2; - HEAP32[r4] = r6; - HEAP32[r4 + 1] = r6; - HEAP32[r4 + 2] = 0; - r5 = HEAP32[r3]; - } - r6 = r5 + 12 | 0; - HEAP32[r3] = r6; - r7 = r1 - 1 | 0; - if ((r7 | 0) == 0) { - break; - } else { - r1 = r7; - r2 = r6, r4 = r2 >> 2; - } - } - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 1524; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 1528; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1527; - break; - } else { - r3 = r6; - } - } - if (r4 == 1524) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 1527) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 1528) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_(r1, r2, r3, r4) { - var r5, r6, r7; - if ((r4 | 0) == (r3 | 0)) { - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; - } - r6 = HEAP32[r4 >> 2] + 4 | 0; - r7 = r3 | 0; - HEAP32[HEAP32[r7 >> 2] + 4 >> 2] = HEAP32[r6 >> 2]; - HEAP32[HEAP32[r6 >> 2] >> 2] = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - r2 = r3; - while (1) { - r3 = HEAP32[r2 + 4 >> 2]; - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] - 1 | 0; - __ZdlPv(r2); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r2 = r3; - } - } - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC2EjjS9_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 12 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 12 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 12 & -1) | 0; - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC2EjjS9_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1884 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 12 | 0; - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1884; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev(r1) { - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED2Ev(r1) { - var r2, r3, r4, r5, r6; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = (r1 + 8 | 0) >> 2; - r4 = HEAP32[r3]; - L1890 : do { - if (r2 >>> 0 < r4 >>> 0) { - r5 = r4; - while (1) { - r6 = r5 - 12 | 0; - HEAP32[r3] = r6; - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev(r6); - r6 = HEAP32[r3]; - if (r2 >>> 0 < r6 >>> 0) { - r5 = r6; - } else { - break L1890; - } - } - } - } while (0); - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = r6; - r8 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r8] | 0)) { - r9 = (r1 + 8 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = (r1 + 12 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r12; - if (r10 >>> 0 >= r12 >>> 0) { - r12 = ((r13 - r7 | 0) / 12 & -1) << 1; - r14 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_(r4, r14, (r14 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESG_SG_(r4, HEAP32[r5], HEAP32[r9]); - r14 = r4 | 0; - r12 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 4 | 0; - r14 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - r14 = r4 + 8 | 0; - r12 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 12 | 0; - r14 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - r14 = (((r13 - r10 | 0) / 12 & -1) + 1 | 0) / 2 & -1; - r13 = r10 + (r14 * 12 & -1) | 0; - if ((r6 | 0) == (r10 | 0)) { - r16 = r13; - r17 = r6; - } else { - r12 = r14 - 1 - Math.floor(((r10 - 12 + -r7 | 0) >>> 0) / 12) | 0; - r11 = r13; - r13 = r10; - while (1) { - r18 = r11 - 12 | 0; - r19 = r13 - 12 | 0; - if ((r11 | 0) != (r13 | 0)) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE(r18, HEAP32[r13 - 12 + 4 >> 2], r19); - } - if ((r6 | 0) == (r19 | 0)) { - break; - } else { - r11 = r18; - r13 = r19; - } - } - r16 = r10 + (r12 * 12 & -1) | 0; - r17 = HEAP32[r9]; - } - HEAP32[r5] = r16; - HEAP32[r9] = r17 + (r14 * 12 & -1) | 0; - r15 = r16; - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 12 | 0; - if ((r6 | 0) == 0) { - r20 = r15; - r21 = r20 - 12 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; - } - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC1ERKS6_(r6, r2); - r20 = HEAP32[r5]; - r21 = r20 - 12 | 0; - HEAP32[r5] = r21; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_["X"] = 1; -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESG_SG_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC1ERKS6_(r2, r1); - r5 = HEAP32[r4]; - } - r6 = r5 + 12 | 0; - HEAP32[r4] = r6; - r7 = r1 + 12 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = r1; - r9 = HEAP32[r1 + 4 >> 2]; - r10 = (r9 | 0) == (r8 | 0); - do { - if ((r2 | 0) == (r3 | 0) | r10) { - if (r10) { - r11 = r2; - r4 = 1585; - break; - } else { - r12 = r9; - r4 = 1586; - break; - } - } else { - r13 = r9; - r14 = r2; - while (1) { - HEAP32[r13 + 8 >> 2] = HEAP32[r14 + 8 >> 2]; - r15 = HEAP32[r14 + 4 >> 2]; - r16 = HEAP32[r13 + 4 >> 2]; - r17 = (r16 | 0) == (r8 | 0); - if ((r15 | 0) == (r3 | 0) | r17) { - break; - } else { - r13 = r16; - r14 = r15; - } - } - if (r17) { - r11 = r15; - r4 = 1585; - break; - } else { - r12 = r16; - r4 = 1586; - break; - } - } - } while (0); - if (r4 == 1585) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r6, r1, r8, r11, r3); - STACKTOP = r5; - return; - } else if (r4 == 1586) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_(r7, r1, r12, r8); - STACKTOP = r5; - return; - } -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_(r1, r2, r3, r4) { - var r5, r6, r7; - if ((r4 | 0) == (r3 | 0)) { - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; - } - r6 = HEAP32[r4 >> 2] + 4 | 0; - r7 = r3 | 0; - HEAP32[HEAP32[r7 >> 2] + 4 >> 2] = HEAP32[r6 >> 2]; - HEAP32[HEAP32[r6 >> 2] >> 2] = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - r2 = r3; - while (1) { - r3 = HEAP32[r2 + 4 >> 2]; - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] - 1 | 0; - __ZdlPv(r2); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r2 = r3; - } - } - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; -} -function __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC2EjjS9_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 12 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 12 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 12 & -1) | 0; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1) { - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14; - r6 = r1 | 0; - HEAP32[r6 >> 2] = r3; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r1 = __Znwj(12); - r7 = r1; - r8 = r1; - HEAP32[r8 >> 2] = 0; - r9 = r1 + 8 | 0; - if ((r9 | 0) != 0) { - HEAP32[r9 >> 2] = HEAP32[r4 + 8 >> 2]; - } - HEAP32[r6 >> 2] = r7; - r6 = HEAP32[r4 + 4 >> 2]; - L1971 : do { - if ((r6 | 0) == (r5 | 0)) { - r10 = r7; - r11 = 1; - } else { - r4 = r7; - r9 = 1; - r1 = r6; - while (1) { - r12 = __Znwj(12); - r13 = r12 + 8 | 0; - if ((r13 | 0) != 0) { - HEAP32[r13 >> 2] = HEAP32[r1 + 8 >> 2]; - } - r13 = r4 + 4 | 0; - HEAP32[r13 >> 2] = r12; - HEAP32[r12 >> 2] = r4; - r12 = HEAP32[r1 + 4 >> 2]; - r14 = HEAP32[r13 >> 2]; - r13 = r9 + 1 | 0; - if ((r12 | 0) == (r5 | 0)) { - r10 = r14; - r11 = r13; - break L1971; - } else { - r4 = r14; - r9 = r13; - r1 = r12; - } - } - } - } while (0); - r5 = (r3 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r7; - HEAP32[r8 >> 2] = HEAP32[r5]; - HEAP32[r5] = r10; - HEAP32[r10 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + r11 | 0; - return; -} -__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE["X"] = 1; -function __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (((r6 - r7 | 0) / 12 & -1) >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = (r7 - r8 | 0) / 12 & -1; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 357913941) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = (r6 - r8 | 0) / 12 & -1; - if (r10 >>> 0 > 178956969) { - r11 = 357913941; - } else { - r8 = r10 << 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE(r1, r4); - __ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14; - r6 = r1 | 0; - HEAP32[r6 >> 2] = r3; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r1 = __Znwj(12); - r7 = r1; - r8 = r1; - HEAP32[r8 >> 2] = 0; - r9 = r1 + 8 | 0; - if ((r9 | 0) != 0) { - HEAP32[r9 >> 2] = HEAP32[r4 + 8 >> 2]; - } - HEAP32[r6 >> 2] = r7; - r6 = HEAP32[r4 + 4 >> 2]; - L2000 : do { - if ((r6 | 0) == (r5 | 0)) { - r10 = r7; - r11 = 1; - } else { - r4 = r7; - r9 = 1; - r1 = r6; - while (1) { - r12 = __Znwj(12); - r13 = r12 + 8 | 0; - if ((r13 | 0) != 0) { - HEAP32[r13 >> 2] = HEAP32[r1 + 8 >> 2]; - } - r13 = r4 + 4 | 0; - HEAP32[r13 >> 2] = r12; - HEAP32[r12 >> 2] = r4; - r12 = HEAP32[r1 + 4 >> 2]; - r14 = HEAP32[r13 >> 2]; - r13 = r9 + 1 | 0; - if ((r12 | 0) == (r5 | 0)) { - r10 = r14; - r11 = r13; - break L2000; - } else { - r4 = r14; - r9 = r13; - r1 = r12; - } - } - } - } while (0); - r5 = (r3 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r7; - HEAP32[r8 >> 2] = HEAP32[r5]; - HEAP32[r5] = r10; - HEAP32[r10 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + r11 | 0; - return; -} -__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC2ERKS6_(r1, r2) { - var r3, r4; - r3 = r1; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2; - r4 = HEAP32[r2 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - return; - } - r2 = r1; - r1 = r4; - while (1) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_(r2, r1 + 8 | 0); - r4 = HEAP32[r1 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - break; - } else { - r1 = r4; - } - } - return; -} -function __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC2ERKS6_(r1, r2) { - var r3, r4, r5; - r3 = r1; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2; - r4 = HEAP32[r2 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - return; - } else { - r5 = r4; - } - while (1) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE9push_backERKS3_(r1, r5 + 8 | 0); - r4 = HEAP32[r5 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - break; - } else { - r5 = r4; - } - } - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED1Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r1) { - __ZN5Avoid17HyperEdgeTreeNodeC2Ev(r1); - return; -} -function __ZN5Avoid17HyperEdgeTreeNodeC2Ev(r1) { - var r2, r3; - r2 = r1 >> 2; - r3 = r1; - HEAP32[r2] = r3; - HEAP32[r2 + 1] = r3; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - __ZN5Avoid5PointC1Ev(r1 + 16 | 0); - HEAP32[r2 + 10] = 0; - HEAP32[r2 + 11] = 0; - return; -} -function __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r1) { - __ZN5Avoid17HyperEdgeTreeNodeD2Ev(r1); - return; -} -function __ZN5Avoid17HyperEdgeTreeNodeD2Ev(r1) { - var r2, r3, r4, r5; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r2; - r4 = r1 + 40 | 0; - r5 = HEAP32[r4 >> 2]; - if ((r5 | 0) != 0) { - HEAP32[r3 >> 2] = r1; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r5 | 0, r3); - HEAP32[r4 >> 2] = 0; - } - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r1 | 0); - STACKTOP = r2; - return; -} -function __ZN5Avoid17HyperEdgeTreeNode24removeOtherJunctionsFromEPNS_17HyperEdgeTreeEdgeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE(r1, r2, r3) { - var r4, r5, r6; - r4 = HEAP32[r1 + 4 >> 2]; - r5 = r1; - if ((r4 | 0) == (r5 | 0)) { - return; - } else { - r6 = r4; - } - while (1) { - r4 = HEAP32[r6 + 8 >> 2]; - if ((r4 | 0) != (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeEdge24removeOtherJunctionsFromEPNS_17HyperEdgeTreeNodeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE(r4, r1, r3); - } - r4 = HEAP32[r6 + 4 >> 2]; - if ((r4 | 0) == (r5 | 0)) { - break; - } else { - r6 = r4; - } - } - return; -} -function __ZN5Avoid17HyperEdgeTreeEdge24removeOtherJunctionsFromEPNS_17HyperEdgeTreeNodeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r1 | 0; - r5 = HEAP32[r4 >> 2]; - do { - if (!((r5 | 0) == 0 | (r5 | 0) == (r2 | 0))) { - __ZN5Avoid17HyperEdgeTreeNode24removeOtherJunctionsFromEPNS_17HyperEdgeTreeEdgeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE(r5, r1, r3); - r6 = HEAP32[r4 >> 2] + 12 | 0; - if ((HEAP32[r6 >> 2] | 0) == 0) { - break; - } - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r3 | 0, r6); - } - } while (0); - r4 = r1 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - if ((r5 | 0) == 0 | (r5 | 0) == (r2 | 0)) { - return; - } - __ZN5Avoid17HyperEdgeTreeNode24removeOtherJunctionsFromEPNS_17HyperEdgeTreeEdgeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE(r5, r1, r3); - r1 = HEAP32[r4 >> 2] + 12 | 0; - if ((HEAP32[r1 >> 2] | 0) == 0) { - return; - } - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r3 | 0, r1); - return; -} -function __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(r1, r2, r3) { - var r4, r5, r6; - r4 = HEAP32[r1 + 4 >> 2]; - r5 = r1; - if ((r4 | 0) == (r5 | 0)) { - return; - } else { - r6 = r4; - } - while (1) { - r4 = HEAP32[r6 + 8 >> 2]; - if ((r4 | 0) != (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeEdge17writeEdgesToConnsEPNS_17HyperEdgeTreeNodeEj(r4, r1, r3); - } - r4 = HEAP32[r6 + 4 >> 2]; - if ((r4 | 0) == (r5 | 0)) { - break; - } else { - r6 = r4; - } - } - return; -} -function __ZN5Avoid17HyperEdgeTreeNode26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = r1 + 12 | 0; - if ((HEAP32[r5 >> 2] | 0) != 0) { - __ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE9push_backERKS3_(r3, r5); - } - r5 = HEAP32[r1 + 4 >> 2]; - r6 = r1; - if ((r5 | 0) == (r6 | 0)) { - return; - } else { - r7 = r5; - } - while (1) { - r5 = HEAP32[r7 + 8 >> 2]; - if ((r5 | 0) != (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeEdge26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE(r5, r1, r3, r4); - } - r5 = HEAP32[r7 + 4 >> 2]; - if ((r5 | 0) == (r6 | 0)) { - break; - } else { - r7 = r5; - } - } - return; -} -function __ZN5Avoid17HyperEdgeTreeEdge17writeEdgesToConnsEPNS_17HyperEdgeTreeNodeEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48; - r4 = r1 >> 2; - r5 = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - r6 = r5; - r7 = r5 + 20; - r8 = r5 + 40; - r9 = r5 + 60; - r10 = r5 + 80; - r11 = r5 + 100; - r12 = r5 + 120; - r13 = r5 + 140; - do { - if ((r3 | 0) == 0) { - __ZN5Avoid7Polygon5clearEv(HEAP32[r4 + 2] + 64 | 0); - } else if ((r3 | 0) == 1) { - r14 = r1 | 0; - r15 = (HEAP32[r14 >> 2] | 0) == (r2 | 0); - r16 = (r1 + 8 | 0) >> 2; - r17 = HEAP32[r16]; - r18 = __ZNK5Avoid7Polygon5emptyEv(r17 + 64 | 0); - if (r15) { - do { - if (r18) { - r15 = r17 + 72 | 0; - r19 = r2 + 16 | 0; - r20 = (r17 + 76 | 0) >> 2; - r21 = HEAP32[r20]; - r22 = r17 + 80 | 0; - r23 = HEAP32[r22 >> 2]; - if (r21 >>> 0 < r23 >>> 0) { - if ((r21 | 0) == 0) { - r24 = 0; - } else { - r25 = r21 >> 2; - r26 = r19 >> 2; - HEAP32[r25] = HEAP32[r26]; - HEAP32[r25 + 1] = HEAP32[r26 + 1]; - HEAP32[r25 + 2] = HEAP32[r26 + 2]; - HEAP32[r25 + 3] = HEAP32[r26 + 3]; - HEAP32[r25 + 4] = HEAP32[r26 + 4]; - HEAP32[r25 + 5] = HEAP32[r26 + 5]; - r24 = HEAP32[r20]; - } - HEAP32[r20] = r24 + 24 | 0; - break; - } - r20 = HEAP32[r15 >> 2]; - r26 = (r21 - r20 | 0) / 24 & -1; - r21 = r26 + 1 | 0; - if (r21 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r25 = (r23 - r20 | 0) / 24 & -1; - if (r25 >>> 0 > 89478484) { - r27 = 178956970; - } else { - r20 = r25 << 1; - r27 = r20 >>> 0 < r21 >>> 0 ? r21 : r20; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r13, r27, r26, r22); - r22 = (r13 + 8 | 0) >> 2; - r26 = HEAP32[r22]; - r20 = r13 + 12 | 0; - do { - if ((r26 | 0) == (HEAP32[r20 >> 2] | 0)) { - r21 = (r13 + 4 | 0) >> 2; - r25 = HEAP32[r21]; - r23 = r13 | 0; - r28 = HEAP32[r23 >> 2]; - if (r25 >>> 0 > r28 >>> 0) { - r29 = r25; - r30 = (((r29 - r28 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r31 = r25 + (r30 * 24 & -1) | 0; - r32 = r26 - r29 | 0; - _memmove(r31, r25, r32, 4, 0); - r29 = r25 + ((((r32 | 0) / 24 & -1) + r30) * 24 & -1) | 0; - HEAP32[r22] = r29; - HEAP32[r21] = r31; - r33 = r29; - break; - } - r29 = ((r26 - r28 | 0) / 24 & -1) << 1; - r31 = (r29 | 0) == 0 ? 1 : r29; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r12, r31, r31 >>> 2, HEAP32[r13 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r12, r25, r26); - r31 = r12 | 0; - HEAP32[r23 >> 2] = HEAP32[r31 >> 2]; - HEAP32[r31 >> 2] = r28; - r28 = r12 + 4 | 0; - HEAP32[r21] = HEAP32[r28 >> 2]; - HEAP32[r28 >> 2] = r25; - r25 = r12 + 8 | 0; - r28 = HEAP32[r25 >> 2]; - HEAP32[r22] = r28; - HEAP32[r25 >> 2] = r26; - r25 = r12 + 12 | 0; - HEAP32[r20 >> 2] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r26; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r12); - r33 = r28; - } else { - r33 = r26; - } - } while (0); - if ((r33 | 0) != 0) { - r26 = r33 >> 2; - r20 = r19 >> 2; - HEAP32[r26] = HEAP32[r20]; - HEAP32[r26 + 1] = HEAP32[r20 + 1]; - HEAP32[r26 + 2] = HEAP32[r20 + 2]; - HEAP32[r26 + 3] = HEAP32[r20 + 3]; - HEAP32[r26 + 4] = HEAP32[r20 + 4]; - HEAP32[r26 + 5] = HEAP32[r20 + 5]; - } - HEAP32[r22] = r33 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r15, r13); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r13); - } - } while (0); - r20 = HEAP32[r16]; - r26 = r20 + 72 | 0; - r28 = HEAP32[r4 + 1] + 16 | 0; - r25 = (r20 + 76 | 0) >> 2; - r21 = HEAP32[r25]; - r31 = r20 + 80 | 0; - r20 = HEAP32[r31 >> 2]; - if (r21 >>> 0 < r20 >>> 0) { - if ((r21 | 0) == 0) { - r34 = 0; - } else { - r23 = r21 >> 2; - r29 = r28 >> 2; - HEAP32[r23] = HEAP32[r29]; - HEAP32[r23 + 1] = HEAP32[r29 + 1]; - HEAP32[r23 + 2] = HEAP32[r29 + 2]; - HEAP32[r23 + 3] = HEAP32[r29 + 3]; - HEAP32[r23 + 4] = HEAP32[r29 + 4]; - HEAP32[r23 + 5] = HEAP32[r29 + 5]; - r34 = HEAP32[r25]; - } - HEAP32[r25] = r34 + 24 | 0; - break; - } - r25 = HEAP32[r26 >> 2]; - r29 = (r21 - r25 | 0) / 24 & -1; - r21 = r29 + 1 | 0; - if (r21 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r23 = (r20 - r25 | 0) / 24 & -1; - if (r23 >>> 0 > 89478484) { - r35 = 178956970; - } else { - r25 = r23 << 1; - r35 = r25 >>> 0 < r21 >>> 0 ? r21 : r25; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r11, r35, r29, r31); - r31 = (r11 + 8 | 0) >> 2; - r29 = HEAP32[r31]; - r25 = r11 + 12 | 0; - do { - if ((r29 | 0) == (HEAP32[r25 >> 2] | 0)) { - r21 = (r11 + 4 | 0) >> 2; - r23 = HEAP32[r21]; - r20 = r11 | 0; - r30 = HEAP32[r20 >> 2]; - if (r23 >>> 0 > r30 >>> 0) { - r32 = r23; - r36 = (((r32 - r30 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r37 = r23 + (r36 * 24 & -1) | 0; - r38 = r29 - r32 | 0; - _memmove(r37, r23, r38, 4, 0); - r32 = r23 + ((((r38 | 0) / 24 & -1) + r36) * 24 & -1) | 0; - HEAP32[r31] = r32; - HEAP32[r21] = r37; - r39 = r32; - break; - } - r32 = ((r29 - r30 | 0) / 24 & -1) << 1; - r37 = (r32 | 0) == 0 ? 1 : r32; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r10, r37, r37 >>> 2, HEAP32[r11 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r10, r23, r29); - r37 = r10 | 0; - HEAP32[r20 >> 2] = HEAP32[r37 >> 2]; - HEAP32[r37 >> 2] = r30; - r30 = r10 + 4 | 0; - HEAP32[r21] = HEAP32[r30 >> 2]; - HEAP32[r30 >> 2] = r23; - r23 = r10 + 8 | 0; - r30 = HEAP32[r23 >> 2]; - HEAP32[r31] = r30; - HEAP32[r23 >> 2] = r29; - r23 = r10 + 12 | 0; - HEAP32[r25 >> 2] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r29; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r10); - r39 = r30; - } else { - r39 = r29; - } - } while (0); - if ((r39 | 0) != 0) { - r29 = r39 >> 2; - r25 = r28 >> 2; - HEAP32[r29] = HEAP32[r25]; - HEAP32[r29 + 1] = HEAP32[r25 + 1]; - HEAP32[r29 + 2] = HEAP32[r25 + 2]; - HEAP32[r29 + 3] = HEAP32[r25 + 3]; - HEAP32[r29 + 4] = HEAP32[r25 + 4]; - HEAP32[r29 + 5] = HEAP32[r25 + 5]; - } - HEAP32[r31] = r39 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r26, r11); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r11); - break; - } else { - do { - if (r18) { - r25 = r17 + 72 | 0; - r29 = HEAP32[r4 + 1] + 16 | 0; - r30 = (r17 + 76 | 0) >> 2; - r23 = HEAP32[r30]; - r21 = r17 + 80 | 0; - r37 = HEAP32[r21 >> 2]; - if (r23 >>> 0 < r37 >>> 0) { - if ((r23 | 0) == 0) { - r40 = 0; - } else { - r20 = r23 >> 2; - r32 = r29 >> 2; - HEAP32[r20] = HEAP32[r32]; - HEAP32[r20 + 1] = HEAP32[r32 + 1]; - HEAP32[r20 + 2] = HEAP32[r32 + 2]; - HEAP32[r20 + 3] = HEAP32[r32 + 3]; - HEAP32[r20 + 4] = HEAP32[r32 + 4]; - HEAP32[r20 + 5] = HEAP32[r32 + 5]; - r40 = HEAP32[r30]; - } - HEAP32[r30] = r40 + 24 | 0; - break; - } - r30 = HEAP32[r25 >> 2]; - r32 = (r23 - r30 | 0) / 24 & -1; - r23 = r32 + 1 | 0; - if (r23 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r20 = (r37 - r30 | 0) / 24 & -1; - if (r20 >>> 0 > 89478484) { - r41 = 178956970; - } else { - r30 = r20 << 1; - r41 = r30 >>> 0 < r23 >>> 0 ? r23 : r30; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r9, r41, r32, r21); - r21 = (r9 + 8 | 0) >> 2; - r32 = HEAP32[r21]; - r30 = r9 + 12 | 0; - do { - if ((r32 | 0) == (HEAP32[r30 >> 2] | 0)) { - r23 = (r9 + 4 | 0) >> 2; - r20 = HEAP32[r23]; - r37 = r9 | 0; - r36 = HEAP32[r37 >> 2]; - if (r20 >>> 0 > r36 >>> 0) { - r38 = r20; - r42 = (((r38 - r36 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r43 = r20 + (r42 * 24 & -1) | 0; - r44 = r32 - r38 | 0; - _memmove(r43, r20, r44, 4, 0); - r38 = r20 + ((((r44 | 0) / 24 & -1) + r42) * 24 & -1) | 0; - HEAP32[r21] = r38; - HEAP32[r23] = r43; - r45 = r38; - break; - } - r38 = ((r32 - r36 | 0) / 24 & -1) << 1; - r43 = (r38 | 0) == 0 ? 1 : r38; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r8, r43, r43 >>> 2, HEAP32[r9 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r8, r20, r32); - r43 = r8 | 0; - HEAP32[r37 >> 2] = HEAP32[r43 >> 2]; - HEAP32[r43 >> 2] = r36; - r36 = r8 + 4 | 0; - HEAP32[r23] = HEAP32[r36 >> 2]; - HEAP32[r36 >> 2] = r20; - r20 = r8 + 8 | 0; - r36 = HEAP32[r20 >> 2]; - HEAP32[r21] = r36; - HEAP32[r20 >> 2] = r32; - r20 = r8 + 12 | 0; - HEAP32[r30 >> 2] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r32; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r8); - r45 = r36; - } else { - r45 = r32; - } - } while (0); - if ((r45 | 0) != 0) { - r32 = r45 >> 2; - r30 = r29 >> 2; - HEAP32[r32] = HEAP32[r30]; - HEAP32[r32 + 1] = HEAP32[r30 + 1]; - HEAP32[r32 + 2] = HEAP32[r30 + 2]; - HEAP32[r32 + 3] = HEAP32[r30 + 3]; - HEAP32[r32 + 4] = HEAP32[r30 + 4]; - HEAP32[r32 + 5] = HEAP32[r30 + 5]; - } - HEAP32[r21] = r45 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r25, r9); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r9); - } - } while (0); - r17 = HEAP32[r16]; - r18 = r17 + 72 | 0; - r26 = HEAP32[r14 >> 2] + 16 | 0; - r31 = (r17 + 76 | 0) >> 2; - r28 = HEAP32[r31]; - r30 = r17 + 80 | 0; - r17 = HEAP32[r30 >> 2]; - if (r28 >>> 0 < r17 >>> 0) { - if ((r28 | 0) == 0) { - r46 = 0; - } else { - r32 = r28 >> 2; - r15 = r26 >> 2; - HEAP32[r32] = HEAP32[r15]; - HEAP32[r32 + 1] = HEAP32[r15 + 1]; - HEAP32[r32 + 2] = HEAP32[r15 + 2]; - HEAP32[r32 + 3] = HEAP32[r15 + 3]; - HEAP32[r32 + 4] = HEAP32[r15 + 4]; - HEAP32[r32 + 5] = HEAP32[r15 + 5]; - r46 = HEAP32[r31]; - } - HEAP32[r31] = r46 + 24 | 0; - break; - } - r31 = HEAP32[r18 >> 2]; - r15 = (r28 - r31 | 0) / 24 & -1; - r28 = r15 + 1 | 0; - if (r28 >>> 0 > 178956970) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r32 = (r17 - r31 | 0) / 24 & -1; - if (r32 >>> 0 > 89478484) { - r47 = 178956970; - } else { - r31 = r32 << 1; - r47 = r31 >>> 0 < r28 >>> 0 ? r28 : r31; - } - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r7, r47, r15, r30); - r30 = (r7 + 8 | 0) >> 2; - r15 = HEAP32[r30]; - r31 = r7 + 12 | 0; - do { - if ((r15 | 0) == (HEAP32[r31 >> 2] | 0)) { - r28 = (r7 + 4 | 0) >> 2; - r32 = HEAP32[r28]; - r17 = r7 | 0; - r22 = HEAP32[r17 >> 2]; - if (r32 >>> 0 > r22 >>> 0) { - r19 = r32; - r36 = (((r19 - r22 | 0) / 24 & -1) + 1 | 0) / -2 & -1; - r20 = r32 + (r36 * 24 & -1) | 0; - r23 = r15 - r19 | 0; - _memmove(r20, r32, r23, 4, 0); - r19 = r32 + ((((r23 | 0) / 24 & -1) + r36) * 24 & -1) | 0; - HEAP32[r30] = r19; - HEAP32[r28] = r20; - r48 = r19; - break; - } - r19 = ((r15 - r22 | 0) / 24 & -1) << 1; - r20 = (r19 | 0) == 0 ? 1 : r19; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_(r6, r20, r20 >>> 2, HEAP32[r7 + 16 >> 2]); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r6, r32, r15); - r20 = r6 | 0; - HEAP32[r17 >> 2] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r22; - r22 = r6 + 4 | 0; - HEAP32[r28] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r32; - r32 = r6 + 8 | 0; - r22 = HEAP32[r32 >> 2]; - HEAP32[r30] = r22; - HEAP32[r32 >> 2] = r15; - r32 = r6 + 12 | 0; - HEAP32[r31 >> 2] = HEAP32[r32 >> 2]; - HEAP32[r32 >> 2] = r15; - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r6); - r48 = r22; - } else { - r48 = r15; - } - } while (0); - if ((r48 | 0) != 0) { - r15 = r48 >> 2; - r31 = r26 >> 2; - HEAP32[r15] = HEAP32[r31]; - HEAP32[r15 + 1] = HEAP32[r31 + 1]; - HEAP32[r15 + 2] = HEAP32[r31 + 2]; - HEAP32[r15 + 3] = HEAP32[r31 + 3]; - HEAP32[r15 + 4] = HEAP32[r31 + 4]; - HEAP32[r15 + 5] = HEAP32[r31 + 5]; - } - HEAP32[r30] = r48 + 24 | 0; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE(r18, r7); - __ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev(r7); - break; - } - } - } while (0); - r7 = HEAP32[r4]; - if (!((r7 | 0) == 0 | (r7 | 0) == (r2 | 0))) { - __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(r7, r1, r3); - } - r7 = HEAP32[r4 + 1]; - if ((r7 | 0) == 0 | (r7 | 0) == (r2 | 0)) { - STACKTOP = r5; - return; - } - __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(r7, r1, r3); - STACKTOP = r5; - return; -} -__ZN5Avoid17HyperEdgeTreeEdge17writeEdgesToConnsEPNS_17HyperEdgeTreeNodeEj["X"] = 1; -function __ZN5Avoid17HyperEdgeTreeNode8addConnsEPNS_17HyperEdgeTreeEdgeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEES8_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r6 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r7 = r6; - do { - if ((r5 | 0) == 0) { - if ((HEAP32[r1 + 12 >> 2] | 0) != 0) { - break; - } - ___assert_func(5248688, 118, 5260680, 5247464); - } - } while (0); - r8 = HEAP32[r1 + 4 >> 2]; - r9 = r1; - if ((r8 | 0) == (r9 | 0)) { - STACKTOP = r6; - return; - } - r10 = r1 + 12 | 0; - r11 = r3; - r12 = r5; - r5 = r8; - while (1) { - r8 = (r5 + 8 | 0) >> 2; - r13 = HEAP32[r8]; - if ((r13 | 0) == (r2 | 0)) { - r14 = r12; - } else { - if ((HEAP32[r10 >> 2] | 0) == 0) { - r15 = r12; - r16 = r13; - } else { - r13 = __Znwj(172); - r17 = r13; - __ZN5Avoid7ConnRefC1EPNS_6RouterEj(r17, r3); - __ZN5Avoid6Router29removeObjectFromQueuedActionsEPKv(r11, r13); - __ZN5Avoid7ConnRef10makeActiveEv(r17); - r18 = r13 + 16 | 0; - HEAP8[r18] = HEAP8[r18] | 16; - __ZN5Avoid7ConnEndC1EPNS_11JunctionRefE(r7, HEAP32[r10 >> 2]); - __ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE(r17, 1, r7); - __ZN5Avoid7ConnEndD1Ev(r7); - r15 = r17; - r16 = HEAP32[r8]; - } - HEAP32[r16 + 8 >> 2] = r15; - __ZN5Avoid17HyperEdgeTreeEdge8addConnsEPNS_17HyperEdgeTreeNodeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEE(HEAP32[r8], r1, r3, r4); - r14 = r15; - } - r8 = HEAP32[r5 + 4 >> 2]; - if ((r8 | 0) == (r9 | 0)) { - break; - } else { - r12 = r14; - r5 = r8; - } - } - STACKTOP = r6; - return; -} -__ZN5Avoid17HyperEdgeTreeNode8addConnsEPNS_17HyperEdgeTreeEdgeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEES8_["X"] = 1; -function __ZN5Avoid17HyperEdgeTreeEdge8addConnsEPNS_17HyperEdgeTreeNodeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - r6 = r5; - r7 = r5 + 48; - r8 = (r1 + 8 | 0) >> 2; - if ((HEAP32[r8] | 0) == 0) { - ___assert_func(5248688, 537, 5260916, 5244440); - } - r9 = HEAP32[r1 >> 2]; - if ((r9 | 0) == 0 | (r9 | 0) == (r2 | 0)) { - r10 = 0; - } else { - __ZN5Avoid17HyperEdgeTreeNode8addConnsEPNS_17HyperEdgeTreeEdgeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEES8_(r9, r1, r3, r4, HEAP32[r8]); - r10 = r9; - } - r9 = HEAP32[r1 + 4 >> 2]; - if ((r9 | 0) == 0 | (r9 | 0) == (r2 | 0)) { - r11 = r10; - } else { - __ZN5Avoid17HyperEdgeTreeNode8addConnsEPNS_17HyperEdgeTreeEdgeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEES8_(r9, r1, r3, r4, HEAP32[r8]); - r11 = r9; - } - r9 = r11 + 44 | 0; - if ((HEAP32[r9 >> 2] | 0) == 0) { - r3 = HEAP32[r11 + 12 >> 2]; - if ((r3 | 0) == 0) { - STACKTOP = r5; - return; - } - __ZN5Avoid7ConnEndC1EPNS_11JunctionRefE(r7, r3); - __ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE(HEAP32[r8], 2, r7); - __ZN5Avoid7ConnEndD1Ev(r7); - STACKTOP = r5; - return; - } - __ZN5Avoid7ConnEndC1Ev(r6); - r7 = r4; - r3 = 0; - r11 = r4 + 4 | 0; - while (1) { - r4 = HEAP32[r11 >> 2]; - if ((r4 | 0) == (r7 | 0)) { - r12 = r3; - break; - } - r1 = __ZNK5Avoid7ConnRef27getConnEndForEndpointVertexEPNS_7VertInfERNS_7ConnEndE(HEAP32[r4 + 8 >> 2], HEAP32[r9 >> 2], r6) & 1 | r3; - if ((r1 & 1) << 24 >> 24 == 0) { - r3 = r1; - r11 = r4 + 4 | 0; - } else { - r12 = r1; - break; - } - } - if ((r12 & 1) << 24 >> 24 != 0) { - __ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE(HEAP32[r8], 2, r6); - } - __ZN5Avoid7ConnEndD1Ev(r6); - STACKTOP = r5; - return; -} -__ZN5Avoid17HyperEdgeTreeEdge8addConnsEPNS_17HyperEdgeTreeNodeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEE["X"] = 1; -function __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(r1, r2) { - var r3, r4; - r3 = HEAP32[r1 >> 2]; - if ((r3 | 0) != (r2 | 0)) { - r4 = r3; - return r4; - } - r4 = HEAP32[r1 + 4 >> 2]; - return r4; -} -function __ZN5Avoid17HyperEdgeTreeEdge26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9; - r5 = 0; - r6 = r4; - r7 = r1 + 8 | 0; - r8 = r4 + 4 | 0; - while (1) { - r9 = HEAP32[r8 >> 2]; - if ((r9 | 0) == (r6 | 0)) { - r5 = 1863; - break; - } - if ((HEAP32[r9 + 8 >> 2] | 0) == (HEAP32[r7 >> 2] | 0)) { - break; - } else { - r8 = r9 + 4 | 0; - } - } - if (r5 == 1863) { - __ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_(r4, r7); - } - r7 = HEAP32[r1 >> 2]; - if ((r7 | 0) != (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeNode26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE(r7, r1, r3, r4); - return; - } - r7 = HEAP32[r1 + 4 >> 2]; - if ((r7 | 0) == (r2 | 0)) { - return; - } - __ZN5Avoid17HyperEdgeTreeNode26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE(r7, r1, r3, r4); - return; -} -function __ZN5Avoid17HyperEdgeTreeNode21removeZeroLengthEdgesEPNS_17HyperEdgeTreeEdgeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = 0; - r4 = HEAP32[r1 + 4 >> 2]; - r5 = r1; - if ((r4 | 0) == (r5 | 0)) { - return; - } else { - r6 = r1; - r7 = r4; - r8 = r5; - } - L2268 : while (1) { - r5 = r6 + 12 | 0; - r4 = r7; - L2270 : while (1) { - r9 = HEAP32[r4 + 8 >> 2]; - if ((r9 | 0) != (r2 | 0)) { - do { - if (__ZNK5Avoid17HyperEdgeTreeEdge10zeroLengthEv(HEAP32[r9 >> 2], HEAP32[r9 + 4 >> 2])) { - r1 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(r9, r6); - if ((HEAP32[r1 + 12 >> 2] | 0) == 0) { - r10 = r6; - r11 = r1; - } else { - if ((HEAP32[r5 >> 2] | 0) == 0) { - r10 = r1; - r11 = r6; - } else { - break; - } - } - if ((r10 | 0) != 0) { - break L2270; - } - } - } while (0); - __ZN5Avoid17HyperEdgeTreeEdge21removeZeroLengthEdgesEPNS_17HyperEdgeTreeNodeE(r9, r6); - } - r1 = HEAP32[r4 + 4 >> 2]; - if ((r1 | 0) == (r8 | 0)) { - r3 = 1889; - break L2268; - } else { - r4 = r1; - } - } - __ZN5Avoid17HyperEdgeTreeEdge14disconnectEdgeEv(r9); - if ((r9 | 0) != 0) { - __ZdlPv(r9); - } - __ZN5Avoid17HyperEdgeTreeNode15spliceEdgesFromEPS0_(r10, r11); - if ((r11 | 0) != 0) { - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r11); - __ZdlPv(r11); - } - r4 = HEAP32[r10 + 4 >> 2]; - r5 = r10; - if ((r4 | 0) == (r5 | 0)) { - r3 = 1891; - break; - } else { - r6 = r10; - r7 = r4; - r8 = r5; - } - } - if (r3 == 1889) { - return; - } else if (r3 == 1891) { - return; - } -} -__ZN5Avoid17HyperEdgeTreeNode21removeZeroLengthEdgesEPNS_17HyperEdgeTreeEdgeE["X"] = 1; -function __ZNK5Avoid17HyperEdgeTreeEdge10zeroLengthEv(r1, r2) { - return __ZNK5Avoid5PointeqERKS0_(r1 + 16 | 0, r2 + 16 | 0); -} -function __ZN5Avoid17HyperEdgeTreeEdge14disconnectEdgeEv(r1) { - var r2, r3; - r2 = (r1 | 0) >> 2; - if ((HEAP32[r2] | 0) == 0) { - ___assert_func(5248688, 643, 5261120, 5243080); - } - r3 = (r1 + 4 | 0) >> 2; - if ((HEAP32[r3] | 0) == 0) { - ___assert_func(5248688, 644, 5261120, 5252488); - } - __ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE(HEAP32[r2], r1); - __ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE(HEAP32[r3], r1); - HEAP32[r2] = 0; - HEAP32[r3] = 0; - return; -} -function __ZN5Avoid17HyperEdgeTreeNode15spliceEdgesFromEPS0_(r1, r2) { - var r3, r4, r5, r6; - r3 = r2 + 4 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r2; - if ((r4 | 0) == (r5 | 0)) { - return; - } else { - r6 = r4; - } - while (1) { - __ZN5Avoid17HyperEdgeTreeEdge11replaceNodeEPNS_17HyperEdgeTreeNodeES2_(HEAP32[r6 + 8 >> 2], r2, r1); - r4 = HEAP32[r3 >> 2]; - if ((r4 | 0) == (r5 | 0)) { - break; - } else { - r6 = r4; - } - } - return; -} -function __ZN5Avoid17HyperEdgeTreeEdge21removeZeroLengthEdgesEPNS_17HyperEdgeTreeNodeE(r1, r2) { - var r3; - r3 = HEAP32[r1 >> 2]; - if ((r3 | 0) != (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeNode21removeZeroLengthEdgesEPNS_17HyperEdgeTreeEdgeE(r3, r1); - } - r3 = HEAP32[r1 + 4 >> 2]; - if ((r3 | 0) == (r2 | 0)) { - return; - } - __ZN5Avoid17HyperEdgeTreeNode21removeZeroLengthEdgesEPNS_17HyperEdgeTreeEdgeE(r3, r1); - return; -} -function __ZN5Avoid17HyperEdgeTreeNode17deleteEdgesExceptEPNS_17HyperEdgeTreeEdgeE(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 | 0; - r4 = HEAP32[r1 + 4 >> 2]; - r5 = r1; - if ((r4 | 0) == (r5 | 0)) { - __ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5clearEv(r3); - return; - } else { - r6 = r4; - } - while (1) { - r4 = r6 + 8 | 0; - r7 = HEAP32[r4 >> 2]; - do { - if ((r7 | 0) != (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeEdge17deleteNodesExceptEPNS_17HyperEdgeTreeNodeE(r7, r1); - r8 = HEAP32[r4 >> 2]; - if ((r8 | 0) == 0) { - break; - } - __ZdlPv(r8); - } - } while (0); - r4 = HEAP32[r6 + 4 >> 2]; - if ((r4 | 0) == (r5 | 0)) { - break; - } else { - r6 = r4; - } - } - __ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5clearEv(r3); - return; -} -function __ZN5Avoid17HyperEdgeTreeEdge17deleteNodesExceptEPNS_17HyperEdgeTreeNodeE(r1, r2) { - var r3, r4, r5; - r3 = (r1 | 0) >> 2; - r4 = HEAP32[r3]; - do { - if (!((r4 | 0) == 0 | (r4 | 0) == (r2 | 0))) { - __ZN5Avoid17HyperEdgeTreeNode17deleteEdgesExceptEPNS_17HyperEdgeTreeEdgeE(r4, r1); - r5 = HEAP32[r3]; - if ((r5 | 0) == 0) { - break; - } - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r5); - __ZdlPv(r5); - } - } while (0); - HEAP32[r3] = 0; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - if ((r4 | 0) == 0 | (r4 | 0) == (r2 | 0)) { - HEAP32[r3] = 0; - return; - } - __ZN5Avoid17HyperEdgeTreeNode17deleteEdgesExceptEPNS_17HyperEdgeTreeEdgeE(r4, r1); - r1 = HEAP32[r3]; - if ((r1 | 0) == 0) { - HEAP32[r3] = 0; - return; - } - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r1); - __ZdlPv(r1); - HEAP32[r3] = 0; - return; -} -__ZN5Avoid17HyperEdgeTreeEdge17deleteNodesExceptEPNS_17HyperEdgeTreeNodeE["X"] = 1; -function __ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = r1 | 0; - r6 = HEAP32[r1 + 4 >> 2]; - r7 = r1; - if ((r6 | 0) == (r7 | 0)) { - STACKTOP = r3; - return; - } - r1 = r4 | 0; - r8 = r6; - while (1) { - if ((HEAP32[r8 + 8 >> 2] | 0) == (r2 | 0)) { - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r4, r5, r8); - r9 = HEAP32[r1 >> 2]; - } else { - r9 = HEAP32[r8 + 4 >> 2]; - } - if ((r9 | 0) == (r7 | 0)) { - break; - } else { - r8 = r9; - } - } - STACKTOP = r3; - return; -} -function __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZN5Avoid17HyperEdgeTreeEdge11replaceNodeEPNS_17HyperEdgeTreeNodeES2_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = r1 | 0; - if ((HEAP32[r7 >> 2] | 0) == (r2 | 0)) { - __ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE(r2, r1); - HEAP32[r5 >> 2] = r1; - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_(r3 | 0, r5); - HEAP32[r7 >> 2] = r3; - STACKTOP = r4; - return; - } - r7 = r1 + 4 | 0; - if ((HEAP32[r7 >> 2] | 0) != (r2 | 0)) { - STACKTOP = r4; - return; - } - __ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE(r2, r1); - HEAP32[r6 >> 2] = r1; - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_(r3 | 0, r6); - HEAP32[r7 >> 2] = r3; - STACKTOP = r4; - return; -} -function __ZN5Avoid17HyperEdgeTreeNode27moveJunctionAlongCommonEdgeEPS0_(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114, r115, r116, r117, r118, r119, r120, r121; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 224 | 0; - r4 = r3; - r5 = r3 + 20; - r6 = r3 + 40; - r7 = r3 + 60; - r8 = r3 + 80; - r9 = r3 + 100; - r10 = r3 + 120; - r11 = r3 + 140; - r12 = r3 + 160; - r13 = r3 + 180; - r14 = r3 + 200; - r15 = r3 + 212; - r16 = (r1 + 12 | 0) >> 2; - if ((HEAP32[r16] | 0) == 0) { - ___assert_func(5248688, 281, 5260800, 5246424); - } - r17 = (r14 | 0) >> 2; - HEAP32[r17] = 0; - r18 = (r14 + 4 | 0) >> 2; - HEAP32[r18] = 0; - r19 = r14 + 8 | 0; - r20 = (r19 | 0) >> 2; - HEAP32[r20] = 0; - r21 = (r15 | 0) >> 2; - HEAP32[r21] = 0; - r22 = (r15 + 4 | 0) >> 2; - HEAP32[r22] = 0; - r23 = r15 + 8 | 0; - r24 = (r23 | 0) >> 2; - HEAP32[r24] = 0; - r25 = r1 + 4 | 0; - r26 = HEAP32[r25 >> 2]; - r27 = r1; - if ((r26 | 0) == (r27 | 0)) { - r28 = 0; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r15); - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r14); - STACKTOP = r3; - return r28; - } - r29 = r19; - r19 = (r13 + 8 | 0) >> 2; - r30 = r13 + 12 | 0; - r31 = (r13 + 4 | 0) >> 2; - r32 = r13 | 0; - r33 = r13 + 16 | 0; - r34 = r12 | 0; - r35 = r12 + 4 | 0; - r36 = r12 + 8 | 0; - r37 = r12 + 12 | 0; - r38 = (r9 + 8 | 0) >> 2; - r39 = r9 + 12 | 0; - r40 = (r9 + 4 | 0) >> 2; - r41 = r9 | 0; - r42 = r9 + 16 | 0; - r43 = r8 | 0; - r44 = r8 + 4 | 0; - r45 = r8 + 8 | 0; - r46 = r8 + 12 | 0; - r47 = r23; - r23 = (r11 + 8 | 0) >> 2; - r48 = r11 + 12 | 0; - r49 = (r11 + 4 | 0) >> 2; - r50 = r11 | 0; - r51 = r11 + 16 | 0; - r52 = r10 | 0; - r53 = r10 + 4 | 0; - r54 = r10 + 8 | 0; - r55 = r10 + 12 | 0; - r56 = r1 + 16 | 0; - r57 = (r7 + 8 | 0) >> 2; - r58 = r7 + 12 | 0; - r59 = (r7 + 4 | 0) >> 2; - r60 = r7 | 0; - r61 = r7 + 16 | 0; - r62 = r6 | 0; - r63 = r6 + 4 | 0; - r64 = r6 + 8 | 0; - r65 = r6 + 12 | 0; - r66 = (r5 + 8 | 0) >> 2; - r67 = r5 + 12 | 0; - r68 = (r5 + 4 | 0) >> 2; - r69 = r5 | 0; - r70 = r5 + 16 | 0; - r71 = r4 | 0; - r72 = r4 + 4 | 0; - r73 = r4 + 8 | 0; - r74 = r4 + 12 | 0; - r75 = r26; - r26 = 0; - r76 = 0; - L2366 : while (1) { - r77 = HEAP32[r75 + 8 >> 2]; - r78 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(r77, r1); - HEAP32[r18] = r26; - HEAP32[r22] = r76; - do { - if ((HEAP32[r78 + 12 >> 2] | 0) == 0) { - r79 = HEAP32[r20]; - if (r26 >>> 0 < r79 >>> 0) { - if ((r26 | 0) == 0) { - r80 = 0; - } else { - HEAP32[r26 >> 2] = r77; - r80 = HEAP32[r18]; - } - HEAP32[r18] = r80 + 4 | 0; - } else { - r81 = r79 - r26 | 0; - if (r81 >> 2 >>> 0 > 536870910) { - r82 = 1073741823; - } else { - r79 = r81 >> 1; - r82 = (r79 | 0) == 0 ? 1 : r79; - } - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r13, r82, 0, r29); - r79 = HEAP32[r19]; - do { - if ((r79 | 0) == (HEAP32[r30 >> 2] | 0)) { - r81 = HEAP32[r31]; - r83 = HEAP32[r32 >> 2]; - if (r81 >>> 0 > r83 >>> 0) { - r84 = r81; - r85 = (r84 - r83 + 4 >> 2 | 0) / -2 & -1; - r86 = (r85 << 2) + r81 | 0; - r87 = r79 - r84 | 0; - _memmove(r86, r81, r87, 4, 0); - r84 = ((r87 >> 2) + r85 << 2) + r81 | 0; - HEAP32[r19] = r84; - HEAP32[r31] = r86; - r88 = r84; - break; - } - r84 = r79 - r83 >> 1; - r86 = (r84 | 0) == 0 ? 1 : r84; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r12, r86, r86 >>> 2, HEAP32[r33 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r12, r81, r79); - HEAP32[r32 >> 2] = HEAP32[r34 >> 2]; - HEAP32[r34 >> 2] = r83; - HEAP32[r31] = HEAP32[r35 >> 2]; - HEAP32[r35 >> 2] = r81; - r81 = HEAP32[r36 >> 2]; - HEAP32[r19] = r81; - HEAP32[r36 >> 2] = r79; - HEAP32[r30 >> 2] = HEAP32[r37 >> 2]; - HEAP32[r37 >> 2] = r79; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r12); - r88 = r81; - } else { - r88 = r79; - } - } while (0); - if ((r88 | 0) == 0) { - r89 = 0; - } else { - HEAP32[r88 >> 2] = r77; - r89 = r88; - } - HEAP32[r19] = r89 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r14, r13); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r13); - } - r79 = HEAP32[r25 >> 2]; - L2392 : do { - if ((r79 | 0) != (r27 | 0)) { - r81 = r78 + 16 | 0; - r83 = r79; - while (1) { - do { - if ((r75 | 0) != (r83 | 0)) { - r86 = HEAP32[r83 + 8 >> 2]; - r84 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(r86, r1); - r85 = r84 + 16 | 0; - if (__ZNK5Avoid5PointeqERKS0_(r85, r81)) { - if ((HEAP32[r84 + 12 >> 2] | 0) == 0) { - r84 = HEAP32[r18]; - r87 = HEAP32[r20]; - if (r84 >>> 0 < r87 >>> 0) { - if ((r84 | 0) == 0) { - r90 = 0; - } else { - HEAP32[r84 >> 2] = r86; - r90 = HEAP32[r18]; - } - HEAP32[r18] = r90 + 4 | 0; - break; - } - r91 = HEAP32[r17]; - r92 = r84 - r91 + 4 >> 2 | 0; - if (r92 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r93 = HEAP32[r20]; - r94 = HEAP32[r17]; - } else { - r93 = r87; - r94 = r91; - } - r91 = r94; - r87 = r93 - r91 | 0; - if (r87 >> 2 >>> 0 > 536870910) { - r95 = 1073741823; - } else { - r84 = r87 >> 1; - r95 = r84 >>> 0 < r92 >>> 0 ? r92 : r84; - } - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r9, r95, HEAP32[r18] - r91 >> 2, r29); - r91 = HEAP32[r38]; - do { - if ((r91 | 0) == (HEAP32[r39 >> 2] | 0)) { - r84 = HEAP32[r40]; - r92 = HEAP32[r41 >> 2]; - if (r84 >>> 0 > r92 >>> 0) { - r87 = r84; - r96 = (r87 - r92 + 4 >> 2 | 0) / -2 & -1; - r97 = (r96 << 2) + r84 | 0; - r98 = r91 - r87 | 0; - _memmove(r97, r84, r98, 4, 0); - r87 = ((r98 >> 2) + r96 << 2) + r84 | 0; - HEAP32[r38] = r87; - HEAP32[r40] = r97; - r99 = r87; - break; - } - r87 = r91 - r92 >> 1; - r97 = (r87 | 0) == 0 ? 1 : r87; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r8, r97, r97 >>> 2, HEAP32[r42 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r8, r84, r91); - HEAP32[r41 >> 2] = HEAP32[r43 >> 2]; - HEAP32[r43 >> 2] = r92; - HEAP32[r40] = HEAP32[r44 >> 2]; - HEAP32[r44 >> 2] = r84; - r84 = HEAP32[r45 >> 2]; - HEAP32[r38] = r84; - HEAP32[r45 >> 2] = r91; - HEAP32[r39 >> 2] = HEAP32[r46 >> 2]; - HEAP32[r46 >> 2] = r91; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r8); - r99 = r84; - } else { - r99 = r91; - } - } while (0); - if ((r99 | 0) == 0) { - r100 = 0; - } else { - HEAP32[r99 >> 2] = r86; - r100 = r99; - } - HEAP32[r38] = r100 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r14, r9); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r9); - break; - } else { - r91 = HEAP32[r22]; - r84 = HEAP32[r24]; - if (r91 >>> 0 < r84 >>> 0) { - if ((r91 | 0) == 0) { - r101 = 0; - } else { - HEAP32[r91 >> 2] = r86; - r101 = HEAP32[r22]; - } - HEAP32[r22] = r101 + 4 | 0; - break; - } - r92 = HEAP32[r21]; - r97 = r91 - r92 + 4 >> 2 | 0; - if (r97 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r102 = HEAP32[r24]; - r103 = HEAP32[r21]; - } else { - r102 = r84; - r103 = r92; - } - r92 = r103; - r84 = r102 - r92 | 0; - if (r84 >> 2 >>> 0 > 536870910) { - r104 = 1073741823; - } else { - r91 = r84 >> 1; - r104 = r91 >>> 0 < r97 >>> 0 ? r97 : r91; - } - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r11, r104, HEAP32[r22] - r92 >> 2, r47); - r92 = HEAP32[r23]; - do { - if ((r92 | 0) == (HEAP32[r48 >> 2] | 0)) { - r91 = HEAP32[r49]; - r97 = HEAP32[r50 >> 2]; - if (r91 >>> 0 > r97 >>> 0) { - r84 = r91; - r87 = (r84 - r97 + 4 >> 2 | 0) / -2 & -1; - r96 = (r87 << 2) + r91 | 0; - r98 = r92 - r84 | 0; - _memmove(r96, r91, r98, 4, 0); - r84 = ((r98 >> 2) + r87 << 2) + r91 | 0; - HEAP32[r23] = r84; - HEAP32[r49] = r96; - r105 = r84; - break; - } - r84 = r92 - r97 >> 1; - r96 = (r84 | 0) == 0 ? 1 : r84; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r10, r96, r96 >>> 2, HEAP32[r51 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r10, r91, r92); - HEAP32[r50 >> 2] = HEAP32[r52 >> 2]; - HEAP32[r52 >> 2] = r97; - HEAP32[r49] = HEAP32[r53 >> 2]; - HEAP32[r53 >> 2] = r91; - r91 = HEAP32[r54 >> 2]; - HEAP32[r23] = r91; - HEAP32[r54 >> 2] = r92; - HEAP32[r48 >> 2] = HEAP32[r55 >> 2]; - HEAP32[r55 >> 2] = r92; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r10); - r105 = r91; - } else { - r105 = r92; - } - } while (0); - if ((r105 | 0) == 0) { - r106 = 0; - } else { - HEAP32[r105 >> 2] = r86; - r106 = r105; - } - HEAP32[r23] = r106 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r15, r11); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r11); - break; - } - } - if (!__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r56, r85, r81, 0)) { - r92 = HEAP32[r22]; - r91 = HEAP32[r24]; - if (r92 >>> 0 < r91 >>> 0) { - if ((r92 | 0) == 0) { - r107 = 0; - } else { - HEAP32[r92 >> 2] = r86; - r107 = HEAP32[r22]; - } - HEAP32[r22] = r107 + 4 | 0; - break; - } - r97 = HEAP32[r21]; - r96 = r92 - r97 + 4 >> 2 | 0; - if (r96 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r108 = HEAP32[r24]; - r109 = HEAP32[r21]; - } else { - r108 = r91; - r109 = r97; - } - r97 = r109; - r91 = r108 - r97 | 0; - if (r91 >> 2 >>> 0 > 536870910) { - r110 = 1073741823; - } else { - r92 = r91 >> 1; - r110 = r92 >>> 0 < r96 >>> 0 ? r96 : r92; - } - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r5, r110, HEAP32[r22] - r97 >> 2, r47); - r97 = HEAP32[r66]; - do { - if ((r97 | 0) == (HEAP32[r67 >> 2] | 0)) { - r92 = HEAP32[r68]; - r96 = HEAP32[r69 >> 2]; - if (r92 >>> 0 > r96 >>> 0) { - r91 = r92; - r84 = (r91 - r96 + 4 >> 2 | 0) / -2 & -1; - r87 = (r84 << 2) + r92 | 0; - r98 = r97 - r91 | 0; - _memmove(r87, r92, r98, 4, 0); - r91 = ((r98 >> 2) + r84 << 2) + r92 | 0; - HEAP32[r66] = r91; - HEAP32[r68] = r87; - r111 = r91; - break; - } - r91 = r97 - r96 >> 1; - r87 = (r91 | 0) == 0 ? 1 : r91; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r4, r87, r87 >>> 2, HEAP32[r70 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, r92, r97); - HEAP32[r69 >> 2] = HEAP32[r71 >> 2]; - HEAP32[r71 >> 2] = r96; - HEAP32[r68] = HEAP32[r72 >> 2]; - HEAP32[r72 >> 2] = r92; - r92 = HEAP32[r73 >> 2]; - HEAP32[r66] = r92; - HEAP32[r73 >> 2] = r97; - HEAP32[r67 >> 2] = HEAP32[r74 >> 2]; - HEAP32[r74 >> 2] = r97; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r4); - r111 = r92; - } else { - r111 = r97; - } - } while (0); - if ((r111 | 0) == 0) { - r112 = 0; - } else { - HEAP32[r111 >> 2] = r86; - r112 = r111; - } - HEAP32[r66] = r112 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r15, r5); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r5); - break; - } - __ZN5Avoid17HyperEdgeTreeEdge20splitFromNodeAtPointEPNS_17HyperEdgeTreeNodeERKNS_5PointE(r86, r1, r81); - r97 = HEAP32[r18]; - r85 = HEAP32[r20]; - if (r97 >>> 0 < r85 >>> 0) { - if ((r97 | 0) == 0) { - r113 = 0; - } else { - HEAP32[r97 >> 2] = r86; - r113 = HEAP32[r18]; - } - HEAP32[r18] = r113 + 4 | 0; - break; - } - r92 = HEAP32[r17]; - r96 = r97 - r92 + 4 >> 2 | 0; - if (r96 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r114 = HEAP32[r20]; - r115 = HEAP32[r17]; - } else { - r114 = r85; - r115 = r92; - } - r92 = r115; - r85 = r114 - r92 | 0; - if (r85 >> 2 >>> 0 > 536870910) { - r116 = 1073741823; - } else { - r97 = r85 >> 1; - r116 = r97 >>> 0 < r96 >>> 0 ? r96 : r97; - } - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r7, r116, HEAP32[r18] - r92 >> 2, r29); - r92 = HEAP32[r57]; - do { - if ((r92 | 0) == (HEAP32[r58 >> 2] | 0)) { - r97 = HEAP32[r59]; - r96 = HEAP32[r60 >> 2]; - if (r97 >>> 0 > r96 >>> 0) { - r85 = r97; - r87 = (r85 - r96 + 4 >> 2 | 0) / -2 & -1; - r91 = (r87 << 2) + r97 | 0; - r84 = r92 - r85 | 0; - _memmove(r91, r97, r84, 4, 0); - r85 = ((r84 >> 2) + r87 << 2) + r97 | 0; - HEAP32[r57] = r85; - HEAP32[r59] = r91; - r117 = r85; - break; - } - r85 = r92 - r96 >> 1; - r91 = (r85 | 0) == 0 ? 1 : r85; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r6, r91, r91 >>> 2, HEAP32[r61 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r6, r97, r92); - HEAP32[r60 >> 2] = HEAP32[r62 >> 2]; - HEAP32[r62 >> 2] = r96; - HEAP32[r59] = HEAP32[r63 >> 2]; - HEAP32[r63 >> 2] = r97; - r97 = HEAP32[r64 >> 2]; - HEAP32[r57] = r97; - HEAP32[r64 >> 2] = r92; - HEAP32[r58 >> 2] = HEAP32[r65 >> 2]; - HEAP32[r65 >> 2] = r92; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r6); - r117 = r97; - } else { - r117 = r92; - } - } while (0); - if ((r117 | 0) == 0) { - r118 = 0; - } else { - HEAP32[r117 >> 2] = r86; - r118 = r117; - } - HEAP32[r57] = r118 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r14, r7); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r7); - } - } while (0); - r92 = HEAP32[r83 + 4 >> 2]; - if ((r92 | 0) == (r27 | 0)) { - break L2392; - } else { - r83 = r92; - } - } - } - } while (0); - r119 = HEAP32[r17]; - if (HEAP32[r18] - r119 >> 2 >>> 0 <= 1) { - r120 = r119; - break; - } - if (HEAP32[r22] - HEAP32[r21] >> 2 >>> 0 < 2) { - break L2366; - } else { - r120 = r119; - } - } else { - r120 = r26; - } - } while (0); - r78 = HEAP32[r75 + 4 >> 2]; - if ((r78 | 0) == (r27 | 0)) { - r28 = 0; - r2 = 2096; - break; - } - r75 = r78; - r26 = r120; - r76 = HEAP32[r21]; - } - if (r2 == 2096) { - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r15); - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r14); - STACKTOP = r3; - return r28; - } - r2 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(HEAP32[r119 >> 2], r1); - r76 = 1; - r120 = r119; - while (1) { - r119 = HEAP32[r120 + (r76 << 2) >> 2]; - r26 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(r119, r1); - __ZN5Avoid17HyperEdgeTreeEdge14disconnectEdgeEv(r119); - __ZN5Avoid17HyperEdgeTreeNode15spliceEdgesFromEPS0_(r2, r26); - if ((r26 | 0) != 0) { - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r26); - __ZdlPv(r26); - } - r26 = HEAP32[r17]; - r119 = HEAP32[r26 + (r76 << 2) >> 2]; - if ((r119 | 0) == 0) { - r121 = r26; - } else { - __ZdlPv(r119); - r121 = HEAP32[r17]; - } - r119 = r76 + 1 | 0; - if (r119 >>> 0 < HEAP32[r18] - r121 >> 2 >>> 0) { - r76 = r119; - r120 = r121; - } else { - break; - } - } - HEAP32[r2 + 12 >> 2] = HEAP32[r16]; - HEAP32[r16] = 0; - r16 = HEAP32[r21]; - if ((r16 | 0) != (HEAP32[r22] | 0)) { - HEAP32[HEAP32[HEAP32[r17] >> 2] + 8 >> 2] = HEAP32[HEAP32[r16 >> 2] + 8 >> 2]; - r28 = r2; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r15); - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r14); - STACKTOP = r3; - return r28; - } - __ZN5Avoid17HyperEdgeTreeEdge14disconnectEdgeEv(HEAP32[HEAP32[r17] >> 2]); - r16 = HEAP32[HEAP32[r17] >> 2]; - if ((r16 | 0) != 0) { - __ZdlPv(r16); - } - if ((r1 | 0) == 0) { - r28 = r2; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r15); - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r14); - STACKTOP = r3; - return r28; - } - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r1); - __ZdlPv(r1); - r28 = r2; - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r15); - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r14); - STACKTOP = r3; - return r28; -} -__ZN5Avoid17HyperEdgeTreeNode27moveJunctionAlongCommonEdgeEPS0_["X"] = 1; -function __ZNK5Avoid27MinimumTerminalSpanningTree12rootJunctionEv(r1) { - return r1; -} -function __ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_(r1, r2) { - return r1 > r2; -} -function __ZN5Avoid13CmpNodesInDimC2Ej(r1, r2) { - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L2546 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L2546; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L2546; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZN5Avoid17HyperEdgeTreeEdge20splitFromNodeAtPointEPNS_17HyperEdgeTreeNodeERKNS_5PointE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = (r1 + 4 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = r1 | 0; - r9 = HEAP32[r8 >> 2]; - do { - if ((r7 | 0) == (r2 | 0)) { - HEAP32[r6] = r9; - HEAP32[r8 >> 2] = r2; - r10 = r9; - } else { - if ((r9 | 0) == (r2 | 0)) { - r10 = r7; - break; - } - ___assert_func(5248688, 619, 5261016, 5243676); - r10 = HEAP32[r6]; - } - } while (0); - r7 = __Znwj(48); - r2 = r7; - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r2); - r9 = r7 + 16 | 0; - r8 = r3; - HEAP32[r9 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r9 + 4 >> 2] = HEAP32[r8 + 4 >> 2]; - HEAP32[r9 + 8 >> 2] = HEAP32[r8 + 8 >> 2]; - HEAP32[r9 + 12 >> 2] = HEAP32[r8 + 12 >> 2]; - HEAP32[r9 + 16 >> 2] = HEAP32[r8 + 16 >> 2]; - HEAP16[r9 + 20 >> 1] = HEAP16[r8 + 20 >> 1]; - __ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(__Znwj(12), r2, r10, HEAP32[r1 + 8 >> 2]); - __ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE(r10, r1); - HEAP32[r6] = r2; - HEAP32[r5 >> 2] = r1; - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_(r7, r5); - STACKTOP = r4; - return; -} -function __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(r1, r2, r3, r4) { - __ZN5Avoid17HyperEdgeTreeEdgeC2EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(r1, r2, r3, r4); - return; -} -function __ZN5Avoid17HyperEdgeTreeEdgeC2EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r6 >> 2] = r1; - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_(r2 | 0, r6); - HEAP32[r7 >> 2] = r1; - __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_(r3 | 0, r7); - STACKTOP = r5; - return; -} -function __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZNK5Avoid17HyperEdgeTreeEdge14hasOrientationEj(r1, r2) { - var r3, r4; - r3 = __ZN5Avoid5PointixEj(HEAP32[r1 >> 2] + 16 | 0, r2); - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = __ZN5Avoid5PointixEj(HEAP32[r1 + 4 >> 2] + 16 | 0, r2); - return r4 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); -} -function __ZN5Avoid13CmpNodesInDimC1Ej(r1, r2) { - __ZN5Avoid13CmpNodesInDimC2Ej(r1, r2); - return; -} -function __ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = r2 + 16 | 0; - r5 = (r1 | 0) >> 2; - r1 = __ZNK5Avoid5PointixEj(r4, HEAP32[r5]); - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = r3 + 16 | 0; - r7 = __ZNK5Avoid5PointixEj(r1, HEAP32[r5]); - if (r6 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r7 = __ZNK5Avoid5PointixEj(r4, HEAP32[r5]); - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = __ZNK5Avoid5PointixEj(r1, HEAP32[r5]); - r5 = r4 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - return r5; - } else { - r5 = r2 >>> 0 < r3 >>> 0; - return r5; - } -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L2605 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L2605; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r7 = r6; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_(r5, r2, r3, HEAP32[r6 >> 2], r7); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r7 | 0)) { - if (__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r2 + 12 | 0, HEAP32[r3 >> 2], HEAP32[r6 + 16 >> 2])) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r7; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12; - L2656 : do { - if ((r4 | 0) == 0) { - r6 = r5; - } else { - r7 = r2 + 12 | 0; - r8 = r4; - r9 = r5; - while (1) { - r10 = r8, r11 = r10 >> 2; - while (1) { - if (!__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r7, HEAP32[r11 + 4], HEAP32[r3 >> 2])) { - break; - } - r12 = HEAP32[r11 + 1]; - if ((r12 | 0) == 0) { - r6 = r9; - break L2656; - } else { - r10 = r12, r11 = r10 >> 2; - } - } - r12 = HEAP32[r11]; - if ((r12 | 0) == 0) { - r6 = r10; - break L2656; - } else { - r8 = r12; - r9 = r10; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r6; - return; -} -function __ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r1, r2) { - var r3; - r3 = r1 + 60 | 0; - r1 = r2 + 60 | 0; - return __ZNK5Avoid7EdgeInf8mtstDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) > __ZNK5Avoid7EdgeInf8mtstDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); -} -function __ZN5Avoid27MinimumTerminalSpanningTreeC1EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE(r1, r2, r3, r4) { - __ZN5Avoid27MinimumTerminalSpanningTreeC2EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE(r1, r2, r3, r4); - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTreeC2EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = r1 >> 2; - r6 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r7 = r6; - HEAP32[r5] = r2; - HEAP8[r1 + 4 | 0] = 1; - r2 = r1 + 8 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS8_(r2); - r8 = HEAP32[r3 >> 2]; - r9 = r3 + 4 | 0; - L2676 : do { - if ((r8 | 0) != (r9 | 0)) { - r3 = r1 + 12 | 0; - r10 = r9; - r11 = r8; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r7, r2, r3, r11 + 16 | 0); - r12 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r11 | 0); - if ((r12 | 0) == (r10 | 0)) { - break L2676; - } else { - r11 = r12; - } - } - } - } while (0); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1 + 20 | 0); - HEAP32[r5 + 8] = r4; - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_(r1 + 36 | 0); - HEAP32[r5 + 12] = 0; - r4 = r1 + 52 | 0; - HEAPF64[tempDoublePtr >> 3] = 2e3, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 60 | 0; - r2 = r4; - HEAP32[r4 >> 2] = r2; - HEAP32[r5 + 16] = r2; - HEAP32[r5 + 17] = 0; - r2 = r1 + 72 | 0; - r4 = r2; - HEAP32[r2 >> 2] = r4; - HEAP32[r5 + 19] = r4; - HEAP32[r5 + 20] = 0; - r4 = r1 + 84 | 0; - r2 = r4; - HEAP32[r4 >> 2] = r2; - HEAP32[r5 + 22] = r2; - HEAP32[r5 + 23] = 0; - r2 = r1 + 96 | 0; - r4 = r2; - HEAP32[r2 >> 2] = r4; - HEAP32[r5 + 25] = r4; - HEAP32[r5 + 26] = 0; - r4 = r1 + 108 | 0; - r2 = r4; - HEAP32[r4 >> 2] = r2; - HEAP32[r5 + 28] = r2; - HEAP32[r5 + 29] = 0; - HEAP32[r5 + 30] = 0; - HEAP32[r5 + 31] = 0; - HEAP32[r5 + 35] = 0; - HEAP32[r5 + 36] = 0; - HEAP32[r5 + 37] = 0; - HEAP32[r5 + 39] = 0; - HEAP32[r5 + 40] = 0; - HEAP32[r5 + 41] = 0; - __ZN5Avoid6VertIDC1Ejtt(r1 + 172 | 0, 0, 42, 0); - STACKTOP = r6; - return; -} -__ZN5Avoid27MinimumTerminalSpanningTreeC2EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEED1Ev(r1) { - __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEED2Ev(r1); - return; -} -function __ZNSt3__14listINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED1Ev(r1) { - __ZNSt3__14listINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1); - return; -} -function __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev(r1) { - __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED2Ev(r1); - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTreeD1Ev(r1) { - __ZN5Avoid27MinimumTerminalSpanningTreeD2Ev(r1); - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTreeD2Ev(r1) { - var r2, r3; - r2 = (r1 + 48 | 0) >> 2; - __ZN5Avoid17HyperEdgeTreeNode17deleteEdgesExceptEPNS_17HyperEdgeTreeEdgeE(HEAP32[r2], 0); - r3 = HEAP32[r2]; - if ((r3 | 0) != 0) { - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r3); - __ZdlPv(r3); - } - HEAP32[r2] = 0; - __ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev(r1 + 156 | 0); - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1 + 140 | 0); - __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEED1Ev(r1 + 108 | 0); - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1 + 96 | 0); - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1 + 84 | 0); - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev(r1 + 72 | 0); - __ZNSt3__14listINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED1Ev(r1 + 60 | 0); - __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev(r1 + 36 | 0); - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1 + 20 | 0); - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1 + 8 | 0); - return; -} -__ZN5Avoid27MinimumTerminalSpanningTreeD2Ev["X"] = 1; -function __ZN5Avoid27MinimumTerminalSpanningTree7addNodeEPNS_7VertInfEPNS_17HyperEdgeTreeNodeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r4; - r6 = r4 + 4, r7 = r6 >> 2; - HEAP32[r7] = r2; - r2 = r1 + 36 | 0; - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_(r5, r2 | 0, r6); - r8 = HEAP32[r5 >> 2]; - if ((r8 | 0) == (r1 + 40 | 0)) { - r5 = __Znwj(48); - r9 = r5; - r10 = r5; - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r10); - r11 = r5 + 16 | 0; - r5 = HEAP32[r7] + 12 | 0; - HEAP32[r11 >> 2] = HEAP32[r5 >> 2]; - HEAP32[r11 + 4 >> 2] = HEAP32[r5 + 4 >> 2]; - HEAP32[r11 + 8 >> 2] = HEAP32[r5 + 8 >> 2]; - HEAP32[r11 + 12 >> 2] = HEAP32[r5 + 12 >> 2]; - HEAP32[r11 + 16 >> 2] = HEAP32[r5 + 16 >> 2]; - HEAP16[r11 + 20 >> 1] = HEAP16[r5 + 20 >> 1]; - HEAP32[__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r2, r6) >> 2] = r9; - __ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(__Znwj(12), r3, r10, 0); - r12 = r9; - STACKTOP = r4; - return r12; - } - r9 = HEAP32[r8 + 20 >> 2]; - r8 = (r9 + 12 | 0) >> 2; - if ((HEAP32[r8] | 0) == 0) { - r10 = __Znwj(148); - r6 = r1 | 0; - __ZN5Avoid11JunctionRefC1EPNS_6RouterENS_5PointEj(r10, HEAP32[r6 >> 2], HEAP32[r7] + 12 | 0); - r7 = r10; - HEAP32[r8] = r7; - r10 = r1 + 48 | 0; - if ((HEAP32[r10 >> 2] | 0) == 0) { - HEAP32[r10 >> 2] = r9; - r13 = HEAP32[r8]; - } else { - r13 = r7; - } - __ZN5Avoid6Router29removeObjectFromQueuedActionsEPKv(HEAP32[r6 >> 2], r13); - __ZN5Avoid8Obstacle10makeActiveEv(HEAP32[r8]); - } - __ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(__Znwj(12), r3, r9, 0); - r12 = 0; - STACKTOP = r4; - return r12; -} -__ZN5Avoid27MinimumTerminalSpanningTree7addNodeEPNS_7VertInfEPNS_17HyperEdgeTreeNodeE["X"] = 1; -function __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSA_(r1, r4, r2); - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) != 0) { - r8 = r7; - r9 = r8 + 20 | 0; - STACKTOP = r3; - return r9; - } - __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__construct_nodeERSA_(r5, r1, r2); - r2 = r5 | 0; - r5 = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSI_SI_(r1 | 0, HEAP32[r4 >> 2], r6, r5 | 0); - r8 = r5; - r9 = r8 + 20 | 0; - STACKTOP = r3; - return r9; -} -function __ZN5Avoid27MinimumTerminalSpanningTree24buildHyperEdgeTreeToRootEPNS_7VertInfEPNS_17HyperEdgeTreeNodeES2_b(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r5 = 0; - r6 = STACKTOP; - if ((r2 | 0) == 0) { - ___assert_func(5244700, 188, 5259260, 5248668); - STACKTOP = r6; - return; - } - r7 = r1 + 4 | 0; - r8 = r1 + 172 | 0; - r9 = r1 + 120 | 0; - r10 = r1 + 132 | 0; - r11 = (r1 + 128 | 0) >> 2; - r12 = r4; - r4 = r3; - r3 = r2; - while (1) { - r2 = __ZN5Avoid27MinimumTerminalSpanningTree7addNodeEPNS_7VertInfEPNS_17HyperEdgeTreeNodeE(r1, r3, r4); - r13 = __ZNK5Avoid7VertInf12hasNeighbourEPS0_b(r12, r3, (HEAP8[r7] & 1) << 24 >> 24 != 0); - r14 = r13; - do { - if ((r13 | 0) == 0) { - if (!__ZNK5Avoid6VertIDeqERKS0_(r3 + 4 | 0, r8)) { - r15 = r14; - break; - } - r16 = HEAP32[r3 + 104 >> 2]; - if (__ZNK5Avoid6VertIDeqERKS0_(r12 + 4 | 0, r8)) { - r17 = HEAP32[r12 + 104 >> 2]; - } else { - r17 = r12; - } - r15 = __ZNK5Avoid7VertInf12hasNeighbourEPS0_b(r17, r16, (HEAP8[r7] & 1) << 24 >> 24 != 0); - } else { - r15 = r14; - } - } while (0); - if ((r15 | 0) == 0) { - ___assert_func(5244700, 210, 5259260, 5247456); - } - __ZN5Avoid7EdgeInf19setHyperedgeSegmentEb(r15, 1); - r14 = HEAP32[r9 >> 2]; - if ((r14 | 0) != 0) { - r13 = HEAP32[r11]; - r16 = r3 + 12 | 0; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r16 = r3 + 20 | 0; - r19 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r16 = r4 + 16 | 0; - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r16 = r4 + 24 | 0; - r21 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - _fprintf(r14, 5246344, (tempInt = STACKTOP, STACKTOP = STACKTOP + 44 | 0, HEAP32[tempInt >> 2] = r10, HEAP32[tempInt + 4 >> 2] = r13, HEAPF64[tempDoublePtr >> 3] = r18, HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r19, HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r20, HEAP32[tempInt + 24 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 28 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r21, HEAP32[tempInt + 32 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 36 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAP32[tempInt + 40 >> 2] = 5245600, tempInt)); - HEAP32[r11] = HEAP32[r11] + 1 | 0; - } - if ((r2 | 0) == 0) { - r5 = 2269; - break; - } - r21 = r3 + 100 | 0; - r20 = HEAP32[r21 >> 2]; - if ((r20 | 0) != 0) { - r12 = r3; - r4 = r2; - r3 = r20; - continue; - } - HEAP32[r2 + 44 >> 2] = r3; - r20 = HEAP32[r21 >> 2]; - if ((r20 | 0) == 0) { - r5 = 2267; - break; - } else { - r12 = r3; - r4 = r2; - r3 = r20; - } - } - if (r5 == 2267) { - STACKTOP = r6; - return; - } else if (r5 == 2269) { - STACKTOP = r6; - return; - } -} -__ZN5Avoid27MinimumTerminalSpanningTree24buildHyperEdgeTreeToRootEPNS_7VertInfEPNS_17HyperEdgeTreeNodeES2_b["X"] = 1; -function __ZN5Avoid27MinimumTerminalSpanningTree17resetDistsForPathEPNS_7VertInfEPS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r5 = r4; - r6 = r4 + 8, r7 = r6 >> 2; - HEAP32[r7] = r2; - L2737 : do { - if ((r2 | 0) == 0) { - ___assert_func(5244700, 246, 5259556, 5248668); - } else { - r8 = r3; - r9 = r1 + 8 | 0; - r10 = r6; - r11 = r2; - while (1) { - r12 = (r11 + 112 | 0) >> 2; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]) == 0) { - break; - } - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r12] = HEAP32[tempDoublePtr >> 2], HEAP32[r12 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid7VertInf18setTreeRootPointerEPPS0_(r11, r8); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r5, r9, r10); - r12 = HEAP32[HEAP32[r7] + 100 >> 2]; - HEAP32[r7] = r12; - if ((r12 | 0) == 0) { - break L2737; - } else { - r11 = r12; - } - } - __ZN5Avoid27MinimumTerminalSpanningTree22rewriteRestOfHyperedgeEPNS_7VertInfEPS2_(r1, r11, r3); - STACKTOP = r4; - return; - } - } while (0); - ___assert_func(5244700, 269, 5259556, 5245776); - STACKTOP = r4; - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTree22rewriteRestOfHyperedgeEPNS_7VertInfEPS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r5 = r4; - __ZN5Avoid7VertInf18setTreeRootPointerEPPS0_(r2, r3); - __ZN5Avoid27MinimumTerminalSpanningTree28getOrthogonalEdgesFromVertexEPNS_7VertInfES2_(r5, r1, r2, 0); - r2 = HEAP32[r5 + 4 >> 2]; - r6 = r5; - if ((r2 | 0) == (r6 | 0)) { - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev(r5); - STACKTOP = r4; - return; - } else { - r7 = r2; - } - while (1) { - r2 = HEAP32[r7 + 12 >> 2]; - do { - if ((__ZNK5Avoid7VertInf15treeRootPointerEv(HEAP32[r2 + 108 >> 2]) | 0) != (r3 | 0)) { - r8 = r2 + 112 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != 0) { - break; - } - __ZN5Avoid27MinimumTerminalSpanningTree22rewriteRestOfHyperedgeEPNS_7VertInfEPS2_(r1, r2, r3); - } - } while (0); - r2 = HEAP32[r7 + 4 >> 2]; - if ((r2 | 0) == (r6 | 0)) { - break; - } else { - r7 = r2; - } - } - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev(r5); - STACKTOP = r4; - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd(r1, r2, r3) { - var r4, r5, r6, r7; - if (r3 == 0) { - r4 = r1 + 52 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - } else { - r5 = r3; - } - r3 = r2 + 104 | 0, r4 = r3 >> 2; - r6 = HEAP32[r4]; - if ((r6 | 0) != 0) { - r7 = r6; - return r7; - } - r6 = __Znwj(140); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r6, HEAP32[r1 >> 2], r1 + 172 | 0, r2 + 12 | 0, 0); - HEAP32[r4] = r6; - HEAP32[r6 + 104 >> 2] = r2; - __ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEE9push_backERKS3_(r1 + 84 | 0, r3); - r3 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r3, HEAP32[r4], r2, (HEAP8[r1 + 4 | 0] & 1) << 24 >> 24 != 0); - __ZN5Avoid7EdgeInf7setDistEd(r3, r5); - r7 = HEAP32[r4]; - return r7; -} -__ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd["X"] = 1; -function __ZN5Avoid27MinimumTerminalSpanningTree23popInvalidBridgingEdgesEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - r5 = (r1 + 156 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 + 160 | 0) >> 2; - if ((r6 | 0) == (HEAP32[r7] | 0)) { - STACKTOP = r3; - return; - } - r8 = r4 | 0; - r9 = r4 + 4 | 0; - r10 = r6; - while (1) { - r6 = HEAP32[r10 >> 2]; - __ZN5Avoid27MinimumTerminalSpanningTree28realVerticesCountingPartnersEPNS_7EdgeInfE(r4, r1, HEAP32[r6 + 24 >> 2], HEAP32[r6 + 28 >> 2]); - r6 = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[HEAP32[r8 >> 2] + 108 >> 2]); - r11 = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[HEAP32[r9 >> 2] + 108 >> 2]); - if (!((r6 | 0) == (r11 | 0) | (r6 | 0) == 0 | (r11 | 0) == 0)) { - r2 = 29; - break; - } - r11 = HEAP32[r5]; - r6 = HEAP32[r7]; - r12 = r6 - r11 | 0; - if ((r12 | 0) > 4) { - r13 = r6 - 4 | 0; - r14 = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = HEAP32[r13 >> 2]; - HEAP32[r13 >> 2] = r14; - __ZNSt3__117__push_heap_frontIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r11, (r12 >> 2) - 1 | 0); - r15 = HEAP32[r7]; - r16 = HEAP32[r5]; - } else { - r15 = r6; - r16 = r11; - } - r11 = r15 - 4 | 0; - HEAP32[r7] = r11; - if ((r16 | 0) == (r11 | 0)) { - r2 = 31; - break; - } else { - r10 = r16; - } - } - if (r2 == 29) { - STACKTOP = r3; - return; - } else if (r2 == 31) { - STACKTOP = r3; - return; - } -} -__ZN5Avoid27MinimumTerminalSpanningTree23popInvalidBridgingEdgesEv["X"] = 1; -function __ZN5Avoid27MinimumTerminalSpanningTree28realVerticesCountingPartnersEPNS_7EdgeInfE(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = r1 | 0; - HEAP32[r5 >> 2] = r3; - r6 = r1 + 4 | 0; - HEAP32[r6 >> 2] = r4; - r1 = r2 + 172 | 0; - if (!__ZNK5Avoid6VertIDneERKS0_(r3 + 4 | 0, r1)) { - return; - } - if (!__ZNK5Avoid6VertIDneERKS0_(r4 + 4 | 0, r1)) { - return; - } - r1 = r3 + 12 | 0; - r2 = r4 + 12 | 0; - if (!__ZNK5Avoid5PointneERKS0_(r1, r2)) { - return; - } - r7 = r1 | 0; - r1 = r2 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - return; - } - r1 = HEAP32[r3 + 104 >> 2]; - if ((r1 | 0) != 0) { - HEAP32[r5 >> 2] = r1; - } - r1 = HEAP32[r4 + 104 >> 2]; - if ((r1 | 0) == 0) { - return; - } - HEAP32[r6 >> 2] = r1; - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTree28getOrthogonalEdgesFromVertexEPNS_7VertInfES2_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30; - r5 = STACKTOP; - STACKTOP = STACKTOP + 32 | 0; - r6 = r5; - r7 = r5 + 8; - r8 = r5 + 16; - r9 = r5 + 24; - r10 = r1; - HEAP32[r1 >> 2] = r10; - HEAP32[r1 + 4 >> 2] = r10; - HEAP32[r1 + 8 >> 2] = 0; - if ((r3 | 0) == 0) { - ___assert_func(5244700, 580, 5259132, 5250496); - } - __ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd(r2, r3, (r4 | 0) == 0 ? .1 : 0); - r10 = r2 + 172 | 0; - r11 = __ZNK5Avoid6VertIDneERKS0_(r3 + 4 | 0, r10); - if (r11) { - r12 = r3; - } else { - r12 = __ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd(r2, r3, 0); - } - if (!__ZNK5Avoid6VertIDneERKS0_(r12 + 4 | 0, r10)) { - ___assert_func(5244700, 587, 5259132, 5250384); - } - r10 = (HEAP8[r2 + 4 | 0] & 1) << 24 >> 24 != 0 ? r12 + 68 | 0 : r12 + 52 | 0; - r3 = r10; - r13 = HEAP32[r10 + 4 >> 2]; - if ((r13 | 0) == (r3 | 0)) { - STACKTOP = r5; - return; - } - r10 = r12; - r14 = r6 | 0; - r15 = r6 + 4 | 0; - r16 = r12 + 20 | 0; - r17 = r11 ^ 1; - r18 = r7 | 0; - r19 = r7 + 4 | 0; - r20 = r12 + 12 | 0; - r21 = r8 | 0; - r22 = r8 + 4 | 0; - r23 = r9 | 0; - r24 = r9 + 4 | 0; - r25 = r13; - while (1) { - r13 = (r25 + 8 | 0) >> 2; - r26 = __ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE(HEAP32[r13], r10); - r27 = r26; - do { - if ((r27 | 0) == (__ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd(r2, r12, 0) | 0)) { - if (r11) { - r28 = r27; - } else { - r28 = __ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd(r2, r27, 0); - } - if ((r28 | 0) == (r4 | 0)) { - break; - } - HEAP32[r14 >> 2] = HEAP32[r13]; - HEAP32[r15 >> 2] = r28; - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE9push_backERKS7_(r1, r6); - } else { - if (r11) { - r29 = r27; - } else { - r29 = __ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd(r2, r27, 0); - } - if ((r29 | 0) == 0) { - ___assert_func(5244700, 605, 5259132, 5250268); - } - r30 = r26 + 20 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r30 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r30 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - if ((r29 | 0) == (r4 | 0) | r17) { - break; - } - HEAP32[r18 >> 2] = HEAP32[r13]; - HEAP32[r19 >> 2] = r29; - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE9push_backERKS7_(r1, r7); - break; - } - r30 = r26 + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r30 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r30 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - _puts(5242880); - HEAP32[r23 >> 2] = HEAP32[r13]; - HEAP32[r24 >> 2] = r27; - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE9push_backERKS7_(r1, r9); - break; - } - if (r11 | (r29 | 0) == (r4 | 0)) { - break; - } - HEAP32[r21 >> 2] = HEAP32[r13]; - HEAP32[r22 >> 2] = r29; - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE9push_backERKS7_(r1, r8); - } - } while (0); - r13 = HEAP32[r25 + 4 >> 2]; - if ((r13 | 0) == (r3 | 0)) { - break; - } else { - r25 = r13; - } - } - STACKTOP = r5; - return; -} -__ZN5Avoid27MinimumTerminalSpanningTree28getOrthogonalEdgesFromVertexEPNS_7VertInfES2_["X"] = 1; -function __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE9push_backERKS7_(r1, r2) { - var r3, r4, r5, r6; - r3 = __Znwj(16), r4 = r3 >> 2; - r5 = r3; - r6 = r3 + 8 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r4 + 3] = HEAP32[r2 + 4 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r5; - HEAP32[r4] = HEAP32[r2]; - HEAP32[r2] = r5; - HEAP32[r4 + 1] = r1; - r4 = r1 + 8 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] + 1 | 0; - return; -} -function __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev(r1) { - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED2Ev(r1); - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTree20constructInterleavedEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105; - r2 = STACKTOP; - STACKTOP = STACKTOP + 164 | 0; - r3 = r2; - r4 = r2 + 20; - r5 = r2 + 40; - r6 = r2 + 44; - r7 = r2 + 48; - r8 = r2 + 68; - r9 = r2 + 88; - r10 = r2 + 108; - r11 = r2 + 128; - r12 = r2 + 132; - r13 = r2 + 136; - r14 = r2 + 144; - r15 = r2 + 148; - r16 = r2 + 152; - r17 = (r1 + 128 | 0) >> 2; - HEAP32[r17] = 1; - r18 = (r1 | 0) >> 2; - __ZN5Avoid5Timer8RegisterENS_10TimerIndexEb(HEAP32[r18] + 148 | 0, 13); - r19 = r1 + 132 | 0; - tempBigInt = 7630441; - HEAP8[r19] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r19 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r19 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r19 + 3 | 0] = tempBigInt & 255; - r19 = r1 + 20 | 0; - r20 = r1 + 8 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEaSERKS8_(r19, r20); - r21 = __ZN5Avoid11VertInfList10connsBeginEv(HEAP32[r18] + 100 | 0); - L100 : do { - if ((r21 | 0) != 0) { - r22 = r21, r23 = r22 >> 2; - while (1) { - r24 = r22 + 112 | 0; - HEAPF64[tempDoublePtr >> 3] = 1.7976931348623157e+308, HEAP32[r24 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r24 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r23 + 25] = 0; - __ZN5Avoid7VertInf18setTreeRootPointerEPPS0_(r22, 0); - HEAP32[r23 + 26] = 0; - r24 = HEAP32[r23 + 10]; - if ((r24 | 0) == 0) { - break L100; - } else { - r22 = r24, r23 = r22 >> 2; - } - } - } - } while (0); - r21 = r1 + 108 | 0; - r22 = r21 | 0; - if ((HEAP32[r1 + 116 >> 2] | 0) != 0) { - ___assert_func(5244700, 654, 5259396, 5249856); - } - r23 = HEAP32[r20 >> 2]; - r20 = r1 + 12 | 0; - L108 : do { - if ((r23 | 0) != (r20 | 0)) { - r24 = r1 + 140 | 0; - r25 = (r1 + 144 | 0) >> 2; - r26 = r1 + 148 | 0; - r27 = r26 | 0; - r28 = r24 | 0; - r29 = r24; - r24 = r10; - r30 = r26; - r26 = (r10 + 8 | 0) >> 2; - r31 = r10 + 12 | 0; - r32 = (r10 + 4 | 0) >> 2; - r33 = r10 | 0; - r34 = r10 + 16 | 0; - r35 = r9; - r36 = r9 | 0; - r37 = r9 + 4 | 0; - r38 = r9 + 8 | 0; - r39 = r9 + 12 | 0; - r40 = r20; - r41 = r23; - while (1) { - r42 = HEAP32[r41 + 16 >> 2]; - r43 = r42 + 112 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r43 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r43 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r43 = r42; - HEAP32[r11 >> 2] = __ZN5Avoid7VertInf19makeTreeRootPointerEPS0_(r43, r43); - __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEE9push_backERKS4_(r21, r11); - r43 = HEAP32[r25]; - r44 = HEAP32[r27 >> 2]; - if (r43 >>> 0 < r44 >>> 0) { - if ((r43 | 0) == 0) { - r45 = 0; - } else { - HEAP32[r43 >> 2] = r42; - r45 = HEAP32[r25]; - } - HEAP32[r25] = r45 + 4 | 0; - } else { - r46 = HEAP32[r28 >> 2]; - r47 = r43 - r46 >> 2; - r43 = r47 + 1 | 0; - if (r43 >>> 0 > 1073741823) { - break; - } - r48 = r44 - r46 | 0; - if (r48 >> 2 >>> 0 < 536870911) { - r46 = r48 >> 1; - r49 = r46 >>> 0 < r43 >>> 0 ? r43 : r46; - } else { - r49 = 1073741823; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r24, r49, r47, r30); - r47 = HEAP32[r26]; - do { - if ((r47 | 0) == (HEAP32[r31 >> 2] | 0)) { - r46 = HEAP32[r32]; - r43 = HEAP32[r33 >> 2]; - if (r46 >>> 0 > r43 >>> 0) { - r48 = r46; - r44 = (r48 - r43 + 4 >> 2 | 0) / -2 & -1; - r50 = (r44 << 2) + r46 | 0; - r51 = r47 - r48 | 0; - _memmove(r50, r46, r51, 4, 0); - r48 = ((r51 >> 2) + r44 << 2) + r46 | 0; - HEAP32[r26] = r48; - HEAP32[r32] = r50; - r52 = r48; - break; - } - r48 = r47 - r43 >> 1; - r50 = (r48 | 0) == 0 ? 1 : r48; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r35, r50, r50 >>> 2, HEAP32[r34 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r35, r46, r47); - HEAP32[r33 >> 2] = HEAP32[r36 >> 2]; - HEAP32[r36 >> 2] = r43; - HEAP32[r32] = HEAP32[r37 >> 2]; - HEAP32[r37 >> 2] = r46; - r46 = HEAP32[r38 >> 2]; - HEAP32[r26] = r46; - HEAP32[r38 >> 2] = r47; - HEAP32[r31 >> 2] = HEAP32[r39 >> 2]; - HEAP32[r39 >> 2] = r47; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r35); - r52 = r46; - } else { - r52 = r47; - } - } while (0); - if ((r52 | 0) == 0) { - r53 = 0; - } else { - HEAP32[r52 >> 2] = r42; - r53 = r52; - } - HEAP32[r26] = r53 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r29, r24); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r24); - } - r47 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r41 | 0); - if ((r47 | 0) == (r40 | 0)) { - break L108; - } else { - r41 = r47; - } - } - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - } while (0); - r53 = __ZN5Avoid8EdgeList5beginEv(HEAP32[HEAP32[r18] + 76 >> 2]); - L136 : do { - if ((r53 | 0) != 0) { - r52 = r53; - while (1) { - __ZN5Avoid7EdgeInf19setHyperedgeSegmentEb(r52, 0); - r49 = HEAP32[r52 + 4 >> 2]; - if ((r49 | 0) == 0) { - break L136; - } else { - r52 = r49; - } - } - } - } while (0); - r53 = r1 + 140 | 0; - r52 = (r53 | 0) >> 2; - r49 = (r1 + 144 | 0) >> 2; - __ZNSt3__111__make_heapIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_(HEAP32[r52], HEAP32[r49]); - HEAP32[r12 >> 2] = 1; - r45 = (r1 + 120 | 0) >> 2; - r11 = HEAP32[r45]; - do { - if ((r11 | 0) != 0) { - _fwrite(5249564, 60, 1, r11); - r23 = HEAP32[r45]; - if ((r23 | 0) == 0) { - break; - } - HEAP32[r12 >> 2] = 2; - _fprintf(r23, 5249344, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = 1, tempInt)); - } - } while (0); - r11 = HEAP32[r52]; - r23 = HEAP32[r49]; - L145 : do { - if ((r11 | 0) == (r23 | 0)) { - r54 = r1 + 28 | 0; - } else { - r20 = r1 + 156 | 0; - r9 = (r20 | 0) >> 2; - r10 = (r1 + 160 | 0) >> 2; - r41 = r16 + 4 | 0; - r40 = r16; - r24 = r1 + 148 | 0; - r29 = r24 | 0; - r26 = r53; - r35 = r4; - r39 = r24; - r24 = (r4 + 8 | 0) >> 2; - r31 = r4 + 12 | 0; - r38 = (r4 + 4 | 0) >> 2; - r37 = r4 | 0; - r32 = r4 + 16 | 0; - r36 = r3; - r33 = r3 | 0; - r34 = r3 + 4 | 0; - r30 = r3 + 8 | 0; - r28 = r3 + 12 | 0; - r25 = r1 + 164 | 0; - r27 = r25 | 0; - r47 = r25; - r25 = (r8 + 8 | 0) >> 2; - r46 = r8 + 12 | 0; - r43 = (r8 + 4 | 0) >> 2; - r50 = r8 | 0; - r48 = r8 + 16 | 0; - r44 = r7 | 0; - r51 = r7 + 4 | 0; - r55 = r7 + 8 | 0; - r56 = r7 + 12 | 0; - r57 = r13 | 0; - r58 = r6 | 0; - r59 = r1 + 24 | 0; - r60 = r13 + 4 | 0; - r61 = r5 | 0; - r62 = r1 + 28 | 0; - r63 = r11; - r64 = r23; - while (1) { - r65 = HEAP32[r63 >> 2]; - r66 = r64 - r63 | 0; - if ((r66 | 0) > 4) { - r67 = r64 - 4 | 0; - HEAP32[r63 >> 2] = HEAP32[r67 >> 2]; - HEAP32[r67 >> 2] = r65; - __ZNSt3__117__push_heap_frontIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r63, (r66 >> 2) - 1 | 0); - r68 = HEAP32[r49]; - } else { - r68 = r64; - } - HEAP32[r49] = r68 - 4 | 0; - r66 = (r65 + 108 | 0) >> 2; - L153 : do { - if ((__ZNK5Avoid7VertInf8treeRootEv(HEAP32[r66]) | 0) != 0) { - r67 = r65 + 100 | 0; - do { - if ((HEAP32[r67 >> 2] | 0) == 0) { - r69 = r65 + 112 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r69 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r69 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == 0) { - break; - } - ___assert_func(5244700, 700, 5259396, 5249068); - } - } while (0); - __ZN5Avoid27MinimumTerminalSpanningTree23popInvalidBridgingEdgesEv(r1); - r69 = HEAP32[r9]; - r70 = HEAP32[r10]; - do { - if ((r69 | 0) != (r70 | 0)) { - r71 = r65 + 112 | 0; - r72 = HEAP32[r69 >> 2]; - r73 = r72 + 60 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r71 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r71 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < __ZNK5Avoid7EdgeInf8mtstDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r73 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r73 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) * .5) { - break; - } - r73 = r70 - r69 | 0; - if ((r73 | 0) > 4) { - r71 = r70 - 4 | 0; - HEAP32[r69 >> 2] = HEAP32[r71 >> 2]; - HEAP32[r71 >> 2] = r72; - __ZNSt3__117__push_heap_frontIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r69, (r73 >> 2) - 1 | 0); - r74 = HEAP32[r10]; - } else { - r74 = r70; - } - HEAP32[r10] = r74 - 4 | 0; - __ZN5Avoid27MinimumTerminalSpanningTree28realVerticesCountingPartnersEPNS_7EdgeInfE(r13, r1, HEAP32[r72 + 24 >> 2], HEAP32[r72 + 28 >> 2]); - HEAP32[r14 >> 2] = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[HEAP32[r57 >> 2] + 108 >> 2]); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r6, r19, r14); - if ((HEAP32[r58 >> 2] | 0) == (r59 | 0)) { - break L153; - } - HEAP32[r15 >> 2] = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[HEAP32[r60 >> 2] + 108 >> 2]); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r5, r19, r15); - if ((HEAP32[r61 >> 2] | 0) == (r59 | 0)) { - break L153; - } - r73 = HEAP32[r17]; - __ZN5Avoid27MinimumTerminalSpanningTree20commitToBridgingEdgeEPNS_7EdgeInfERj(r1, r72, r12); - HEAP32[r17] = r73 + 1 | 0; - if ((HEAP32[r62 >> 2] | 0) == 1) { - r54 = r62; - break L145; - } else { - break L153; - } - } - } while (0); - __ZN5Avoid27MinimumTerminalSpanningTree28getOrthogonalEdgesFromVertexEPNS_7VertInfES2_(r16, r1, r65, HEAP32[r67 >> 2]); - r70 = HEAP32[r41 >> 2]; - L168 : do { - if ((r70 | 0) != (r40 | 0)) { - r69 = (r65 + 112 | 0) >> 2; - r73 = r65 + 12 | 0; - r72 = r65 + 20 | 0; - r71 = r65 + 10 | 0; - r75 = r70, r76 = r75 >> 2; - while (1) { - r77 = HEAP32[r76 + 3]; - r78 = HEAP32[r76 + 2]; - do { - if (__ZNK5Avoid6VertID16isDummyPinHelperEv(HEAP16[r77 + 10 >> 1])) { - r79 = 1; - } else { - if (__ZNK5Avoid6VertID16isDummyPinHelperEv(HEAP16[r71 >> 1])) { - r79 = 1; - break; - } - r80 = r78 + 52 | 0; - r79 = __ZN5Avoid7EdgeInf7getDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r80 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r80 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - } - } while (0); - r80 = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[r66]); - r81 = r77; - r82 = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[r77 + 108 >> 2]); - do { - if ((r80 | 0) != (r82 | 0)) { - if ((r82 | 0) != 0) { - r83 = r77 + 112 | 0; - r84 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r83 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r83 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r83 = r78 + 52 | 0; - __ZN5Avoid7EdgeInf11setMtstDistEd(r78, r84 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r69], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r69 + 1], HEAPF64[tempDoublePtr >> 3]) + __ZN5Avoid7EdgeInf7getDistEv((HEAP32[tempDoublePtr >> 2] = HEAP32[r83 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r83 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]))); - r83 = HEAP32[r10]; - r84 = HEAP32[r27 >> 2]; - if (r83 >>> 0 < r84 >>> 0) { - if ((r83 | 0) == 0) { - r85 = 0; - } else { - HEAP32[r83 >> 2] = r78; - r85 = HEAP32[r10]; - } - r86 = r85 + 4 | 0; - HEAP32[r10] = r86; - r87 = r86; - } else { - r86 = HEAP32[r9]; - r88 = r83 - r86 + 4 >> 2 | 0; - if (r88 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r89 = HEAP32[r27 >> 2]; - r90 = HEAP32[r9]; - } else { - r89 = r84; - r90 = r86; - } - r86 = r90; - r84 = r89 - r86 | 0; - if (r84 >> 2 >>> 0 > 536870910) { - r91 = 1073741823; - } else { - r83 = r84 >> 1; - r91 = r83 >>> 0 < r88 >>> 0 ? r88 : r83; - } - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC1EjjS6_(r8, r91, HEAP32[r10] - r86 >> 2, r47); - r86 = HEAP32[r25]; - do { - if ((r86 | 0) == (HEAP32[r46 >> 2] | 0)) { - r83 = HEAP32[r43]; - r88 = HEAP32[r50 >> 2]; - if (r83 >>> 0 > r88 >>> 0) { - r84 = r83; - r92 = (r84 - r88 + 4 >> 2 | 0) / -2 & -1; - r93 = (r92 << 2) + r83 | 0; - r94 = r86 - r84 | 0; - _memmove(r93, r83, r94, 4, 0); - r84 = ((r94 >> 2) + r92 << 2) + r83 | 0; - HEAP32[r25] = r84; - HEAP32[r43] = r93; - r95 = r84; - break; - } - r84 = r86 - r88 >> 1; - r93 = (r84 | 0) == 0 ? 1 : r84; - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC1EjjS6_(r7, r93, r93 >>> 2, HEAP32[r48 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r7, r83, r86); - HEAP32[r50 >> 2] = HEAP32[r44 >> 2]; - HEAP32[r44 >> 2] = r88; - HEAP32[r43] = HEAP32[r51 >> 2]; - HEAP32[r51 >> 2] = r83; - r83 = HEAP32[r55 >> 2]; - HEAP32[r25] = r83; - HEAP32[r55 >> 2] = r86; - HEAP32[r46 >> 2] = HEAP32[r56 >> 2]; - HEAP32[r56 >> 2] = r86; - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED1Ev(r7); - r95 = r83; - } else { - r95 = r86; - } - } while (0); - if ((r95 | 0) == 0) { - r96 = 0; - } else { - HEAP32[r95 >> 2] = r78; - r96 = r95; - } - HEAP32[r25] = r96 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r20, r8); - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED1Ev(r8); - r87 = HEAP32[r10]; - } - r86 = HEAP32[r9]; - __ZNSt3__116__push_heap_backIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r86, r87, r87 - r86 >> 2); - break; - } - r86 = r79 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r69], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r69 + 1], HEAPF64[tempDoublePtr >> 3]); - r83 = r77 + 112 | 0; - HEAPF64[tempDoublePtr >> 3] = r86, HEAP32[r83 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r83 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r77 + 100 >> 2] = r65; - __ZN5Avoid7VertInf18setTreeRootPointerEPPS0_(r81, __ZNK5Avoid7VertInf15treeRootPointerEv(HEAP32[r66])); - r83 = HEAP32[r49]; - r86 = HEAP32[r29 >> 2]; - if (r83 >>> 0 < r86 >>> 0) { - if ((r83 | 0) == 0) { - r97 = 0; - } else { - HEAP32[r83 >> 2] = r77; - r97 = HEAP32[r49]; - } - r88 = r97 + 4 | 0; - HEAP32[r49] = r88; - r98 = r88; - } else { - r88 = HEAP32[r52]; - r93 = r83 - r88 + 4 >> 2 | 0; - if (r93 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r99 = HEAP32[r29 >> 2]; - r100 = HEAP32[r52]; - } else { - r99 = r86; - r100 = r88; - } - r88 = r100; - r86 = r99 - r88 | 0; - if (r86 >> 2 >>> 0 < 536870911) { - r83 = r86 >> 1; - r101 = r83 >>> 0 < r93 >>> 0 ? r93 : r83; - } else { - r101 = 1073741823; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r35, r101, HEAP32[r49] - r88 >> 2, r39); - r88 = HEAP32[r24]; - do { - if ((r88 | 0) == (HEAP32[r31 >> 2] | 0)) { - r83 = HEAP32[r38]; - r93 = HEAP32[r37 >> 2]; - if (r83 >>> 0 > r93 >>> 0) { - r86 = r83; - r84 = (r86 - r93 + 4 >> 2 | 0) / -2 & -1; - r92 = (r84 << 2) + r83 | 0; - r94 = r88 - r86 | 0; - _memmove(r92, r83, r94, 4, 0); - r86 = ((r94 >> 2) + r84 << 2) + r83 | 0; - HEAP32[r24] = r86; - HEAP32[r38] = r92; - r102 = r86; - break; - } - r86 = r88 - r93 >> 1; - r92 = (r86 | 0) == 0 ? 1 : r86; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r36, r92, r92 >>> 2, HEAP32[r32 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r36, r83, r88); - HEAP32[r37 >> 2] = HEAP32[r33 >> 2]; - HEAP32[r33 >> 2] = r93; - HEAP32[r38] = HEAP32[r34 >> 2]; - HEAP32[r34 >> 2] = r83; - r83 = HEAP32[r30 >> 2]; - HEAP32[r24] = r83; - HEAP32[r30 >> 2] = r88; - HEAP32[r31 >> 2] = HEAP32[r28 >> 2]; - HEAP32[r28 >> 2] = r88; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r36); - r102 = r83; - } else { - r102 = r88; - } - } while (0); - if ((r102 | 0) == 0) { - r103 = 0; - } else { - HEAP32[r102 >> 2] = r77; - r103 = r102; - } - HEAP32[r24] = r103 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r26, r35); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r35); - r98 = HEAP32[r49]; - } - r88 = HEAP32[r52]; - __ZNSt3__116__push_heap_backIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r88, r98, r98 - r88 >> 2); - r88 = HEAP32[r45]; - if ((r88 | 0) == 0) { - break; - } - r83 = HEAP32[r17]; - r93 = r77 + 12 | 0; - r92 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r93 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r93 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r93 = r77 + 20 | 0; - r86 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r93 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r93 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r93 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r73 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r73 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r84 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r72 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r72 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - _fprintf(r88, 5248872, (tempInt = STACKTOP, STACKTOP = STACKTOP + 36 | 0, HEAP32[tempInt >> 2] = r83, HEAPF64[tempDoublePtr >> 3] = r92, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r86, HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r93, HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 24 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r84, HEAP32[tempInt + 28 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 32 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - HEAP32[r17] = HEAP32[r17] + 1 | 0; - } - } while (0); - r77 = HEAP32[r76 + 1]; - if ((r77 | 0) == (r40 | 0)) { - break L168; - } else { - r75 = r77, r76 = r75 >> 2; - } - } - } - } while (0); - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev(r16); - } - } while (0); - r66 = HEAP32[r52]; - r65 = HEAP32[r49]; - if ((r66 | 0) == (r65 | 0)) { - r54 = r62; - break L145; - } else { - r63 = r66; - r64 = r65; - } - } - } - } while (0); - if ((HEAP32[r54 >> 2] | 0) != 1) { - ___assert_func(5244700, 803, 5259396, 5248708); - } - r54 = HEAP32[r45]; - if ((r54 | 0) != 0) { - _fwrite(5248588, 10, 1, r54); - } - __ZN5Avoid5Timer4StopEv(HEAP32[r18] + 148 | 0); - r18 = HEAP32[r1 + 112 >> 2]; - r54 = r21; - L244 : do { - if ((r18 | 0) != (r54 | 0)) { - r21 = r18; - while (1) { - r45 = HEAP32[r21 + 8 >> 2]; - if ((r45 | 0) != 0) { - __ZdlPv(r45); - } - r45 = HEAP32[r21 + 4 >> 2]; - if ((r45 | 0) == (r54 | 0)) { - break L244; - } else { - r21 = r45; - } - } - } - } while (0); - __ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEE5clearEv(r22); - r22 = r1 + 84 | 0; - r54 = r22; - r18 = HEAP32[r1 + 88 >> 2]; - if ((r18 | 0) == (r54 | 0)) { - r104 = r22; - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r104); - STACKTOP = r2; - return; - } else { - r105 = r18; - } - while (1) { - __ZN5Avoid13delete_vertexclEPNS_7VertInfE(HEAP32[r105 + 8 >> 2]); - r18 = HEAP32[r105 + 4 >> 2]; - if ((r18 | 0) == (r54 | 0)) { - break; - } else { - r105 = r18; - } - } - r104 = r22; - __ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv(r104); - STACKTOP = r2; - return; -} -__ZN5Avoid27MinimumTerminalSpanningTree20constructInterleavedEv["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L257 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L257; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L257; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEE9push_backERKS4_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTree10drawForestEPNS_7VertInfES2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r4 = STACKTOP; - STACKTOP = STACKTOP + 52 | 0; - r5 = r4; - r6 = r4 + 40; - r7 = r5 | 0; - if ((r3 | 0) == 0) { - r8 = r5; - HEAP8[r8] = HEAP8[5248464]; - HEAP8[r8 + 1 | 0] = HEAP8[5248465 | 0]; - HEAP8[r8 + 2 | 0] = HEAP8[5248466 | 0]; - HEAP8[r8 + 3 | 0] = HEAP8[5248467 | 0]; - HEAP8[r8 + 4 | 0] = HEAP8[5248468 | 0]; - HEAP8[r8 + 5 | 0] = HEAP8[5248469 | 0]; - r8 = r2 + 108 | 0; - r9 = HEAP32[r8 >> 2]; - r10 = r9; - if ((__ZNK5Avoid7VertInf8treeRootEv(r10) | 0) == 0) { - HEAP32[r7 >> 2] = 6579570; - } - if ((__ZNK5Avoid7VertInf15treeRootPointerEv(r10) | 0) == 0) { - ___assert_func(5244700, 924, 5259664, 5248360); - r11 = HEAP32[r8 >> 2]; - } else { - r11 = r9; - } - if ((__ZNK5Avoid7VertInf8treeRootEv(r11) | 0) == 0) { - ___assert_func(5244700, 925, 5259664, 5248236); - } - r11 = HEAP32[r1 + 120 >> 2]; - r9 = r2 + 12 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = r2 + 20 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = r2 + 112 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - _fprintf(r11, 5247976, (tempInt = STACKTOP, STACKTOP = STACKTOP + 32 | 0, HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r10, HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAP32[tempInt + 24 >> 2] = r5, HEAP32[tempInt + 28 >> 2] = 5247888, tempInt)); - } - __ZN5Avoid27MinimumTerminalSpanningTree28getOrthogonalEdgesFromVertexEPNS_7VertInfES2_(r6, r1, r2, r3); - r3 = HEAP32[r6 + 4 >> 2]; - r5 = r6; - if ((r3 | 0) == (r5 | 0)) { - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev(r6); - STACKTOP = r4; - return; - } - r7 = r1 + 120 | 0; - r10 = r2 + 12 | 0; - r8 = r10 | 0; - r11 = r2 + 20 | 0; - r9 = r2 + 108 | 0; - r12 = r3; - while (1) { - r3 = HEAP32[r12 + 12 >> 2]; - r13 = r3 + 112 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r14 != 0) { - if ((__ZNK5Avoid7VertInf8treeRootEv(HEAP32[r3 + 108 >> 2]) | 0) != (__ZNK5Avoid7VertInf8treeRootEv(HEAP32[r9 >> 2]) | 0)) { - break; - } - if ((HEAP32[r3 + 100 >> 2] | 0) != (r2 | 0)) { - break; - } - r13 = HEAP32[r7 >> 2]; - do { - if ((r13 | 0) != 0) { - r15 = r3 + 12 | 0; - if (!__ZNK5Avoid5PointneERKS0_(r10, r15)) { - break; - } - r16 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r18 = r15 | 0; - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r18 = r3 + 20 | 0; - r19 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - _fprintf(r13, 5247736, (tempInt = STACKTOP, STACKTOP = STACKTOP + 44 | 0, HEAPF64[tempDoublePtr >> 3] = r16, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r17, HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r19, HEAP32[tempInt + 24 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 28 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[tempInt + 32 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 36 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAP32[tempInt + 40 >> 2] = 5247688, tempInt)); - } - } while (0); - __ZN5Avoid27MinimumTerminalSpanningTree10drawForestEPNS_7VertInfES2_(r1, r3, r2); - } - } while (0); - r3 = HEAP32[r12 + 4 >> 2]; - if ((r3 | 0) == (r5 | 0)) { - break; - } else { - r12 = r3; - } - } - __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev(r6); - STACKTOP = r4; - return; -} -__ZN5Avoid27MinimumTerminalSpanningTree10drawForestEPNS_7VertInfES2_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1, r2) { - var r3, r4; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - STACKTOP = r3; - return; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r3 + 4, r1, r2); - STACKTOP = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__116__push_heap_backIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - if ((r3 | 0) <= 1) { - return; - } - r4 = (r3 - 2 | 0) / 2 & -1; - r3 = (r4 << 2) + r1 | 0; - r5 = HEAP32[r3 >> 2]; - r6 = r2 - 4 | 0; - r2 = HEAP32[r6 >> 2]; - if (__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r5, r2)) { - r7 = r4; - r8 = r3; - r9 = r6; - r10 = r5; - } else { - return; - } - while (1) { - HEAP32[r9 >> 2] = r10; - if ((r7 | 0) == 0) { - break; - } - r5 = (r7 - 1 | 0) / 2 & -1; - r6 = (r5 << 2) + r1 | 0; - r3 = HEAP32[r6 >> 2]; - if (__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r3, r2)) { - r7 = r5; - r9 = r8; - r8 = r6; - r10 = r3; - } else { - break; - } - } - HEAP32[r8 >> 2] = r2; - return; -} -function __ZNSt3__110__list_impINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r6 + 8 | 0); - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZN5Avoid13delete_vertexclEPNS_7VertInfE(r1) { - var r2; - r2 = r1; - __ZN5Avoid7VertInf15removeFromGraphEb(r2, 0); - if ((r1 | 0) == 0) { - return; - } - __ZN5Avoid7VertInfD1Ev(r2); - __ZdlPv(r1); - return; -} -function __ZNSt3__117__push_heap_frontIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r3 = 0; - if ((r2 | 0) <= 1) { - return; - } - r4 = r1 + 8 | 0; - do { - if ((r2 | 0) == 2) { - r5 = HEAP32[r1 + 4 >> 2]; - r3 = 285; - break; - } else { - r6 = HEAP32[r4 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r6, r7)) { - r5 = r7; - r3 = 285; - break; - } else { - r8 = 2; - r9 = r4; - r10 = r6; - break; - } - } - } while (0); - if (r3 == 285) { - r8 = 1; - r9 = r1 + 4 | 0; - r10 = r5; - } - r5 = HEAP32[r1 >> 2]; - if (__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r5, r10)) { - r11 = r8; - r12 = r9; - r13 = r1; - r14 = r10; - } else { - return; - } - while (1) { - HEAP32[r13 >> 2] = r14; - r10 = r11 << 1; - r9 = r10 + 2 | 0; - if ((r9 | 0) > (r2 | 0)) { - break; - } - r8 = (r9 << 2) + r1 | 0; - do { - if ((r9 | 0) == (r2 | 0)) { - r4 = r10 | 1; - r6 = (r4 << 2) + r1 | 0; - r15 = r4; - r16 = r6; - r17 = HEAP32[r6 >> 2]; - r3 = 291; - break; - } else { - r6 = HEAP32[r8 >> 2]; - r4 = r10 | 1; - r7 = (r4 << 2) + r1 | 0; - r18 = HEAP32[r7 >> 2]; - if (__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r6, r18)) { - r15 = r4; - r16 = r7; - r17 = r18; - r3 = 291; - break; - } else { - r19 = r9; - r20 = r8; - r21 = r6; - break; - } - } - } while (0); - if (r3 == 291) { - r3 = 0; - r19 = r15; - r20 = r16; - r21 = r17; - } - if (__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_(r5, r21)) { - r11 = r19; - r13 = r12; - r12 = r20; - r14 = r21; - } else { - break; - } - } - HEAP32[r12 >> 2] = r5; - return; -} -__ZNSt3__117__push_heap_frontIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZN5Avoid27MinimumTerminalSpanningTree20commitToBridgingEdgeEPNS_7EdgeInfERj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r4 = r3 >> 2; - r3 = r1 >> 2; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 64 | 0; - r7 = r6; - r8 = r6 + 20; - r9 = r6 + 40; - r10 = r6 + 48; - r11 = r6 + 52, r12 = r11 >> 2; - r13 = r6 + 56, r14 = r13 >> 2; - r15 = r6 + 60; - __ZN5Avoid27MinimumTerminalSpanningTree28realVerticesCountingPartnersEPNS_7EdgeInfE(r9, r1, HEAP32[r2 + 24 >> 2], HEAP32[r2 + 28 >> 2]); - r16 = HEAP32[r9 >> 2]; - r17 = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[r16 + 108 >> 2]); - r18 = HEAP32[r9 + 4 >> 2]; - r9 = __ZNK5Avoid7VertInf8treeRootEv(HEAP32[r18 + 108 >> 2]); - r19 = r9 >>> 0 < r17 >>> 0 ? r9 : r17; - HEAP32[r10 >> 2] = r17 >>> 0 < r9 >>> 0 ? r9 : r17; - HEAP32[r12] = r16; - HEAP32[r14] = r18; - if ((HEAP32[r3 + 8] | 0) == 0) { - r20 = 0; - r21 = 0; - } else { - r17 = __Znwj(48); - r9 = r17; - r22 = r17; - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r22); - r23 = r17 + 16 | 0; - r17 = r16 + 12 | 0; - HEAP32[r23 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r23 + 4 >> 2] = HEAP32[r17 + 4 >> 2]; - HEAP32[r23 + 8 >> 2] = HEAP32[r17 + 8 >> 2]; - HEAP32[r23 + 12 >> 2] = HEAP32[r17 + 12 >> 2]; - HEAP32[r23 + 16 >> 2] = HEAP32[r17 + 16 >> 2]; - HEAP16[r23 + 20 >> 1] = HEAP16[r17 + 20 >> 1]; - r17 = r1 + 36 | 0; - HEAP32[__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r17, r11) >> 2] = r9; - r11 = __Znwj(48); - r23 = r11; - r16 = r11; - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r16); - r24 = r11 + 16 | 0; - r11 = r18 + 12 | 0; - HEAP32[r24 >> 2] = HEAP32[r11 >> 2]; - HEAP32[r24 + 4 >> 2] = HEAP32[r11 + 4 >> 2]; - HEAP32[r24 + 8 >> 2] = HEAP32[r11 + 8 >> 2]; - HEAP32[r24 + 12 >> 2] = HEAP32[r11 + 12 >> 2]; - HEAP32[r24 + 16 >> 2] = HEAP32[r11 + 16 >> 2]; - HEAP16[r24 + 20 >> 1] = HEAP16[r11 + 20 >> 1]; - HEAP32[__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r17, r13) >> 2] = r23; - __ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(__Znwj(12), r22, r16, 0); - __ZN5Avoid7EdgeInf19setHyperedgeSegmentEb(r2, 1); - r20 = r9; - r21 = r23; - } - r23 = (r1 + 120 | 0) >> 2; - r9 = HEAP32[r23]; - if ((r9 | 0) == 0) { - r25 = HEAP32[r12]; - r26 = HEAP32[r14]; - } else { - r2 = HEAP32[r4] - 1 | 0; - _fprintf(r9, 5247484, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r2, HEAP32[tempInt + 4 >> 2] = r2, tempInt)); - r2 = HEAP32[r23]; - r9 = HEAP32[r12]; - r12 = r9 + 12 | 0; - r16 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = r9 + 20 | 0; - r22 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = HEAP32[r14]; - r14 = r12 + 12 | 0; - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r14 = r12 + 20 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - _fprintf(r2, 5247324, (tempInt = STACKTOP, STACKTOP = STACKTOP + 36 | 0, HEAPF64[tempDoublePtr >> 3] = r16, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r22, HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 12 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[tempInt + 16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 20 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAPF64[tempDoublePtr >> 3] = r17, HEAP32[tempInt + 24 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 28 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], HEAP32[tempInt + 32 >> 2] = 5250644, tempInt)); - r25 = r9; - r26 = r12; - } - __ZN5Avoid27MinimumTerminalSpanningTree24buildHyperEdgeTreeToRootEPNS_7VertInfEPNS_17HyperEdgeTreeNodeES2_b(r1, HEAP32[r25 + 100 >> 2], r20, r25); - __ZN5Avoid27MinimumTerminalSpanningTree24buildHyperEdgeTreeToRootEPNS_7VertInfEPNS_17HyperEdgeTreeNodeES2_b(r1, HEAP32[r26 + 100 >> 2], r21, r26); - r21 = HEAP32[r23]; - L386 : do { - if ((r21 | 0) != 0) { - _fprintf(r21, 5247180, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = HEAP32[r4] - 1 | 0, tempInt)); - r20 = HEAP32[r3 + 2]; - r12 = r1 + 12 | 0; - if ((r20 | 0) == (r12 | 0)) { - break; - } - r9 = r12; - r12 = r20; - while (1) { - __ZN5Avoid27MinimumTerminalSpanningTree10drawForestEPNS_7VertInfES2_(r1, HEAP32[r12 + 16 >> 2], 0); - r20 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r12 | 0); - if ((r20 | 0) == (r9 | 0)) { - break L386; - } else { - r12 = r20; - } - } - } - } while (0); - r21 = __ZNK5Avoid7VertInf15treeRootPointerEv(HEAP32[r25 + 108 >> 2]); - r12 = __ZNK5Avoid7VertInf15treeRootPointerEv(HEAP32[r26 + 108 >> 2]); - __ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1 + 20 | 0, r10); - HEAP32[r15 >> 2] = __ZN5Avoid7VertInf19makeTreeRootPointerEPS0_(r25, r19); - __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEE9push_backERKS4_(r1 + 108 | 0, r15); - r10 = HEAP32[r15 >> 2]; - __ZN5Avoid7VertInf18setTreeRootPointerEPPS0_(r26, r10); - if ((r19 | 0) == 0) { - ___assert_func(5244700, 1049, 5259460, 5247160); - } - __ZN5Avoid27MinimumTerminalSpanningTree17resetDistsForPathEPNS_7VertInfEPS2_(r1, r25, r10); - __ZN5Avoid27MinimumTerminalSpanningTree17resetDistsForPathEPNS_7VertInfEPS2_(r1, r26, r10); - if ((r21 | 0) == 0) { - ___assert_func(5244700, 1053, 5259460, 5247036); - } - if ((r12 | 0) == 0) { - ___assert_func(5244700, 1054, 5259460, 5246932); - } - HEAP32[r21 >> 2] = 0; - HEAP32[r12 >> 2] = 0; - r12 = HEAP32[r23]; - L401 : do { - if ((r12 | 0) != 0) { - r21 = HEAP32[r4] - 1 | 0; - _fprintf(r12, 5246724, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r21, HEAP32[tempInt + 4 >> 2] = r21, tempInt)); - r21 = HEAP32[r3 + 2]; - r10 = r1 + 12 | 0; - if ((r21 | 0) == (r10 | 0)) { - break; - } - r26 = r10; - r10 = r21; - while (1) { - __ZN5Avoid27MinimumTerminalSpanningTree10drawForestEPNS_7VertInfES2_(r1, HEAP32[r10 + 16 >> 2], 0); - r21 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r10 | 0); - if ((r21 | 0) == (r26 | 0)) { - break L401; - } else { - r10 = r21; - } - } - } - } while (0); - if ((HEAP32[r3 + 7] | 0) == 1) { - STACKTOP = r6; - return; - } - r12 = HEAP32[r23]; - if ((r12 | 0) != 0) { - _fwrite(5252020, 5, 1, r12); - r12 = HEAP32[r23]; - r23 = HEAP32[r4]; - HEAP32[r4] = r23 + 1 | 0; - _fprintf(r12, 5249344, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r23, tempInt)); - } - r23 = HEAP32[r3 + 2]; - r3 = r1 + 12 | 0; - if ((r23 | 0) == (r3 | 0)) { - STACKTOP = r6; - return; - } - r12 = r1 + 140 | 0; - r4 = (r1 + 144 | 0) >> 2; - r10 = r1 + 148 | 0; - r1 = r10 | 0; - r26 = r12 | 0; - r21 = r12; - r12 = r8; - r25 = r10; - r10 = (r8 + 8 | 0) >> 2; - r19 = r8 + 12 | 0; - r15 = (r8 + 4 | 0) >> 2; - r9 = r8 | 0; - r20 = r8 + 16 | 0; - r8 = r7; - r17 = r7 | 0; - r13 = r7 + 4 | 0; - r22 = r7 + 8 | 0; - r16 = r7 + 12 | 0; - r7 = r3; - r3 = r23; - while (1) { - r23 = (r3 + 16 | 0) >> 2; - r2 = HEAP32[r23] + 112 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != 0) { - ___assert_func(5244700, 1088, 5259460, 5246652); - } - r2 = HEAP32[r4]; - r14 = HEAP32[r1 >> 2]; - if (r2 >>> 0 < r14 >>> 0) { - if ((r2 | 0) == 0) { - r27 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r23]; - r27 = HEAP32[r4]; - } - r11 = r27 + 4 | 0; - HEAP32[r4] = r11; - r28 = r11; - } else { - r11 = HEAP32[r26 >> 2]; - r24 = r2 - r11 >> 2; - r2 = r24 + 1 | 0; - if (r2 >>> 0 > 1073741823) { - r5 = 331; - break; - } - r18 = r14 - r11 | 0; - if (r18 >> 2 >>> 0 < 536870911) { - r11 = r18 >> 1; - r29 = r11 >>> 0 < r2 >>> 0 ? r2 : r11; - } else { - r29 = 1073741823; - } - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r12, r29, r24, r25); - r24 = HEAP32[r10]; - do { - if ((r24 | 0) == (HEAP32[r19 >> 2] | 0)) { - r11 = HEAP32[r15]; - r2 = HEAP32[r9 >> 2]; - if (r11 >>> 0 > r2 >>> 0) { - r18 = r11; - r14 = (r18 - r2 + 4 >> 2 | 0) / -2 & -1; - r30 = (r14 << 2) + r11 | 0; - r31 = r24 - r18 | 0; - _memmove(r30, r11, r31, 4, 0); - r18 = ((r31 >> 2) + r14 << 2) + r11 | 0; - HEAP32[r10] = r18; - HEAP32[r15] = r30; - r32 = r18; - break; - } - r18 = r24 - r2 >> 1; - r30 = (r18 | 0) == 0 ? 1 : r18; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_(r8, r30, r30 >>> 2, HEAP32[r20 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r8, r11, r24); - HEAP32[r9 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r17 >> 2] = r2; - HEAP32[r15] = HEAP32[r13 >> 2]; - HEAP32[r13 >> 2] = r11; - r11 = HEAP32[r22 >> 2]; - HEAP32[r10] = r11; - HEAP32[r22 >> 2] = r24; - HEAP32[r19 >> 2] = HEAP32[r16 >> 2]; - HEAP32[r16 >> 2] = r24; - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r8); - r32 = r11; - } else { - r32 = r24; - } - } while (0); - if ((r32 | 0) == 0) { - r33 = 0; - } else { - HEAP32[r32 >> 2] = HEAP32[r23]; - r33 = r32; - } - HEAP32[r10] = r33 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r21, r12); - __ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev(r12); - r28 = HEAP32[r4]; - } - r24 = HEAP32[r26 >> 2]; - __ZNSt3__116__push_heap_backIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r24, r28, r28 - r24 >> 2); - r24 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r3 | 0); - if ((r24 | 0) == (r7 | 0)) { - r5 = 348; - break; - } else { - r3 = r24; - } - } - if (r5 == 331) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else if (r5 == 348) { - STACKTOP = r6; - return; - } -} -__ZN5Avoid27MinimumTerminalSpanningTree20commitToBridgingEdgeEPNS_7EdgeInfERj["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSA_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 362; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 366; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 365; - break; - } else { - r3 = r6; - } - } - if (r4 == 365) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 366) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } else if (r4 == 362) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE13__lower_boundIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_SK_SK_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L475 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L475; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L475; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC2ERKSB_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L486 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L486; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__116__push_heap_backIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - if ((r3 | 0) <= 1) { - return; - } - r4 = (r3 - 2 | 0) / 2 & -1; - r3 = (r4 << 2) + r1 | 0; - r5 = HEAP32[r3 >> 2]; - r6 = r2 - 4 | 0; - r2 = HEAP32[r6 >> 2]; - r7 = r5 + 112 | 0; - r8 = (r2 + 112 | 0) >> 2; - if (__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_((HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]))) { - r9 = r4; - r10 = r3; - r11 = r6; - r12 = r5; - } else { - return; - } - while (1) { - HEAP32[r11 >> 2] = r12; - if ((r9 | 0) == 0) { - break; - } - r5 = (r9 - 1 | 0) / 2 & -1; - r6 = (r5 << 2) + r1 | 0; - r3 = HEAP32[r6 >> 2]; - r4 = r3 + 112 | 0; - if (__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_((HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]))) { - r9 = r5; - r11 = r10; - r10 = r6; - r12 = r3; - } else { - break; - } - } - HEAP32[r10 >> 2] = r2; - return; -} -function __ZNSt3__117__push_heap_frontIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27; - r3 = 0; - if ((r2 | 0) <= 1) { - return; - } - r4 = r1 + 8 | 0; - do { - if ((r2 | 0) == 2) { - r5 = HEAP32[r1 + 4 >> 2]; - r6 = r5 + 112 | 0; - r7 = r5; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = 415; - break; - } else { - r6 = HEAP32[r4 >> 2]; - r5 = HEAP32[r1 + 4 >> 2]; - r9 = r6 + 112 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = r5 + 112 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_(r10, r11)) { - r7 = r5; - r8 = r11; - r3 = 415; - break; - } else { - r12 = 2; - r13 = r4; - r14 = r6; - r15 = r10; - break; - } - } - } while (0); - if (r3 == 415) { - r12 = 1; - r13 = r1 + 4 | 0; - r14 = r7; - r15 = r8; - } - r8 = HEAP32[r1 >> 2]; - r7 = (r8 + 112 | 0) >> 2; - if (__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_((HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]), r15)) { - r16 = r12; - r17 = r13; - r18 = r1; - r19 = r14; - } else { - return; - } - while (1) { - HEAP32[r18 >> 2] = r19; - r14 = r16 << 1; - r13 = r14 + 2 | 0; - if ((r13 | 0) > (r2 | 0)) { - break; - } - r12 = (r13 << 2) + r1 | 0; - do { - if ((r13 | 0) == (r2 | 0)) { - r15 = r14 | 1; - r4 = (r15 << 2) + r1 | 0; - r10 = HEAP32[r4 >> 2]; - r6 = r10 + 112 | 0; - r20 = r15; - r21 = r4; - r22 = r10; - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = 421; - break; - } else { - r6 = HEAP32[r12 >> 2]; - r10 = r14 | 1; - r4 = (r10 << 2) + r1 | 0; - r15 = HEAP32[r4 >> 2]; - r11 = r6 + 112 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r11 = r15 + 112 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_(r5, r9)) { - r20 = r10; - r21 = r4; - r22 = r15; - r23 = r9; - r3 = 421; - break; - } else { - r24 = r13; - r25 = r12; - r26 = r6; - r27 = r5; - break; - } - } - } while (0); - if (r3 == 421) { - r3 = 0; - r24 = r20; - r25 = r21; - r26 = r22; - r27 = r23; - } - if (__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_((HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]), r27)) { - r16 = r24; - r18 = r17; - r17 = r25; - r19 = r26; - } else { - break; - } - } - HEAP32[r17 >> 2] = r8; - return; -} -__ZNSt3__117__push_heap_frontIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE["X"] = 1; -function __ZNSt3__111__make_heapIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_(r1, r2) { - var r3, r4, r5, r6; - r3 = r2 - r1 | 0; - r2 = r3 >> 2; - if ((r3 | 0) <= 4) { - return; - } - r3 = 1; - r4 = r1 + 4 | 0; - while (1) { - r5 = r4 + 4 | 0; - r6 = r3 + 1 | 0; - __ZNSt3__116__push_heap_backIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE(r1, r5, r6); - if ((r6 | 0) < (r2 | 0)) { - r3 = r6; - r4 = r5; - } else { - break; - } - } - return; -} -function __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__construct_nodeERSA_(r1, r2, r3) { - var r4, r5; - r4 = __Znwj(24); - r5 = r4 + 16 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r3 >> 2]; - } - r3 = r4 + 20 | 0; - if ((r3 | 0) != 0) { - HEAP32[r3 >> 2] = 0; - } - HEAP32[r1 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - HEAP8[r1 + 9 | 0] = 1; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSI_SI_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE13__lower_boundIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_SK_SK_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC2ERKSB_(r1); - return; -} -function __ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED1Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE(r1); - return; -} -function __ZNSt3__14listINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev(r1) { - __ZNSt3__110__list_impINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE5clearEv(r1); - return; -} -function __ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEED2Ev(r1) { - __ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEED2Ev(r1) { - __ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEE5clearEv(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZN5Avoid32generateStaticOrthogonalVisGraphEPNS_6RouterE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 144 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 8; - r7 = r3 + 56; - r8 = r3 + 68; - r9 = r3 + 80; - r10 = r3 + 92; - r11 = r3 + 140; - r12 = HEAP32[r1 + 12 >> 2]; - r13 = r1 + 100 | 0; - r14 = r13; - r15 = (r12 << 1) + __ZNK5Avoid11VertInfList9connsSizeEv(HEAP32[r1 + 120 >> 2]) | 0; - r16 = _llvm_umul_with_overflow_i32(r15, 4); - r17 = __Znaj(tempRet0 ? -1 : r16); - r16 = r17 >> 2; - r18 = r1 + 8 | 0; - r19 = (r12 | 0) == 0; - L596 : do { - if (r19) { - r20 = 0; - r21 = r15; - } else { - r22 = r6 | 0; - r23 = r6 + 24 | 0; - r24 = r6 + 8 | 0; - r25 = r6 + 32 | 0; - r26 = 0; - r27 = 0; - r28 = r15; - r29 = r18; - while (1) { - r30 = HEAP32[r29 >> 2]; - r31 = HEAP32[r30 + 8 >> 2]; - do { - if ((r31 | 0) == 0) { - r2 = 478; - } else { - r32 = ___dynamic_cast(r31, 5272672, 5272764); - if ((r32 | 0) == 0) { - r2 = 478; - break; - } - if (__ZNK5Avoid11JunctionRef13positionFixedEv(HEAP8[r32 + 144 | 0])) { - r2 = 478; - break; - } - r33 = r28 - 2 | 0; - r34 = r27; - break; - } - } while (0); - if (r2 == 478) { - r2 = 0; - __ZNK5Avoid8Obstacle10routingBoxEv(r6, r31); - r32 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r35 = r32 + ((HEAP32[tempDoublePtr >> 2] = HEAP32[r23 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r23 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r32) * .5; - r32 = __Znwj(68); - __ZN5Avoid4NodeC1EPNS_8ObstacleEd(r32, r31, r35); - r35 = __Znwj(16); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r35, 1, r32, (HEAP32[tempDoublePtr >> 2] = HEAP32[r24 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r27 << 2 >> 2) + r16] = r35; - r35 = __Znwj(16); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r35, 5, r32, (HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r27 + 1 << 2 >> 2) + r16] = r35; - r33 = r28; - r34 = r27 + 2 | 0; - } - r35 = r26 + 1 | 0; - if (r35 >>> 0 < r12 >>> 0) { - r26 = r35; - r27 = r34; - r28 = r33; - r29 = r30 + 4 | 0; - } else { - r20 = r34; - r21 = r33; - break L596; - } - } - } - } while (0); - r33 = __ZN5Avoid11VertInfList10connsBeginEv(r14); - L609 : do { - if ((r33 | 0) == 0) { - r36 = r21; - } else { - r34 = r13; - r6 = r33; - r15 = r20; - r29 = r21; - while (1) { - if ((r6 | 0) == (__ZN5Avoid11VertInfList11shapesBeginEv(HEAP32[r34 >> 2]) | 0)) { - r36 = r29; - break L609; - } - if ((HEAP32[r6 + 120 >> 2] | 0) == 0) { - r37 = r29 - 1 | 0; - r38 = r15; - } else { - r28 = __Znwj(68); - r27 = r6 + 12 | 0; - __ZN5Avoid4NodeC1EPNS_7VertInfEd(r28, r6, (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r27 = __Znwj(16); - r26 = r6 + 20 | 0; - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r27, 3, r28, (HEAP32[tempDoublePtr >> 2] = HEAP32[r26 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r26 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r15 << 2 >> 2) + r16] = r27; - r37 = r29; - r38 = r15 + 1 | 0; - } - r27 = HEAP32[r6 + 40 >> 2]; - if ((r27 | 0) == 0) { - r36 = r37; - break L609; - } else { - r6 = r27; - r15 = r38; - r29 = r37; - } - } - } - } while (0); - _qsort(r17, r36, 4, 356); - __ZN5Avoid18SegmentListWrapperC1Ev(r7); - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC1ERKS4_(r8 | 0); - r37 = (r36 | 0) != 0; - do { - if (r37) { - r38 = HEAP32[r16] + 8 | 0; - r39 = 0; - r40 = 0; - r41 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r38 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r38 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - break; - } else { - r39 = 0; - r40 = 0; - r41 = 0; - } - } while (0); - while (1) { - r38 = (r39 | 0) == (r36 | 0); - do { - if (r38) { - r2 = 493; - } else { - r21 = HEAP32[(r39 << 2 >> 2) + r16]; - r20 = r21 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r41) { - r2 = 493; - break; - } else { - r42 = r41; - r43 = r40; - r44 = r21; - break; - } - } - } while (0); - if (r2 == 493) { - r2 = 0; - L627 : do { - if (r40 >>> 0 < r39 >>> 0) { - r21 = r40; - while (1) { - __ZN5AvoidL16processEventVertEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r8, r7, HEAP32[(r21 << 2 >> 2) + r16], 2); - r20 = r21 + 1 | 0; - if (r20 >>> 0 < r39 >>> 0) { - r21 = r20; - } else { - r45 = r40; - break; - } - } - while (1) { - __ZN5AvoidL16processEventVertEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r8, r7, HEAP32[(r45 << 2 >> 2) + r16], 3); - r21 = r45 + 1 | 0; - if (r21 >>> 0 < r39 >>> 0) { - r45 = r21; - } else { - break L627; - } - } - } - } while (0); - if (r38) { - break; - } - r21 = HEAP32[(r39 << 2 >> 2) + r16]; - r30 = r21 + 8 | 0; - r42 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r30 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r30 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r43 = r39; - r44 = r21; - } - __ZN5AvoidL16processEventVertEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r8, r7, r44, 1); - r21 = r39 + 1 | 0; - if (r21 >>> 0 > r36 >>> 0) { - break; - } else { - r39 = r21; - r40 = r43; - r41 = r42; - } - } - r42 = r8 + 8 | 0; - if ((HEAP32[r42 >> 2] | 0) != 0) { - ___assert_func(5244520, 1895, 5259068, 5248616); - } - r41 = (r36 | 0) == 0; - L642 : do { - if (!r41) { - r43 = 0; - while (1) { - r40 = HEAP32[(r43 << 2 >> 2) + r16]; - if ((r40 | 0) != 0) { - __ZdlPv(r40); - } - r40 = r43 + 1 | 0; - if ((r40 | 0) == (r36 | 0)) { - break L642; - } else { - r43 = r40; - } - } - } - } while (0); - r43 = __ZN5Avoid18SegmentListWrapper4listEv(r7); - r38 = r43 + 4 | 0; - r40 = r43; - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r5, HEAP32[r38 >> 2], r40, HEAP32[r43 + 8 >> 2]); - __ZN5Avoid18SegmentListWrapperC1Ev(r9); - L650 : do { - if (r19) { - r46 = 0; - } else { - r5 = r10 + 8 | 0; - r39 = r10 + 32 | 0; - r44 = r10 | 0; - r45 = r10 + 24 | 0; - r21 = 0; - r30 = 0; - r31 = r18; - while (1) { - r20 = HEAP32[r31 >> 2]; - r33 = HEAP32[r20 + 8 >> 2]; - do { - if ((r33 | 0) == 0) { - r2 = 523; - } else { - r29 = ___dynamic_cast(r33, 5272672, 5272764); - if ((r29 | 0) == 0) { - r2 = 523; - break; - } - if (__ZNK5Avoid11JunctionRef13positionFixedEv(HEAP8[r29 + 144 | 0])) { - r2 = 523; - break; - } else { - r47 = r30; - break; - } - } - } while (0); - if (r2 == 523) { - r2 = 0; - __ZNK5Avoid8Obstacle10routingBoxEv(r10, r33); - r29 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r39 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r39 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = __Znwj(68); - __ZN5Avoid4NodeC1EPNS_8ObstacleEd(r6, r33, r29 + (r15 - r29) * .5); - r29 = __Znwj(16); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r29, 1, r6, (HEAP32[tempDoublePtr >> 2] = HEAP32[r44 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r44 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r30 << 2 >> 2) + r16] = r29; - r29 = __Znwj(16); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r29, 5, r6, (HEAP32[tempDoublePtr >> 2] = HEAP32[r45 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r45 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r30 + 1 << 2 >> 2) + r16] = r29; - r47 = r30 + 2 | 0; - } - r29 = r21 + 1 | 0; - if (r29 >>> 0 < r12 >>> 0) { - r21 = r29; - r30 = r47; - r31 = r20 + 4 | 0; - } else { - r46 = r47; - break L650; - } - } - } - } while (0); - r47 = __ZN5Avoid11VertInfList10connsBeginEv(r14); - L666 : do { - if ((r47 | 0) != 0) { - r14 = r13; - r12 = r47; - r10 = r46; - while (1) { - if ((r12 | 0) == (__ZN5Avoid11VertInfList11shapesBeginEv(HEAP32[r14 >> 2]) | 0)) { - break L666; - } - if ((HEAP32[r12 + 120 >> 2] | 0) == 0) { - r48 = r10; - } else { - r18 = __Znwj(68); - r19 = r12 + 20 | 0; - __ZN5Avoid4NodeC1EPNS_7VertInfEd(r18, r12, (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r19 = __Znwj(16); - r31 = r12 + 12 | 0; - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r19, 3, r18, (HEAP32[tempDoublePtr >> 2] = HEAP32[r31 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r31 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r10 << 2 >> 2) + r16] = r19; - r48 = r10 + 1 | 0; - } - r19 = HEAP32[r12 + 40 >> 2]; - if ((r19 | 0) == 0) { - break L666; - } else { - r12 = r19; - r10 = r48; - } - } - } - } while (0); - _qsort(r17, r36, 4, 356); - do { - if (r37) { - r48 = HEAP32[r16] + 8 | 0; - r49 = 0; - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r48 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r48 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r51 = 0; - break; - } else { - r49 = 0; - r50 = 0; - r51 = 0; - } - } while (0); - while (1) { - r37 = (r51 | 0) == (r36 | 0); - do { - if (r37) { - r2 = 544; - } else { - r48 = HEAP32[(r51 << 2 >> 2) + r16]; - r46 = r48 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r50) { - r2 = 544; - break; - } else { - r52 = r50; - r53 = r49; - r54 = r48; - break; - } - } - } while (0); - if (r2 == 544) { - r2 = 0; - L686 : do { - if (r49 >>> 0 < r51 >>> 0) { - r48 = r49; - while (1) { - __ZN5AvoidL16processEventHoriEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r8, r9, HEAP32[(r48 << 2 >> 2) + r16], 2); - r46 = r48 + 1 | 0; - if (r46 >>> 0 < r51 >>> 0) { - r48 = r46; - } else { - r55 = r49; - break; - } - } - while (1) { - __ZN5AvoidL16processEventHoriEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r8, r9, HEAP32[(r55 << 2 >> 2) + r16], 3); - r48 = r55 + 1 | 0; - if (r48 >>> 0 < r51 >>> 0) { - r55 = r48; - } else { - break L686; - } - } - } - } while (0); - r48 = __ZN5Avoid18SegmentListWrapper4listEv(r9); - r20 = r48 + 4 | 0; - r33 = r48; - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r4, HEAP32[r20 >> 2], r33, HEAP32[r48 + 8 >> 2]); - r46 = HEAP32[r20 >> 2]; - L695 : do { - if ((r46 | 0) != (r33 | 0)) { - r20 = r46; - while (1) { - __ZN5AvoidL17intersectSegmentsEPNS_6RouterERNSt3__14listINS_11LineSegmentENS2_9allocatorIS4_EEEERS4_(r1, r43, r20 + 8 | 0); - r47 = HEAP32[r20 + 4 >> 2]; - if ((r47 | 0) == (r33 | 0)) { - break L695; - } else { - r20 = r47; - } - } - } - } while (0); - __ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5clearEv(r48 | 0); - if (r37) { - break; - } - r33 = HEAP32[(r51 << 2 >> 2) + r16]; - r46 = r33 + 8 | 0; - r52 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r53 = r51; - r54 = r33; - } - __ZN5AvoidL16processEventHoriEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r8, r9, r54, 1); - r33 = r51 + 1 | 0; - if (r33 >>> 0 > r36 >>> 0) { - break; - } else { - r49 = r53; - r50 = r52; - r51 = r33; - } - } - if ((HEAP32[r42 >> 2] | 0) != 0) { - ___assert_func(5244520, 1989, 5259068, 5248616); - } - L707 : do { - if (!r41) { - r42 = 0; - while (1) { - r51 = HEAP32[(r42 << 2 >> 2) + r16]; - if ((r51 | 0) != 0) { - __ZdlPv(r51); - } - r51 = r42 + 1 | 0; - if ((r51 | 0) == (r36 | 0)) { - break L707; - } else { - r42 = r51; - } - } - } - } while (0); - if ((r17 | 0) != 0) { - __ZdaPv(r17); - } - r17 = HEAP32[r38 >> 2]; - if ((r17 | 0) == (r40 | 0)) { - __ZN5Avoid18SegmentListWrapperD1Ev(r9); - __ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev(r8); - __ZN5Avoid18SegmentListWrapperD1Ev(r7); - STACKTOP = r3; - return; - } - r38 = r11 | 0; - r36 = r17; - while (1) { - r17 = r36 + 8 | 0; - __ZN5Avoid11LineSegment17addEdgeHorizontalEPNS_6RouterE(r17, r1); - __ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj(r17, r1, 0); - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r11, r43, r36); - r17 = HEAP32[r38 >> 2]; - if ((r17 | 0) == (r40 | 0)) { - break; - } else { - r36 = r17; - } - } - __ZN5Avoid18SegmentListWrapperD1Ev(r9); - __ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev(r8); - __ZN5Avoid18SegmentListWrapperD1Ev(r7); - STACKTOP = r3; - return; -} -__ZN5Avoid32generateStaticOrthogonalVisGraphEPNS_6RouterE["X"] = 1; -function __ZN5Avoid18SegmentListWrapperC1Ev(r1) { - __ZN5Avoid18SegmentListWrapperC2Ev(r1); - return; -} -function __ZN5Avoid18SegmentListWrapper4listEv(r1) { - return r1 | 0; -} -function __ZN5AvoidL16processEventVertEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64; - r6 = r4 >> 2; - r7 = 0; - r8 = STACKTOP; - STACKTOP = STACKTOP + 636 | 0; - r9 = r8; - r10 = r8 + 8; - r11 = r8 + 16; - r12 = r8 + 24; - r13 = r8 + 32; - r14 = r8 + 36; - r15 = r8 + 44, r16 = r15 >> 2; - r17 = r8 + 48, r18 = r17 >> 2; - r19 = r8 + 56, r20 = r19 >> 2; - r21 = r8 + 64, r22 = r21 >> 2; - r23 = r8 + 72, r24 = r23 >> 2; - r25 = r8 + 80, r26 = r25 >> 2; - r27 = r8 + 88; - r28 = r8 + 96; - r29 = r8 + 104; - r30 = r8 + 128; - r31 = r8 + 152; - r32 = r8 + 204; - r33 = r8 + 256; - r34 = r8 + 308; - r35 = r8 + 360; - r36 = r8 + 364; - r37 = r8 + 388; - r38 = r8 + 440; - r39 = r8 + 444; - r40 = r8 + 468; - r41 = r8 + 476; - r42 = r8 + 528; - r43 = r8 + 580; - r44 = r8 + 632; - r45 = r4 + 4 | 0; - r46 = HEAP32[r45 >> 2]; - HEAP32[r16] = r46; - do { - if ((r5 | 0) == 2) { - r47 = HEAP32[r6]; - if ((r47 | 0) == 3) { - r7 = 586; - break; - } else { - r48 = r46; - r49 = r47; - r7 = 594; - break; - } - } else if ((r5 | 0) == 1) { - if ((HEAP32[r6] | 0) == 1) { - r7 = 586; - break; - } - STACKTOP = r8; - return; - } else { - r50 = 0; - r51 = r46, r52 = r51 >> 2; - } - } while (0); - do { - if (r7 == 586) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r14, r2 | 0, r15); - r46 = HEAP32[r14 >> 2]; - r47 = (HEAP8[r14 + 4 | 0] & 1) << 24 >> 24 == 0; - r53 = HEAP32[r16]; - r54 = (r53 + 64 | 0) >> 2; - HEAP32[r54] = r46; - if (r47) { - ___assert_func(5244520, 1495, 5255588, 5250480); - r55 = HEAP32[r54]; - } else { - r55 = r46; - } - if ((r55 | 0) == (HEAP32[r2 >> 2] | 0)) { - r56 = r55; - } else { - r46 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r55 | 0) + 16 >> 2]; - HEAP32[r53 + 56 >> 2] = r46; - HEAP32[r46 + 60 >> 2] = r53; - r56 = HEAP32[r54]; - } - r54 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r56 | 0); - if ((r54 | 0) != (r2 + 4 | 0)) { - r46 = HEAP32[r54 + 16 >> 2]; - HEAP32[r53 + 60 >> 2] = r46; - HEAP32[r46 + 56 >> 2] = r53; - } - if ((r5 | 0) != 2) { - r50 = 0; - r51 = r53, r52 = r51 >> 2; - break; - } - r48 = r53; - r49 = HEAP32[r6]; - r7 = 594; - break; - } - } while (0); - do { - if (r7 == 594) { - if ((r49 | 0) == 3) { - r56 = HEAP32[HEAP32[r45 >> 2] + 8 >> 2]; - r55 = r56 + 12 | 0; - r14 = __ZN5Avoid4Node15firstPointAboveEj(r48, 0); - r53 = __ZN5Avoid4Node15firstPointBelowEj(r48, 0); - HEAPF64[tempDoublePtr >> 3] = r53, HEAP32[r40 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r40 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r46 = __ZN5Avoid4Node13isInsideShapeEj(r48); - r54 = r56 + 120 | 0; - r47 = HEAP32[r54 >> 2]; - do { - if ((r47 & 4 | 0) == 0) { - r57 = 0; - r58 = r47; - } else { - r59 = r55 | 0; - if (r14 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r59 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r59 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r57 = 0; - r58 = r47; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r41, r14, r59, r4 + 8 | 0, 1, 0, r56); - r59 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r41); - __ZN5Avoid11LineSegmentD1Ev(r41); - r57 = r59; - r58 = HEAP32[r54 >> 2]; - } - } while (0); - do { - if ((r58 & 8 | 0) == 0) { - r60 = r57; - r61 = 0; - } else { - r54 = r55 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r54 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r54 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r14 >= r53) { - r60 = r57; - r61 = 0; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r42, r14, r40, r4 + 8 | 0, 1, r56, 0); - r14 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r42); - __ZN5Avoid11LineSegmentD1Ev(r42); - r60 = 0; - r61 = r14; - } - } while (0); - r53 = (r60 | 0) != 0; - r14 = (r61 | 0) == 0; - r54 = r14 & (r53 ^ 1); - if (r54) { - __ZN5Avoid11LineSegmentC1ERKdS2_PNS_7VertInfE(r43, r55 | 0, r4 + 8 | 0, r56); - __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r43); - __ZN5Avoid11LineSegmentD1Ev(r43); - } - if (r46 | r54) { - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } - r54 = __Znwj(140); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r54, r1, 5274184, r55, 1); - HEAP32[r44 >> 2] = r54; - if (r53) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r11, r60 + 28 | 0, r44); - } - if (r14) { - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r12, r61 + 28 | 0, r44); - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } else if (!((r49 | 0) == 1 | (r49 | 0) == 5)) { - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } - r14 = (r49 | 0) == 1 ? r48 + 32 | 0 : r48 + 48 | 0; - r53 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r53, HEAP32[r18] = HEAP32[tempDoublePtr >> 2], HEAP32[r18 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = r48 + 24 | 0; - r54 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r54, HEAP32[r20] = HEAP32[tempDoublePtr >> 2], HEAP32[r20 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = r48 + 40 | 0; - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r47, HEAP32[r22] = HEAP32[tempDoublePtr >> 2], HEAP32[r22 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid4Node27findFirstPointAboveAndBelowEjdRdS1_S1_S1_(r48, 0, r53, r23, r25, r27, r28); - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r59 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r28 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r28 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r14 < r59) { - r62 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r24], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 1], HEAPF64[tempDoublePtr >> 3]); - if (!(r14 <= r62 | r14 < r54)) { - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r34, r62, r27, r17, 1, 0, 0); - r62 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r34); - __ZN5Avoid11LineSegmentD1Ev(r34); - r14 = __Znwj(140); - __ZN5Avoid5PointC1Edd(r36, r54, (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r14, r1, 5274176, r36, 1); - HEAP32[r35 >> 2] = r14; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r10, r62 + 28 | 0, r35); - } - if (r59 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r26], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r26 + 1], HEAPF64[tempDoublePtr >> 3]) | r59 > r47) { - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r37, r59, r25, r17, 1, 0, 0); - r59 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r37); - __ZN5Avoid11LineSegmentD1Ev(r37); - r62 = __Znwj(140); - __ZN5Avoid5PointC1Edd(r39, r47, (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r62, r1, 5274176, r39, 1); - HEAP32[r38 >> 2] = r62; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r9, r59 + 28 | 0, r38); - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } - r59 = __Znwj(140); - r62 = r59; - __ZN5Avoid5PointC1Edd(r29, r54, r53); - r14 = r1; - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r59, r14, 5274176, r29, 1); - r59 = __Znwj(140); - r63 = r59; - __ZN5Avoid5PointC1Edd(r30, r47, r53); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r59, r14, 5274176, r30, 1); - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r24], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r14 < r54) { - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r31, r14, r19, r17, 1, 0, r62); - __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r31); - __ZN5Avoid11LineSegmentD1Ev(r31); - r64 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 1], HEAPF64[tempDoublePtr >> 3]); - } else { - r64 = r54; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r32, r64, r21, r17, 1, r62, r63); - __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r32); - __ZN5Avoid11LineSegmentD1Ev(r32); - r62 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r62 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r26], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r26 + 1], HEAPF64[tempDoublePtr >> 3])) { - r50 = 1; - r51 = r48, r52 = r51 >> 2; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r33, r62, r25, r17, 1, r63, 0); - __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r33); - __ZN5Avoid11LineSegmentD1Ev(r33); - r50 = 1; - r51 = r48, r52 = r51 >> 2; - } - } while (0); - do { - if ((r5 | 0) == 3) { - if ((HEAP32[r6] | 0) == 5) { - break; - } else { - r7 = 645; - break; - } - } else { - r7 = 645; - } - } while (0); - do { - if (r7 == 645) { - if (!r50) { - STACKTOP = r8; - return; - } - if ((HEAP32[r6] | 0) == 3) { - break; - } - STACKTOP = r8; - return; - } - } while (0); - r50 = r51 + 56 | 0; - r7 = HEAP32[r50 >> 2]; - r5 = HEAP32[r52 + 15]; - if ((r7 | 0) != 0) { - HEAP32[r7 + 60 >> 2] = r5; - } - if ((r5 | 0) != 0) { - HEAP32[r5 + 56 >> 2] = HEAP32[r50 >> 2]; - } - if ((HEAP32[r6] | 0) == 3) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r13, r2 | 0, HEAP32[r52 + 16]); - if ((r51 | 0) == 0) { - STACKTOP = r8; - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r52] + 4 >> 2]](r51); - STACKTOP = r8; - return; - } - if ((__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r2 | 0, r15) | 0) != 1) { - ___assert_func(5244520, 1655, 5255588, 5250372); - } - r15 = HEAP32[r16]; - if ((r15 | 0) == 0) { - STACKTOP = r8; - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 4 >> 2]](r15); - STACKTOP = r8; - return; -} -__ZN5AvoidL16processEventVertEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj["X"] = 1; -function __ZN5AvoidL16processEventHoriEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53; - r6 = r4 >> 2; - r7 = 0; - r8 = STACKTOP; - STACKTOP = STACKTOP + 468 | 0; - r9 = r8; - r10 = r8 + 8; - r11 = r8 + 16; - r12 = r8 + 24; - r13 = r8 + 32; - r14 = r8 + 36; - r15 = r8 + 44, r16 = r15 >> 2; - r17 = r8 + 48, r18 = r17 >> 2; - r19 = r8 + 56; - r20 = r8 + 64; - r21 = r8 + 72; - r22 = r8 + 80; - r23 = r8 + 88; - r24 = r8 + 140; - r25 = r8 + 144; - r26 = r8 + 168; - r27 = r8 + 172; - r28 = r8 + 196; - r29 = r8 + 248; - r30 = r8 + 252; - r31 = r8 + 276; - r32 = r8 + 328; - r33 = r8 + 332; - r34 = r8 + 356; - r35 = r8 + 364; - r36 = r8 + 416; - r37 = r4 + 4 | 0; - r38 = HEAP32[r37 >> 2]; - HEAP32[r16] = r38; - do { - if ((r5 | 0) == 2) { - r39 = HEAP32[r6]; - if ((r39 | 0) == 3) { - r7 = 670; - break; - } else { - r40 = r38; - r41 = r39; - r7 = 678; - break; - } - } else if ((r5 | 0) == 1) { - if ((HEAP32[r6] | 0) == 1) { - r7 = 670; - break; - } - STACKTOP = r8; - return; - } else { - r42 = 0; - r43 = r38, r44 = r43 >> 2; - } - } while (0); - do { - if (r7 == 670) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r14, r2 | 0, r15); - r38 = HEAP32[r14 >> 2]; - r39 = (HEAP8[r14 + 4 | 0] & 1) << 24 >> 24 == 0; - r45 = HEAP32[r16]; - r46 = (r45 + 64 | 0) >> 2; - HEAP32[r46] = r38; - if (r39) { - ___assert_func(5244520, 1678, 5255704, 5250480); - r47 = HEAP32[r46]; - } else { - r47 = r38; - } - if ((r47 | 0) == (HEAP32[r2 >> 2] | 0)) { - r48 = r47; - } else { - r38 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r47 | 0) + 16 >> 2]; - HEAP32[r45 + 56 >> 2] = r38; - HEAP32[r38 + 60 >> 2] = r45; - r48 = HEAP32[r46]; - } - r46 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r48 | 0); - if ((r46 | 0) != (r2 + 4 | 0)) { - r38 = HEAP32[r46 + 16 >> 2]; - HEAP32[r45 + 60 >> 2] = r38; - HEAP32[r38 + 56 >> 2] = r45; - } - if ((r5 | 0) != 2) { - r42 = 0; - r43 = r45, r44 = r43 >> 2; - break; - } - r40 = r45; - r41 = HEAP32[r6]; - r7 = 678; - break; - } - } while (0); - do { - if (r7 == 678) { - if ((r41 | 0) == 3) { - r48 = HEAP32[HEAP32[r37 >> 2] + 8 >> 2]; - r47 = __ZN5Avoid4Node15firstPointAboveEj(r40, 1); - r14 = __ZN5Avoid4Node15firstPointBelowEj(r40, 1); - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r34 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r34 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r45 = r48 + 120 | 0; - r38 = HEAP32[r45 >> 2]; - do { - if ((r38 & 1 | 0) == 0) { - r49 = r38; - } else { - r46 = r48 + 20 | 0; - if (r47 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r49 = r38; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r35, r47, r46, r4 + 8 | 0, 0, 0, 0); - __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r35); - __ZN5Avoid11LineSegmentD1Ev(r35); - r49 = HEAP32[r45 >> 2]; - } - } while (0); - if ((r49 & 2 | 0) == 0) { - r42 = 1; - r43 = r40, r44 = r43 >> 2; - break; - } - r45 = r48 + 20 | 0; - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r45 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r45 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r47 >= r14) { - r42 = 1; - r43 = r40, r44 = r43 >> 2; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r36, r47, r34, r4 + 8 | 0, 0, 0, 0); - __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r36); - __ZN5Avoid11LineSegmentD1Ev(r36); - r42 = 1; - r43 = r40, r44 = r43 >> 2; - break; - } else if (!((r41 | 0) == 1 | (r41 | 0) == 5)) { - r42 = 1; - r43 = r40, r44 = r43 >> 2; - break; - } - r47 = (r41 | 0) == 1 ? r40 + 24 | 0 : r40 + 40 | 0; - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r47 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r47 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r45, HEAP32[r18] = HEAP32[tempDoublePtr >> 2], HEAP32[r18 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r47 = r40 + 32 | 0; - r38 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r47 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r47 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r47 = r40 + 48 | 0; - r46 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r47 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r47 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid4Node27findFirstPointAboveAndBelowEjdRdS1_S1_S1_(r40, 1, r45, r19, r20, r21, r22); - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r21 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r21 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r39 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r45 >= r47) { - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r23, r39, r20, r17, 0, 0, 0); - r50 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r23); - __ZN5Avoid11LineSegmentD1Ev(r23); - r51 = __Znwj(140); - r52 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r25, r52, r38); - r53 = r1; - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r51, r53, 5274176, r25, 1); - HEAP32[r24 >> 2] = r51; - r51 = __Znwj(140); - __ZN5Avoid5PointC1Edd(r27, r52, r46); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r51, r53, 5274176, r27, 1); - HEAP32[r26 >> 2] = r51; - r51 = r50 + 28 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r12, r51, r24); - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r11, r51, r26); - r42 = 1; - r43 = r40, r44 = r43 >> 2; - break; - } - if (!(r45 <= r39 | r45 < r38)) { - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r28, r39, r21, r17, 0, 0, 0); - r39 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r28); - __ZN5Avoid11LineSegmentD1Ev(r28); - r45 = __Znwj(140); - __ZN5Avoid5PointC1Edd(r30, (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]), r38); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r45, r1, 5274176, r30, 1); - HEAP32[r29 >> 2] = r45; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r10, r39 + 28 | 0, r29); - } - if (r47 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) | r47 > r46) { - r42 = 1; - r43 = r40, r44 = r43 >> 2; - break; - } - __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r31, r47, r20, r17, 0, 0, 0); - r47 = __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r3, r31); - __ZN5Avoid11LineSegmentD1Ev(r31); - r39 = __Znwj(140); - __ZN5Avoid5PointC1Edd(r33, (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]), r46); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r39, r1, 5274176, r33, 1); - HEAP32[r32 >> 2] = r39; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r9, r47 + 28 | 0, r32); - r42 = 1; - r43 = r40, r44 = r43 >> 2; - } - } while (0); - do { - if ((r5 | 0) == 3) { - if ((HEAP32[r6] | 0) == 5) { - break; - } else { - r7 = 711; - break; - } - } else { - r7 = 711; - } - } while (0); - do { - if (r7 == 711) { - if (!r42) { - STACKTOP = r8; - return; - } - if ((HEAP32[r6] | 0) == 3) { - break; - } - STACKTOP = r8; - return; - } - } while (0); - r42 = r43 + 56 | 0; - r7 = HEAP32[r42 >> 2]; - r5 = HEAP32[r44 + 15]; - if ((r7 | 0) != 0) { - HEAP32[r7 + 60 >> 2] = r5; - } - if ((r5 | 0) != 0) { - HEAP32[r5 + 56 >> 2] = HEAP32[r42 >> 2]; - } - if ((HEAP32[r6] | 0) == 3) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r13, r2 | 0, HEAP32[r44 + 16]); - if ((r43 | 0) == 0) { - STACKTOP = r8; - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r44] + 4 >> 2]](r43); - STACKTOP = r8; - return; - } - if ((__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r2 | 0, r15) | 0) != 1) { - ___assert_func(5244520, 1798, 5255704, 5250372); - } - r15 = HEAP32[r16]; - if ((r15 | 0) == 0) { - STACKTOP = r8; - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 4 >> 2]](r15); - STACKTOP = r8; - return; -} -__ZN5AvoidL16processEventHoriEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj["X"] = 1; -function __ZN5AvoidL17intersectSegmentsEPNS_6RouterERNSt3__14listINS_11LineSegmentENS2_9allocatorIS4_EEEERS4_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r4 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 12; - r8 = r4 + 16; - r9 = r4 + 28; - if ((HEAP32[r2 + 8 >> 2] | 0) == 0) { - ___assert_func(5244520, 1401, 5255504, 5249544); - } - r10 = HEAP32[r2 + 4 >> 2]; - r11 = r2; - if ((r10 | 0) == (r11 | 0)) { - __ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj(r3, r1, 1); - STACKTOP = r4; - return; - } - r12 = r3 | 0; - r13 = (r3 + 16 | 0) >> 2; - r14 = r6 | 0; - r15 = r7 | 0; - r16 = r8 | 0; - r17 = r8 + 4 | 0; - r18 = r17; - r19 = r3 + 40 | 0; - r20 = r3 + 8 | 0; - r21 = r17; - r17 = r10; - while (1) { - r10 = r17 + 8 | 0; - r22 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r23 = (r17 + 24 | 0) >> 2; - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r23], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r23 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r22 > r24) { - r25 = 0; - } else { - r25 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) >= r24; - } - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r22 = r10 | 0; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - L905 : do { - if (r24 < r26) { - r27 = HEAP32[r17 + 4 >> 2]; - } else { - do { - if (r24 == r26) { - if (!r25) { - break; - } - __ZN5Avoid11LineSegment22insertBreakpointsBeginEPNS_6RouterERS0_(r10, r1, r3); - } else { - r22 = (r17 + 16 | 0) >> 2; - r28 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r24 == r28) { - if (!r25) { - break; - } - __ZN5Avoid11LineSegment17addEdgeHorizontalEPNS_6RouterE(r10, r1); - __ZN5Avoid11LineSegment23insertBreakpointsFinishEPNS_6RouterERS0_(r10, r1, r3); - __ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj(r10, r1, 0); - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r6, r2, r17); - r27 = HEAP32[r14 >> 2]; - break L905; - } - if (r24 > r28) { - __ZN5Avoid11LineSegment17addEdgeHorizontalEPNS_6RouterE(r10, r1); - __ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj(r10, r1, 0); - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r7, r2, r17); - r27 = HEAP32[r15 >> 2]; - break L905; - } - if (r24 > r26) { - r29 = r24; - r30 = r28; - } else { - ___assert_func(5244520, 1453, 5255504, 5249312); - r29 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r30 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 1], HEAPF64[tempDoublePtr >> 3]); - } - if (r29 >= r30) { - ___assert_func(5244520, 1454, 5255504, 5249036); - } - if (!r25) { - break; - } - __ZN5Avoid11LineSegment33addEdgeHorizontalTillIntersectionEPNS_6RouterERS0_(r8, r10, r1, r3); - r22 = HEAP32[r16 >> 2]; - L926 : do { - if ((r22 | 0) != (r18 | 0)) { - r28 = r22; - while (1) { - r31 = HEAP32[r28 + 16 >> 2]; - __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r9, (HEAP32[tempDoublePtr >> 2] = HEAP32[r23], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r23 + 1], HEAPF64[tempDoublePtr >> 3]), r31, __ZN5AvoidL23getPosVertInfDirectionsEPNS_7VertInfEj(r31, 1)); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r5, r19, r9); - r31 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r28 | 0); - if ((r31 | 0) == (r21 | 0)) { - break L926; - } else { - r28 = r31; - } - } - } - } while (0); - __ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev(r8); - } - } while (0); - r27 = HEAP32[r17 + 4 >> 2]; - } - } while (0); - if ((r27 | 0) == (r11 | 0)) { - break; - } else { - r17 = r27; - } - } - __ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj(r3, r1, 1); - STACKTOP = r4; - return; -} -__ZN5AvoidL17intersectSegmentsEPNS_6RouterERNSt3__14listINS_11LineSegmentENS2_9allocatorIS4_EEEERS4_["X"] = 1; -function __ZN5Avoid11LineSegment17addEdgeHorizontalEPNS_6RouterE(r1, r2) { - var r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - __ZN5Avoid11LineSegment15horiCommitBeginEPNS_6RouterEPNS_7VertInfE(r1, r2, 0); - __ZN5Avoid11LineSegment16horiCommitFinishEPNS_6RouterEPNS_7VertInfE(r1, r2, 0); - r2 = r1 + 8 | 0; - __ZN5Avoid11LineSegment15addSegmentsUpToEd(r3, r1, (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - STACKTOP = r3; - return; -} -function __ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 96 | 0; - r6 = r5; - r7 = r5 + 8; - r8 = r5 + 16; - r9 = r5 + 40; - r10 = r5 + 56; - r11 = r5 + 80; - r12 = r1 + 40 | 0; - r13 = r1 + 48 | 0; - r14 = (HEAP32[r13 >> 2] | 0) == 0; - do { - if (r14) { - r15 = r1 | 0; - r16 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = 768; - break; - } else { - r15 = HEAP32[r12 >> 2] + 16 | 0; - r17 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r15 = r1 | 0; - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r17 > r18) { - r16 = r18; - r4 = 768; - break; - } else { - break; - } - } - } while (0); - do { - if (r4 == 768) { - r18 = (r1 | 0) >> 2; - if (r16 != -1.7976931348623157e+308) { - r17 = r1 + 16 | 0; - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r8, r15, r15); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]); - r17 = __ZN5Avoid5PointixEj(r8, r3); - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r17 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r17 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r17 = __Znwj(140); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r17, r2, 5274184, r8, 1); - __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r9, (HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]), r17, 0); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r7, r12, r9); - break; - } - if (r14) { - ___assert_func(5244520, 1163, 5261608, 5250244); - } - r17 = HEAP32[r12 >> 2] + 16 | 0; - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r17 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r18] = HEAP32[tempDoublePtr >> 2], HEAP32[r18 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - } while (0); - do { - if ((HEAP32[r13 >> 2] | 0) == 0) { - r14 = r1 + 8 | 0; - r19 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = 778; - break; - } else { - r14 = r1 + 44 | 0; - r9 = r14; - r7 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r9) + 16 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r1 + 8 | 0; - r16 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r8 < r16) { - r19 = r16; - r4 = 778; - break; - } else { - r20 = r14; - r21 = r9; - break; - } - } - } while (0); - do { - if (r4 == 778) { - r13 = (r1 + 8 | 0) >> 2; - if (r19 == 1.7976931348623157e+308) { - r9 = r1 + 44 | 0; - r14 = r9; - r16 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r14) + 16 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r13] = HEAP32[tempDoublePtr >> 2], HEAP32[r13 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r20 = r9; - r21 = r14; - break; - } - r14 = r1 + 16 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - __ZN5Avoid5PointC1Edd(r10, r9, r9); - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - r14 = __ZN5Avoid5PointixEj(r10, r3); - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r14 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r14 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = __Znwj(140); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r14, r2, 5274184, r10, 1); - __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r11, (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]), r14, 0); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r6, r12, r11); - r14 = r1 + 44 | 0; - r20 = r14; - r21 = r14; - } - } while (0); - __ZN5Avoid11LineSegment27setLongRangeVisibilityFlagsEj(r1, r3); - r1 = r12 | 0; - r12 = HEAP32[r1 >> 2]; - r11 = r20; - r20 = r12; - r6 = r12; - L959 : while (1) { - r12 = r6 + 24 | 0; - r10 = r20; - while (1) { - if ((r10 | 0) == (r11 | 0)) { - break L959; - } - r2 = __ZN5Avoid5PointixEj(HEAP32[r12 >> 2] + 12 | 0, r3); - r19 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = (r10 + 24 | 0) >> 2; - r14 = __ZN5Avoid5PointixEj(HEAP32[r2] + 12 | 0, r3); - L964 : do { - if (r19 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r13 = r10 + 28 | 0; - r9 = r6; - r8 = r12, r16 = r8 >> 2; - while (1) { - if ((r10 | 0) == (r9 | 0)) { - ___assert_func(5244520, 1229, 5261608, 5250144); - } - r7 = HEAP32[r2]; - if (__ZNK5Avoid5PointneERKS0_(r7 + 12 | 0, HEAP32[r16] + 12 | 0)) { - r22 = r7; - } else { - ___assert_func(5244520, 1231, 5261608, 525e4); - r22 = HEAP32[r2]; - } - L974 : do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r22 + 10 >> 1])) { - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[HEAP32[r16] + 10 >> 1])) { - break; - } - r7 = r9 + 24 | 0; - r18 = HEAP32[r7 >> 2]; - L977 : do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r18 + 10 >> 1])) { - r15 = HEAP32[r1 >> 2]; - r17 = r9; - r23 = r7; - r24 = r18; - while (1) { - if ((r17 | 0) == (r15 | 0)) { - r25 = r23; - r26 = r24; - break L977; - } - r27 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r17 | 0); - r28 = r27 + 24 | 0; - r29 = r28; - r30 = HEAP32[r28 >> 2]; - r28 = r30; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r30 + 10 >> 1])) { - r17 = r27; - r23 = r29; - r24 = r28; - } else { - r25 = r29; - r26 = r28; - break L977; - } - } - } else { - r25 = r7; - r26 = r18; - } - } while (0); - do { - if ((HEAP32[r13 >> 2] & 2 | 0) == 0) { - r31 = r10; - } else { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[r26 + 10 >> 1])) { - r31 = r10; - break; - } - r18 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r18, HEAP32[r25 >> 2], HEAP32[r2], 1); - r7 = __ZN5Avoid5PointixEj(HEAP32[r2] + 12 | 0, r3); - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = __ZN5Avoid5PointixEj(HEAP32[r25 >> 2] + 12 | 0, r3); - __ZN5Avoid7EdgeInf7setDistEd(r18, r24 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r31 = r10; - break; - } - } while (0); - while (1) { - r32 = (r31 + 24 | 0) >> 2; - if (!__ZNK5Avoid6VertID8isConnPtEv(HEAP16[HEAP32[r32] + 10 >> 1])) { - break; - } - r7 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r31 | 0); - if ((r7 | 0) == (r21 | 0)) { - break L974; - } - r31 = r7; - } - if ((HEAP32[r9 + 28 >> 2] & 1 | 0) == 0) { - break; - } - r7 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r7, HEAP32[r16], HEAP32[r32], 1); - r24 = __ZN5Avoid5PointixEj(HEAP32[r32] + 12 | 0, r3); - r18 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r24 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r24 = __ZN5Avoid5PointixEj(HEAP32[r16] + 12 | 0, r3); - __ZN5Avoid7EdgeInf7setDistEd(r7, r18 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r24 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - } - } while (0); - do { - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[HEAP32[r16] + 10 >> 1])) { - if ((HEAP32[r9 + 28 >> 2] & 1 | 0) == 0) { - break; - } else { - r4 = 812; - break; - } - } else { - r4 = 812; - } - } while (0); - do { - if (r4 == 812) { - r4 = 0; - if (__ZNK5Avoid6VertID8isConnPtEv(HEAP16[HEAP32[r2] + 10 >> 1])) { - if ((HEAP32[r13 >> 2] & 2 | 0) == 0) { - break; - } - } - r24 = __Znwj(68); - __ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b(r24, HEAP32[r16], HEAP32[r2], 1); - r18 = __ZN5Avoid5PointixEj(HEAP32[r2] + 12 | 0, r3); - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r18 = __ZN5Avoid5PointixEj(HEAP32[r16] + 12 | 0, r3); - __ZN5Avoid7EdgeInf7setDistEd(r24, r7 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - } - } while (0); - r18 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r9 | 0); - r7 = r18; - r24 = r18 + 24 | 0; - r18 = r24; - r23 = __ZN5Avoid5PointixEj(HEAP32[r24 >> 2] + 12 | 0, r3); - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r23 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r23 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r23 = __ZN5Avoid5PointixEj(HEAP32[r2] + 12 | 0, r3); - if (r24 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r23 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r23 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r9 = r7; - r8 = r18, r16 = r8 >> 2; - } else { - r33 = r7; - r34 = r18; - break L964; - } - } - } else { - r33 = r6; - r34 = r12; - } - } while (0); - r2 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r10 | 0); - r14 = r2; - if ((r2 | 0) == (r21 | 0)) { - r20 = r14; - r6 = r33; - continue L959; - } - r19 = __ZN5Avoid5PointixEj(HEAP32[r34 >> 2] + 12 | 0, r3); - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r19 = __ZN5Avoid5PointixEj(HEAP32[r2 + 24 >> 2] + 12 | 0, r3); - if (r8 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r10 = r14; - } else { - r20 = r14; - r6 = r33; - continue L959; - } - } - } - STACKTOP = r5; - return; -} -__ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj["X"] = 1; -function __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZN5Avoid11LineSegmentD1Ev(r3 + 8 | 0); - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZN5Avoid18SegmentListWrapperD1Ev(r1) { - __ZN5Avoid18SegmentListWrapperD2Ev(r1); - return; -} -function __ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid23improveOrthogonalRoutesEPNS_6RouterE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r2 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r3 = r2; - r4 = r2 + 12; - r5 = r2 + 24; - r6 = r2 + 36; - r7 = r1 + 148 | 0; - __ZN5Avoid5Timer8RegisterENS_10TimerIndexEb(r7, 9); - __ZN5AvoidL24simplifyOrthogonalRoutesEPNS_6RouterE(r1); - __ZN5Avoid34buildConnectorRouteCheckpointCacheEPNS_6RouterE(r1); - r8 = r1; - if (__ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r8, 4) == 0) { - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC1ERKS9_(r3 | 0); - r9 = r4 | 0; - r10 = r4; - r11 = r4 + 4 | 0; - r12 = r4 + 8 | 0; - HEAP32[r9 >> 2] = r10; - HEAP32[r11 >> 2] = r10; - HEAP32[r12 >> 2] = 0; - __ZN5AvoidL30buildOrthogonalNudgingSegmentsEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, 0, r4); - __ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, 0, r4); - __ZN5AvoidL21nudgeOrthogonalRoutesEPNS_6RouterEjRNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEERNS2_4listIPNS_12ShiftSegmentENS8_ISH_EEEEb(r1, 0, r3, r4, 1); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r4); - HEAP32[r9 >> 2] = r10; - HEAP32[r11 >> 2] = r10; - HEAP32[r12 >> 2] = 0; - __ZN5AvoidL30buildOrthogonalNudgingSegmentsEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, 1, r4); - __ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, 1, r4); - __ZN5AvoidL21nudgeOrthogonalRoutesEPNS_6RouterEjRNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEERNS2_4listIPNS_12ShiftSegmentENS8_ISH_EEEEb(r1, 1, r3, r4, 1); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r4); - __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED1Ev(r3); - } - r3 = r5 | 0; - r4 = r6 | 0; - r12 = r6; - r10 = r6 + 4 | 0; - r11 = r6 + 8 | 0; - r9 = 0; - while (1) { - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC1ERKS9_(r3); - __ZN5AvoidL31buildOrthogonalNudgingOrderInfoEPNS_6RouterERNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEE(r1, r5); - HEAP32[r4 >> 2] = r12; - HEAP32[r10 >> 2] = r12; - HEAP32[r11 >> 2] = 0; - __ZN5AvoidL30buildOrthogonalNudgingSegmentsEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, r9, r6); - __ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, r9, r6); - __ZN5AvoidL21nudgeOrthogonalRoutesEPNS_6RouterEjRNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEERNS2_4listIPNS_12ShiftSegmentENS8_ISH_EEEEb(r1, r9, r5, r6, 0); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r6); - __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED1Ev(r5); - r13 = r9 + 1 | 0; - if (r13 >>> 0 < 2) { - r9 = r13; - } else { - break; - } - } - __ZN5AvoidL24simplifyOrthogonalRoutesEPNS_6RouterE(r1); - __ZN5Avoid6Router25improveOrthogonalTopologyEv(r8); - __ZN5Avoid34clearConnectorRouteCheckpointCacheEPNS_6RouterE(r1); - __ZN5Avoid5Timer4StopEv(r7); - STACKTOP = r2; - return; -} -__ZN5Avoid23improveOrthogonalRoutesEPNS_6RouterE["X"] = 1; -function __ZN5AvoidL24simplifyOrthogonalRoutesEPNS_6RouterE(r1) { - var r2, r3, r4, r5, r6; - r2 = STACKTOP; - STACKTOP = STACKTOP + 44 | 0; - r3 = r2; - r4 = HEAP32[r1 + 20 >> 2]; - r5 = r1 + 16 | 0; - if ((r4 | 0) == (r5 | 0)) { - STACKTOP = r2; - return; - } else { - r6 = r4; - } - while (1) { - r4 = HEAP32[r6 + 8 >> 2]; - r1 = r4; - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r4 + 8 >> 2]) | 0) == 2) { - __ZNK5Avoid7Polygon8simplifyEv(r3, __ZN5Avoid7ConnRef12displayRouteEv(r1)); - __ZN5Avoid7ConnRef9set_routeERKNS_7PolygonE(r1, r3); - __ZN5Avoid7PolygonD1Ev(r3); - } - r1 = HEAP32[r6 + 4 >> 2]; - if ((r1 | 0) == (r5 | 0)) { - break; - } else { - r6 = r1; - } - } - STACKTOP = r2; - return; -} -function __ZN5AvoidL30buildOrthogonalNudgingSegmentsEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 200 | 0; - r6 = r5; - r7 = r5 + 12; - r8 = r5 + 24; - r9 = r5 + 72; - r10 = r5 + 96; - r11 = r5 + 120; - r12 = r5 + 144; - r13 = r5 + 156; - r14 = r5 + 168; - r15 = r5 + 180; - r16 = r5 + 184; - r17 = r5 + 188; - r18 = r5 + 192; - r19 = r5 + 196; - r20 = r1; - if (__ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r20, 0) == 0) { - STACKTOP = r5; - return; - } - r21 = __ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(r20, 0); - r20 = (r6 | 0) >> 2; - HEAP32[r20] = 0; - r22 = r6 + 4 | 0; - HEAP32[r22 >> 2] = 0; - HEAP32[r6 + 8 >> 2] = 0; - L1041 : do { - if (r21) { - r23 = HEAP32[r1 + 12 >> 2]; - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEEC1Ej(r7, r23); - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r6, HEAP32[r7 >> 2], HEAP32[r7 + 4 >> 2]); - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED1Ev(r7); - if ((r23 | 0) == 0) { - break; - } - r24 = HEAP32[r20]; - r25 = r9 >> 2; - r26 = r10; - r27 = r11; - r28 = r8; - r29 = r8 + 24 | 0; - r30 = 0; - r31 = r1 + 8 | 0; - while (1) { - r32 = HEAP32[r31 >> 2]; - r33 = r32 + 8 | 0; - r34 = HEAP32[r33 >> 2]; - do { - if ((r34 | 0) != 0) { - r35 = ___dynamic_cast(r34, 5272672, 5272660); - r36 = HEAP32[r33 >> 2]; - if ((r36 | 0) == 0) { - r37 = 0; - } else { - r37 = ___dynamic_cast(r36, 5272672, 5272764); - } - if ((r35 | 0) != 0) { - __ZNK5Avoid16PolygonInterface17offsetBoundingBoxEd(r8, __ZNK5Avoid8ShapeRef7polygonEv(r35) | 0, 0); - r35 = r24 + (r30 * 48 & -1) | 0; - HEAP32[r35 >> 2] = HEAP32[r28 >> 2]; - HEAP32[r35 + 4 >> 2] = HEAP32[r28 + 4 >> 2]; - HEAP32[r35 + 8 >> 2] = HEAP32[r28 + 8 >> 2]; - HEAP32[r35 + 12 >> 2] = HEAP32[r28 + 12 >> 2]; - HEAP32[r35 + 16 >> 2] = HEAP32[r28 + 16 >> 2]; - HEAP16[r35 + 20 >> 1] = HEAP16[r28 + 20 >> 1]; - r35 = r24 + (r30 * 48 & -1) + 24 | 0; - HEAP32[r35 >> 2] = HEAP32[r29 >> 2]; - HEAP32[r35 + 4 >> 2] = HEAP32[r29 + 4 >> 2]; - HEAP32[r35 + 8 >> 2] = HEAP32[r29 + 8 >> 2]; - HEAP32[r35 + 12 >> 2] = HEAP32[r29 + 12 >> 2]; - HEAP32[r35 + 16 >> 2] = HEAP32[r29 + 16 >> 2]; - HEAP16[r35 + 20 >> 1] = HEAP16[r29 + 20 >> 1]; - break; - } - if ((r37 | 0) == 0) { - break; - } - FUNCTION_TABLE[HEAP32[HEAP32[r37 >> 2] + 8 >> 2]](r9, r37); - HEAP32[r26 >> 2] = HEAP32[r25]; - HEAP32[r26 + 4 >> 2] = HEAP32[r25 + 1]; - HEAP32[r26 + 8 >> 2] = HEAP32[r25 + 2]; - HEAP32[r26 + 12 >> 2] = HEAP32[r25 + 3]; - HEAP32[r26 + 16 >> 2] = HEAP32[r25 + 4]; - HEAP32[r26 + 20 >> 2] = HEAP32[r25 + 5]; - HEAP32[r27 >> 2] = HEAP32[r25]; - HEAP32[r27 + 4 >> 2] = HEAP32[r25 + 1]; - HEAP32[r27 + 8 >> 2] = HEAP32[r25 + 2]; - HEAP32[r27 + 12 >> 2] = HEAP32[r25 + 3]; - HEAP32[r27 + 16 >> 2] = HEAP32[r25 + 4]; - HEAP32[r27 + 20 >> 2] = HEAP32[r25 + 5]; - r35 = r24 + (r30 * 48 & -1) | 0; - HEAP32[r35 >> 2] = HEAP32[r26 >> 2]; - HEAP32[r35 + 4 >> 2] = HEAP32[r26 + 4 >> 2]; - HEAP32[r35 + 8 >> 2] = HEAP32[r26 + 8 >> 2]; - HEAP32[r35 + 12 >> 2] = HEAP32[r26 + 12 >> 2]; - HEAP32[r35 + 16 >> 2] = HEAP32[r26 + 16 >> 2]; - HEAP16[r35 + 20 >> 1] = HEAP16[r26 + 20 >> 1]; - r35 = r24 + (r30 * 48 & -1) + 24 | 0; - HEAP32[r35 >> 2] = HEAP32[r27 >> 2]; - HEAP32[r35 + 4 >> 2] = HEAP32[r27 + 4 >> 2]; - HEAP32[r35 + 8 >> 2] = HEAP32[r27 + 8 >> 2]; - HEAP32[r35 + 12 >> 2] = HEAP32[r27 + 12 >> 2]; - HEAP32[r35 + 16 >> 2] = HEAP32[r27 + 16 >> 2]; - HEAP16[r35 + 20 >> 1] = HEAP16[r27 + 20 >> 1]; - } - } while (0); - r33 = r30 + 1 | 0; - if (r33 >>> 0 < r23 >>> 0) { - r30 = r33; - r31 = r32 + 4 | 0; - } else { - break L1041; - } - } - } - } while (0); - r37 = r2 & 1 ^ 1; - r9 = HEAP32[r1 + 20 >> 2]; - r8 = r1 + 16 | 0; - L1061 : do { - if ((r9 | 0) != (r8 | 0)) { - r1 = r13 + 4 | 0; - r11 = r13 | 0; - r10 = HEAP32[r22 >> 2]; - r7 = HEAP32[r20]; - r31 = (r10 | 0) == (r7 | 0); - r30 = (r10 - r7 | 0) / 48 & -1; - r10 = (r12 + 4 | 0) >> 2; - r23 = (r12 | 0) >> 2; - r27 = (r14 + 4 | 0) >> 2; - r24 = (r14 | 0) >> 2; - r26 = r9; - while (1) { - r25 = (r26 + 8 | 0) >> 2; - r29 = HEAP32[r25]; - L1065 : do { - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r29 + 8 >> 2]) | 0) == 2) { - r28 = __ZN5Avoid7ConnRef12displayRouteEv(r29); - r33 = r28 >> 2; - r34 = (r28 + 8 | 0) >> 2; - r35 = 1; - while (1) { - if (r35 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r33] + 16 >> 2]](r28) >>> 0) { - break L1065; - } - r36 = r35 - 1 | 0; - r38 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r36 * 24 & -1) | 0, r2); - r39 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r38 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r38 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r38 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r35 * 24 & -1) | 0, r2); - do { - if (r39 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r38 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r38 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r40 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r36 * 24 & -1) | 0, r37); - r41 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r35 * 24 & -1) | 0, r37); - if (r41 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r40 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r36 * 24 & -1) | 0, r37); - r41 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r35 * 24 & -1) | 0, r37); - r42 = r41 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r40 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r40 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r40 = r42 ? r36 : r35; - r41 = r42 ? r35 : r36; - r42 = r35 - 2 | 0; - __ZNK5Avoid7Polygon19checkpointOnSegmentEj(r12, r28, r42); - __ZNK5Avoid7Polygon19checkpointOnSegmentEj(r13, r28, r36); - __ZNK5Avoid7Polygon19checkpointOnSegmentEj(r14, r28, r35); - L1084 : do { - if ((HEAP32[r1 >> 2] | 0) == (HEAP32[r11 >> 2] | 0) | r21) { - r43 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r35 * 24 & -1) | 0, r2); - r44 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r43 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r43 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r43 = (r35 | 0) == 1; - do { - if (!r43) { - r45 = r35 + 1 | 0; - if ((r45 | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r33] + 16 >> 2]](r28) | 0)) { - break; - } - r46 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r42 * 24 & -1) | 0, r2); - r47 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r46 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r45 * 24 & -1) | 0, r2); - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r46 = r47 < r44; - L1096 : do { - if (r46 & r45 > r44) { - r48 = r47 > -1e8 ? r47 : -1e8; - r49 = r45 < 1e8 ? r45 : 1e8; - r50 = HEAP32[r23]; - L1118 : do { - if ((HEAP32[r10] | 0) == (r50 | 0)) { - r51 = r48; - } else { - r52 = r48; - r53 = 0; - r54 = r50; - while (1) { - r55 = __ZN5Avoid5PointixEj(r54 + (r53 * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r55 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r55 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < r44) { - r55 = __ZN5Avoid5PointixEj(HEAP32[r23] + (r53 * 24 & -1) | 0, r2); - r56 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r55 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r55 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r57 = r52 < r56 ? r56 : r52; - } else { - r57 = r52; - } - r56 = r53 + 1 | 0; - r55 = HEAP32[r23]; - if (r56 >>> 0 < ((HEAP32[r10] - r55 | 0) / 24 & -1) >>> 0) { - r52 = r57; - r53 = r56; - r54 = r55; - } else { - r51 = r57; - break L1118; - } - } - } - } while (0); - r50 = HEAP32[r24]; - if ((HEAP32[r27] | 0) == (r50 | 0)) { - r58 = 1; - r59 = 0; - r60 = r49; - r61 = r51; - break; - } else { - r62 = r49; - r63 = 0; - r64 = r50; - } - while (1) { - r50 = __ZN5Avoid5PointixEj(r64 + (r63 * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r50 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > r44) { - r50 = __ZN5Avoid5PointixEj(HEAP32[r24] + (r63 * 24 & -1) | 0, r2); - r48 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r50 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r65 = r48 < r62 ? r48 : r62; - } else { - r65 = r62; - } - r48 = r63 + 1 | 0; - r50 = HEAP32[r24]; - if (r48 >>> 0 < ((HEAP32[r27] - r50 | 0) / 24 & -1) >>> 0) { - r62 = r65; - r63 = r48; - r64 = r50; - } else { - r58 = 1; - r59 = 0; - r60 = r65; - r61 = r51; - break L1096; - } - } - } else { - if (!(r47 > r44 & r45 < r44)) { - r58 = 0; - r59 = 0; - r60 = r46 ? 1e8 : r44; - r61 = r46 ? r44 : -1e8; - break; - } - r49 = r45 > -1e8 ? r45 : -1e8; - r50 = r47 < 1e8 ? r47 : 1e8; - r48 = HEAP32[r24]; - L1101 : do { - if ((HEAP32[r27] | 0) == (r48 | 0)) { - r66 = r49; - } else { - r54 = r49; - r53 = 0; - r52 = r48; - while (1) { - r55 = __ZN5Avoid5PointixEj(r52 + (r53 * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r55 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r55 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < r44) { - r55 = __ZN5Avoid5PointixEj(HEAP32[r24] + (r53 * 24 & -1) | 0, r2); - r56 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r55 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r55 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r67 = r54 < r56 ? r56 : r54; - } else { - r67 = r54; - } - r56 = r53 + 1 | 0; - r55 = HEAP32[r24]; - if (r56 >>> 0 < ((HEAP32[r27] - r55 | 0) / 24 & -1) >>> 0) { - r54 = r67; - r53 = r56; - r52 = r55; - } else { - r66 = r67; - break L1101; - } - } - } - } while (0); - r48 = HEAP32[r23]; - if ((HEAP32[r10] | 0) == (r48 | 0)) { - r58 = 0; - r59 = 1; - r60 = r50; - r61 = r66; - break; - } else { - r68 = r50; - r69 = 0; - r70 = r48; - } - while (1) { - r48 = __ZN5Avoid5PointixEj(r70 + (r69 * 24 & -1) | 0, r2); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r48 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r48 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > r44) { - r48 = __ZN5Avoid5PointixEj(HEAP32[r23] + (r69 * 24 & -1) | 0, r2); - r49 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r48 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r48 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r71 = r49 < r68 ? r49 : r68; - } else { - r71 = r68; - } - r49 = r69 + 1 | 0; - r48 = HEAP32[r23]; - if (r49 >>> 0 < ((HEAP32[r10] - r48 | 0) / 24 & -1) >>> 0) { - r68 = r71; - r69 = r49; - r70 = r48; - } else { - r58 = 0; - r59 = 1; - r60 = r71; - r61 = r66; - break L1096; - } - } - } - } while (0); - r47 = __Znwj(64); - __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjbbjdd(r47, HEAP32[r25], r41, r40, r59, r58, r2, r61, r60); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r47 + 48 | 0, HEAP32[r11 >> 2], HEAP32[r1 >> 2]); - HEAP32[r19 >> 2] = r47; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r3, r19); - break L1084; - } - } while (0); - if (!r21) { - r47 = __Znwj(64); - __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjj(r47, HEAP32[r25], r41, r40, r2); - HEAP32[r18 >> 2] = r47; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r3, r18); - break; - } - r47 = r35 + 1 | 0; - r45 = (r47 | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r33] + 16 >> 2]](r28) | 0); - do { - if (r43) { - r72 = -1e8; - r73 = 1e8; - } else { - r46 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r42 * 24 & -1) | 0, r2); - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r46 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r46 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r50 < r44) { - r72 = r50 > -1e8 ? r50 : -1e8; - r73 = 1e8; - break; - } - if (r50 <= r44) { - r72 = -1e8; - r73 = 1e8; - break; - } - r72 = -1e8; - r73 = r50 < 1e8 ? r50 : 1e8; - } - } while (0); - do { - if (r45) { - r74 = r72; - r75 = r73; - } else { - r43 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r47 * 24 & -1) | 0, r2); - r50 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r43 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r43 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r50 < r44) { - r74 = r72 < r50 ? r50 : r72; - r75 = r73; - break; - } - if (r50 <= r44) { - r74 = r72; - r75 = r73; - break; - } - r74 = r72; - r75 = r50 < r73 ? r50 : r73; - } - } while (0); - do { - if (r31) { - r76 = r74; - r77 = r75; - r4 = 937; - } else { - r44 = r75; - r47 = r74; - r45 = 0; - r50 = 0; - while (1) { - r43 = __ZN5Avoid5PointixEj(r7 + (r50 * 48 & -1) | 0, r2); - r46 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r43 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r43 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r43 = __ZN5Avoid5PointixEj(r7 + (r50 * 48 & -1) + 24 | 0, r2); - r48 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r43 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r43 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r43 = r7 + (r50 * 48 & -1) | 0; - if (__ZN5AvoidL16insideRectBoundsERKNS_5PointERKNSt3__14pairIS0_S0_EE(HEAP32[r34] + (r36 * 24 & -1) | 0, r43)) { - r78 = r45 | 1; - r79 = r47 < r46 ? r46 : r47; - r80 = r48 < r44 ? r48 : r44; - } else { - r78 = r45; - r79 = r47; - r80 = r44; - } - if (__ZN5AvoidL16insideRectBoundsERKNS_5PointERKNSt3__14pairIS0_S0_EE(HEAP32[r34] + (r35 * 24 & -1) | 0, r43)) { - r81 = r78 | 16; - r82 = r79 < r46 ? r46 : r79; - r83 = r48 < r80 ? r48 : r80; - } else { - r81 = r78; - r82 = r79; - r83 = r80; - } - r48 = r50 + 1 | 0; - if (r48 >>> 0 < r30 >>> 0) { - r44 = r83; - r47 = r82; - r45 = r81; - r50 = r48; - } else { - break; - } - } - if ((r81 | 0) == 0) { - r76 = r82; - r77 = r83; - r4 = 937; - break; - } else { - r84 = r82; - r85 = r83; - r86 = r81; - break; - } - } - } while (0); - if (r4 == 937) { - r4 = 0; - r50 = __ZN5Avoid5PointixEj(HEAP32[r34] + (r36 * 24 & -1) | 0, r2); - r45 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r50 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r50 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r50 = r45 - 15; - r47 = r45 + 15; - r84 = r76 < r50 ? r50 : r76; - r85 = r47 < r77 ? r47 : r77; - r86 = 0; - } - if (r84 == r85) { - r47 = __Znwj(64); - __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjj(r47, HEAP32[r25], r41, r40, r2); - HEAP32[r16 >> 2] = r47; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r3, r16); - break; - } - r47 = __Znwj(64); - __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjbbjdd(r47, HEAP32[r25], r41, r40, 0, 0, r2, r84, r85); - HEAP8[r47 + 45 | 0] = 1; - HEAP8[r47 + 46 | 0] = (r86 | 0) != 0 & 1; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r33] + 16 >> 2]](r28) | 0) == 2) { - HEAP8[r47 + 47 | 0] = 1; - } - HEAP32[r17 >> 2] = r47; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r3, r17); - } else { - r47 = __Znwj(64); - __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjj(r47, HEAP32[r25], r41, r40, r2); - HEAP32[r15 >> 2] = r47; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r3, r15); - } - } while (0); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r14); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r13); - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r12); - } - } while (0); - r35 = r35 + 1 | 0; - } - } - } while (0); - r25 = HEAP32[r26 + 4 >> 2]; - if ((r25 | 0) == (r8 | 0)) { - break L1061; - } else { - r26 = r25; - } - } - } - } while (0); - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED1Ev(r6); - STACKTOP = r5; - return; -} -__ZN5AvoidL30buildOrthogonalNudgingSegmentsEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE["X"] = 1; -function __ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 108 | 0; - r6 = r5; - r7 = r5 + 48; - r8 = r5 + 72; - r9 = r5 + 96; - r10 = HEAP32[r3 + 8 >> 2]; - if ((r10 | 0) == 0) { - STACKTOP = r5; - return; - } - r11 = r2 & 1 ^ 1; - r12 = HEAP32[r1 + 12 >> 2]; - r13 = r12 + r10 << 1; - r10 = _llvm_umul_with_overflow_i32(r13, 4); - r14 = __Znaj(tempRet0 ? -1 : r10); - r10 = r14 >> 2; - L1199 : do { - if ((r12 | 0) == 0) { - r15 = 0; - r16 = r13; - } else { - r17 = r7 >> 2; - r18 = r6 >> 2; - r19 = r8 >> 2; - r20 = (r6 + 24 | 0) >> 2; - r21 = 0; - r22 = 0; - r23 = r13; - r24 = r1 + 8 | 0; - while (1) { - r25 = HEAP32[r24 >> 2]; - r26 = HEAP32[r25 + 8 >> 2]; - do { - if ((r26 | 0) == 0) { - r4 = 1007; - } else { - r27 = ___dynamic_cast(r26, 5272672, 5272764); - if ((r27 | 0) == 0) { - r4 = 1007; - break; - } - if (__ZNK5Avoid11JunctionRef13positionFixedEv(HEAP8[r27 + 144 | 0])) { - r4 = 1007; - break; - } - r28 = r23 - 2 | 0; - r29 = r22; - break; - } - } while (0); - if (r4 == 1007) { - r4 = 0; - __ZNK5Avoid8Obstacle10routingBoxEv(r6, r26); - HEAP32[r17] = HEAP32[r18]; - HEAP32[r17 + 1] = HEAP32[r18 + 1]; - HEAP32[r17 + 2] = HEAP32[r18 + 2]; - HEAP32[r17 + 3] = HEAP32[r18 + 3]; - HEAP32[r17 + 4] = HEAP32[r18 + 4]; - HEAP32[r17 + 5] = HEAP32[r18 + 5]; - HEAP32[r19] = HEAP32[r20]; - HEAP32[r19 + 1] = HEAP32[r20 + 1]; - HEAP32[r19 + 2] = HEAP32[r20 + 2]; - HEAP32[r19 + 3] = HEAP32[r20 + 3]; - HEAP32[r19 + 4] = HEAP32[r20 + 4]; - HEAP32[r19 + 5] = HEAP32[r20 + 5]; - r27 = __ZN5Avoid5PointixEj(r7, r2); - r30 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r27 = __ZN5Avoid5PointixEj(r8, r2); - r31 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r27 = __ZN5Avoid5PointixEj(r7, r2); - r32 = r30 + (r31 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) * .5; - r27 = __Znwj(68); - __ZN5Avoid4NodeC1EPNS_8ObstacleEd(r27, r26, r32); - r32 = __Znwj(16); - r31 = __ZN5Avoid5PointixEj(r7, r11); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r32, 1, r27, (HEAP32[tempDoublePtr >> 2] = HEAP32[r31 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r31 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r22 << 2 >> 2) + r10] = r32; - r32 = __Znwj(16); - r31 = __ZN5Avoid5PointixEj(r8, r11); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r32, 5, r27, (HEAP32[tempDoublePtr >> 2] = HEAP32[r31 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r31 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r22 + 1 << 2 >> 2) + r10] = r32; - r28 = r23; - r29 = r22 + 2 | 0; - } - r32 = r21 + 1 | 0; - if (r32 >>> 0 < r12 >>> 0) { - r21 = r32; - r22 = r29; - r23 = r28; - r24 = r25 + 4 | 0; - } else { - r15 = r29; - r16 = r28; - break L1199; - } - } - } - } while (0); - r28 = HEAP32[r3 + 4 >> 2]; - r29 = r3; - L1214 : do { - if ((r28 | 0) != (r29 | 0)) { - r3 = r15; - r12 = r28; - while (1) { - r8 = (r12 + 8 | 0) >> 2; - r7 = HEAP32[r8]; - r6 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 8 >> 2]](r7); - r7 = HEAP32[r8]; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 12 >> 2]](r7); - r7 = __ZNK5Avoid5PointixEj(r6, r2); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = __ZNK5Avoid5PointixEj(r1, r2); - if (r13 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - ___assert_func(5244520, 2482, 5255232, 5250904); - } - r7 = __ZNK5Avoid5PointixEj(r6, r11); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = __ZNK5Avoid5PointixEj(r1, r11); - if (r13 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - ___assert_func(5244520, 2483, 5255232, 5250612); - } - r7 = __Znwj(68); - r13 = HEAP32[r8]; - r8 = __ZNK5Avoid5PointixEj(r6, r2); - __ZN5Avoid4NodeC1EPNS_12ShiftSegmentEd(r7, r13, (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r8 = __Znwj(16); - r13 = __ZNK5Avoid5PointixEj(r6, r11); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r8, 2, r7, (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r3 << 2 >> 2) + r10] = r8; - r8 = __Znwj(16); - r13 = __ZNK5Avoid5PointixEj(r1, r11); - __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r8, 4, r7, (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - HEAP32[(r3 + 1 << 2 >> 2) + r10] = r8; - r8 = HEAP32[r12 + 4 >> 2]; - if ((r8 | 0) == (r29 | 0)) { - break L1214; - } else { - r3 = r3 + 2 | 0; - r12 = r8; - } - } - } - } while (0); - _qsort(r14, r16, 4, 356); - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC1ERKS4_(r9 | 0); - r29 = (r16 | 0) == 0; - do { - if (r29) { - r33 = 0; - r34 = 0; - r35 = 0; - } else { - r11 = HEAP32[r10] + 8 | 0; - r33 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r34 = 0; - r35 = 0; - break; - } - } while (0); - while (1) { - r11 = (r35 | 0) == (r16 | 0); - do { - if (r11) { - r4 = 1031; - } else { - r28 = HEAP32[(r35 << 2 >> 2) + r10]; - r15 = r28 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r33) { - r4 = 1031; - break; - } else { - r36 = r34; - r37 = r33; - r38 = r28; - break; - } - } - } while (0); - if (r4 == 1031) { - r4 = 0; - L1235 : do { - if (r34 >>> 0 < r35 >>> 0) { - r28 = r34; - while (1) { - __ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj(r9, HEAP32[(r28 << 2 >> 2) + r10], r2, 2); - r15 = r28 + 1 | 0; - if (r15 >>> 0 < r35 >>> 0) { - r28 = r15; - } else { - r39 = r34; - break; - } - } - while (1) { - __ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj(r9, HEAP32[(r39 << 2 >> 2) + r10], r2, 3); - r28 = r39 + 1 | 0; - if (r28 >>> 0 < r35 >>> 0) { - r39 = r28; - } else { - r40 = r34; - break; - } - } - while (1) { - __ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj(r9, HEAP32[(r40 << 2 >> 2) + r10], r2, 4); - r28 = r40 + 1 | 0; - if (r28 >>> 0 < r35 >>> 0) { - r40 = r28; - } else { - break L1235; - } - } - } - } while (0); - if (r11) { - break; - } - r28 = HEAP32[(r35 << 2 >> 2) + r10]; - r25 = r28 + 8 | 0; - r36 = r35; - r37 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r25 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r38 = r28; - } - __ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj(r9, r38, r2, 1); - r28 = r35 + 1 | 0; - if (r28 >>> 0 > r16 >>> 0) { - break; - } else { - r33 = r37; - r34 = r36; - r35 = r28; - } - } - if ((HEAP32[r9 + 8 >> 2] | 0) != 0) { - ___assert_func(5244520, 2527, 5255232, 5248616); - } - L1253 : do { - if (!r29) { - r35 = 0; - while (1) { - r36 = HEAP32[(r35 << 2 >> 2) + r10]; - if ((r36 | 0) != 0) { - __ZdlPv(r36); - } - r36 = r35 + 1 | 0; - if ((r36 | 0) == (r16 | 0)) { - break L1253; - } else { - r35 = r36; - } - } - } - } while (0); - if ((r14 | 0) != 0) { - __ZdaPv(r14); - } - __ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev(r9); - STACKTOP = r5; - return; -} -__ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE["X"] = 1; -function __ZN5AvoidL21nudgeOrthogonalRoutesEPNS_6RouterEjRNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEERNS2_4listIPNS_12ShiftSegmentENS8_ISH_EEEEb(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114, r115, r116, r117, r118, r119, r120, r121, r122, r123, r124, r125, r126, r127, r128, r129, r130, r131, r132, r133, r134, r135, r136, r137, r138, r139, r140, r141, r142, r143, r144, r145, r146, r147, r148, r149, r150, r151, r152, r153, r154, r155, r156, r157, r158, r159, r160, r161, r162, r163, r164, r165, r166, r167, r168, r169, r170, r171, r172, r173, r174, r175, r176, r177, r178, r179, r180, r181, r182, r183, r184, r185, r186, r187, r188, r189, r190, r191, r192, r193, r194, r195, r196, r197, r198, r199, r200, r201, r202, r203, r204, r205, r206, r207, r208, r209, r210, r211, r212, r213, r214, r215, r216, r217, r218, r219, r220, r221, r222, r223, r224, r225, r226, r227, r228, r229, r230, r231, r232, r233, r234, r235, r236, r237, r238, r239, r240, r241, r242, r243, r244, r245, r246, r247, r248, r249, r250, r251, r252, r253, r254; - r6 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 552 | 0; - r8 = r7; - r9 = r7 + 4; - r10 = r7 + 24; - r11 = r7 + 44; - r12 = r7 + 64; - r13 = r7 + 84; - r14 = r7 + 104; - r15 = r7 + 124; - r16 = r7 + 144; - r17 = r7 + 164; - r18 = r7 + 184; - r19 = r7 + 204; - r20 = r7 + 224; - r21 = r7 + 244; - r22 = r7 + 264; - r23 = r7 + 284; - r24 = r7 + 304; - r25 = r7 + 324; - r26 = r7 + 336; - r27 = r7 + 340; - r28 = r7 + 344; - r29 = r7 + 348; - r30 = r7 + 356; - r31 = r7 + 368; - r32 = r7 + 380; - r33 = r7 + 392; - r34 = r7 + 404; - r35 = r7 + 416; - r36 = r7 + 428; - r37 = r7 + 440; - r38 = r7 + 444; - r39 = r7 + 448; - r40 = r7 + 452; - r41 = r7 + 464; - r42 = r7 + 476; - r43 = r7 + 488; - r44 = r7 + 536; - r45 = r7 + 544; - r46 = r1; - r1 = __ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(r46, 0); - r47 = __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(r46, 7); - if (r47 < 0) { - ___assert_func(5244520, 2869, 5255324, 5244748); - } - r46 = r25 | 0; - r48 = r25; - HEAP32[r25 >> 2] = r48; - r49 = (r25 + 4 | 0) >> 2; - HEAP32[r49] = r48; - r50 = r25 + 8 | 0; - HEAP32[r50 >> 2] = 0; - r51 = r4 + 8 | 0; - if ((HEAP32[r51 >> 2] | 0) == 0) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r25); - STACKTOP = r7; - return; - } - r52 = r4 + 4 | 0, r53 = r52 >> 2; - r54 = r4; - r55 = r32 | 0; - r56 = r32; - r57 = r32 + 4 | 0; - r58 = r32 + 8 | 0; - r59 = (r33 | 0) >> 2; - r60 = (r33 + 4 | 0) >> 2; - r61 = r33 + 8 | 0; - r62 = (r61 | 0) >> 2; - r63 = (r34 | 0) >> 2; - r64 = (r34 + 4 | 0) >> 2; - r65 = r34 + 8 | 0; - r66 = (r65 | 0) >> 2; - r67 = (r35 | 0) >> 2; - r68 = (r35 + 4 | 0) >> 2; - r69 = r35 + 8 | 0; - r70 = (r69 | 0) >> 2; - r71 = r36 | 0; - r72 = r36; - r73 = r36 + 4 | 0; - r74 = r36 + 8 | 0; - r75 = r40 | 0; - r76 = r40; - r77 = (r40 + 4 | 0) >> 2; - r78 = (r40 + 8 | 0) >> 2; - r79 = (r42 | 0) >> 2; - r80 = r42; - r81 = r42 + 4 | 0; - r82 = (r42 + 8 | 0) >> 2; - r83 = r65; - r65 = (r24 + 8 | 0) >> 2; - r84 = r24 + 12 | 0; - r85 = (r24 + 4 | 0) >> 2; - r86 = r24 | 0; - r87 = r24 + 16 | 0; - r88 = r23 | 0; - r89 = r23 + 4 | 0; - r90 = r23 + 8 | 0; - r91 = r23 + 12 | 0; - r92 = r47 / 10; - r93 = r44 | 0; - r94 = r44 + 4 | 0; - r95 = r45 | 0; - r96 = r45 + 4 | 0; - r97 = r32; - r98 = (r18 + 8 | 0) >> 2; - r99 = r18 + 12 | 0; - r100 = (r18 + 4 | 0) >> 2; - r101 = r18 | 0; - r102 = r18 + 16 | 0; - r103 = r17 | 0; - r104 = r17 + 4 | 0; - r105 = r17 + 8 | 0; - r106 = r17 + 12 | 0; - r107 = r61; - r61 = (r20 + 8 | 0) >> 2; - r108 = r20 + 12 | 0; - r109 = (r20 + 4 | 0) >> 2; - r110 = r20 | 0; - r111 = r20 + 16 | 0; - r112 = r19 | 0; - r113 = r19 + 4 | 0; - r114 = r19 + 8 | 0; - r115 = r19 + 12 | 0; - r116 = (r10 + 8 | 0) >> 2; - r117 = r10 + 12 | 0; - r118 = (r10 + 4 | 0) >> 2; - r119 = r10 | 0; - r120 = r10 + 16 | 0; - r121 = r9 | 0; - r122 = r9 + 4 | 0; - r123 = r9 + 8 | 0; - r124 = r9 + 12 | 0; - r125 = (r12 + 8 | 0) >> 2; - r126 = r12 + 12 | 0; - r127 = (r12 + 4 | 0) >> 2; - r128 = r12 | 0; - r129 = r12 + 16 | 0; - r130 = r11 | 0; - r131 = r11 + 4 | 0; - r132 = r11 + 8 | 0; - r133 = r11 + 12 | 0; - r134 = r69; - r69 = (r14 + 8 | 0) >> 2; - r135 = r14 + 12 | 0; - r136 = (r14 + 4 | 0) >> 2; - r137 = r14 | 0; - r138 = r14 + 16 | 0; - r139 = r13 | 0; - r140 = r13 + 4 | 0; - r141 = r13 + 8 | 0; - r142 = r13 + 12 | 0; - r143 = (r16 + 8 | 0) >> 2; - r144 = r16 + 12 | 0; - r145 = (r16 + 4 | 0) >> 2; - r146 = r16 | 0; - r147 = r16 + 16 | 0; - r148 = r15 | 0; - r149 = r15 + 4 | 0; - r150 = r15 + 8 | 0; - r151 = r15 + 12 | 0; - r152 = (r22 + 8 | 0) >> 2; - r153 = r22 + 12 | 0; - r154 = (r22 + 4 | 0) >> 2; - r155 = r22 | 0; - r156 = r22 + 16 | 0; - r157 = r21 | 0; - r158 = r21 + 4 | 0; - r159 = r21 + 8 | 0; - r160 = r21 + 12 | 0; - r161 = r30 + 4 | 0; - r162 = r30; - while (1) { - HEAP32[r26 >> 2] = HEAP32[HEAP32[r53] + 8 >> 2]; - __ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5clearEv(r46); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r25, r26); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r27, r4, HEAP32[r53]); - r163 = HEAP32[r53]; - L1274 : do { - if ((r163 | 0) != (r54 | 0)) { - r164 = r163; - while (1) { - r165 = HEAP32[r49]; - L1277 : do { - if ((r165 | 0) == (r48 | 0)) { - r6 = 1078; - } else { - r166 = r164 + 8 | 0; - r167 = r165; - while (1) { - r168 = HEAP32[r166 >> 2]; - if (FUNCTION_TABLE[HEAP32[HEAP32[r168 >> 2] + 24 >> 2]](r168, HEAP32[r167 + 8 >> 2], r2)) { - break; - } - r168 = HEAP32[r167 + 4 >> 2]; - if ((r168 | 0) == (r48 | 0)) { - r6 = 1078; - break L1277; - } else { - r167 = r168; - } - } - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r25, r166); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r28, r4, r164); - r169 = r52; - break; - } - } while (0); - if (r6 == 1078) { - r6 = 0; - r169 = r164 + 4 | 0; - } - r165 = HEAP32[r169 >> 2]; - if ((r165 | 0) == (r54 | 0)) { - break L1274; - } else { - r164 = r165; - } - } - } - } while (0); - if (!r5) { - __ZN5Avoid12CmpLineOrderC1ERNSt3__13mapINS_5PointENS_7PtOrderENS1_4lessIS3_EENS1_9allocatorINS1_4pairIKS3_S4_EEEEEEj(r29, r3, r2); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEEC1ERKS6_(r31, r25); - __ZN5AvoidL8linesortEbNSt3__14listIPNS_12ShiftSegmentENS0_9allocatorIS3_EEEERNS_12CmpLineOrderE(r30, r1, r31, r29); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE(r25, HEAP32[r161 >> 2], r162); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r30); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r31); - } - do { - if ((HEAP32[r50 >> 2] | 0) == 1) { - r163 = HEAP32[HEAP32[r49] + 8 >> 2]; - if (!(FUNCTION_TABLE[HEAP32[HEAP32[r163 >> 2] + 28 >> 2]](r163) | r5)) { - r6 = 1094; - break; - } - r163 = HEAP32[HEAP32[r49] + 8 >> 2]; - if ((r163 | 0) == 0) { - break; - } - FUNCTION_TABLE[HEAP32[HEAP32[r163 >> 2] + 4 >> 2]](r163); - break; - } else { - r6 = 1094; - } - } while (0); - if (r6 == 1094) { - r6 = 0; - HEAP32[r55 >> 2] = r56; - HEAP32[r57 >> 2] = r56; - HEAP32[r58 >> 2] = 0; - HEAP32[r59] = 0; - HEAP32[r60] = 0; - HEAP32[r62] = 0; - HEAP32[r63] = 0; - HEAP32[r64] = 0; - HEAP32[r66] = 0; - HEAP32[r67] = 0; - HEAP32[r68] = 0; - HEAP32[r70] = 0; - HEAP32[r71 >> 2] = r72; - HEAP32[r73 >> 2] = r72; - HEAP32[r74 >> 2] = 0; - r163 = HEAP32[r49]; - L1302 : do { - if ((r163 | 0) != (r48 | 0)) { - r164 = r163; - while (1) { - r165 = HEAP32[r164 + 8 >> 2]; - if ((r165 | 0) == 0) { - r170 = 0; - } else { - r170 = ___dynamic_cast(r165, 5272756, 5272736); - } - __ZN5Avoid19NudgingShiftSegment20createSolverVariableEb(r170, r5); - r165 = (r170 + 28 | 0) >> 2; - r167 = HEAP32[r60]; - r168 = HEAP32[r62]; - if (r167 >>> 0 < r168 >>> 0) { - if ((r167 | 0) == 0) { - r171 = 0; - } else { - HEAP32[r167 >> 2] = HEAP32[r165]; - r171 = HEAP32[r60]; - } - r172 = r171 + 4 | 0; - HEAP32[r60] = r172; - r173 = r172; - } else { - r172 = HEAP32[r59]; - r174 = r167 - r172 + 4 >> 2 | 0; - if (r174 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r175 = HEAP32[r62]; - r176 = HEAP32[r59]; - } else { - r175 = r168; - r176 = r172; - } - r172 = r176; - r168 = r175 - r172 | 0; - if (r168 >> 2 >>> 0 > 536870910) { - r177 = 1073741823; - } else { - r167 = r168 >> 1; - r177 = r167 >>> 0 < r174 >>> 0 ? r174 : r167; - } - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r22, r177, HEAP32[r60] - r172 >> 2, r107); - r172 = HEAP32[r152]; - do { - if ((r172 | 0) == (HEAP32[r153 >> 2] | 0)) { - r167 = HEAP32[r154]; - r174 = HEAP32[r155 >> 2]; - if (r167 >>> 0 > r174 >>> 0) { - r168 = r167; - r178 = (r168 - r174 + 4 >> 2 | 0) / -2 & -1; - r179 = (r178 << 2) + r167 | 0; - r180 = r172 - r168 | 0; - _memmove(r179, r167, r180, 4, 0); - r168 = ((r180 >> 2) + r178 << 2) + r167 | 0; - HEAP32[r152] = r168; - HEAP32[r154] = r179; - r181 = r168; - break; - } - r168 = r172 - r174 >> 1; - r179 = (r168 | 0) == 0 ? 1 : r168; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r21, r179, r179 >>> 2, HEAP32[r156 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r21, r167, r172); - HEAP32[r155 >> 2] = HEAP32[r157 >> 2]; - HEAP32[r157 >> 2] = r174; - HEAP32[r154] = HEAP32[r158 >> 2]; - HEAP32[r158 >> 2] = r167; - r167 = HEAP32[r159 >> 2]; - HEAP32[r152] = r167; - HEAP32[r159 >> 2] = r172; - HEAP32[r153 >> 2] = HEAP32[r160 >> 2]; - HEAP32[r160 >> 2] = r172; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r21); - r181 = r167; - } else { - r181 = r172; - } - } while (0); - if ((r181 | 0) == 0) { - r182 = 0; - } else { - HEAP32[r181 >> 2] = HEAP32[r165]; - r182 = r181; - } - HEAP32[r152] = r182 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r33, r22); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r22); - r173 = HEAP32[r60]; - } - r172 = (r173 - HEAP32[r59] >> 2) - 1 | 0; - HEAP32[r37 >> 2] = r172; - r167 = r170 + 44 | 0; - do { - if ((HEAP8[r167] & 1) << 24 >> 24 == 0) { - r174 = (r170 + 8 | 0) >> 2; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r174], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r174 + 1], HEAPF64[tempDoublePtr >> 3]) <= -1e8) { - break; - } - r179 = __Znwj(76); - __ZN5Avoid8VariableC1Eiddd(r179, 2, (HEAP32[tempDoublePtr >> 2] = HEAP32[r174], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r174 + 1], HEAPF64[tempDoublePtr >> 3]), 1e5); - r174 = HEAP32[r60]; - r168 = HEAP32[r62]; - if (r174 >>> 0 < r168 >>> 0) { - if ((r174 | 0) == 0) { - r183 = 0; - } else { - HEAP32[r174 >> 2] = r179; - r183 = HEAP32[r60]; - } - HEAP32[r60] = r183 + 4 | 0; - } else { - r178 = HEAP32[r59]; - r180 = r174 - r178 + 4 >> 2 | 0; - if (r180 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r184 = HEAP32[r62]; - r185 = HEAP32[r59]; - } else { - r184 = r168; - r185 = r178; - } - r178 = r185; - r168 = r184 - r178 | 0; - if (r168 >> 2 >>> 0 > 536870910) { - r186 = 1073741823; - } else { - r174 = r168 >> 1; - r186 = r174 >>> 0 < r180 >>> 0 ? r180 : r174; - } - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r20, r186, HEAP32[r60] - r178 >> 2, r107); - r178 = HEAP32[r61]; - do { - if ((r178 | 0) == (HEAP32[r108 >> 2] | 0)) { - r174 = HEAP32[r109]; - r180 = HEAP32[r110 >> 2]; - if (r174 >>> 0 > r180 >>> 0) { - r168 = r174; - r187 = (r168 - r180 + 4 >> 2 | 0) / -2 & -1; - r188 = (r187 << 2) + r174 | 0; - r189 = r178 - r168 | 0; - _memmove(r188, r174, r189, 4, 0); - r168 = ((r189 >> 2) + r187 << 2) + r174 | 0; - HEAP32[r61] = r168; - HEAP32[r109] = r188; - r190 = r168; - break; - } - r168 = r178 - r180 >> 1; - r188 = (r168 | 0) == 0 ? 1 : r168; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r19, r188, r188 >>> 2, HEAP32[r111 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r19, r174, r178); - HEAP32[r110 >> 2] = HEAP32[r112 >> 2]; - HEAP32[r112 >> 2] = r180; - HEAP32[r109] = HEAP32[r113 >> 2]; - HEAP32[r113 >> 2] = r174; - r174 = HEAP32[r114 >> 2]; - HEAP32[r61] = r174; - HEAP32[r114 >> 2] = r178; - HEAP32[r108 >> 2] = HEAP32[r115 >> 2]; - HEAP32[r115 >> 2] = r178; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r19); - r190 = r174; - } else { - r190 = r178; - } - } while (0); - if ((r190 | 0) == 0) { - r191 = 0; - } else { - HEAP32[r190 >> 2] = r179; - r191 = r190; - } - HEAP32[r61] = r191 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r33, r20); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r20); - } - r178 = __Znwj(32); - r166 = HEAP32[r59]; - __ZN5Avoid10ConstraintC1EPNS_8VariableES2_db(r178, HEAP32[r166 + ((HEAP32[r60] - r166 >> 2) - 1 << 2) >> 2], HEAP32[r166 + (r172 << 2) >> 2], 0, 0); - r166 = HEAP32[r64]; - r174 = HEAP32[r66]; - if (r166 >>> 0 < r174 >>> 0) { - if ((r166 | 0) == 0) { - r192 = 0; - } else { - HEAP32[r166 >> 2] = r178; - r192 = HEAP32[r64]; - } - HEAP32[r64] = r192 + 4 | 0; - break; - } - r180 = HEAP32[r63]; - r188 = r166 - r180 + 4 >> 2 | 0; - if (r188 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r193 = HEAP32[r66]; - r194 = HEAP32[r63]; - } else { - r193 = r174; - r194 = r180; - } - r180 = r194; - r174 = r193 - r180 | 0; - if (r174 >> 2 >>> 0 > 536870910) { - r195 = 1073741823; - } else { - r166 = r174 >> 1; - r195 = r166 >>> 0 < r188 >>> 0 ? r188 : r166; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r18, r195, HEAP32[r64] - r180 >> 2, r83); - r180 = HEAP32[r98]; - do { - if ((r180 | 0) == (HEAP32[r99 >> 2] | 0)) { - r166 = HEAP32[r100]; - r188 = HEAP32[r101 >> 2]; - if (r166 >>> 0 > r188 >>> 0) { - r174 = r166; - r168 = (r174 - r188 + 4 >> 2 | 0) / -2 & -1; - r187 = (r168 << 2) + r166 | 0; - r189 = r180 - r174 | 0; - _memmove(r187, r166, r189, 4, 0); - r174 = ((r189 >> 2) + r168 << 2) + r166 | 0; - HEAP32[r98] = r174; - HEAP32[r100] = r187; - r196 = r174; - break; - } - r174 = r180 - r188 >> 1; - r187 = (r174 | 0) == 0 ? 1 : r174; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r17, r187, r187 >>> 2, HEAP32[r102 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r17, r166, r180); - HEAP32[r101 >> 2] = HEAP32[r103 >> 2]; - HEAP32[r103 >> 2] = r188; - HEAP32[r100] = HEAP32[r104 >> 2]; - HEAP32[r104 >> 2] = r166; - r166 = HEAP32[r105 >> 2]; - HEAP32[r98] = r166; - HEAP32[r105 >> 2] = r180; - HEAP32[r99 >> 2] = HEAP32[r106 >> 2]; - HEAP32[r106 >> 2] = r180; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r17); - r196 = r166; - } else { - r196 = r180; - } - } while (0); - if ((r196 | 0) == 0) { - r197 = 0; - } else { - HEAP32[r196 >> 2] = r178; - r197 = r196; - } - HEAP32[r98] = r197 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r34, r18); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r18); - } - } while (0); - if (r5) { - r180 = HEAP32[r165] + 20 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r180 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r180 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == 1e-5) { - __ZNSt3__14listIjNS_9allocatorIjEEE9push_backERKj(r32, r37); - } - HEAP32[r38 >> 2] = r170 | 0; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r36, r38); - } else { - r180 = HEAP32[r73 >> 2]; - L1394 : do { - if ((r180 | 0) != (r72 | 0)) { - r179 = r170; - r166 = r170 + 24 | 0; - r188 = r180; - while (1) { - r187 = HEAP32[r188 + 8 >> 2]; - if ((r187 | 0) == 0) { - r198 = 0; - } else { - r198 = ___dynamic_cast(r187, 5272756, 5272736); - } - r187 = HEAP32[r198 + 28 >> 2]; - r174 = r198 | 0; - do { - if (FUNCTION_TABLE[HEAP32[HEAP32[r179 >> 2] + 24 >> 2]](r170, r174, r2)) { - if ((HEAP8[r167] & 1) << 24 >> 24 != 0) { - if ((HEAP8[r198 + 44 | 0] & 1) << 24 >> 24 != 0) { - break; - } - } - if (__ZNK5Avoid19NudgingShiftSegment15shouldAlignWithEPKNS_12ShiftSegmentEj(r170, r174, r2)) { - r199 = 1; - r200 = 0; - } else { - r199 = 0; - r200 = (HEAP32[r166 >> 2] | 0) == (HEAP32[r198 + 24 >> 2] | 0) ? 0 : r47; - } - r168 = __Znwj(32); - __ZN5Avoid10ConstraintC1EPNS_8VariableES2_db(r168, r187, HEAP32[HEAP32[r59] + (r172 << 2) >> 2], r200, r199); - r189 = HEAP32[r64]; - r201 = HEAP32[r66]; - if (r189 >>> 0 < r201 >>> 0) { - if ((r189 | 0) == 0) { - r202 = 0; - } else { - HEAP32[r189 >> 2] = r168; - r202 = HEAP32[r64]; - } - HEAP32[r64] = r202 + 4 | 0; - } else { - r203 = HEAP32[r63]; - r204 = r189 - r203 + 4 >> 2 | 0; - if (r204 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r205 = HEAP32[r66]; - r206 = HEAP32[r63]; - } else { - r205 = r201; - r206 = r203; - } - r203 = r206; - r201 = r205 - r203 | 0; - if (r201 >> 2 >>> 0 > 536870910) { - r207 = 1073741823; - } else { - r189 = r201 >> 1; - r207 = r189 >>> 0 < r204 >>> 0 ? r204 : r189; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r16, r207, HEAP32[r64] - r203 >> 2, r83); - r203 = HEAP32[r143]; - do { - if ((r203 | 0) == (HEAP32[r144 >> 2] | 0)) { - r189 = HEAP32[r145]; - r204 = HEAP32[r146 >> 2]; - if (r189 >>> 0 > r204 >>> 0) { - r201 = r189; - r208 = (r201 - r204 + 4 >> 2 | 0) / -2 & -1; - r209 = (r208 << 2) + r189 | 0; - r210 = r203 - r201 | 0; - _memmove(r209, r189, r210, 4, 0); - r201 = ((r210 >> 2) + r208 << 2) + r189 | 0; - HEAP32[r143] = r201; - HEAP32[r145] = r209; - r211 = r201; - break; - } - r201 = r203 - r204 >> 1; - r209 = (r201 | 0) == 0 ? 1 : r201; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r15, r209, r209 >>> 2, HEAP32[r147 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r15, r189, r203); - HEAP32[r146 >> 2] = HEAP32[r148 >> 2]; - HEAP32[r148 >> 2] = r204; - HEAP32[r145] = HEAP32[r149 >> 2]; - HEAP32[r149 >> 2] = r189; - r189 = HEAP32[r150 >> 2]; - HEAP32[r143] = r189; - HEAP32[r150 >> 2] = r203; - HEAP32[r144 >> 2] = HEAP32[r151 >> 2]; - HEAP32[r151 >> 2] = r203; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r15); - r211 = r189; - } else { - r211 = r203; - } - } while (0); - if ((r211 | 0) == 0) { - r212 = 0; - } else { - HEAP32[r211 >> 2] = r168; - r212 = r211; - } - HEAP32[r143] = r212 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r34, r16); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r16); - } - if (r200 == 0) { - break; - } - r203 = HEAP32[r68]; - r189 = HEAP32[r70]; - if (r203 >>> 0 < r189 >>> 0) { - if ((r203 | 0) == 0) { - r213 = 0; - } else { - HEAP32[r203 >> 2] = r168; - r213 = HEAP32[r68]; - } - HEAP32[r68] = r213 + 4 | 0; - break; - } - r204 = HEAP32[r67]; - r209 = r203 - r204 + 4 >> 2 | 0; - if (r209 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r214 = HEAP32[r70]; - r215 = HEAP32[r67]; - } else { - r214 = r189; - r215 = r204; - } - r204 = r215; - r189 = r214 - r204 | 0; - if (r189 >> 2 >>> 0 > 536870910) { - r216 = 1073741823; - } else { - r203 = r189 >> 1; - r216 = r203 >>> 0 < r209 >>> 0 ? r209 : r203; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r14, r216, HEAP32[r68] - r204 >> 2, r134); - r204 = HEAP32[r69]; - do { - if ((r204 | 0) == (HEAP32[r135 >> 2] | 0)) { - r203 = HEAP32[r136]; - r209 = HEAP32[r137 >> 2]; - if (r203 >>> 0 > r209 >>> 0) { - r189 = r203; - r201 = (r189 - r209 + 4 >> 2 | 0) / -2 & -1; - r208 = (r201 << 2) + r203 | 0; - r210 = r204 - r189 | 0; - _memmove(r208, r203, r210, 4, 0); - r189 = ((r210 >> 2) + r201 << 2) + r203 | 0; - HEAP32[r69] = r189; - HEAP32[r136] = r208; - r217 = r189; - break; - } - r189 = r204 - r209 >> 1; - r208 = (r189 | 0) == 0 ? 1 : r189; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r13, r208, r208 >>> 2, HEAP32[r138 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r13, r203, r204); - HEAP32[r137 >> 2] = HEAP32[r139 >> 2]; - HEAP32[r139 >> 2] = r209; - HEAP32[r136] = HEAP32[r140 >> 2]; - HEAP32[r140 >> 2] = r203; - r203 = HEAP32[r141 >> 2]; - HEAP32[r69] = r203; - HEAP32[r141 >> 2] = r204; - HEAP32[r135 >> 2] = HEAP32[r142 >> 2]; - HEAP32[r142 >> 2] = r204; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r13); - r217 = r203; - } else { - r217 = r204; - } - } while (0); - if ((r217 | 0) == 0) { - r218 = 0; - } else { - HEAP32[r217 >> 2] = r168; - r218 = r217; - } - HEAP32[r69] = r218 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r35, r14); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r14); - } - } while (0); - r187 = HEAP32[r188 + 4 >> 2]; - if ((r187 | 0) == (r72 | 0)) { - break L1394; - } else { - r188 = r187; - } - } - } - } while (0); - do { - if ((HEAP8[r167] & 1) << 24 >> 24 == 0) { - r180 = (r170 + 16 | 0) >> 2; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r180], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r180 + 1], HEAPF64[tempDoublePtr >> 3]) >= 1e8) { - break; - } - r165 = __Znwj(76); - __ZN5Avoid8VariableC1Eiddd(r165, 3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r180], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r180 + 1], HEAPF64[tempDoublePtr >> 3]), 1e5); - r180 = HEAP32[r60]; - r188 = HEAP32[r62]; - if (r180 >>> 0 < r188 >>> 0) { - if ((r180 | 0) == 0) { - r219 = 0; - } else { - HEAP32[r180 >> 2] = r165; - r219 = HEAP32[r60]; - } - HEAP32[r60] = r219 + 4 | 0; - } else { - r166 = HEAP32[r59]; - r179 = r180 - r166 + 4 >> 2 | 0; - if (r179 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r220 = HEAP32[r62]; - r221 = HEAP32[r59]; - } else { - r220 = r188; - r221 = r166; - } - r166 = r221; - r188 = r220 - r166 | 0; - if (r188 >> 2 >>> 0 > 536870910) { - r222 = 1073741823; - } else { - r180 = r188 >> 1; - r222 = r180 >>> 0 < r179 >>> 0 ? r179 : r180; - } - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r12, r222, HEAP32[r60] - r166 >> 2, r107); - r166 = HEAP32[r125]; - do { - if ((r166 | 0) == (HEAP32[r126 >> 2] | 0)) { - r180 = HEAP32[r127]; - r179 = HEAP32[r128 >> 2]; - if (r180 >>> 0 > r179 >>> 0) { - r188 = r180; - r178 = (r188 - r179 + 4 >> 2 | 0) / -2 & -1; - r187 = (r178 << 2) + r180 | 0; - r174 = r166 - r188 | 0; - _memmove(r187, r180, r174, 4, 0); - r188 = ((r174 >> 2) + r178 << 2) + r180 | 0; - HEAP32[r125] = r188; - HEAP32[r127] = r187; - r223 = r188; - break; - } - r188 = r166 - r179 >> 1; - r187 = (r188 | 0) == 0 ? 1 : r188; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r11, r187, r187 >>> 2, HEAP32[r129 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r11, r180, r166); - HEAP32[r128 >> 2] = HEAP32[r130 >> 2]; - HEAP32[r130 >> 2] = r179; - HEAP32[r127] = HEAP32[r131 >> 2]; - HEAP32[r131 >> 2] = r180; - r180 = HEAP32[r132 >> 2]; - HEAP32[r125] = r180; - HEAP32[r132 >> 2] = r166; - HEAP32[r126 >> 2] = HEAP32[r133 >> 2]; - HEAP32[r133 >> 2] = r166; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r11); - r223 = r180; - } else { - r223 = r166; - } - } while (0); - if ((r223 | 0) == 0) { - r224 = 0; - } else { - HEAP32[r223 >> 2] = r165; - r224 = r223; - } - HEAP32[r125] = r224 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r33, r12); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r12); - } - r166 = __Znwj(32); - r180 = HEAP32[r59]; - __ZN5Avoid10ConstraintC1EPNS_8VariableES2_db(r166, HEAP32[r180 + (r172 << 2) >> 2], HEAP32[r180 + ((HEAP32[r60] - r180 >> 2) - 1 << 2) >> 2], 0, 0); - r180 = HEAP32[r64]; - r179 = HEAP32[r66]; - if (r180 >>> 0 < r179 >>> 0) { - if ((r180 | 0) == 0) { - r225 = 0; - } else { - HEAP32[r180 >> 2] = r166; - r225 = HEAP32[r64]; - } - HEAP32[r64] = r225 + 4 | 0; - break; - } - r187 = HEAP32[r63]; - r188 = r180 - r187 + 4 >> 2 | 0; - if (r188 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r226 = HEAP32[r66]; - r227 = HEAP32[r63]; - } else { - r226 = r179; - r227 = r187; - } - r187 = r227; - r179 = r226 - r187 | 0; - if (r179 >> 2 >>> 0 > 536870910) { - r228 = 1073741823; - } else { - r180 = r179 >> 1; - r228 = r180 >>> 0 < r188 >>> 0 ? r188 : r180; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r10, r228, HEAP32[r64] - r187 >> 2, r83); - r187 = HEAP32[r116]; - do { - if ((r187 | 0) == (HEAP32[r117 >> 2] | 0)) { - r180 = HEAP32[r118]; - r188 = HEAP32[r119 >> 2]; - if (r180 >>> 0 > r188 >>> 0) { - r179 = r180; - r178 = (r179 - r188 + 4 >> 2 | 0) / -2 & -1; - r174 = (r178 << 2) + r180 | 0; - r204 = r187 - r179 | 0; - _memmove(r174, r180, r204, 4, 0); - r179 = ((r204 >> 2) + r178 << 2) + r180 | 0; - HEAP32[r116] = r179; - HEAP32[r118] = r174; - r229 = r179; - break; - } - r179 = r187 - r188 >> 1; - r174 = (r179 | 0) == 0 ? 1 : r179; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r9, r174, r174 >>> 2, HEAP32[r120 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r9, r180, r187); - HEAP32[r119 >> 2] = HEAP32[r121 >> 2]; - HEAP32[r121 >> 2] = r188; - HEAP32[r118] = HEAP32[r122 >> 2]; - HEAP32[r122 >> 2] = r180; - r180 = HEAP32[r123 >> 2]; - HEAP32[r116] = r180; - HEAP32[r123 >> 2] = r187; - HEAP32[r117 >> 2] = HEAP32[r124 >> 2]; - HEAP32[r124 >> 2] = r187; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r9); - r229 = r180; - } else { - r229 = r187; - } - } while (0); - if ((r229 | 0) == 0) { - r230 = 0; - } else { - HEAP32[r229 >> 2] = r166; - r230 = r229; - } - HEAP32[r116] = r230 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r34, r10); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r10); - } - } while (0); - HEAP32[r39 >> 2] = r170 | 0; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r36, r39); - } - r172 = HEAP32[r164 + 4 >> 2]; - if ((r172 | 0) == (r48 | 0)) { - break L1302; - } else { - r164 = r172; - } - } - } - } while (0); - HEAP32[r75 >> 2] = r76; - HEAP32[r77] = r76; - HEAP32[r78] = 0; - L1529 : do { - if (r5) { - r163 = HEAP32[r57 >> 2]; - if ((r163 | 0) == (r56 | 0)) { - break; - } else { - r231 = r163; - } - while (1) { - L1533 : do { - if ((r231 | 0) != (r56 | 0)) { - r163 = r231 + 8 | 0; - r164 = r231; - while (1) { - if ((r231 | 0) != (r164 | 0)) { - __ZN5Avoid26PotentialSegmentConstraintC1EjjRKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r41, HEAP32[r163 >> 2], HEAP32[r164 + 8 >> 2], r33); - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9push_backERKS2_(r40, r41); - } - r172 = HEAP32[r164 + 4 >> 2]; - if ((r172 | 0) == (r56 | 0)) { - break L1533; - } else { - r164 = r172; - } - } - } - } while (0); - r164 = HEAP32[r231 + 4 >> 2]; - if ((r164 | 0) == (r56 | 0)) { - break L1529; - } else { - r231 = r164; - } - } - } - } while (0); - HEAP32[r79] = r80; - HEAP32[r81 >> 2] = r80; - HEAP32[r82] = 0; - r164 = 0; - r163 = r47; - while (1) { - __ZN5Avoid9IncSolverC1ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE(r43, r33, r34); - __ZN5Avoid9IncSolver5solveEv(r43); - r166 = HEAP32[r59]; - L1546 : do { - if ((HEAP32[r60] | 0) == (r166 | 0)) { - r232 = 1; - } else { - r172 = 1; - r167 = 0; - r187 = r166; - while (1) { - r165 = HEAP32[r187 + (r167 << 2) >> 2]; - r180 = HEAP32[r165 >> 2]; - do { - if ((r180 | 0) > 0) { - r188 = r165 + 12 | 0; - r174 = r165 + 4 | 0; - if (Math.abs((HEAP32[tempDoublePtr >> 2] = HEAP32[r188 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r188 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r174 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r174 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) <= .01) { - r233 = r172; - break; - } - if ((r180 | 0) == 2) { - if ((HEAP32[r82] | 0) != 0) { - r174 = HEAP32[r79]; - if ((HEAP32[r174 + 8 >> 2] | 0) == (HEAP32[r174 + 12 >> 2] | 0)) { - r233 = 0; - break; - } - } - HEAP32[r93 >> 2] = r167; - HEAP32[r94 >> 2] = r167; - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9push_backERKS2_(r42, r44); - r233 = 0; - break; - } else if ((r180 | 0) == 3) { - if ((HEAP32[r82] | 0) == 0) { - ___assert_func(5244520, 3153, 5255324, 5244408); - } - HEAP32[HEAP32[r79] + 12 >> 2] = r167; - r233 = 0; - break; - } else if ((r180 | 0) == 1) { - if ((HEAP32[r82] | 0) == 0) { - HEAP32[r95 >> 2] = r167; - HEAP32[r96 >> 2] = r167; - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9push_backERKS2_(r42, r45); - r233 = 0; - break; - } else { - HEAP32[HEAP32[r79] + 12 >> 2] = r167; - r233 = 0; - break; - } - } else { - r233 = 0; - break; - } - } else { - r233 = r172; - } - } while (0); - r180 = r167 + 1 | 0; - r165 = HEAP32[r59]; - if (r180 >>> 0 < HEAP32[r60] - r165 >> 2 >>> 0) { - r172 = r233; - r167 = r180; - r187 = r165; - } else { - r232 = r233; - break L1546; - } - } - } - } while (0); - L1567 : do { - if (r5) { - do { - if ((r164 & 1) << 24 >> 24 != 0) { - if ((HEAP32[r78] | 0) == 0) { - ___assert_func(5244520, 3197, 5255324, 5243620); - } - if ((r232 & 1) << 24 >> 24 == 0) { - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9pop_frontEv(r40); - r166 = HEAP32[r64]; - r187 = HEAP32[r166 - 4 >> 2]; - if ((r187 | 0) == 0) { - r234 = r166; - } else { - __ZdlPv(r187); - r234 = HEAP32[r64]; - } - HEAP32[r64] = r234 - 4 | 0; - break; - } - r187 = HEAP32[r77]; - L1580 : do { - if ((r187 | 0) != (r76 | 0)) { - r166 = r187 + 8 | 0; - r167 = r187 + 12 | 0; - r172 = r187; - while (1) { - __ZN5Avoid26PotentialSegmentConstraint12rewriteIndexEjj(r172 + 8 | 0, HEAP32[r166 >> 2], HEAP32[r167 >> 2]); - r165 = HEAP32[r172 + 4 >> 2]; - if ((r165 | 0) == (r76 | 0)) { - break L1580; - } else { - r172 = r165; - } - } - } - } while (0); - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9pop_frontEv(r40); - } - } while (0); - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r8, HEAP32[r77], r76, HEAP32[r78]); - if ((HEAP32[r78] | 0) == 0) { - r235 = r232; - r236 = 0; - r237 = r163; - break; - } - while (1) { - r187 = HEAP32[r77]; - r238 = r187 + 8 | 0; - r239 = HEAP32[r238 >> 2]; - r240 = r187 + 12 | 0; - r241 = HEAP32[r240 >> 2]; - if (__ZNK5Avoid26PotentialSegmentConstraint10stillValidEv(r239, r241)) { - break; - } - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9pop_frontEv(r40); - if ((HEAP32[r78] | 0) == 0) { - r235 = r232; - r236 = 0; - r237 = r163; - break L1567; - } - } - if ((r239 | 0) == (r241 | 0)) { - ___assert_func(5244520, 3243, 5255324, 5243040); - } - r187 = __Znwj(32); - r172 = HEAP32[r59]; - __ZN5Avoid10ConstraintC1EPNS_8VariableES2_db(r187, HEAP32[r172 + (HEAP32[r238 >> 2] << 2) >> 2], HEAP32[r172 + (HEAP32[r240 >> 2] << 2) >> 2], 0, 1); - r172 = HEAP32[r64]; - r167 = HEAP32[r66]; - if (r172 >>> 0 < r167 >>> 0) { - if ((r172 | 0) == 0) { - r242 = 0; - } else { - HEAP32[r172 >> 2] = r187; - r242 = HEAP32[r64]; - } - HEAP32[r64] = r242 + 4 | 0; - r235 = 0; - r236 = 1; - r237 = r163; - break; - } - r166 = HEAP32[r63]; - r165 = r172 - r166 + 4 >> 2 | 0; - if (r165 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r243 = HEAP32[r66]; - r244 = HEAP32[r63]; - } else { - r243 = r167; - r244 = r166; - } - r166 = r244; - r167 = r243 - r166 | 0; - if (r167 >> 2 >>> 0 > 536870910) { - r245 = 1073741823; - } else { - r172 = r167 >> 1; - r245 = r172 >>> 0 < r165 >>> 0 ? r165 : r172; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r24, r245, HEAP32[r64] - r166 >> 2, r83); - r166 = HEAP32[r65]; - do { - if ((r166 | 0) == (HEAP32[r84 >> 2] | 0)) { - r172 = HEAP32[r85]; - r165 = HEAP32[r86 >> 2]; - if (r172 >>> 0 > r165 >>> 0) { - r167 = r172; - r180 = (r167 - r165 + 4 >> 2 | 0) / -2 & -1; - r174 = (r180 << 2) + r172 | 0; - r188 = r166 - r167 | 0; - _memmove(r174, r172, r188, 4, 0); - r167 = ((r188 >> 2) + r180 << 2) + r172 | 0; - HEAP32[r65] = r167; - HEAP32[r85] = r174; - r246 = r167; - break; - } - r167 = r166 - r165 >> 1; - r174 = (r167 | 0) == 0 ? 1 : r167; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r23, r174, r174 >>> 2, HEAP32[r87 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r23, r172, r166); - HEAP32[r86 >> 2] = HEAP32[r88 >> 2]; - HEAP32[r88 >> 2] = r165; - HEAP32[r85] = HEAP32[r89 >> 2]; - HEAP32[r89 >> 2] = r172; - r172 = HEAP32[r90 >> 2]; - HEAP32[r65] = r172; - HEAP32[r90 >> 2] = r166; - HEAP32[r84 >> 2] = HEAP32[r91 >> 2]; - HEAP32[r91 >> 2] = r166; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r23); - r246 = r172; - } else { - r246 = r166; - } - } while (0); - if ((r246 | 0) == 0) { - r247 = 0; - } else { - HEAP32[r246 >> 2] = r187; - r247 = r246; - } - HEAP32[r65] = r247 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r34, r24); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r24); - r235 = 0; - r236 = 1; - r237 = r163; - } else { - if ((r232 & 1) << 24 >> 24 != 0) { - r235 = r232; - r236 = r164; - r237 = r163; - break; - } - if ((HEAP32[r82] | 0) == 0) { - ___assert_func(5244520, 3254, 5255324, 5244408); - } - r166 = r163 - r92; - r172 = HEAP32[r63]; - if ((r172 | 0) == (HEAP32[r64] | 0)) { - r235 = r232; - r236 = r164; - r237 = r166; - break; - } else { - r248 = r172; - r249 = 0; - } - while (1) { - r172 = HEAP32[r81 >> 2]; - r165 = HEAP32[r248 >> 2]; - r174 = HEAP32[r59]; - r167 = (HEAP32[r165 >> 2] | 0) == (HEAP32[r174 + (HEAP32[r172 + 8 >> 2] << 2) >> 2] | 0) ? 1 : r249; - do { - if ((r167 & 1) << 24 >> 24 == 0) { - r250 = r174; - } else { - r180 = (r165 + 8 | 0) >> 2; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r180], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r180 + 1], HEAPF64[tempDoublePtr >> 3]) <= 0) { - r250 = r174; - break; - } - HEAPF64[tempDoublePtr >> 3] = r166, HEAP32[r180] = HEAP32[tempDoublePtr >> 2], HEAP32[r180 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r250 = HEAP32[r59]; - } - } while (0); - if ((HEAP32[r165 + 4 >> 2] | 0) == (HEAP32[r250 + (HEAP32[r172 + 12 >> 2] << 2) >> 2] | 0)) { - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9pop_frontEv(r42); - if ((HEAP32[r82] | 0) == 0) { - r235 = r232; - r236 = r164; - r237 = r166; - break L1567; - } else { - r251 = 0; - } - } else { - r251 = r167; - } - r174 = r248 + 4 | 0; - if ((r174 | 0) == (HEAP32[r64] | 0)) { - r235 = r232; - r236 = r164; - r237 = r166; - break L1567; - } else { - r248 = r174; - r249 = r251; - } - } - } - } while (0); - __ZN5Avoid9IncSolverD1Ev(r43); - r252 = (r235 & 1) << 24 >> 24 != 0; - if (r237 > 1e-4 & (r252 ^ 1)) { - r164 = r236; - r163 = r237; - } else { - break; - } - } - L1635 : do { - if (r252) { - r163 = HEAP32[r49]; - if ((r163 | 0) == (r48 | 0)) { - break; - } else { - r253 = r163; - } - while (1) { - r163 = HEAP32[r253 + 8 >> 2]; - if ((r163 | 0) == 0) { - r254 = 0; - } else { - r254 = ___dynamic_cast(r163, 5272756, 5272736); - } - __ZN5Avoid19NudgingShiftSegment25updatePositionsFromSolverEv(r254); - r163 = HEAP32[r253 + 4 >> 2]; - if ((r163 | 0) == (r48 | 0)) { - break L1635; - } else { - r253 = r163; - } - } - } - } while (0); - r163 = HEAP32[r49]; - L1644 : do { - if ((r163 | 0) != (r48 | 0)) { - r164 = r163; - while (1) { - __ZN5Avoid13delete_objectclINS_12ShiftSegmentEEEvPT_(HEAP32[r164 + 8 >> 2]); - r166 = HEAP32[r164 + 4 >> 2]; - if ((r166 | 0) == (r48 | 0)) { - break L1644; - } else { - r164 = r166; - } - } - } - } while (0); - r163 = HEAP32[r59]; - r164 = HEAP32[r60]; - L1649 : do { - if ((r163 | 0) != (r164 | 0)) { - r166 = r163; - while (1) { - __ZN5Avoid13delete_objectclINS_8VariableEEEvPT_(HEAP32[r166 >> 2]); - r187 = r166 + 4 | 0; - if ((r187 | 0) == (r164 | 0)) { - break L1649; - } else { - r166 = r187; - } - } - } - } while (0); - r164 = HEAP32[r63]; - r163 = HEAP32[r64]; - L1653 : do { - if ((r164 | 0) != (r163 | 0)) { - r166 = r164; - while (1) { - __ZN5Avoid13delete_objectclINS_10ConstraintEEEvPT_(HEAP32[r166 >> 2]); - r187 = r166 + 4 | 0; - if ((r187 | 0) == (r163 | 0)) { - break L1653; - } else { - r166 = r187; - } - } - } - } while (0); - __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED1Ev(r42); - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED1Ev(r40); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r36); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r35); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r34); - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED1Ev(r33); - __ZNSt3__14listIjNS_9allocatorIjEEED1Ev(r97); - } - if ((HEAP32[r51 >> 2] | 0) == 0) { - break; - } - } - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r25); - STACKTOP = r7; - return; -} -__ZN5AvoidL21nudgeOrthogonalRoutesEPNS_6RouterEjRNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEERNS2_4listIPNS_12ShiftSegmentENS8_ISH_EEEEb["X"] = 1; -function __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC2ERKS9_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED1Ev(r1) { - __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED2Ev(r1); - return; -} -function __ZN5AvoidL31buildOrthogonalNudgingOrderInfoEPNS_6RouterERNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r3 = STACKTOP; - STACKTOP = STACKTOP + 84 | 0; - r4 = r3; - r5 = r3 + 12, r6 = r5 >> 2; - r7 = r3 + 24; - __ZN5AvoidL24simplifyOrthogonalRoutesEPNS_6RouterE(r1); - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1INS_15__list_iteratorIS3_PvEEEET_SB_PNS_9enable_ifIXsr21__is_forward_iteratorISB_EE5valueEvE4typeE(r4, HEAP32[r1 + 20 >> 2], r1 + 16 | 0); - r1 = HEAP32[r4 + 4 >> 2]; - r8 = HEAP32[r4 >> 2]; - r9 = r1; - r10 = r9 - r8 >> 2; - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEEC1Ej(r5, r10); - L1664 : do { - if ((r1 | 0) == (r8 | 0)) { - r11 = r1; - } else { - r12 = HEAP32[r6]; - r13 = 0; - while (1) { - __ZN5Avoid7PolygonaSERKS0_(r12 + (r13 * 44 & -1) | 0, __ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r8 + (r13 << 2) >> 2])); - r14 = r13 + 1 | 0; - if (r14 >>> 0 < r10 >>> 0) { - r13 = r14; - } else { - r11 = r8; - break L1664; - } - } - } - } while (0); - L1671 : do { - if ((r1 | 0) == (r11 | 0)) { - r15 = r1; - } else { - r8 = r9 - r11 >> 2; - r10 = HEAP32[r6]; - r13 = 0; - while (1) { - L1675 : do { - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[HEAP32[r11 + (r13 << 2) >> 2] + 8 >> 2]) | 0) == 2) { - r12 = r10 + (r13 * 44 & -1) | 0; - r14 = 0; - while (1) { - do { - if ((r13 | 0) != (r14 | 0)) { - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[HEAP32[r11 + (r14 << 2) >> 2] + 8 >> 2]) | 0) != 2) { - break; - } - __ZN5Avoid22splitBranchingSegmentsERNS_7PolygonEbS1_d(r10 + (r14 * 44 & -1) | 0, 1, r12, 0); - } - } while (0); - r16 = r14 + 1 | 0; - if (r16 >>> 0 < r8 >>> 0) { - r14 = r16; - } else { - break L1675; - } - } - } - } while (0); - r14 = r13 + 1 | 0; - if (r14 >>> 0 < r8 >>> 0) { - r13 = r14; - } else { - r15 = r11; - break L1671; - } - } - } - } while (0); - if ((r1 | 0) == (r15 | 0)) { - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED1Ev(r5); - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r4); - STACKTOP = r3; - return; - } - r1 = r9 - r15 >> 2; - r9 = HEAP32[r6]; - r6 = r7; - r11 = r7 + 36 | 0; - r7 = 0; - while (1) { - r13 = HEAP32[r15 + (r7 << 2) >> 2]; - r8 = r13; - L1690 : do { - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r13 + 8 >> 2]) | 0) == 2) { - r10 = r9 + (r7 * 44 & -1) | 0; - r14 = r10; - r12 = r7; - L1692 : while (1) { - r16 = r12 + 1 | 0; - if (r16 >>> 0 >= r1 >>> 0) { - break L1690; - } - r17 = HEAP32[r15 + (r16 << 2) >> 2]; - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r17 + 8 >> 2]) | 0) != 2) { - r12 = r16; - continue; - } - __ZN5Avoid18ConnectorCrossingsC1ERNS_7PolygonEbS2_PNS_7ConnRefES4_(r6, r9 + (r16 * 44 & -1) | 0, 1, r10, r17, r8); - HEAP32[r11 >> 2] = r2; - r17 = 1; - while (1) { - if (r17 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 16 >> 2]](r10) >>> 0) { - r12 = r16; - continue L1692; - } - r18 = r17 + 1 | 0; - __ZN5Avoid18ConnectorCrossings15countForSegmentEjb(r6, r17, (r18 | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 16 >> 2]](r10) | 0)); - r17 = r18; - } - } - } - } while (0); - r8 = r7 + 1 | 0; - if (r8 >>> 0 < r1 >>> 0) { - r7 = r8; - } else { - break; - } - } - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED1Ev(r5); - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r4); - STACKTOP = r3; - return; -} -__ZN5AvoidL31buildOrthogonalNudgingOrderInfoEPNS_6RouterERNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEE["X"] = 1; -function __ZN5Avoid22improveHyperedgeRoutesEPNS_6RouterE(r1) { - var r2, r3; - r2 = STACKTOP; - STACKTOP = STACKTOP + 56 | 0; - r3 = r2; - __ZN5Avoid17ImproveHyperEdgesC1EPNS_6RouterE(r3, r1); - __ZN5Avoid17ImproveHyperEdges7executeEv(r3); - __ZN5Avoid17ImproveHyperEdgesD1Ev(r3); - STACKTOP = r2; - return; -} -function __ZN5Avoid17ImproveHyperEdgesC1EPNS_6RouterE(r1, r2) { - __ZN5Avoid17ImproveHyperEdgesC2EPNS_6RouterE(r1, r2); - return; -} -function __ZN5Avoid17ImproveHyperEdges7executeEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 76 | 0; - r4 = r3; - r5 = r3 + 8; - r6 = r3 + 12; - r7 = r3 + 16, r8 = r7 >> 2; - r9 = r3 + 20, r10 = r9 >> 2; - r11 = r3 + 24; - r12 = r3 + 48; - r13 = r3 + 72, r14 = r13 >> 2; - r15 = (r1 | 0) >> 2; - r16 = HEAP32[r15]; - r17 = HEAP32[r16 + 20 >> 2]; - r18 = r1 + 4 | 0; - L1707 : do { - if ((r17 | 0) == (r16 + 16 | 0)) { - r19 = r1 + 8 | 0; - r20 = r19; - r21 = r19; - } else { - r19 = r18 | 0; - r22 = r6 | 0; - r23 = r1 + 8 | 0; - r24 = r23; - r25 = r5 | 0; - r26 = r12; - r27 = r11; - r28 = r17; - while (1) { - r29 = HEAP32[r28 + 8 >> 2]; - HEAP32[r8] = 0; - HEAP32[r10] = 0; - r30 = HEAP32[r29 + 140 >> 2]; - if ((r30 | 0) == 0) { - r31 = 0; - } else { - r32 = __ZNK5Avoid7ConnEnd8junctionEv(HEAP32[r30 + 36 >> 2]); - HEAP32[r8] = r32; - r31 = r32; - } - r32 = HEAP32[r29 + 144 >> 2]; - if ((r32 | 0) == 0) { - r33 = 0; - } else { - r30 = __ZNK5Avoid7ConnEnd8junctionEv(HEAP32[r32 + 36 >> 2]); - HEAP32[r10] = r30; - r33 = r30; - } - do { - if ((r31 | 0) == 0) { - r34 = 0; - } else { - if (!__ZNK5Avoid11JunctionRef13positionFixedEv(HEAP8[r31 + 144 | 0])) { - r34 = r31; - break; - } - HEAP32[r8] = 0; - r34 = 0; - } - } while (0); - do { - if ((r33 | 0) == 0) { - r2 = 1428; - } else { - if (!__ZNK5Avoid11JunctionRef13positionFixedEv(HEAP8[r33 + 144 | 0])) { - r2 = 1430; - break; - } - HEAP32[r10] = 0; - r2 = 1428; - break; - } - } while (0); - do { - if (r2 == 1428) { - r2 = 0; - if ((r34 | 0) == 0) { - break; - } else { - r2 = 1430; - break; - } - } - } while (0); - L1727 : do { - if (r2 == 1430) { - r2 = 0; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_(r6, r19, r7); - r30 = HEAP32[r22 >> 2]; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_(r5, r19, r9); - r32 = (HEAP32[r25 >> 2] | 0) == (r24 | 0); - r35 = HEAP32[r8]; - do { - if ((r35 | 0) == 0) { - r36 = __Znwj(48); - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r36); - r37 = r36; - } else { - if ((r30 | 0) == (r24 | 0)) { - r36 = __Znwj(48); - r38 = r36; - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r36); - r39 = r36 + 16 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r35 >> 2] + 8 >> 2]](r11, r35); - HEAP32[r39 >> 2] = HEAP32[r27 >> 2]; - HEAP32[r39 + 4 >> 2] = HEAP32[r27 + 4 >> 2]; - HEAP32[r39 + 8 >> 2] = HEAP32[r27 + 8 >> 2]; - HEAP32[r39 + 12 >> 2] = HEAP32[r27 + 12 >> 2]; - HEAP32[r39 + 16 >> 2] = HEAP32[r27 + 16 >> 2]; - HEAP16[r39 + 20 >> 1] = HEAP16[r27 + 20 >> 1]; - HEAP32[r36 + 12 >> 2] = r35; - HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r18, r7) >> 2] = r38; - r37 = r38; - break; - } else { - r37 = HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r18, r7) >> 2]; - break; - } - } - } while (0); - r35 = HEAP32[r10]; - do { - if ((r35 | 0) == 0) { - r30 = __Znwj(48); - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r30); - r40 = r30; - } else { - if (r32) { - r30 = __Znwj(48); - r38 = r30; - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r30); - r36 = r30 + 16 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r35 >> 2] + 8 >> 2]](r12, r35); - HEAP32[r36 >> 2] = HEAP32[r26 >> 2]; - HEAP32[r36 + 4 >> 2] = HEAP32[r26 + 4 >> 2]; - HEAP32[r36 + 8 >> 2] = HEAP32[r26 + 8 >> 2]; - HEAP32[r36 + 12 >> 2] = HEAP32[r26 + 12 >> 2]; - HEAP32[r36 + 16 >> 2] = HEAP32[r26 + 16 >> 2]; - HEAP16[r36 + 20 >> 1] = HEAP16[r26 + 20 >> 1]; - HEAP32[r30 + 12 >> 2] = r35; - HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r18, r9) >> 2] = r38; - r40 = r38; - break; - } else { - r40 = HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r18, r9) >> 2]; - break; - } - } - } while (0); - r35 = r29; - r32 = __ZN5Avoid7ConnRef12displayRouteEv(r35); - r38 = r32; - r30 = r32; - r36 = r37 + 16 | 0; - r39 = 0; - r41 = 1; - while (1) { - if (r41 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r38 >> 2] + 16 >> 2]](r32) >>> 0) { - break L1727; - } - r42 = r41 + 1 | 0; - if ((r42 | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r38 >> 2] + 16 >> 2]](r32) | 0)) { - r43 = r40; - } else { - r44 = __Znwj(48); - __ZN5Avoid17HyperEdgeTreeNodeC1Ev(r44); - r43 = r44; - } - r44 = r43 + 16 | 0; - r45 = FUNCTION_TABLE[HEAP32[HEAP32[r30 >> 2] + 24 >> 2]](r32, r41); - HEAP32[r44 >> 2] = HEAP32[r45 >> 2]; - HEAP32[r44 + 4 >> 2] = HEAP32[r45 + 4 >> 2]; - HEAP32[r44 + 8 >> 2] = HEAP32[r45 + 8 >> 2]; - HEAP32[r44 + 12 >> 2] = HEAP32[r45 + 12 >> 2]; - HEAP32[r44 + 16 >> 2] = HEAP32[r45 + 16 >> 2]; - HEAP16[r44 + 20 >> 1] = HEAP16[r45 + 20 >> 1]; - if ((r41 | 0) == 1) { - r45 = FUNCTION_TABLE[HEAP32[HEAP32[r30 >> 2] + 24 >> 2]](r32, 0); - HEAP32[r36 >> 2] = HEAP32[r45 >> 2]; - HEAP32[r36 + 4 >> 2] = HEAP32[r45 + 4 >> 2]; - HEAP32[r36 + 8 >> 2] = HEAP32[r45 + 8 >> 2]; - HEAP32[r36 + 12 >> 2] = HEAP32[r45 + 12 >> 2]; - HEAP32[r36 + 16 >> 2] = HEAP32[r45 + 16 >> 2]; - HEAP16[r36 + 20 >> 1] = HEAP16[r45 + 20 >> 1]; - r46 = r37; - } else { - r46 = r39; - } - __ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE(__Znwj(12), r46, r43, r35); - r39 = r43; - r41 = r42; - } - } - } while (0); - r29 = HEAP32[r28 + 4 >> 2]; - if ((r29 | 0) == (HEAP32[r15] + 16 | 0)) { - r20 = r23; - r21 = r24; - break L1707; - } else { - r28 = r29; - } - } - } - } while (0); - r43 = r18 | 0; - r46 = HEAP32[r43 >> 2]; - L1754 : do { - if ((r46 | 0) != (r21 | 0)) { - r37 = r1 + 16 | 0; - r40 = r20; - r9 = r46; - while (1) { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r4, r37, HEAP32[r9 + 20 >> 2] + 12 | 0); - r12 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r9 | 0); - if ((r12 | 0) == (r40 | 0)) { - break L1754; - } else { - r9 = r12; - } - } - } - } while (0); - r4 = r1 + 16 | 0; - r46 = (r4 | 0) >> 2; - r9 = HEAP32[r46]; - r40 = r1 + 20 | 0; - r37 = r40; - L1759 : do { - if ((r9 | 0) == (r37 | 0)) { - r47 = r40; - } else { - r12 = r4; - r10 = r40; - r7 = r9; - while (1) { - __ZN5Avoid17HyperEdgeTreeNode24removeOtherJunctionsFromEPNS_17HyperEdgeTreeEdgeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE(HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r18, r7 + 16 | 0) >> 2], 0, r12); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r7 | 0); - if ((r11 | 0) == (r10 | 0)) { - r47 = r10; - break L1759; - } else { - r7 = r11; - } - } - } - } while (0); - __ZN5Avoid5Timer8RegisterENS_10TimerIndexEb(HEAP32[r15] + 148 | 0, 12); - __ZN5Avoid17ImproveHyperEdges29moveJunctionsAlongCommonEdgesEv(r1); - HEAP32[r14] = 2; - r9 = r1 + 40 | 0; - r40 = r1 + 28 | 0; - r4 = r9 | 0; - r7 = r40 | 0; - r10 = 0; - while (1) { - r12 = r10 & 1; - HEAP32[r14] = (-r12 & 100) + 100 | 0; - __ZN5Avoid17ImproveHyperEdges22buildHyperEdgeSegmentsEj(r1, r12); - __ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE(HEAP32[r15], r12, r9); - __ZN5Avoid17ImproveHyperEdges22nudgeHyperEdgeSegmentsEjRj(r1, r12, r13); - __ZN5Avoid17ImproveHyperEdges21removeZeroLengthEdgesEv(r1); - __ZN5Avoid17ImproveHyperEdges29moveJunctionsAlongCommonEdgesEv(r1); - HEAP32[r14] = HEAP32[r14] + 1 | 0; - r12 = HEAP32[r46]; - L1767 : do { - if ((r12 | 0) != (r37 | 0)) { - r11 = r12; - while (1) { - r8 = __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEEixERSD_(r40, r11 + 16 | 0); - r5 = r8; - r6 = HEAP32[r8 + 4 >> 2]; - L1770 : do { - if ((r6 | 0) != (r5 | 0)) { - r8 = r6; - while (1) { - __ZN5Avoid13delete_objectclINS_12ShiftSegmentEEEvPT_(HEAP32[r8 + 8 >> 2]); - r2 = HEAP32[r8 + 4 >> 2]; - if ((r2 | 0) == (r5 | 0)) { - break L1770; - } else { - r8 = r2; - } - } - } - } while (0); - r5 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r11 | 0); - if ((r5 | 0) == (r47 | 0)) { - break L1767; - } else { - r11 = r5; - } - } - } - } while (0); - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE5clearEv(r7); - __ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5clearEv(r4); - r12 = r10 + 1 | 0; - if ((r12 | 0) == 4) { - break; - } else { - r10 = r12; - } - } - r10 = HEAP32[r43 >> 2]; - L1776 : do { - if ((r10 | 0) != (r21 | 0)) { - r43 = r20; - r4 = r10; - while (1) { - r7 = HEAP32[r4 + 20 >> 2]; - __ZN5Avoid11JunctionRef22setRecommendedPositionERKNS_5PointE(HEAP32[r7 + 12 >> 2], r7 + 16 | 0); - r7 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4 | 0); - if ((r7 | 0) == (r43 | 0)) { - break L1776; - } else { - r4 = r7; - } - } - } - } while (0); - __ZN5Avoid17ImproveHyperEdges37writeHyperEdgeSegmentsBackToConnPathsEv(r1); - r1 = HEAP32[r46]; - if ((r1 | 0) == (r37 | 0)) { - r48 = HEAP32[r15]; - r49 = r48 + 148 | 0; - __ZN5Avoid5Timer4StopEv(r49); - STACKTOP = r3; - return; - } else { - r50 = r1; - } - while (1) { - r1 = HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r18, r50 + 16 | 0) >> 2]; - r37 = r1; - __ZN5Avoid17HyperEdgeTreeNode17deleteEdgesExceptEPNS_17HyperEdgeTreeEdgeE(r37, 0); - if ((r1 | 0) != 0) { - __ZN5Avoid17HyperEdgeTreeNodeD1Ev(r37); - __ZdlPv(r1); - } - r1 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r50 | 0); - if ((r1 | 0) == (r47 | 0)) { - break; - } else { - r50 = r1; - } - } - r48 = HEAP32[r15]; - r49 = r48 + 148 | 0; - __ZN5Avoid5Timer4StopEv(r49); - STACKTOP = r3; - return; -} -__ZN5Avoid17ImproveHyperEdges7executeEv["X"] = 1; -function __ZN5Avoid17ImproveHyperEdgesD1Ev(r1) { - __ZN5Avoid17ImproveHyperEdgesD2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC1ERKS9_(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC2ERKS9_(r1); - return; -} -function __ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZN5Avoid11LineSegmentD1Ev(r6 + 8 | 0); - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZN5Avoid11LineSegmentD1Ev(r1) { - __ZN5Avoid11LineSegmentD2Ev(r1); - return; -} -function __ZN5Avoid11LineSegmentD2Ev(r1) { - __ZNSt3__13setIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r1 + 40 | 0); - __ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev(r1 + 28 | 0); - return; -} -function __ZNSt3__13setIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__13setIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__13setIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(r1); - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC2ERKS4_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSD_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 1504; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 1508; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1507; - break; - } else { - r3 = r6; - } - } - if (r4 == 1507) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 1508) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } else if (r4 == 1504) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } -} - - - -function __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - if ((r4 | 0) == 2) { - r8 = HEAP32[r3 >> 2]; - if (__ZNK5Avoid11LineSegmentltERKS0_(r8 + 8 | 0, r2 + 8 | 0)) { - r9 = (r8 + 4 | 0) >> 2; - r10 = (r8 | 0) >> 2; - HEAP32[HEAP32[r10] + 4 >> 2] = HEAP32[r9]; - HEAP32[HEAP32[r9] >> 2] = HEAP32[r10]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r10] = HEAP32[r11]; - HEAP32[r11] = r8; - HEAP32[r9] = r2; - HEAP32[r1 >> 2] = r8; - STACKTOP = r5; - return; - } else { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } - } else if ((r4 | 0) == 0 | (r4 | 0) == 1) { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } else { - r8 = r4 >>> 1; - L1849 : do { - if ((r8 | 0) == 0) { - r12 = r2; - } else { - r9 = r8; - r11 = r2; - while (1) { - r10 = r9 - 1 | 0; - r13 = HEAP32[r11 + 4 >> 2]; - if ((r10 | 0) > 0) { - r9 = r10; - r11 = r13; - } else { - r12 = r13; - break L1849; - } - } - } - } while (0); - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r6, r2, r12, r8); - r2 = HEAP32[r6 >> 2]; - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r7, r12, r3, r4 - r8 | 0); - r8 = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - if (__ZNK5Avoid11LineSegmentltERKS0_(r8 + 8 | 0, r7)) { - r4 = HEAP32[r8 + 4 >> 2]; - L1855 : do { - if ((r4 | 0) == (r3 | 0)) { - r14 = r3; - } else { - r12 = r4; - while (1) { - if (!__ZNK5Avoid11LineSegmentltERKS0_(r12 + 8 | 0, r7)) { - r14 = r12; - break L1855; - } - r6 = HEAP32[r12 + 4 >> 2]; - if ((r6 | 0) == (r3 | 0)) { - r14 = r3; - break L1855; - } else { - r12 = r6; - } - } - } - } while (0); - r7 = HEAP32[r14 >> 2]; - r4 = (r7 + 4 | 0) >> 2; - r12 = (r8 | 0) >> 2; - HEAP32[HEAP32[r12] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r12]; - r6 = HEAP32[r2 + 4 >> 2]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r12] = HEAP32[r11]; - HEAP32[r11] = r7; - HEAP32[r4] = r2; - r15 = r8; - r16 = r14; - r17 = r6; - } else { - r15 = r2; - r16 = r8; - r17 = HEAP32[r2 + 4 >> 2]; - } - L1862 : do { - if ((r17 | 0) != (r16 | 0)) { - r2 = r16; - r8 = r16; - r6 = r17; - while (1) { - r14 = r2 + 8 | 0; - r4 = (r2 | 0) == (r3 | 0); - r7 = r6; - while (1) { - if (r4) { - break L1862; - } - if (__ZNK5Avoid11LineSegmentltERKS0_(r14, r7 + 8 | 0)) { - break; - } - r11 = HEAP32[r7 + 4 >> 2]; - if ((r11 | 0) == (r8 | 0)) { - break L1862; - } else { - r7 = r11; - } - } - r14 = HEAP32[r2 + 4 >> 2]; - L1870 : do { - if ((r14 | 0) == (r3 | 0)) { - r18 = r3; - } else { - r4 = r7 + 8 | 0; - r11 = r14; - while (1) { - if (!__ZNK5Avoid11LineSegmentltERKS0_(r11 + 8 | 0, r4)) { - r18 = r11; - break L1870; - } - r12 = HEAP32[r11 + 4 >> 2]; - if ((r12 | 0) == (r3 | 0)) { - r18 = r3; - break L1870; - } else { - r11 = r12; - } - } - } - } while (0); - r14 = HEAP32[r18 >> 2]; - r11 = (r14 + 4 | 0) >> 2; - r4 = (r2 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = HEAP32[r11]; - HEAP32[HEAP32[r11] >> 2] = HEAP32[r4]; - r12 = HEAP32[r7 + 4 >> 2]; - r9 = (r8 | 0) == (r2 | 0) ? r18 : r8; - r13 = (r7 | 0) >> 2; - HEAP32[HEAP32[r13] + 4 >> 2] = r2; - HEAP32[r4] = HEAP32[r13]; - HEAP32[r13] = r14; - HEAP32[r11] = r7; - if ((r12 | 0) == (r9 | 0)) { - break L1862; - } else { - r2 = r18; - r8 = r9; - r6 = r12; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r15; - STACKTOP = r5; - return; - } -} -__ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_["X"] = 1; -function __ZNK5Avoid11LineSegmentltERKS0_(r1, r2) { - var r3, r4, r5, r6; - r3 = r1 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r5) { - r6 = r4 < r5; - return r6; - } - r5 = r1 + 16 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = r2 + 16 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r3) { - r6 = r4 < r3; - return r6; - } - r3 = r1 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r5) { - r6 = r4 < r5; - return r6; - } - if (((HEAP8[r2 + 24 | 0] ^ HEAP8[r1 + 24 | 0]) & 1) << 24 >> 24 == 0) { - r6 = 0; - return r6; - } - ___assert_func(5244520, 824, 5254680, 5247408); - r6 = 0; - return r6; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC1ERKS4_(r1) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC2ERKS4_(r1); - return; -} -function __ZN5Avoid17ImproveHyperEdgesD2Ev(r1) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r1 + 40 | 0); - __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEED1Ev(r1 + 28 | 0); - __ZNSt3__13setIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1 + 16 | 0); - __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev(r1 + 4 | 0); - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEED1Ev(r1) { - __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEED2Ev(r1); - return; -} -function __ZNSt3__13setIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__13setIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEED1Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE7destroyEPNS_11__tree_nodeISB_PvEE(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE7destroyEPNS_11__tree_nodeISB_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE7destroyEPNS_11__tree_nodeISB_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE7destroyEPNS_11__tree_nodeISB_PvEE(HEAP32[r1 + 4 >> 2]); - __ZNSt3__14pairIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEEED1Ev(r1 + 16 | 0); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__14pairIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEEED1Ev(r1) { - __ZNSt3__14pairIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEEED2Ev(r1); - return; -} -function __ZNSt3__14pairIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEEED2Ev(r1) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev(r1 + 4 | 0); - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSA_(r1, r4, r2); - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) != 0) { - r8 = r7; - r9 = r8 + 20 | 0; - STACKTOP = r3; - return r9; - } - __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__construct_nodeERSA_(r5, r1, r2); - r2 = r5 | 0; - r5 = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSI_SI_(r1 | 0, HEAP32[r4 >> 2], r6, r5 | 0); - r8 = r5; - r9 = r8 + 20 | 0; - STACKTOP = r3; - return r9; -} -function __ZN5Avoid17ImproveHyperEdges29moveJunctionsAlongCommonEdgesEv(r1) { - var r2, r3, r4, r5, r6; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = r1 + 8 | 0; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r1 = r3; - r3 = r2; - while (1) { - r2 = r3 + 20 | 0; - r4 = __ZN5Avoid17HyperEdgeTreeNode27moveJunctionAlongCommonEdgeEPS0_(HEAP32[r2 >> 2]); - L1926 : do { - if ((r4 | 0) != 0) { - r5 = r4; - while (1) { - HEAP32[r2 >> 2] = r5; - r6 = __ZN5Avoid17HyperEdgeTreeNode27moveJunctionAlongCommonEdgeEPS0_(r5); - if ((r6 | 0) == 0) { - break L1926; - } else { - r5 = r6; - } - } - } - } while (0); - r2 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r3 | 0); - if ((r2 | 0) == (r1 | 0)) { - break; - } else { - r3 = r2; - } - } - return; -} -function __ZN5Avoid17ImproveHyperEdges22buildHyperEdgeSegmentsEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = HEAP32[r1 + 16 >> 2]; - r6 = r1 + 20 | 0; - if ((r5 | 0) == (r6 | 0)) { - STACKTOP = r3; - return; - } - r7 = r1 + 28 | 0; - r8 = r1 + 4 | 0; - r9 = r1 + 40 | 0; - r10 = r1 + 44 | 0; - r1 = r6; - r6 = r5; - while (1) { - r5 = r6 + 16 | 0; - r11 = __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEEixERSD_(r7, r5); - __ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeNodeEjPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE(HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r8, r5) >> 2], r2, 0, r11); - __ZN5Avoid17ImproveHyperEdges24mergeOverlappingSegmentsERNSt3__14listIPNS_12ShiftSegmentENS1_9allocatorIS4_EEEE(r11); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_15__list_iteratorIS3_PvEEEESA_NS_21__list_const_iteratorIS3_S9_EET_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r4, r9, HEAP32[r10 >> 2], HEAP32[r11 + 4 >> 2], r11); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r6 | 0); - if ((r11 | 0) == (r1 | 0)) { - break; - } else { - r6 = r11; - } - } - STACKTOP = r3; - return; -} -function __ZN5Avoid17ImproveHyperEdges22nudgeHyperEdgeSegmentsEjRj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r4 = HEAP32[r1 + 16 >> 2]; - r5 = r1 + 20 | 0; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r6 = (r1 + 52 | 0) >> 2; - r7 = r2 * 1e4 & -1; - r2 = r1 + 28 | 0; - r1 = r5; - r5 = r4; - while (1) { - HEAP32[r6] = HEAP32[r6] + 1 | 0; - HEAP32[r3 >> 2] = r7; - HEAP32[r3 >> 2] = (HEAP32[r6] * 1e3 & -1) + r7 | 0; - r4 = __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEEixERSD_(r2, r5 + 16 | 0); - r8 = r4 + 4 | 0; - r9 = HEAP32[r8 >> 2]; - r10 = r4; - if ((r9 | 0) == (r10 | 0)) { - r11 = r9; - } else { - r12 = r9; - while (1) { - r9 = HEAP32[r12 + 8 >> 2]; - if ((r9 | 0) == 0) { - r13 = 0; - } else { - r13 = ___dynamic_cast(r9, 5272756, 5272724); - } - __ZN5Avoid21HyperEdgeShiftSegment15setBalanceCountEv(r13); - r9 = HEAP32[r12 + 4 >> 2]; - if ((r9 | 0) == (r10 | 0)) { - break; - } else { - r12 = r9; - } - } - r11 = HEAP32[r8 >> 2]; - } - L1952 : do { - if ((r11 | 0) != (r10 | 0)) { - r12 = 0; - r9 = r11; - while (1) { - r14 = HEAP32[r9 + 8 >> 2]; - if ((r14 | 0) == 0) { - r15 = 0; - } else { - r15 = ___dynamic_cast(r14, 5272756, 5272724); - } - if (__ZNK5Avoid21HyperEdgeShiftSegment7settledEv(r15)) { - r16 = r12; - } else { - __ZN5Avoid21HyperEdgeShiftSegment14adjustPositionEv(r15); - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - __ZN5Avoid17ImproveHyperEdges24mergeOverlappingSegmentsERNSt3__14listIPNS_12ShiftSegmentENS1_9allocatorIS4_EEEE(r4); - r16 = 1; - } - r14 = (r16 & 1) << 24 >> 24 == 0; - r17 = HEAP32[(r14 ? r9 + 4 | 0 : r8) >> 2]; - if ((r17 | 0) == (r10 | 0)) { - break L1952; - } else { - r12 = r14 ? r16 : 0; - r9 = r17; - } - } - } - } while (0); - r10 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r5 | 0); - if ((r10 | 0) == (r1 | 0)) { - break; - } else { - r5 = r10; - } - } - return; -} -__ZN5Avoid17ImproveHyperEdges22nudgeHyperEdgeSegmentsEjRj["X"] = 1; -function __ZN5Avoid17ImproveHyperEdges21removeZeroLengthEdgesEv(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 16 >> 2]; - r3 = r1 + 20 | 0; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = r1 + 4 | 0; - r1 = r3; - r3 = r2; - while (1) { - __ZN5Avoid17HyperEdgeTreeNode21removeZeroLengthEdgesEPNS_17HyperEdgeTreeEdgeE(HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r4, r3 + 16 | 0) >> 2], 0); - r2 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r3 | 0); - if ((r2 | 0) == (r1 | 0)) { - break; - } else { - r3 = r2; - } - } - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEEixERSD_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSD_(r1, r4, r2); - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) != 0) { - r8 = r7; - r9 = r8 + 20 | 0; - STACKTOP = r3; - return r9; - } - __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEE16__construct_nodeERSD_(r5, r1, r2); - r2 = r5 | 0; - r5 = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = 0; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSL_SL_(r1 | 0, HEAP32[r4 >> 2], r6, r5 | 0); - r8 = r5; - r9 = r8 + 20 | 0; - STACKTOP = r3; - return r9; -} -function __ZN5Avoid17ImproveHyperEdges37writeHyperEdgeSegmentsBackToConnPathsEv(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = r1 + 16 | 0; - r3 = r1 + 20 | 0; - r4 = r3; - r5 = r1 + 4 | 0; - r1 = HEAP32[r2 >> 2]; - if ((r1 | 0) == (r4 | 0)) { - return; - } - r6 = r3; - r3 = r1; - while (1) { - __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r5, r3 + 16 | 0) >> 2], 0, 0); - r1 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r3 | 0); - if ((r1 | 0) == (r6 | 0)) { - break; - } else { - r3 = r1; - } - } - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r7 = r3; - } - while (1) { - __ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj(HEAP32[__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_(r5, r7 + 16 | 0) >> 2], 0, 1); - r3 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r7 | 0); - if ((r3 | 0) == (r6 | 0)) { - break; - } else { - r7 = r3; - } - } - return; -} -function __ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE5clearEv(r1) { - var r2, r3; - r2 = r1 + 4 | 0; - r3 = r2 | 0; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE7destroyEPNS_11__tree_nodeISB_PvEE(HEAP32[r3 >> 2]); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - HEAP32[r3 >> 2] = 0; - return; -} -function __ZN5Avoid13delete_objectclINS_12ShiftSegmentEEEvPT_(r1) { - if ((r1 | 0) == 0) { - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 4 >> 2]](r1); - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEE16__construct_nodeERSD_(r1, r2, r3) { - var r4, r5; - r4 = __Znwj(32); - r5 = r4 + 16 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r3 >> 2]; - } - r3 = r4 + 20 | 0; - if ((r3 | 0) != 0) { - r5 = r3; - HEAP32[r3 >> 2] = r5; - HEAP32[r4 + 24 >> 2] = r5; - HEAP32[r4 + 28 >> 2] = 0; - } - HEAP32[r1 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - HEAP8[r1 + 9 | 0] = 1; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSL_SL_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid21HyperEdgeShiftSegment15setBalanceCountEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r2 = (r1 + 4 | 0) >> 2; - r3 = HEAP32[r2] & 1 ^ 1; - r4 = r1 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = (r1 + 52 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r4] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = r1 + 16 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = (r1 + 60 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r6 = (r1 + 44 | 0) >> 2; - HEAP32[r6] = 0; - if ((HEAP8[r1 + 40 | 0] & 1) << 24 >> 24 != 0) { - HEAP8[r1 + 48 | 0] = 1; - return; - } - r7 = HEAP32[r1 + 24 >> 2]; - r8 = r1 + 28 | 0; - L2018 : do { - if ((r7 | 0) != (r8 | 0)) { - r9 = r8; - r10 = r7; - while (1) { - r11 = r10 + 16 | 0; - r12 = HEAP32[r11 >> 2]; - r13 = r12 + 16 | 0; - r14 = HEAP32[r12 + 4 >> 2]; - L2022 : do { - if ((r14 | 0) != (r12 | 0)) { - r15 = r14; - r16 = r12; - while (1) { - r17 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(HEAP32[r15 + 8 >> 2], r16) + 16 | 0; - r18 = __ZNK5Avoid5PointixEj(r13, r3); - r19 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r18 = __ZNK5Avoid5PointixEj(r17, r3); - do { - if (r19 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r18 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r20 = __ZNK5Avoid5PointixEj(r17, HEAP32[r2]); - r21 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r20 = __ZNK5Avoid5PointixEj(r13, HEAP32[r2]); - r22 = r21 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r20 = __ZNK5Avoid5PointixEj(r17, HEAP32[r2]) >> 2; - if (r22) { - r22 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 1], HEAPF64[tempDoublePtr >> 3]); - r21 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 1], HEAPF64[tempDoublePtr >> 3]); - r23 = r22 < r21 ? r21 : r22; - HEAPF64[tempDoublePtr >> 3] = r23, HEAP32[r4] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r6] = HEAP32[r6] - 1 | 0; - break; - } - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 1], HEAPF64[tempDoublePtr >> 3]); - r20 = __ZNK5Avoid5PointixEj(r13, HEAP32[r2]); - if (r23 <= (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r20 = __ZNK5Avoid5PointixEj(r17, HEAP32[r2]); - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r20 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r20 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - r22 = r23 < r20 ? r23 : r20; - HEAPF64[tempDoublePtr >> 3] = r22, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r6] = HEAP32[r6] + 1 | 0; - } - } while (0); - r17 = HEAP32[r15 + 4 >> 2]; - r18 = HEAP32[r11 >> 2]; - if ((r17 | 0) == (r18 | 0)) { - break L2022; - } else { - r15 = r17; - r16 = r18; - } - } - } - } while (0); - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r10 | 0); - if ((r11 | 0) == (r9 | 0)) { - break L2018; - } else { - r10 = r11; - } - } - } - } while (0); - HEAP8[r1 + 48 | 0] = 1; - return; -} -__ZN5Avoid21HyperEdgeShiftSegment15setBalanceCountEv["X"] = 1; -function __ZNK5Avoid21HyperEdgeShiftSegment7settledEv(r1) { - var r2; - if ((HEAP8[r1 + 40 | 0] & 1) << 24 >> 24 != 0) { - r2 = 1; - return r2; - } - if ((HEAP8[r1 + 68 | 0] & 1) << 24 >> 24 != 0) { - r2 = 1; - return r2; - } - r2 = (__ZNK5Avoid21HyperEdgeShiftSegment12balanceCountEv(r1) | 0) == 0; - return r2; -} -function __ZN5Avoid21HyperEdgeShiftSegment14adjustPositionEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r2 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r3 = r2; - r4 = r2 + 8; - if ((HEAP8[r1 + 48 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5244520, 163, 5259752, 5246324); - } - r5 = r1 + 44 | 0; - r6 = HEAP32[r5 >> 2]; - if ((r6 | 0) == 0) { - ___assert_func(5244520, 164, 5259752, 5245576); - r7 = HEAP32[r5 >> 2]; - } else { - r7 = r6; - } - r6 = (r7 | 0) < 0; - r7 = r6 ? r1 + 52 | 0 : r1 + 60 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r6 ? r1 + 8 | 0 : r1 + 16 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r1 + 4 | 0; - r8 = __ZN5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 8 >> 2]](r1), HEAP32[r7 >> 2]); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r5) { - HEAP8[r1 + 68 | 0] = 1; - } - r8 = r1 + 24 | 0; - r9 = r8 | 0; - r10 = r8 | 0; - r11 = HEAP32[r10 >> 2]; - r12 = r1 + 28 | 0; - r13 = r12; - L2053 : do { - if ((r11 | 0) != (r13 | 0)) { - r14 = r12; - r15 = r11; - while (1) { - r16 = __ZN5Avoid5PointixEj(HEAP32[r15 + 16 >> 2] + 16 | 0, HEAP32[r7 >> 2]); - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r16 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r16 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r15 | 0); - if ((r16 | 0) == (r14 | 0)) { - break L2053; - } else { - r15 = r16; - } - } - } - } while (0); - if (r5 == r6) { - HEAP8[r1 + 68 | 0] = 1; - } - r1 = HEAP32[r10 >> 2]; - if ((r1 | 0) == (r13 | 0)) { - STACKTOP = r2; - return; - } - r13 = r12; - r12 = r1; - while (1) { - r1 = r12 + 16 | 0; - r10 = HEAP32[r1 >> 2]; - r6 = r10 + 16 | 0; - r5 = HEAP32[r10 + 4 >> 2]; - L2066 : do { - if ((r5 | 0) != (r10 | 0)) { - r7 = r5; - r11 = r10; - while (1) { - r15 = __ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE(HEAP32[r7 + 8 >> 2], r11); - HEAP32[r4 >> 2] = r15; - if (__ZNK5Avoid5PointeqERKS0_(r6, r15 + 16 | 0)) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r3, r9, r4); - HEAP32[HEAP32[r4 >> 2] + 40 >> 2] = r8; - r17 = HEAP32[r1 >> 2]; - } else { - r17 = r11; - } - r15 = HEAP32[r7 + 4 >> 2]; - if ((r15 | 0) == (r17 | 0)) { - break L2066; - } else { - r7 = r15; - r11 = r17; - } - } - } - } while (0); - r1 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r12 | 0); - if ((r1 | 0) == (r13 | 0)) { - break; - } else { - r12 = r1; - } - } - STACKTOP = r2; - return; -} -__ZN5Avoid21HyperEdgeShiftSegment14adjustPositionEv["X"] = 1; -function __ZN5Avoid17ImproveHyperEdges24mergeOverlappingSegmentsERNSt3__14listIPNS_12ShiftSegmentENS1_9allocatorIS4_EEEE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r2; - r4 = r1 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r1; - if ((r5 | 0) == (r6 | 0)) { - STACKTOP = r2; - return; - } - r7 = r3 | 0; - r8 = r5; - while (1) { - r5 = HEAP32[r8 + 8 >> 2]; - if ((r5 | 0) == 0) { - r9 = 0; - } else { - r9 = ___dynamic_cast(r5, 5272756, 5272724); - } - r5 = HEAP32[r4 >> 2]; - r10 = r8 + 4 | 0; - L2083 : do { - if ((r5 | 0) == (r6 | 0)) { - r11 = r10; - } else { - r12 = r5; - while (1) { - do { - if ((r12 | 0) == (r8 | 0)) { - r13 = HEAP32[r10 >> 2]; - } else { - r14 = HEAP32[r12 + 8 >> 2]; - if ((r14 | 0) == 0) { - r15 = 0; - } else { - r15 = ___dynamic_cast(r14, 5272756, 5272724); - } - if (!__ZN5Avoid21HyperEdgeShiftSegment10mergesWithEPS0_(r9, r15)) { - r13 = HEAP32[r12 + 4 >> 2]; - break; - } - if ((r15 | 0) != 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 4 >> 2]](r15); - } - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r3, r1, r12); - r13 = HEAP32[r7 >> 2]; - } - } while (0); - if ((r13 | 0) == (r6 | 0)) { - r11 = r10; - break L2083; - } else { - r12 = r13; - } - } - } - } while (0); - r10 = HEAP32[r11 >> 2]; - if ((r10 | 0) == (r6 | 0)) { - break; - } else { - r8 = r10; - } - } - STACKTOP = r2; - return; -} -__ZN5Avoid17ImproveHyperEdges24mergeOverlappingSegmentsERNSt3__14listIPNS_12ShiftSegmentENS1_9allocatorIS4_EEEE["X"] = 1; -function __ZN5Avoid21HyperEdgeShiftSegment10mergesWithEPS0_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5] & 1 ^ 1; - r7 = r1; - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 8 >> 2]](r1); - r9 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 12 >> 2]](r1); - r7 = r2; - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 8 >> 2]](r2); - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 12 >> 2]](r2); - r7 = __ZNK5Avoid5PointixEj(r8, HEAP32[r5]); - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = __ZNK5Avoid5PointixEj(r10, HEAP32[r5]); - do { - if (r12 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = __ZNK5Avoid5PointixEj(r8, r6); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = __ZNK5Avoid5PointixEj(r11, r6); - if (r13 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r5 = __ZNK5Avoid5PointixEj(r10, r6); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = __ZNK5Avoid5PointixEj(r9, r6); - if (r13 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r5 = r1 + 40 | 0; - HEAP8[r5] = (HEAP8[r5] | HEAP8[r2 + 40 | 0]) & 1; - r5 = r1 + 68 | 0; - HEAP8[r5] = HEAP8[r5] & 1; - r5 = (r1 + 8 | 0) >> 2; - r13 = r2 + 8 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r13 = r14 < r15 ? r15 : r14; - HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = (r1 + 16 | 0) >> 2; - r13 = r2 + 16 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - r15 = r14 < r13 ? r14 : r13; - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = r1 + 24 | 0; - r15 = r2 + 24 | 0; - r13 = HEAP32[r15 >> 2]; - r14 = r2 + 28 | 0; - r16 = r5 | 0; - r17 = r1 + 28 | 0; - r18 = r17; - L2106 : do { - if ((r13 | 0) != (r14 | 0)) { - r19 = r14; - r20 = r13; - while (1) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r4, r16, r18, r20 + 16 | 0); - r21 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r20 | 0); - if ((r21 | 0) == (r19 | 0)) { - break L2106; - } else { - r20 = r21; - } - } - } - } while (0); - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE5clearEv(r15); - r16 = HEAP32[r5 >> 2]; - L2111 : do { - if ((r16 | 0) != (r18 | 0)) { - r13 = r17; - r14 = r16; - while (1) { - HEAP32[HEAP32[r14 + 16 >> 2] + 40 >> 2] = r5; - r20 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r14 | 0); - if ((r20 | 0) == (r13 | 0)) { - break L2111; - } else { - r14 = r20; - } - } - } - } while (0); - __ZN5Avoid21HyperEdgeShiftSegment15setBalanceCountEv(r1); - r22 = 1; - STACKTOP = r3; - return r22; - } - } while (0); - __ZN5Avoid21HyperEdgeShiftSegment15setBalanceCountEv(r1); - r22 = 0; - STACKTOP = r3; - return r22; -} -__ZN5Avoid21HyperEdgeShiftSegment10mergesWithEPS0_["X"] = 1; -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r1, r2, r3) { - var r4, r5, r6; - r4 = r3 + 4 | 0; - r5 = HEAP32[r4 >> 2]; - r6 = r3 | 0; - HEAP32[HEAP32[r6 >> 2] + 4 >> 2] = r5; - HEAP32[HEAP32[r4 >> 2] >> 2] = HEAP32[r6 >> 2]; - r6 = r2 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] - 1 | 0; - __ZdlPv(r3); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE5clearEv(r1) { - var r2, r3; - r2 = r1 + 4 | 0; - r3 = r2 | 0; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r3 >> 2]); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - HEAP32[r3 >> 2] = 0; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_(r2, r3, r6, r4); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) != 0) { - r9 = r3; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; - } - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r7, r2, r4); - r4 = r7 | 0; - r7 = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r6 >> 2], r8, r7 | 0); - r9 = r7; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r6 = r1 + 4 | 0; - do { - if ((r6 | 0) != (r2 | 0)) { - r7 = r1 + 12 | 0; - r8 = r2 + 16 | 0; - if (__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r7, HEAP32[r4 >> 2], HEAP32[r8 >> 2])) { - break; - } - r9 = r2 | 0; - if (!__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r7, HEAP32[r8 >> 2], HEAP32[r4 >> 2])) { - HEAP32[r5] = r9; - r10 = r3; - return r10; - } - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r9); - do { - if ((r8 | 0) != (r6 | 0)) { - if (__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r7, HEAP32[r4 >> 2], HEAP32[r8 + 16 >> 2])) { - break; - } - r10 = __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r7 = r2 + 4 | 0; - if ((HEAP32[r7 >> 2] | 0) == 0) { - HEAP32[r5] = r9; - r10 = r7; - return r10; - } else { - HEAP32[r5] = r8; - r10 = r8 | 0; - return r10; - } - } - } while (0); - do { - if ((HEAP32[r1 >> 2] | 0) == (r2 | 0)) { - r11 = r2; - } else { - r6 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if (__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r1 + 12 | 0, HEAP32[r6 + 16 >> 2], HEAP32[r4 >> 2])) { - r11 = r6; - break; - } - r10 = __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r3, r4); - return r10; - } - } while (0); - r4 = r2 | 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - HEAP32[r5] = r2 | 0; - r10 = r4; - return r10; - } else { - HEAP32[r5] = r11 | 0; - r10 = r11 + 4 | 0; - return r10; - } -} -__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r6 = r5 | 0; - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r8 = r6; - return r8; - } - r6 = r1 + 12 | 0; - r1 = r7; - while (1) { - r7 = r1 + 16 | 0; - if (__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r6, HEAP32[r3 >> 2], HEAP32[r7 >> 2])) { - r9 = r1 | 0; - r5 = HEAP32[r9 >> 2]; - if ((r5 | 0) == 0) { - r4 = 1774; - break; - } else { - r1 = r5; - continue; - } - } - if (!__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_(r6, HEAP32[r7 >> 2], HEAP32[r3 >> 2])) { - r4 = 1778; - break; - } - r10 = r1 + 4 | 0; - r7 = HEAP32[r10 >> 2]; - if ((r7 | 0) == 0) { - r4 = 1777; - break; - } else { - r1 = r7; - } - } - if (r4 == 1774) { - HEAP32[r2 >> 2] = r1; - r8 = r9; - return r8; - } else if (r4 == 1777) { - HEAP32[r2 >> 2] = r1; - r8 = r10; - return r8; - } else if (r4 == 1778) { - HEAP32[r2 >> 2] = r1; - r8 = r2; - return r8; - } -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNK5Avoid21HyperEdgeShiftSegment12balanceCountEv(r1) { - if ((HEAP8[r1 + 48 | 0] & 1) << 24 >> 24 == 0) { - ___assert_func(5244520, 158, 5254300, 5246324); - } - return HEAP32[r1 + 44 >> 2]; -} -function __ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeNodeEjPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = HEAP32[r1 + 4 >> 2]; - r6 = r1; - if ((r5 | 0) == (r6 | 0)) { - return; - } else { - r7 = r5; - } - while (1) { - r5 = HEAP32[r7 + 8 >> 2]; - if ((r5 | 0) != (r3 | 0)) { - __ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeEdgeEjPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE(r5, r2, r1, r4); - } - r5 = HEAP32[r7 + 4 >> 2]; - if ((r5 | 0) == (r6 | 0)) { - break; - } else { - r7 = r5; - } - } - return; -} -function __ZN5Avoid12ShiftSegmentD1Ev(r1) { - return; -} -function __ZN5Avoid12ShiftSegmentC2Ej(r1, r2) { - HEAP32[r1 >> 2] = 5267604; - HEAP32[r1 + 4 >> 2] = r2; - return; -} -function __ZN5Avoid21HyperEdgeShiftSegment8lowPointEv(r1) { - return HEAP32[HEAP32[r1 + 24 >> 2] + 16 >> 2] + 16 | 0; -} -function __ZNK5Avoid21HyperEdgeShiftSegment8lowPointEv(r1) { - return HEAP32[HEAP32[r1 + 24 >> 2] + 16 >> 2] + 16 | 0; -} -function __ZNK5Avoid21HyperEdgeShiftSegment9immovableEv(r1) { - return (HEAP8[r1 + 40 | 0] & 1) << 24 >> 24 != 0; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEEC2ERKS4_(r1, r2) { - var r3, r4; - r3 = r1 + 4 | 0; - HEAP32[r3 >> 2] = 0; - r4 = HEAP32[r2 >> 2]; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 + 12 >> 2] = r4; - HEAP32[r1 >> 2] = r3; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 1808; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 1812; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1811; - break; - } else { - r3 = r6; - } - } - if (r4 == 1808) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 1812) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } else if (r4 == 1811) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSA_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (r1 >>> 0 < r6 >>> 0) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 1823; - break; - } else { - r3 = r5; - continue; - } - } - if (r6 >>> 0 >= r1 >>> 0) { - r4 = 1827; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 1826; - break; - } else { - r3 = r6; - } - } - if (r4 == 1826) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } else if (r4 == 1823) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 1827) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE13__lower_boundIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_SK_SK_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L2245 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (HEAP32[r10 + 4] >>> 0 >= r6 >>> 0) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L2245; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L2245; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEEC2ERKSF_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeEdgeEjPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - do { - if (__ZNK5Avoid17HyperEdgeTreeEdge14hasOrientationEj(r1, r2)) { - r7 = HEAP32[r1 >> 2]; - r8 = r1 + 4 | 0; - r9 = HEAP32[r8 >> 2]; - if (__ZNK5Avoid17HyperEdgeTreeEdge10zeroLengthEv(r7, r9)) { - break; - } - if ((HEAP32[r7 + 8 >> 2] | 0) == 1) { - r10 = 1; - } else { - r10 = (HEAP32[r9 + 8 >> 2] | 0) == 1; - } - r9 = __Znwj(72); - __ZN5Avoid21HyperEdgeShiftSegmentC1EPNS_17HyperEdgeTreeNodeES2_jb(r9, HEAP32[r1 >> 2], HEAP32[r8 >> 2], r2, r10); - HEAP32[r6 >> 2] = r9; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r4, r6); - } - } while (0); - r6 = HEAP32[r1 >> 2]; - if (!((r6 | 0) == 0 | (r6 | 0) == (r3 | 0))) { - __ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeNodeEjPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE(r6, r2, r1, r4); - } - r6 = HEAP32[r1 + 4 >> 2]; - if ((r6 | 0) == 0 | (r6 | 0) == (r3 | 0)) { - STACKTOP = r5; - return; - } - __ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeNodeEjPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE(r6, r2, r1, r4); - STACKTOP = r5; - return; -} -__ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeEdgeEjPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE["X"] = 1; -function __ZN5Avoid21HyperEdgeShiftSegmentC1EPNS_17HyperEdgeTreeNodeES2_jb(r1, r2, r3, r4, r5) { - __ZN5Avoid21HyperEdgeShiftSegmentC2EPNS_17HyperEdgeTreeNodeES2_jb(r1, r2, r3, r4, r5); - return; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(12); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r2 >> 2]; - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid21HyperEdgeShiftSegmentC2EPNS_17HyperEdgeTreeNodeES2_jb(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9; - r6 = STACKTOP; - STACKTOP = STACKTOP + 28 | 0; - r7 = r6 + 16; - r8 = r6 + 20; - r9 = r6 + 24; - HEAP32[r7 >> 2] = r2; - HEAP32[r8 >> 2] = r3; - __ZN5Avoid12ShiftSegmentC2Ej(r1 | 0, r4); - HEAP32[r1 >> 2] = 5267476; - r3 = r1 + 24 | 0; - __ZN5Avoid13CmpNodesInDimC1Ej(r9, r4 & 1 ^ 1); - r4 = r3 | 0; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEEC1ERKS4_(r4, r9); - HEAP8[r1 + 40 | 0] = r5 & 1; - HEAP32[r1 + 44 >> 2] = 0; - HEAP8[r1 + 48 | 0] = 0; - HEAP8[r1 + 68 | 0] = 0; - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r6 + 8, r4, r7); - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r6, r4, r8); - HEAP32[HEAP32[r7 >> 2] + 40 >> 2] = r3; - HEAP32[HEAP32[r8 >> 2] + 40 >> 2] = r3; - r3 = r1 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = -1e8, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r3 = r1 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = 1e8, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r6; - return; -} -function __ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid21HyperEdgeShiftSegmentD1Ev(r1) { - __ZN5Avoid21HyperEdgeShiftSegmentD2Ev(r1); - return; -} -function __ZN5Avoid21HyperEdgeShiftSegmentD0Ev(r1) { - __ZN5Avoid21HyperEdgeShiftSegmentD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid21HyperEdgeShiftSegment9highPointEv(r1) { - return HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r1 + 28 | 0) + 16 >> 2] + 16 | 0; -} -function __ZNK5Avoid21HyperEdgeShiftSegment9highPointEv(r1) { - return HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r1 + 28 | 0) + 16 >> 2] + 16 | 0; -} -function __ZNK5Avoid21HyperEdgeShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = r3 & 1 ^ 1; - r3 = r1; - r5 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r1); - r6 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r1); - r3 = r2; - r7 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r2); - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r2); - r3 = __ZNK5Avoid5PointixEj(r5, r4); - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = __ZNK5Avoid5PointixEj(r8, r4); - do { - if (r5 <= (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r8 = __ZNK5Avoid5PointixEj(r7, r4); - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = __ZNK5Avoid5PointixEj(r6, r4); - if (r9 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r8 = r1 + 8 | 0; - r9 = r2 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r9 = r2 + 8 | 0; - r8 = r1 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } else { - r10 = 1; - } - return r10; - } - } while (0); - r10 = 0; - return r10; -} -function __ZN5Avoid21HyperEdgeShiftSegmentD2Ev(r1) { - var r2, r3, r4; - HEAP32[r1 >> 2] = 5267476; - r2 = r1 + 24 | 0; - r3 = HEAP32[r2 >> 2]; - r4 = r1 + 28 | 0; - if ((r3 | 0) == (r4 | 0)) { - __ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev(r2); - return; - } - r1 = r4; - r4 = r3; - while (1) { - HEAP32[HEAP32[r4 + 16 >> 2] + 40 >> 2] = 0; - r3 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r4 | 0); - if ((r3 | 0) == (r1 | 0)) { - break; - } else { - r4 = r3; - } - } - __ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev(r2); - return; -} -function __ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEEC1ERKS4_(r1, r2) { - __ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEEC2ERKS4_(r1, r2); - return; -} -function __ZN5Avoid12ShiftSegmentD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__construct_nodeERSA_(r1, r2, r3) { - var r4, r5; - r4 = __Znwj(24); - r5 = r4 + 16 | 0; - if ((r5 | 0) != 0) { - HEAP32[r5 >> 2] = HEAP32[r3 >> 2]; - } - r3 = r4 + 20 | 0; - if ((r3 | 0) != 0) { - HEAP32[r3 >> 2] = 0; - } - HEAP32[r1 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - HEAP8[r1 + 9 | 0] = 1; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSI_SI_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE13__lower_boundIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_SK_SK_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (HEAP32[r3 >> 2] >>> 0 < HEAP32[r6 + 16 >> 2] >>> 0) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZN5Avoid17ImproveHyperEdgesC2EPNS_6RouterE(r1, r2) { - var r3; - HEAP32[r1 >> 2] = r2; - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_(r1 + 4 | 0); - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1 + 16 | 0); - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEEC1ERKSF_(r1 + 28 | 0); - r2 = r1 + 40 | 0; - r3 = r2; - HEAP32[r2 >> 2] = r3; - HEAP32[r1 + 44 >> 2] = r3; - HEAP32[r1 + 48 >> 2] = 0; - HEAP32[r1 + 52 >> 2] = 0; - return; -} -function __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEEC1ERKSF_(r1) { - __ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEEC2ERKSF_(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_(r1) { - __ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1INS_15__list_iteratorIS3_PvEEEET_SB_PNS_9enable_ifIXsr21__is_forward_iteratorISB_EE5valueEvE4typeE(r1, r2, r3) { - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC2INS_15__list_iteratorIS3_PvEEEET_SB_PNS_9enable_ifIXsr21__is_forward_iteratorISB_EE5valueEvE4typeE(r1, r2, r3); - return; -} -function __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEEC1Ej(r1, r2) { - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEEC2Ej(r1, r2); - return; -} -function __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIN5Avoid7PolygonENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_15__list_iteratorIS3_PvEEEESA_NS_21__list_const_iteratorIS3_S9_EET_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14; - r6 = r1 | 0; - HEAP32[r6 >> 2] = r3; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r1 = __Znwj(12); - r7 = r1; - r8 = r1; - HEAP32[r8 >> 2] = 0; - r9 = r1 + 8 | 0; - if ((r9 | 0) != 0) { - HEAP32[r9 >> 2] = HEAP32[r4 + 8 >> 2]; - } - HEAP32[r6 >> 2] = r7; - r6 = HEAP32[r4 + 4 >> 2]; - L2356 : do { - if ((r6 | 0) == (r5 | 0)) { - r10 = r7; - r11 = 1; - } else { - r4 = r7; - r9 = 1; - r1 = r6; - while (1) { - r12 = __Znwj(12); - r13 = r12 + 8 | 0; - if ((r13 | 0) != 0) { - HEAP32[r13 >> 2] = HEAP32[r1 + 8 >> 2]; - } - r13 = r4 + 4 | 0; - HEAP32[r13 >> 2] = r12; - HEAP32[r12 >> 2] = r4; - r12 = HEAP32[r1 + 4 >> 2]; - r14 = HEAP32[r13 >> 2]; - r13 = r9 + 1 | 0; - if ((r12 | 0) == (r5 | 0)) { - r10 = r14; - r11 = r13; - break L2356; - } else { - r4 = r14; - r9 = r13; - r1 = r12; - } - } - } - } while (0); - r5 = (r3 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r7; - HEAP32[r8 >> 2] = HEAP32[r5]; - HEAP32[r5] = r10; - HEAP32[r10 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + r11 | 0; - return; -} -__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_15__list_iteratorIS3_PvEEEESA_NS_21__list_const_iteratorIS3_S9_EET_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE["X"] = 1; -function __ZNK5Avoid26PotentialSegmentConstraint10stillValidEv(r1, r2) { - return (r1 | 0) != (r2 | 0); -} -function __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEE18__construct_at_endINS_15__list_iteratorIS3_PvEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 + 8 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = HEAP32[r1 + 4 >> 2]; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZN5Avoid26PotentialSegmentConstraint12rewriteIndexEjj(r1, r2, r3) { - var r4; - r4 = r1 | 0; - if ((HEAP32[r4 >> 2] | 0) == (r2 | 0)) { - HEAP32[r4 >> 2] = r3; - } - r4 = r1 + 4 | 0; - if ((HEAP32[r4 >> 2] | 0) != (r2 | 0)) { - return; - } - HEAP32[r4 >> 2] = r3; - return; -} -function __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEEC2Ej(r1, r2) { - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEE18__construct_at_endEj(r1, r2); - return; -} -function __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - __ZN5Avoid7PolygonC1Ev(r2); - r4 = HEAP32[r3]; - } - r5 = r4 + 44 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC2INS_15__list_iteratorIS3_PvEEEET_SB_PNS_9enable_ifIXsr21__is_forward_iteratorISB_EE5valueEvE4typeE(r1, r2, r3) { - var r4, r5, r6, r7; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == (r3 | 0)) { - return; - } else { - r4 = 0; - r5 = r2; - } - while (1) { - r6 = r4 + 1 | 0; - r7 = HEAP32[r5 + 4 >> 2]; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r4 = r6; - r5 = r7; - } - } - if ((r6 | 0) == 0) { - return; - } - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEE8allocateEj(r1, r6); - __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEE18__construct_at_endINS_15__list_iteratorIS3_PvEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_(r1, r2, r3); - return; -} -function __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEED1Ev(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEED2Ev(r1) { - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(r1); - return; -} -function __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE(HEAP32[r1 + 4 >> 2]); - __ZNSt3__14pairIN5Avoid5PointENS1_7PtOrderEED1Ev(r1 + 16 | 0); - __ZdlPv(r1); - return; -} -function __ZNSt3__14pairIN5Avoid5PointENS1_7PtOrderEED1Ev(r1) { - __ZNSt3__14pairIN5Avoid5PointENS1_7PtOrderEED2Ev(r1); - return; -} -function __ZNSt3__14pairIN5Avoid5PointENS1_7PtOrderEED2Ev(r1) { - __ZN5Avoid7PtOrderD1Ev(r1 + 24 | 0); - return; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5clearEv(r1); - return; -} -function __ZN5Avoid12CmpLineOrderC1ERNSt3__13mapINS_5PointENS_7PtOrderENS1_4lessIS3_EENS1_9allocatorINS1_4pairIKS3_S4_EEEEEEj(r1, r2, r3) { - __ZN5Avoid12CmpLineOrderC2ERNSt3__13mapINS_5PointENS_7PtOrderENS1_4lessIS3_EENS1_9allocatorINS1_4pairIKS3_S4_EEEEEEj(r1, r2, r3); - return; -} -function __ZN5AvoidL8linesortEbNSt3__14listIPNS_12ShiftSegmentENS0_9allocatorIS3_EEEERNS_12CmpLineOrderE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r5 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r7 = r6; - r8 = r6 + 4; - r9 = r6 + 8; - r10 = r6 + 12; - L2422 : do { - if (r2) { - r11 = HEAP32[r3 + 4 >> 2]; - r12 = r3; - if ((r11 | 0) == (r12 | 0)) { - break; - } - r13 = r4 + 4 | 0; - r14 = r7 | 0; - r15 = r11; - while (1) { - L2427 : do { - if ((r15 | 0) != (r12 | 0)) { - r11 = r15 + 8 | 0; - r16 = r15; - while (1) { - r17 = HEAP32[r11 >> 2]; - if ((r17 | 0) == 0) { - r18 = 0; - } else { - r18 = ___dynamic_cast(r17, 5272756, 5272736); - } - r17 = HEAP32[r16 + 8 >> 2]; - do { - if ((r17 | 0) == 0) { - r5 = 2008; - } else { - r19 = ___dynamic_cast(r17, 5272756, 5272736); - if ((r15 | 0) == (r16 | 0) | (r18 | 0) == 0 | (r19 | 0) == 0) { - r5 = 2008; - break; - } - r20 = r19; - if (!__ZNK5Avoid19NudgingShiftSegment15shouldAlignWithEPKNS_12ShiftSegmentEj(r18, r20, HEAP32[r13 >> 2])) { - r5 = 2008; - break; - } - __ZN5Avoid19NudgingShiftSegment9mergeWithEPKNS_12ShiftSegmentEj(r18, r20, HEAP32[r13 >> 2]); - FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 4 >> 2]](r19); - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE(r7, r3, r16); - r21 = HEAP32[r14 >> 2]; - break; - } - } while (0); - if (r5 == 2008) { - r5 = 0; - r21 = HEAP32[r16 + 4 >> 2]; - } - if ((r21 | 0) == (r12 | 0)) { - break L2427; - } else { - r16 = r21; - } - } - } - } while (0); - r16 = HEAP32[r15 + 4 >> 2]; - if ((r16 | 0) == (r12 | 0)) { - break L2422; - } else { - r15 = r16; - } - } - } - } while (0); - r21 = r1; - HEAP32[r1 >> 2] = r21; - r7 = r1 + 4 | 0; - HEAP32[r7 >> 2] = r21; - r18 = r1 + 8 | 0; - HEAP32[r18 >> 2] = 0; - r2 = (r3 + 8 | 0) >> 2; - r15 = HEAP32[r2]; - if ((r15 | 0) == 0) { - STACKTOP = r6; - return; - } - r12 = r3 + 4 | 0; - r14 = r15; - L2446 : while (1) { - r15 = 0; - while (1) { - r13 = HEAP32[HEAP32[r12 >> 2] + 8 >> 2]; - HEAP32[r8 >> 2] = r13; - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9pop_frontEv(r3); - r16 = 1; - r11 = r7; - while (1) { - r17 = HEAP32[r11 >> 2]; - if ((r17 | 0) == (r21 | 0)) { - r22 = r16; - r23 = r21; - break; - } - HEAP8[r9] = 0; - r19 = __ZNK5Avoid12CmpLineOrderclEPKNS_12ShiftSegmentES3_Pb(r4, r13, HEAP32[r17 + 8 >> 2], r9); - r20 = HEAP8[r9] & 1; - r24 = r20 & r16; - if (r20 << 24 >> 24 == 0 | r19 ^ 1) { - r16 = r24; - r11 = r17 + 4 | 0; - } else { - r22 = r24; - r23 = r17; - break; - } - } - if ((HEAP32[r18 >> 2] | 0) == 0) { - break; - } - if (!((r22 & 1) << 24 >> 24 == 0 & r15 >>> 0 < r14 >>> 0)) { - break; - } - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r3, r8); - if ((HEAP32[r2] | 0) == 0) { - r5 = 2031; - break L2446; - } else { - r15 = r15 + 1 | 0; - } - } - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r10, r1, r23, r8); - r15 = HEAP32[r2]; - if ((r15 | 0) == 0) { - r5 = 2030; - break; - } else { - r14 = r15; - } - } - if (r5 == 2031) { - STACKTOP = r6; - return; - } else if (r5 == 2030) { - STACKTOP = r6; - return; - } -} -__ZN5AvoidL8linesortEbNSt3__14listIPNS_12ShiftSegmentENS0_9allocatorIS3_EEEERNS_12CmpLineOrderE["X"] = 1; -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEEC1ERKS6_(r1, r2) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEEC2ERKS6_(r1, r2); - return; -} -function __ZN5Avoid19NudgingShiftSegment20createSolverVariableEb(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = r1 >> 2; - r4 = 0; - r5 = __ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(__ZNK5Avoid7ConnRef6routerEv(HEAP32[HEAP32[r3 + 6] >> 2]), 0); - r6 = __ZN5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r3] + 8 >> 2]](r1), HEAP32[r3 + 1]); - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r5) { - if ((HEAP8[r1 + 45 | 0] & 1) << 24 >> 24 == 0) { - r4 = 2037; - break; - } - if ((HEAP8[r1 + 47 | 0] & 1) << 24 >> 24 == 0) { - r8 = 0; - r9 = r7; - r10 = .001; - break; - } - r8 = 0; - r9 = r7; - r10 = r2 ? .001 : 1; - break; - } else { - r4 = 2037; - } - } while (0); - do { - if (r4 == 2037) { - if ((HEAP32[r3 + 13] | 0) != (HEAP32[r3 + 12] | 0)) { - r8 = 0; - r9 = r7; - r10 = .001; - break; - } - if (!__ZNK5Avoid19NudgingShiftSegment6zigzagEv(r1)) { - if ((HEAP8[r1 + 44 | 0] & 1) << 24 >> 24 != 0) { - r8 = 1; - r9 = r7; - r10 = 1e5; - break; - } - r8 = 0; - r9 = r7; - r10 = (HEAP8[r1 + 45 | 0] & 1) << 24 >> 24 == 0 ? .001 : 1e-5; - break; - } - r2 = (r1 + 8 | 0) >> 2; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3]) <= -1e8) { - ___assert_func(5244520, 409, 5259804, 5252440); - } - r5 = (r1 + 16 | 0) >> 2; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - if (r6 < 1e8) { - r11 = r6; - } else { - ___assert_func(5244520, 410, 5259804, 5251992); - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - } - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3]); - r8 = 0; - r9 = r5 + (r11 - r5) * .5; - r10 = 1e-5; - } - } while (0); - r11 = __Znwj(76); - __ZN5Avoid8VariableC1Eiddd(r11, r8, r9, r10); - HEAP32[r3 + 7] = r11; - return; -} -__ZN5Avoid19NudgingShiftSegment20createSolverVariableEb["X"] = 1; -function __ZN5Avoid8VariableC1Eiddd(r1, r2, r3, r4) { - __ZN5Avoid8VariableC2Eiddd(r1, r2, r3, r4); - return; -} -function __ZNK5Avoid19NudgingShiftSegment15shouldAlignWithEPKNS_12ShiftSegmentEj(r1, r2, r3) { - var r4, r5, r6; - if ((r2 | 0) == 0) { - r4 = 0; - } else { - r4 = ___dynamic_cast(r2, 5272756, 5272736); - } - do { - if ((HEAP32[r1 + 24 >> 2] | 0) == (HEAP32[r4 + 24 >> 2] | 0)) { - if (((HEAP8[r4 + 45 | 0] ^ HEAP8[r1 + 45 | 0]) & 1) << 24 >> 24 != 0) { - break; - } - if (!FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 24 >> 2]](r1, r4 | 0, r3)) { - break; - } - do { - if ((HEAP8[r1 + 46 | 0] & 1) << 24 >> 24 != 0) { - if ((HEAP8[r4 + 46 | 0] & 1) << 24 >> 24 == 0) { - break; - } else { - r5 = 1; - } - return r5; - } - } while (0); - r2 = __ZNK5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1), r3); - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = __ZNK5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 16 >> 2]](r4), r3); - if (Math.abs(r6 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) < 10) { - r5 = 1; - } else { - break; - } - return r5; - } - } while (0); - r5 = 0; - return r5; -} -__ZNK5Avoid19NudgingShiftSegment15shouldAlignWithEPKNS_12ShiftSegmentEj["X"] = 1; -function __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9push_backERKS2_(r1, r2) { - var r3, r4, r5, r6; - r3 = __Znwj(20); - r4 = r3; - r5 = r3 + 8 | 0, r6 = r5 >> 2; - if ((r5 | 0) != 0) { - r5 = r2 >> 2; - HEAP32[r6] = HEAP32[r5]; - HEAP32[r6 + 1] = HEAP32[r5 + 1]; - HEAP32[r6 + 2] = HEAP32[r5 + 2]; - } - r5 = (r1 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r5]; - HEAP32[r5] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid26PotentialSegmentConstraintC1EjjRKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r1, r2, r3, r4) { - __ZN5Avoid26PotentialSegmentConstraintC2EjjRKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r1, r2, r3, r4); - return; -} -function __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9pop_frontEv(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = r2 + 4 | 0; - r4 = r2 | 0; - HEAP32[HEAP32[r4 >> 2] + 4 >> 2] = HEAP32[r3 >> 2]; - HEAP32[HEAP32[r3 >> 2] >> 2] = HEAP32[r4 >> 2]; - r4 = r1 + 8 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] - 1 | 0; - __ZdlPv(r2); - return; -} -function __ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9pop_frontEv(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = r2 + 4 | 0; - r4 = r2 | 0; - HEAP32[HEAP32[r4 >> 2] + 4 >> 2] = HEAP32[r3 >> 2]; - HEAP32[HEAP32[r3 >> 2] >> 2] = HEAP32[r4 >> 2]; - r4 = r1 + 8 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] - 1 | 0; - __ZdlPv(r2); - return; -} -function __ZN5Avoid19NudgingShiftSegment25updatePositionsFromSolverEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9; - if ((HEAP8[r1 + 44 | 0] & 1) << 24 >> 24 != 0) { - return; - } - r2 = HEAP32[r1 + 28 >> 2] + 12 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r3 < r4 ? r4 : r3; - r3 = r1 + 16 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r4 < r2 ? r4 : r2; - r2 = r1 + 36 | 0; - r4 = r1 + 32 | 0; - r5 = HEAP32[r4 >> 2]; - if ((HEAP32[r2 >> 2] | 0) == (r5 | 0)) { - return; - } - r6 = r1 + 24 | 0; - r7 = r1 + 4 | 0; - r1 = 0; - r8 = r5; - while (1) { - r5 = HEAP32[r8 + (r1 << 2) >> 2]; - r9 = __ZN5Avoid5PointixEj(HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r6 >> 2]) + 8 >> 2] + (r5 * 24 & -1) | 0, HEAP32[r7 >> 2]); - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r9 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r9 = r1 + 1 | 0; - r5 = HEAP32[r4 >> 2]; - if (r9 >>> 0 < HEAP32[r2 >> 2] - r5 >> 2 >>> 0) { - r1 = r9; - r8 = r5; - } else { - break; - } - } - return; -} -function __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid8VariableENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid8VariableENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid10ConstraintENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid10ConstraintENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE5clearEv(r1); - return; -} -function __ZNSt3__110__list_impIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE5clearEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - if ((HEAP32[r2 >> 2] | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r1; - r5 = HEAP32[r1 >> 2] + 4 | 0; - r1 = r3 | 0; - HEAP32[HEAP32[r1 >> 2] + 4 >> 2] = HEAP32[r5 >> 2]; - HEAP32[HEAP32[r5 >> 2] >> 2] = HEAP32[r1 >> 2]; - HEAP32[r2 >> 2] = 0; - if ((r3 | 0) == (r4 | 0)) { - return; - } else { - r6 = r3; - } - while (1) { - r3 = HEAP32[r6 + 4 >> 2]; - __ZdlPv(r6); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r6 = r3; - } - } - return; -} -function __ZN5Avoid13delete_objectclINS_10ConstraintEEEvPT_(r1) { - if ((r1 | 0) == 0) { - return; - } - __ZdlPv(r1); - return; -} -function __ZN5Avoid13delete_objectclINS_8VariableEEEvPT_(r1) { - if ((r1 | 0) == 0) { - return; - } - __ZN5Avoid8VariableD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid8VariableD1Ev(r1) { - __ZN5Avoid8VariableD2Ev(r1); - return; -} -function __ZNSt3__113__vector_baseIN5Avoid7PolygonENS_9allocatorIS2_EEED2Ev(r1) { - var r2, r3, r4, r5; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = r1 + 4 | 0; - while (1) { - r1 = HEAP32[r4 >> 2]; - if (r3 >>> 0 >= r1 >>> 0) { - break; - } - r5 = r1 - 44 | 0; - HEAP32[r4 >> 2] = r5; - FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] >> 2]](r5); - } - __ZdlPv(HEAP32[r2 >> 2]); - return; -} -function __ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 97612893) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 * 44 & -1); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r3 + (r2 * 44 & -1) | 0; - return; - } -} -function __ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 << 2); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = (r2 << 2) + r3 | 0; - return; - } -} -function __ZN5Avoid8VariableD2Ev(r1) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1 + 64 | 0); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1 + 52 | 0); - return; -} -function __ZN5Avoid26PotentialSegmentConstraintC2EjjRKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r1, r2, r3, r4) { - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r4; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNK5Avoid19NudgingShiftSegment6zigzagEv(r1) { - var r2; - if ((HEAP8[r1 + 60 | 0] & 1) << 24 >> 24 != 0) { - r2 = 1; - return r2; - } - r2 = (HEAP8[r1 + 61 | 0] & 1) << 24 >> 24 != 0; - return r2; -} -function __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - if ((r4 | 0) == 0 | (r4 | 0) == 1) { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } else if ((r4 | 0) == 2) { - r8 = HEAP32[r3 >> 2]; - if (__ZNK5Avoid26PotentialSegmentConstraintltES0_(r8 + 8 | 0, HEAP32[r2 + 8 >> 2], HEAP32[r2 + 12 >> 2], HEAP32[r2 + 16 >> 2])) { - r9 = (r8 + 4 | 0) >> 2; - r10 = (r8 | 0) >> 2; - HEAP32[HEAP32[r10] + 4 >> 2] = HEAP32[r9]; - HEAP32[HEAP32[r9] >> 2] = HEAP32[r10]; - r11 = (r2 | 0) >> 2; - HEAP32[HEAP32[r11] + 4 >> 2] = r8; - HEAP32[r10] = HEAP32[r11]; - HEAP32[r11] = r8; - HEAP32[r9] = r2; - HEAP32[r1 >> 2] = r8; - STACKTOP = r5; - return; - } else { - HEAP32[r1 >> 2] = r2; - STACKTOP = r5; - return; - } - } else { - r8 = r4 >>> 1; - L31 : do { - if ((r8 | 0) == 0) { - r12 = r2; - } else { - r9 = r8; - r11 = r2; - while (1) { - r10 = r9 - 1 | 0; - r13 = HEAP32[r11 + 4 >> 2]; - if ((r10 | 0) > 0) { - r9 = r10; - r11 = r13; - } else { - r12 = r13; - break L31; - } - } - } - } while (0); - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r6, r2, r12, r8); - r2 = HEAP32[r6 >> 2], r6 = r2 >> 2; - __ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_(r7, r12, r3, r4 - r8 | 0); - r8 = HEAP32[r7 >> 2]; - r7 = HEAP32[r6 + 2]; - r4 = HEAP32[r6 + 3]; - r12 = HEAP32[r6 + 4]; - if (__ZNK5Avoid26PotentialSegmentConstraintltES0_(r8 + 8 | 0, r7, r4, r12)) { - r11 = HEAP32[r8 + 4 >> 2]; - L37 : do { - if ((r11 | 0) == (r3 | 0)) { - r14 = r3; - } else { - r9 = r11; - while (1) { - if (!__ZNK5Avoid26PotentialSegmentConstraintltES0_(r9 + 8 | 0, r7, r4, r12)) { - r14 = r9; - break L37; - } - r13 = HEAP32[r9 + 4 >> 2]; - if ((r13 | 0) == (r3 | 0)) { - r14 = r3; - break L37; - } else { - r9 = r13; - } - } - } - } while (0); - r12 = HEAP32[r14 >> 2]; - r4 = (r12 + 4 | 0) >> 2; - r7 = (r8 | 0) >> 2; - HEAP32[HEAP32[r7] + 4 >> 2] = HEAP32[r4]; - HEAP32[HEAP32[r4] >> 2] = HEAP32[r7]; - r11 = HEAP32[r6 + 1]; - r9 = (r2 | 0) >> 2; - HEAP32[HEAP32[r9] + 4 >> 2] = r8; - HEAP32[r7] = HEAP32[r9]; - HEAP32[r9] = r12; - HEAP32[r4] = r2; - r15 = r8; - r16 = r14; - r17 = r11; - } else { - r15 = r2; - r16 = r8; - r17 = HEAP32[r6 + 1]; - } - L44 : do { - if ((r17 | 0) != (r16 | 0)) { - r6 = r16; - r8 = r16; - r2 = r17; - while (1) { - r11 = r6 + 8 | 0; - r14 = (r6 | 0) == (r3 | 0); - r4 = r2, r12 = r4 >> 2; - while (1) { - if (r14) { - break L44; - } - r18 = HEAP32[r12 + 2]; - r19 = HEAP32[r12 + 3]; - r20 = HEAP32[r12 + 4]; - if (__ZNK5Avoid26PotentialSegmentConstraintltES0_(r11, r18, r19, r20)) { - break; - } - r9 = HEAP32[r12 + 1]; - if ((r9 | 0) == (r8 | 0)) { - break L44; - } else { - r4 = r9, r12 = r4 >> 2; - } - } - r11 = HEAP32[r6 + 4 >> 2]; - L52 : do { - if ((r11 | 0) == (r3 | 0)) { - r21 = r3; - } else { - r14 = r11; - while (1) { - if (!__ZNK5Avoid26PotentialSegmentConstraintltES0_(r14 + 8 | 0, r18, r19, r20)) { - r21 = r14; - break L52; - } - r9 = HEAP32[r14 + 4 >> 2]; - if ((r9 | 0) == (r3 | 0)) { - r21 = r3; - break L52; - } else { - r14 = r9; - } - } - } - } while (0); - r11 = HEAP32[r21 >> 2]; - r14 = (r11 + 4 | 0) >> 2; - r9 = (r6 | 0) >> 2; - HEAP32[HEAP32[r9] + 4 >> 2] = HEAP32[r14]; - HEAP32[HEAP32[r14] >> 2] = HEAP32[r9]; - r7 = HEAP32[r12 + 1]; - r13 = (r8 | 0) == (r6 | 0) ? r21 : r8; - r10 = (r4 | 0) >> 2; - HEAP32[HEAP32[r10] + 4 >> 2] = r6; - HEAP32[r9] = HEAP32[r10]; - HEAP32[r10] = r11; - HEAP32[r14] = r4; - if ((r7 | 0) == (r13 | 0)) { - break L44; - } else { - r6 = r21; - r8 = r13; - r2 = r7; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r15; - STACKTOP = r5; - return; - } -} -__ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_["X"] = 1; -function __ZNK5Avoid26PotentialSegmentConstraintltES0_(r1, r2, r3, r4) { - r4 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r3 = __ZNK5Avoid26PotentialSegmentConstraint11sepDistanceEv(r1) < __ZNK5Avoid26PotentialSegmentConstraint11sepDistanceEv(r4); - STACKTOP = r4; - return r3; -} -function __ZNK5Avoid26PotentialSegmentConstraint11sepDistanceEv(r1) { - var r2, r3, r4, r5; - r2 = HEAP32[r1 >> 2]; - r3 = HEAP32[r1 + 4 >> 2]; - if (!__ZNK5Avoid26PotentialSegmentConstraint10stillValidEv(r2, r3)) { - r4 = 0; - return r4; - } - r5 = HEAP32[HEAP32[r1 + 8 >> 2] >> 2]; - r1 = HEAP32[r5 + (r2 << 2) >> 2] + 12 | 0; - r2 = HEAP32[r5 + (r3 << 2) >> 2] + 12 | 0; - r4 = Math.abs((HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - return r4; -} -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L73 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L73; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZN5Avoid8VariableC2Eiddd(r1, r2, r3, r4) { - HEAP32[r1 >> 2] = r2; - r2 = r1 + 4 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r1 + 20 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r1 + 28 | 0; - HEAPF64[tempDoublePtr >> 3] = 1, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r1 + 36 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r2 + 4 >> 2] = 0; - HEAP32[r2 + 8 >> 2] = 0; - HEAP16[r2 + 12 >> 1] = 0; - r2 = (r1 + 52 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L101 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L101; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEEC2ERKS6_(r1, r2) { - var r3, r4, r5; - r3 = r1; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2; - r4 = HEAP32[r2 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - return; - } else { - r5 = r4; - } - while (1) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_(r1, r5 + 8 | 0); - r4 = HEAP32[r5 + 4 >> 2]; - if ((r4 | 0) == (r3 | 0)) { - break; - } else { - r5 = r4; - } - } - return; -} -function __ZN5Avoid19NudgingShiftSegment9mergeWithEPKNS_12ShiftSegmentEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r4 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = (r1 + 8 | 0) >> 2; - r8 = r2 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r9 < r10 ? r10 : r9; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = (r1 + 16 | 0) >> 2; - r9 = r2 + 16 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - r11 = r10 < r9 ? r10 : r9; - HEAPF64[tempDoublePtr >> 3] = r11, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r11 = (r1 + 4 | 0) >> 2; - r9 = __ZN5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 8 >> 2]](r1), HEAP32[r11]); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = __ZNK5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 16 >> 2]](r2), HEAP32[r11]); - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r12 < r10) { - r13 = r10 - (r10 - r12) * .5; - } else { - if (r12 <= r10) { - r13 = r10; - break; - } - r13 = r10 + (r12 - r10) * .5; - } - } while (0); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]); - r7 = r10 < r13 ? r13 : r10; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - r8 = r7 < r10 ? r7 : r10; - r10 = ___dynamic_cast(r2, 5272756, 5272736); - r2 = r1 + 32 | 0; - r7 = (r1 + 36 | 0) >> 2; - __ZNSt3__16vectorIjNS_9allocatorIjEEE6insertINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueENS5_IPjEEE4typeES8_SA_SA_(r6, r2, HEAP32[r7], HEAP32[r10 + 32 >> 2], HEAP32[r10 + 36 >> 2]); - r10 = r1 + 24 | 0; - __ZN5Avoid10CmpIndexesC1EPNS_7ConnRefEj(r5, HEAP32[r10 >> 2], r3 & 1 ^ 1); - r3 = (r2 | 0) >> 2; - __ZNSt3__16__sortIRN5Avoid10CmpIndexesEPjEEvT0_S5_T_(HEAP32[r3], HEAP32[r7], r5); - r5 = HEAP32[r3]; - if ((HEAP32[r7] | 0) == (r5 | 0)) { - STACKTOP = r4; - return; - } else { - r14 = 0; - r15 = r5; - } - while (1) { - r5 = HEAP32[r15 + (r14 << 2) >> 2]; - r2 = __ZN5Avoid5PointixEj(HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r10 >> 2]) + 8 >> 2] + (r5 * 24 & -1) | 0, HEAP32[r11]); - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r14 + 1 | 0; - r5 = HEAP32[r3]; - if (r2 >>> 0 < HEAP32[r7] - r5 >> 2 >>> 0) { - r14 = r2; - r15 = r5; - } else { - break; - } - } - STACKTOP = r4; - return; -} -__ZN5Avoid19NudgingShiftSegment9mergeWithEPKNS_12ShiftSegmentEj["X"] = 1; -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9pop_frontEv(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 4 >> 2]; - r3 = r2 + 4 | 0; - r4 = r2 | 0; - HEAP32[HEAP32[r4 >> 2] + 4 >> 2] = HEAP32[r3 >> 2]; - HEAP32[HEAP32[r3 >> 2] >> 2] = HEAP32[r4 >> 2]; - r4 = r1 + 8 | 0; - HEAP32[r4 >> 2] = HEAP32[r4 >> 2] - 1 | 0; - __ZdlPv(r2); - return; -} -function __ZNK5Avoid12CmpLineOrderclEPKNS_12ShiftSegmentES3_Pb(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r5 = STACKTOP; - STACKTOP = STACKTOP + 52 | 0; - r6 = r5; - r7 = r5 + 24; - r8 = r5 + 48; - if ((r2 | 0) == 0) { - r9 = 0; - } else { - r9 = ___dynamic_cast(r2, 5272756, 5272736); - } - if ((r3 | 0) == 0) { - r10 = 0; - } else { - r10 = ___dynamic_cast(r3, 5272756, 5272736); - } - r3 = (r4 | 0) != 0; - if (r3) { - HEAP8[r4] = 1; - } - r2 = r9; - r11 = r6 >> 2; - r12 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 16 >> 2]](r9) >> 2; - HEAP32[r11] = HEAP32[r12]; - HEAP32[r11 + 1] = HEAP32[r12 + 1]; - HEAP32[r11 + 2] = HEAP32[r12 + 2]; - HEAP32[r11 + 3] = HEAP32[r12 + 3]; - HEAP32[r11 + 4] = HEAP32[r12 + 4]; - HEAP32[r11 + 5] = HEAP32[r12 + 5]; - r12 = r10; - r11 = r7 >> 2; - r13 = FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 16 >> 2]](r10) >> 2; - HEAP32[r11] = HEAP32[r13]; - HEAP32[r11 + 1] = HEAP32[r13 + 1]; - HEAP32[r11 + 2] = HEAP32[r13 + 2]; - HEAP32[r11 + 3] = HEAP32[r13 + 3]; - HEAP32[r11 + 4] = HEAP32[r13 + 4]; - HEAP32[r11 + 5] = HEAP32[r13 + 5]; - r13 = (r1 + 4 | 0) >> 2; - r11 = HEAP32[r13] & 1 ^ 1; - r14 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 20 >> 2]](r9); - r2 = FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 20 >> 2]](r10); - r12 = __ZN5Avoid5PointixEj(r6, HEAP32[r13]); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = __ZNK5Avoid5PointixEj(r14, HEAP32[r13]); - if (r15 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - ___assert_func(5244520, 2662, 5254568, 5251772); - } - r12 = __ZN5Avoid5PointixEj(r7, HEAP32[r13]); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = __ZNK5Avoid5PointixEj(r2, HEAP32[r13]); - if (r15 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - ___assert_func(5244520, 2663, 5254568, 5251312); - } - r12 = __ZN5Avoid5PointixEj(r6, HEAP32[r13]); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = __ZN5Avoid5PointixEj(r7, HEAP32[r13]); - if (r15 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r12 = __ZN5Avoid5PointixEj(r6, HEAP32[r13]); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = __ZN5Avoid5PointixEj(r7, HEAP32[r13]); - r16 = r15 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - STACKTOP = r5; - return r16; - } - HEAP8[r8] = 0; - r12 = __ZNK5Avoid19NudgingShiftSegment10fixedOrderERb(r9, r8); - r15 = __ZNK5Avoid19NudgingShiftSegment10fixedOrderERb(r10, r8); - if (!((HEAP8[r8] & 1) << 24 >> 24 == 0 | (r12 | 0) == (r15 | 0))) { - r16 = (r12 | 0) < (r15 | 0); - STACKTOP = r5; - return r16; - } - r15 = __ZNK5Avoid19NudgingShiftSegment5orderEv(r9); - r12 = __ZNK5Avoid19NudgingShiftSegment5orderEv(r10); - if ((r15 | 0) != (r12 | 0)) { - r16 = (r15 | 0) < (r12 | 0); - STACKTOP = r5; - return r16; - } - r12 = __ZN5Avoid5PointixEj(r6, r11); - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r12 = __ZN5Avoid5PointixEj(r7, r11); - r8 = __ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_(HEAP32[r1 >> 2], r15 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) ? r6 : r7); - r12 = __ZN5Avoid7PtOrder11positionForEjPKNS_7ConnRefE(r8, HEAP32[r13], HEAP32[r9 + 24 >> 2]); - r9 = __ZN5Avoid7PtOrder11positionForEjPKNS_7ConnRefE(r8, HEAP32[r13], HEAP32[r10 + 24 >> 2]); - if (!((r12 | 0) == -1 | (r9 | 0) == -1)) { - r16 = (r12 | 0) < (r9 | 0); - STACKTOP = r5; - return r16; - } - if (r3) { - HEAP8[r4] = 0; - } - r4 = __ZN5Avoid5PointixEj(r6, r11); - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = __ZN5Avoid5PointixEj(r7, r11); - r16 = r6 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - STACKTOP = r5; - return r16; -} -__ZNK5Avoid12CmpLineOrderclEPKNS_12ShiftSegmentES3_Pb["X"] = 1; -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8; - r5 = __Znwj(12); - r6 = r5; - r7 = r5; - HEAP32[r7 >> 2] = 0; - r8 = r5 + 8 | 0; - if ((r8 | 0) != 0) { - HEAP32[r8 >> 2] = HEAP32[r4 >> 2]; - } - r4 = (r3 | 0) >> 2; - HEAP32[HEAP32[r4] + 4 >> 2] = r6; - HEAP32[r7 >> 2] = HEAP32[r4]; - HEAP32[r4] = r6; - HEAP32[r5 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - HEAP32[r1 >> 2] = r6; - return; -} -function __ZNK5Avoid19NudgingShiftSegment10fixedOrderERb(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = __ZNK5Avoid19NudgingShiftSegment13nudgeDistanceEv(HEAP32[r1 + 24 >> 2]); - r4 = __ZNK5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1), HEAP32[r1 + 4 >> 2]); - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r1 + 16 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - r5 < r3; - do { - if ((HEAP8[r1 + 44 | 0] & 1) << 24 >> 24 == 0) { - r4 = r1 + 8 | 0; - r7 = r5 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < r3; - if (r7 & r6) { - break; - } - if (r7) { - r8 = 1; - return r8; - } - r8 = r6 << 31 >> 31; - return r8; - } - } while (0); - HEAP8[r2] = 1; - r8 = 0; - return r8; -} -function __ZNK5Avoid19NudgingShiftSegment5orderEv(r1) { - var r2; - if (__ZNK5Avoid19NudgingShiftSegment4lowCEv(r1)) { - r2 = -1; - return r2; - } - r2 = __ZNK5Avoid19NudgingShiftSegment5highCEv(r1) & 1; - return r2; -} -function __ZNK5Avoid19NudgingShiftSegment4lowCEv(r1) { - var r2, r3, r4; - do { - if ((HEAP8[r1 + 45 | 0] & 1) << 24 >> 24 == 0) { - if (__ZNK5Avoid19NudgingShiftSegment6zigzagEv(r1)) { - break; - } - if ((HEAP8[r1 + 44 | 0] & 1) << 24 >> 24 != 0) { - break; - } - r2 = r1 + 8 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = __ZNK5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1), HEAP32[r1 + 4 >> 2]); - if (r3 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r4 = 1; - } else { - break; - } - return r4; - } - } while (0); - r4 = 0; - return r4; -} -function __ZNK5Avoid19NudgingShiftSegment5highCEv(r1) { - var r2, r3, r4; - do { - if ((HEAP8[r1 + 45 | 0] & 1) << 24 >> 24 == 0) { - if (__ZNK5Avoid19NudgingShiftSegment6zigzagEv(r1)) { - break; - } - if ((HEAP8[r1 + 44 | 0] & 1) << 24 >> 24 != 0) { - break; - } - r2 = r1 + 16 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = __ZNK5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 16 >> 2]](r1), HEAP32[r1 + 4 >> 2]); - if (r3 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r4 = 1; - } else { - break; - } - return r4; - } - } while (0); - r4 = 0; - return r4; -} -function __ZNK5Avoid19NudgingShiftSegment13nudgeDistanceEv(r1) { - return __ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(__ZNK5Avoid7ConnRef6routerEv(HEAP32[r1 >> 2]), 7); -} -function __ZN5Avoid10CmpIndexesC1EPNS_7ConnRefEj(r1, r2, r3) { - __ZN5Avoid10CmpIndexesC2EPNS_7ConnRefEj(r1, r2, r3); - return; -} -function __ZNSt3__16__sortIRN5Avoid10CmpIndexesEPjEEvT0_S5_T_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44; - r4 = 0; - r5 = r1; - r1 = r2; - L219 : while (1) { - r2 = r1; - r6 = r1 - 4 | 0, r7 = r6 >> 2; - r8 = r5, r9 = r8 >> 2; - L221 : while (1) { - r10 = r8; - r11 = r2 - r10 | 0; - r12 = r11 >> 2; - if ((r12 | 0) == 2) { - r4 = 184; - break L219; - } else if ((r12 | 0) == 4) { - r4 = 187; - break L219; - } else if ((r12 | 0) == 5) { - r4 = 188; - break L219; - } else if ((r12 | 0) == 3) { - r4 = 186; - break L219; - } else if ((r12 | 0) == 0 | (r12 | 0) == 1) { - r4 = 225; - break L219; - } - if ((r11 | 0) < 124) { - r4 = 190; - break L219; - } - r13 = (r12 | 0) / 2 & -1; - r14 = (r13 << 2) + r8 | 0; - if ((r11 | 0) > 3996) { - r11 = (r12 | 0) / 4 & -1; - r15 = __ZNSt3__17__sort5IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_S5_T_(r8, (r11 << 2) + r8 | 0, r14, (r11 + r13 << 2) + r8 | 0, r6, r3); - } else { - r15 = __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r8, r14, r6, r3); - } - do { - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r9], HEAP32[r14 >> 2])) { - r16 = r6; - r17 = r15; - } else { - r13 = r6; - while (1) { - r18 = r13 - 4 | 0, r19 = r18 >> 2; - if ((r8 | 0) == (r18 | 0)) { - break; - } - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r19], HEAP32[r14 >> 2])) { - r4 = 207; - break; - } else { - r13 = r18; - } - } - if (r4 == 207) { - r4 = 0; - r13 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r19]; - HEAP32[r19] = r13; - r16 = r18; - r17 = r15 + 1 | 0; - break; - } - r13 = r8 + 4 | 0; - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r9], HEAP32[r7])) { - r20 = r13; - } else { - r11 = r13, r13 = r11 >> 2; - while (1) { - if ((r11 | 0) == (r6 | 0)) { - r4 = 231; - break L219; - } - r21 = r11 + 4 | 0; - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r9], HEAP32[r13])) { - break; - } else { - r11 = r21, r13 = r11 >> 2; - } - } - r11 = HEAP32[r13]; - HEAP32[r13] = HEAP32[r7]; - HEAP32[r7] = r11; - r20 = r21; - } - if ((r20 | 0) == (r6 | 0)) { - r4 = 232; - break L219; - } else { - r22 = r6; - r23 = r20; - } - while (1) { - r11 = r23, r12 = r11 >> 2; - while (1) { - r24 = r11 + 4 | 0; - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r9], HEAP32[r12])) { - r25 = r22; - break; - } else { - r11 = r24, r12 = r11 >> 2; - } - } - while (1) { - r26 = r25 - 4 | 0, r27 = r26 >> 2; - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r9], HEAP32[r27])) { - r25 = r26; - } else { - break; - } - } - if (r11 >>> 0 >= r26 >>> 0) { - r8 = r11, r9 = r8 >> 2; - continue L221; - } - r28 = HEAP32[r12]; - HEAP32[r12] = HEAP32[r27]; - HEAP32[r27] = r28; - r22 = r26; - r23 = r24; - } - } - } while (0); - r13 = r8 + 4 | 0; - L251 : do { - if (r13 >>> 0 < r16 >>> 0) { - r28 = r16; - r29 = r13; - r30 = r17; - r31 = r14; - while (1) { - r32 = r29, r33 = r32 >> 2; - while (1) { - r34 = r32 + 4 | 0; - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r33], HEAP32[r31 >> 2])) { - r32 = r34, r33 = r32 >> 2; - } else { - r35 = r28; - break; - } - } - while (1) { - r36 = r35 - 4 | 0, r37 = r36 >> 2; - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r37], HEAP32[r31 >> 2])) { - break; - } else { - r35 = r36; - } - } - if (r32 >>> 0 > r36 >>> 0) { - r38 = r32, r39 = r38 >> 2; - r40 = r30; - r41 = r31, r42 = r41 >> 2; - break L251; - } - r12 = HEAP32[r33]; - HEAP32[r33] = HEAP32[r37]; - HEAP32[r37] = r12; - r28 = r36; - r29 = r34; - r30 = r30 + 1 | 0; - r31 = (r31 | 0) == (r32 | 0) ? r36 : r31; - } - } else { - r38 = r13, r39 = r38 >> 2; - r40 = r17; - r41 = r14, r42 = r41 >> 2; - } - } while (0); - do { - if ((r38 | 0) == (r41 | 0)) { - r43 = r40; - } else { - if (!__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r42], HEAP32[r39])) { - r43 = r40; - break; - } - r14 = HEAP32[r39]; - HEAP32[r39] = HEAP32[r42]; - HEAP32[r42] = r14; - r43 = r40 + 1 | 0; - } - } while (0); - if ((r43 | 0) == 0) { - r44 = __ZNSt3__127__insertion_sort_incompleteIRN5Avoid10CmpIndexesEPjEEbT0_S5_T_(r8, r38, r3); - r14 = r38 + 4 | 0; - if (__ZNSt3__127__insertion_sort_incompleteIRN5Avoid10CmpIndexesEPjEEbT0_S5_T_(r14, r1, r3)) { - r4 = 219; - break; - } - if (r44) { - r8 = r14, r9 = r8 >> 2; - continue; - } - } - r14 = r38; - if ((r14 - r10 | 0) >= (r2 - r14 | 0)) { - r4 = 223; - break; - } - __ZNSt3__16__sortIRN5Avoid10CmpIndexesEPjEEvT0_S5_T_(r8, r38, r3); - r8 = r38 + 4 | 0, r9 = r8 >> 2; - } - if (r4 == 223) { - r4 = 0; - __ZNSt3__16__sortIRN5Avoid10CmpIndexesEPjEEvT0_S5_T_(r38 + 4 | 0, r1, r3); - r5 = r8; - r1 = r38; - continue; - } else if (r4 == 219) { - r4 = 0; - if (r44) { - r4 = 234; - break; - } else { - r5 = r8; - r1 = r38; - continue; - } - } - } - if (r4 == 184) { - if (!__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r7], HEAP32[r9])) { - return; - } - r38 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r7]; - HEAP32[r7] = r38; - return; - } else if (r4 == 187) { - __ZNSt3__17__sort4IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_T_(r8, r8 + 4 | 0, r8 + 8 | 0, r6, r3); - return; - } else if (r4 == 188) { - __ZNSt3__17__sort5IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_S5_T_(r8, r8 + 4 | 0, r8 + 8 | 0, r8 + 12 | 0, r6, r3); - return; - } else if (r4 == 190) { - __ZNSt3__118__insertion_sort_3IRN5Avoid10CmpIndexesEPjEEvT0_S5_T_(r8, r1, r3); - return; - } else if (r4 == 186) { - __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r8, r8 + 4 | 0, r6, r3); - return; - } else if (r4 == 225) { - return; - } else if (r4 == 231) { - return; - } else if (r4 == 232) { - return; - } else if (r4 == 234) { - return; - } -} -__ZNSt3__16__sortIRN5Avoid10CmpIndexesEPjEEvT0_S5_T_["X"] = 1; -function __ZN5Avoid10CmpIndexesclEjj(r1, r2, r3) { - var r4, r5; - r4 = r1 | 0; - r5 = r1 + 4 | 0; - r1 = __ZN5Avoid5PointixEj(HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r4 >> 2]) + 8 >> 2] + (r2 * 24 & -1) | 0, HEAP32[r5 >> 2]); - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = __ZN5Avoid5PointixEj(HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r4 >> 2]) + 8 >> 2] + (r3 * 24 & -1) | 0, HEAP32[r5 >> 2]); - return r2 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); -} -function __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = r3 >> 2; - r3 = r2 >> 2; - r2 = r1 >> 2; - r1 = __ZN5Avoid10CmpIndexesclEjj(r4, HEAP32[r3], HEAP32[r2]); - r6 = __ZN5Avoid10CmpIndexesclEjj(r4, HEAP32[r5], HEAP32[r3]); - if (!r1) { - if (!r6) { - r7 = 0; - return r7; - } - r1 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r5]; - HEAP32[r5] = r1; - if (!__ZN5Avoid10CmpIndexesclEjj(r4, HEAP32[r3], HEAP32[r2])) { - r7 = 1; - return r7; - } - r1 = HEAP32[r2]; - HEAP32[r2] = HEAP32[r3]; - HEAP32[r3] = r1; - r7 = 2; - return r7; - } - r1 = HEAP32[r2]; - if (r6) { - HEAP32[r2] = HEAP32[r5]; - HEAP32[r5] = r1; - r7 = 1; - return r7; - } - HEAP32[r2] = HEAP32[r3]; - HEAP32[r3] = r1; - if (!__ZN5Avoid10CmpIndexesclEjj(r4, HEAP32[r5], r1)) { - r7 = 1; - return r7; - } - r1 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r5]; - HEAP32[r5] = r1; - r7 = 2; - return r7; -} -function __ZNSt3__17__sort4IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_T_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9; - r6 = r3 >> 2; - r7 = r2 >> 2; - r8 = __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r1, r2, r3, r5); - if (!__ZN5Avoid10CmpIndexesclEjj(r5, HEAP32[r4 >> 2], HEAP32[r6])) { - r9 = r8; - return r9; - } - r3 = HEAP32[r6]; - HEAP32[r6] = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = r3; - if (!__ZN5Avoid10CmpIndexesclEjj(r5, HEAP32[r6], HEAP32[r7])) { - r9 = r8 + 1 | 0; - return r9; - } - r3 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r6]; - HEAP32[r6] = r3; - if (!__ZN5Avoid10CmpIndexesclEjj(r5, HEAP32[r7], HEAP32[r1 >> 2])) { - r9 = r8 + 2 | 0; - return r9; - } - r5 = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = HEAP32[r7]; - HEAP32[r7] = r5; - r9 = r8 + 3 | 0; - return r9; -} -function __ZNSt3__17__sort5IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_S5_T_(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11; - r7 = r4 >> 2; - r8 = r3 >> 2; - r9 = r2 >> 2; - r10 = __ZNSt3__17__sort4IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_T_(r1, r2, r3, r4, r6); - if (!__ZN5Avoid10CmpIndexesclEjj(r6, HEAP32[r5 >> 2], HEAP32[r7])) { - r11 = r10; - return r11; - } - r4 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = r4; - if (!__ZN5Avoid10CmpIndexesclEjj(r6, HEAP32[r7], HEAP32[r8])) { - r11 = r10 + 1 | 0; - return r11; - } - r4 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r7]; - HEAP32[r7] = r4; - if (!__ZN5Avoid10CmpIndexesclEjj(r6, HEAP32[r8], HEAP32[r9])) { - r11 = r10 + 2 | 0; - return r11; - } - r4 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r8]; - HEAP32[r8] = r4; - if (!__ZN5Avoid10CmpIndexesclEjj(r6, HEAP32[r9], HEAP32[r1 >> 2])) { - r11 = r10 + 3 | 0; - return r11; - } - r6 = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = HEAP32[r9]; - HEAP32[r9] = r6; - r11 = r10 + 4 | 0; - return r11; -} -function __ZNSt3__118__insertion_sort_3IRN5Avoid10CmpIndexesEPjEEvT0_S5_T_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = r1 + 8 | 0; - __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r1, r1 + 4 | 0, r4, r3); - r5 = r1 + 12 | 0; - if ((r5 | 0) == (r2 | 0)) { - return; - } else { - r6 = r4; - r7 = r5; - } - while (1) { - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r7 >> 2], HEAP32[r6 >> 2])) { - r5 = HEAP32[r7 >> 2]; - r4 = r6; - r8 = r7; - while (1) { - HEAP32[r8 >> 2] = HEAP32[r4 >> 2]; - if ((r4 | 0) == (r1 | 0)) { - r9 = r1; - break; - } - r10 = r4 - 4 | 0; - if (__ZN5Avoid10CmpIndexesclEjj(r3, r5, HEAP32[r10 >> 2])) { - r8 = r4; - r4 = r10; - } else { - r9 = r4; - break; - } - } - HEAP32[r9 >> 2] = r5; - } - r4 = r7 + 4 | 0; - if ((r4 | 0) == (r2 | 0)) { - break; - } else { - r6 = r7; - r7 = r4; - } - } - return; -} -function __ZNSt3__16vectorIjNS_9allocatorIjEEE6insertINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueENS5_IPjEEE4typeES8_SA_SA_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25; - r6 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r7 = r6; - r8 = HEAP32[r2 >> 2]; - r9 = r8; - r10 = r3 - r9 >> 2; - r3 = (r10 << 2) + r8 | 0; - r11 = r5 - r4 | 0; - r12 = r11 >> 2; - if ((r11 | 0) <= 0) { - r13 = r3; - r14 = r1 | 0, r15 = r14 >> 2; - HEAP32[r15] = r13; - STACKTOP = r6; - return; - } - r11 = r2 + 8 | 0; - r16 = HEAP32[r2 + 4 >> 2]; - r17 = HEAP32[r11 >> 2]; - r18 = r16; - if ((r12 | 0) > (r17 - r18 >> 2 | 0)) { - r19 = (r18 - r9 >> 2) + r12 | 0; - if (r19 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r20 = r17 - r9 | 0; - if (r20 >> 2 >>> 0 > 536870910) { - r21 = 1073741823; - } else { - r9 = r20 >> 1; - r21 = r9 >>> 0 < r19 >>> 0 ? r19 : r9; - } - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r7, r21, r10, r11); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r7, r4, r5); - r11 = __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EEPj(r2, r7, r3); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r7); - r13 = r11; - r14 = r1 | 0, r15 = r14 >> 2; - HEAP32[r15] = r13; - STACKTOP = r6; - return; - } - r11 = r18 - r3 >> 2; - if ((r12 | 0) > (r11 | 0)) { - r18 = (r11 << 2) + r4 | 0; - __ZNSt3__16vectorIjNS_9allocatorIjEEE18__construct_at_endINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r2, r18, r5); - r22 = r11; - r23 = r18; - } else { - r22 = r12; - r23 = r5; - } - if ((r22 | 0) <= 0) { - r13 = r3; - r14 = r1 | 0, r15 = r14 >> 2; - HEAP32[r15] = r13; - STACKTOP = r6; - return; - } - __ZNSt3__16vectorIjNS_9allocatorIjEEE12__move_rangeEPjS4_S4_(r2, r3, r16, (r12 + r10 << 2) + r8 | 0); - if ((r23 | 0) == (r4 | 0)) { - r13 = r3; - r14 = r1 | 0, r15 = r14 >> 2; - HEAP32[r15] = r13; - STACKTOP = r6; - return; - } else { - r24 = r4; - r25 = r3; - } - while (1) { - HEAP32[r25 >> 2] = HEAP32[r24 >> 2]; - r4 = r24 + 4 | 0; - if ((r4 | 0) == (r23 | 0)) { - r13 = r3; - break; - } else { - r24 = r4; - r25 = r25 + 4 | 0; - } - } - r14 = r1 | 0, r15 = r14 >> 2; - HEAP32[r15] = r13; - STACKTOP = r6; - return; -} -__ZNSt3__16vectorIjNS_9allocatorIjEEE6insertINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueENS5_IPjEEE4typeES8_SA_SA_["X"] = 1; -function __ZN5Avoid10CmpIndexesC2EPNS_7ConnRefEj(r1, r2, r3) { - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - return; -} -function __ZNSt3__16vectorIjNS_9allocatorIjEEE18__construct_at_endINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZN5Avoid12CmpLineOrderC2ERNSt3__13mapINS_5PointENS_7PtOrderENS1_4lessIS3_EENS1_9allocatorINS1_4pairIKS3_S4_EEEEEEj(r1, r2, r3) { - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - return; -} -function __ZNSt3__127__insertion_sort_incompleteIRN5Avoid10CmpIndexesEPjEEbT0_S5_T_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = 0; - r5 = r2 - r1 >> 2; - if ((r5 | 0) == 4) { - __ZNSt3__17__sort4IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_T_(r1, r1 + 4 | 0, r1 + 8 | 0, r2 - 4 | 0, r3); - r6 = 1; - return r6; - } else if ((r5 | 0) == 5) { - __ZNSt3__17__sort5IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_S5_T_(r1, r1 + 4 | 0, r1 + 8 | 0, r1 + 12 | 0, r2 - 4 | 0, r3); - r6 = 1; - return r6; - } else if ((r5 | 0) == 0 | (r5 | 0) == 1) { - r6 = 1; - return r6; - } else if ((r5 | 0) == 2) { - r7 = (r2 - 4 | 0) >> 2; - if (!__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r7], HEAP32[r1 >> 2])) { - r6 = 1; - return r6; - } - r8 = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = HEAP32[r7]; - HEAP32[r7] = r8; - r6 = 1; - return r6; - } else if ((r5 | 0) == 3) { - __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r1, r1 + 4 | 0, r2 - 4 | 0, r3); - r6 = 1; - return r6; - } else { - r5 = r1 + 8 | 0; - __ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_(r1, r1 + 4 | 0, r5, r3); - r8 = r1 + 12 | 0; - if ((r8 | 0) == (r2 | 0)) { - r6 = 1; - return r6; - } else { - r9 = r5; - r10 = 0; - r11 = r8; - } - while (1) { - if (__ZN5Avoid10CmpIndexesclEjj(r3, HEAP32[r11 >> 2], HEAP32[r9 >> 2])) { - r8 = HEAP32[r11 >> 2]; - r5 = r9; - r7 = r11; - while (1) { - HEAP32[r7 >> 2] = HEAP32[r5 >> 2]; - if ((r5 | 0) == (r1 | 0)) { - r12 = r1; - break; - } - r13 = r5 - 4 | 0; - if (__ZN5Avoid10CmpIndexesclEjj(r3, r8, HEAP32[r13 >> 2])) { - r7 = r5; - r5 = r13; - } else { - r12 = r5; - break; - } - } - HEAP32[r12 >> 2] = r8; - r5 = r10 + 1 | 0; - if ((r5 | 0) == 8) { - break; - } else { - r14 = r5; - } - } else { - r14 = r10; - } - r5 = r11 + 4 | 0; - if ((r5 | 0) == (r2 | 0)) { - r6 = 1; - r4 = 347; - break; - } else { - r9 = r11; - r10 = r14; - r11 = r5; - } - } - if (r4 == 347) { - return r6; - } - r6 = (r11 + 4 | 0) == (r2 | 0); - return r6; - } -} -__ZNSt3__127__insertion_sort_incompleteIRN5Avoid10CmpIndexesEPjEEbT0_S5_T_["X"] = 1; -function __ZNSt3__16vectorIjNS_9allocatorIjEEE12__move_rangeEPjS4_S4_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r5]; - r6 = r1 - r4 | 0; - r4 = r6 >> 2; - r7 = (r4 << 2) + r2 | 0; - L438 : do { - if (r7 >>> 0 < r3 >>> 0) { - r8 = r7; - r9 = r1; - while (1) { - if ((r9 | 0) == 0) { - r10 = 0; - } else { - HEAP32[r9 >> 2] = HEAP32[r8 >> 2]; - r10 = HEAP32[r5]; - } - r11 = r8 + 4 | 0; - r12 = r10 + 4 | 0; - HEAP32[r5] = r12; - if (r11 >>> 0 < r3 >>> 0) { - r8 = r11; - r9 = r12; - } else { - break L438; - } - } - } - } while (0); - _memmove((-r4 << 2) + r1 | 0, r2, r6, 4, 0); - return; -} -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC2EjjS3_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EEPj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = (r2 + 4 | 0) >> 2; - r7 = HEAP32[r6]; - r8 = (r1 | 0) >> 2; - r9 = HEAP32[r8]; - L447 : do { - if (r9 >>> 0 < r3 >>> 0) { - r10 = r3; - while (1) { - r11 = r10 - 4 | 0; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE10push_frontERKj(r2, r11); - r12 = HEAP32[r8]; - if (r12 >>> 0 < r11 >>> 0) { - r10 = r11; - } else { - r13 = r12; - break L447; - } - } - } else { - r13 = r9; - } - } while (0); - r9 = (r1 + 4 | 0) >> 2; - r10 = (r2 + 8 | 0) >> 2; - r12 = (r2 + 12 | 0) >> 2; - r11 = (r2 | 0) >> 2; - if (HEAP32[r9] >>> 0 <= r3 >>> 0) { - r14 = r13; - r15 = HEAP32[r6]; - HEAP32[r8] = r15; - HEAP32[r6] = r14; - r16 = HEAP32[r9]; - r17 = HEAP32[r10]; - HEAP32[r9] = r17; - HEAP32[r10] = r16; - r18 = r1 + 8 | 0, r19 = r18 >> 2; - r20 = HEAP32[r19]; - r21 = HEAP32[r12]; - HEAP32[r19] = r21; - HEAP32[r12] = r20; - r22 = HEAP32[r6]; - HEAP32[r11] = r22; - STACKTOP = r4; - return r7; - } - r13 = r2 + 16 | 0; - r2 = r5 | 0; - r23 = r5 + 4 | 0; - r24 = r5 + 8 | 0; - r25 = r5 + 12 | 0; - r26 = r3; - r3 = HEAP32[r10]; - while (1) { - do { - if ((r3 | 0) == (HEAP32[r12] | 0)) { - r27 = HEAP32[r6]; - r28 = HEAP32[r11]; - if (r27 >>> 0 > r28 >>> 0) { - r29 = r27; - r30 = (r29 - r28 + 4 >> 2 | 0) / -2 & -1; - r31 = r3 - r29 | 0; - _memmove((r30 << 2) + r27 | 0, r27, r31, 4, 0); - r29 = ((r31 >> 2) + r30 << 2) + r27 | 0; - HEAP32[r10] = r29; - HEAP32[r6] = (r30 << 2) + HEAP32[r6] | 0; - r32 = r29; - break; - } else { - r29 = r3 - r28 >> 1; - r28 = (r29 | 0) == 0 ? 1 : r29; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r5, r28, r28 >>> 2, HEAP32[r13 >> 2]); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r5, HEAP32[r6], HEAP32[r10]); - r28 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = r28; - r28 = HEAP32[r6]; - HEAP32[r6] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r28; - r28 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r24 >> 2]; - HEAP32[r24 >> 2] = r28; - r28 = HEAP32[r12]; - HEAP32[r12] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r28; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r5); - r32 = HEAP32[r10]; - break; - } - } else { - r32 = r3; - } - } while (0); - if ((r32 | 0) == 0) { - r33 = 0; - } else { - HEAP32[r32 >> 2] = HEAP32[r26 >> 2]; - r33 = HEAP32[r10]; - } - r28 = r33 + 4 | 0; - HEAP32[r10] = r28; - r29 = r26 + 4 | 0; - if (r29 >>> 0 < HEAP32[r9] >>> 0) { - r26 = r29; - r3 = r28; - } else { - break; - } - } - r14 = HEAP32[r8]; - r15 = HEAP32[r6]; - HEAP32[r8] = r15; - HEAP32[r6] = r14; - r16 = HEAP32[r9]; - r17 = HEAP32[r10]; - HEAP32[r9] = r17; - HEAP32[r10] = r16; - r18 = r1 + 8 | 0, r19 = r18 >> 2; - r20 = HEAP32[r19]; - r21 = HEAP32[r12]; - HEAP32[r19] = r21; - HEAP32[r12] = r20; - r22 = HEAP32[r6]; - HEAP32[r11] = r22; - STACKTOP = r4; - return r7; -} -__ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EEPj["X"] = 1; -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r1) { - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE10push_frontERKj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE10push_frontERKj["X"] = 1; -function __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC2EjjS3_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = r1; - r9 = HEAP32[r1 + 4 >> 2]; - r10 = (r9 | 0) == (r8 | 0); - do { - if ((r2 | 0) == (r3 | 0) | r10) { - if (r10) { - r11 = r2; - r4 = 394; - break; - } else { - r12 = r9; - r4 = 395; - break; - } - } else { - r13 = r9; - r14 = r2; - while (1) { - HEAP32[r13 + 8 >> 2] = HEAP32[r14 + 8 >> 2]; - r15 = HEAP32[r14 + 4 >> 2]; - r16 = HEAP32[r13 + 4 >> 2]; - r17 = (r16 | 0) == (r8 | 0); - if ((r15 | 0) == (r3 | 0) | r17) { - break; - } else { - r13 = r16; - r14 = r15; - } - } - if (r17) { - r11 = r15; - r4 = 394; - break; - } else { - r12 = r16; - r4 = 395; - break; - } - } - } while (0); - if (r4 == 395) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_(r7, r1, r12, r8); - STACKTOP = r5; - return; - } else if (r4 == 394) { - __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r6, r1, r8, r11, r3); - STACKTOP = r5; - return; - } -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_(r1, r2, r3, r4) { - var r5, r6, r7; - if ((r4 | 0) == (r3 | 0)) { - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; - } - r6 = HEAP32[r4 >> 2] + 4 | 0; - r7 = r3 | 0; - HEAP32[HEAP32[r7 >> 2] + 4 >> 2] = HEAP32[r6 >> 2]; - HEAP32[HEAP32[r6 >> 2] >> 2] = HEAP32[r7 >> 2]; - r7 = r2 + 8 | 0; - r2 = r3; - while (1) { - r3 = HEAP32[r2 + 4 >> 2]; - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] - 1 | 0; - __ZdlPv(r2); - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r2 = r3; - } - } - r5 = r1 | 0; - HEAP32[r5 >> 2] = r4; - return; -} -function __ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r5 = r2 >> 2; - r2 = 0; - r6 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r7 = r6; - r8 = r6 + 8, r9 = r8 >> 2; - r10 = HEAP32[r5 + 1]; - HEAP32[r9] = r10; - do { - if ((r4 | 0) == 1) { - if ((HEAP32[r5] - 4 | 0) >>> 0 < 2) { - r2 = 415; - break; - } - STACKTOP = r6; - return; - } else if ((r4 | 0) == 3) { - if ((HEAP32[r5] - 1 | 0) >>> 0 >= 2) { - STACKTOP = r6; - return; - } - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r7, r1 | 0, r8); - r11 = HEAP32[r7 >> 2]; - r12 = (HEAP8[r7 + 4 | 0] & 1) << 24 >> 24 == 0; - r13 = HEAP32[r9]; - r14 = (r13 + 64 | 0) >> 2; - HEAP32[r14] = r11; - if (r12) { - ___assert_func(5244520, 2038, 5255424, 5250480); - r15 = HEAP32[r14]; - } else { - r15 = r11; - } - if ((r15 | 0) == (HEAP32[r1 >> 2] | 0)) { - r16 = r15; - } else { - r11 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r15 | 0) + 16 >> 2]; - HEAP32[r13 + 56 >> 2] = r11; - HEAP32[r11 + 60 >> 2] = r13; - r16 = HEAP32[r14]; - } - r14 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r16 | 0); - if ((r14 | 0) == (r1 + 4 | 0)) { - STACKTOP = r6; - return; - } - r11 = HEAP32[r14 + 16 >> 2]; - HEAP32[r13 + 60 >> 2] = r11; - HEAP32[r11 + 56 >> 2] = r13; - STACKTOP = r6; - return; - } else if ((r4 | 0) == 4) { - if ((HEAP32[r5] - 1 | 0) >>> 0 < 2) { - r2 = 415; - break; - } - STACKTOP = r6; - return; - } else if ((r4 | 0) != 2) { - STACKTOP = r6; - return; - } - } while (0); - do { - if (r2 == 415) { - r16 = r10 + 12 | 0; - r15 = HEAP32[r16 >> 2]; - if ((r15 | 0) == 0) { - __ZN5Avoid4Node22markShiftSegmentsAboveEj(r10, r3); - __ZN5Avoid4Node22markShiftSegmentsBelowEj(r10, r3); - } else { - r7 = __ZN5Avoid4Node18firstObstacleAboveEj(r10, r3); - r13 = __ZN5Avoid4Node18firstObstacleBelowEj(r10, r3); - r11 = (r15 + 8 | 0) >> 2; - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 1], HEAPF64[tempDoublePtr >> 3]); - r14 = r7 < r15 ? r15 : r7; - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r11] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r11 = (HEAP32[r16 >> 2] + 16 | 0) >> 2; - r16 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 1], HEAPF64[tempDoublePtr >> 3]); - r14 = r16 < r13 ? r16 : r13; - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r11] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - if ((r4 | 0) == 2) { - break; - } - STACKTOP = r6; - return; - } - } while (0); - if ((HEAP32[r5] - 4 | 0) >>> 0 >= 2) { - STACKTOP = r6; - return; - } - r5 = r10 + 56 | 0; - r4 = HEAP32[r5 >> 2]; - r3 = HEAP32[r10 + 60 >> 2]; - if ((r4 | 0) != 0) { - HEAP32[r4 + 60 >> 2] = r3; - } - if ((r3 | 0) != 0) { - HEAP32[r3 + 56 >> 2] = HEAP32[r5 >> 2]; - } - if ((__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1 | 0, r8) | 0) != 1) { - ___assert_func(5244520, 2096, 5255424, 5250372); - } - r8 = HEAP32[r9]; - if ((r8 | 0) == 0) { - STACKTOP = r6; - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 4 >> 2]](r8); - STACKTOP = r6; - return; -} -__ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r4, r1, r2); - r2 = HEAP32[r4 >> 2]; - if ((r2 | 0) == (r1 + 4 | 0)) { - r5 = 0; - STACKTOP = r3; - return r5; - } - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r3 + 4, r1, r2); - r5 = 1; - STACKTOP = r3; - return r5; -} -function __ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14; - r6 = r1 | 0; - HEAP32[r6 >> 2] = r3; - if ((r4 | 0) == (r5 | 0)) { - return; - } - r1 = __Znwj(12); - r7 = r1; - r8 = r1; - HEAP32[r8 >> 2] = 0; - r9 = r1 + 8 | 0; - if ((r9 | 0) != 0) { - HEAP32[r9 >> 2] = HEAP32[r4 + 8 >> 2]; - } - HEAP32[r6 >> 2] = r7; - r6 = HEAP32[r4 + 4 >> 2]; - L563 : do { - if ((r6 | 0) == (r5 | 0)) { - r10 = r7; - r11 = 1; - } else { - r4 = r7; - r9 = 1; - r1 = r6; - while (1) { - r12 = __Znwj(12); - r13 = r12 + 8 | 0; - if ((r13 | 0) != 0) { - HEAP32[r13 >> 2] = HEAP32[r1 + 8 >> 2]; - } - r13 = r4 + 4 | 0; - HEAP32[r13 >> 2] = r12; - HEAP32[r12 >> 2] = r4; - r12 = HEAP32[r1 + 4 >> 2]; - r14 = HEAP32[r13 >> 2]; - r13 = r9 + 1 | 0; - if ((r12 | 0) == (r5 | 0)) { - r10 = r14; - r11 = r13; - break L563; - } else { - r4 = r14; - r9 = r13; - r1 = r12; - } - } - } - } while (0); - r5 = (r3 | 0) >> 2; - HEAP32[HEAP32[r5] + 4 >> 2] = r7; - HEAP32[r8 >> 2] = HEAP32[r5]; - HEAP32[r5] = r10; - HEAP32[r10 + 4 >> 2] = r3; - r3 = r2 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + r11 | 0; - return; -} -__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - r6 = r2 + 4 | 0; - r2 = r6; - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_(r5, r3, HEAP32[r6 >> 2], r2); - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != (r2 | 0)) { - if (__ZNK5Avoid10CmpNodePosclEPKNS_4NodeES3_(HEAP32[r3 >> 2], HEAP32[r6 + 16 >> 2])) { - break; - } - HEAP32[r1 >> 2] = r6; - STACKTOP = r4; - return; - } - } while (0); - HEAP32[r1 >> 2] = r2; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - L584 : do { - if ((r3 | 0) == 0) { - r5 = r4; - } else { - r6 = HEAP32[r2 >> 2]; - r7 = r3; - r8 = r4; - while (1) { - r9 = r7, r10 = r9 >> 2; - while (1) { - if (!__ZNK5Avoid10CmpNodePosclEPKNS_4NodeES3_(HEAP32[r10 + 4], r6)) { - break; - } - r11 = HEAP32[r10 + 1]; - if ((r11 | 0) == 0) { - r5 = r8; - break L584; - } else { - r9 = r11, r10 = r9 >> 2; - } - } - r11 = HEAP32[r10]; - if ((r11 | 0) == 0) { - r5 = r9; - break L584; - } else { - r7 = r11; - r8 = r9; - } - } - } - } while (0); - HEAP32[r1 >> 2] = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } - r1 = HEAP32[r3 >> 2]; - r3 = r6; - while (1) { - r6 = HEAP32[r3 + 16 >> 2]; - if (__ZNK5Avoid10CmpNodePosclEPKNS_4NodeES3_(r1, r6)) { - r8 = r3 | 0; - r5 = HEAP32[r8 >> 2]; - if ((r5 | 0) == 0) { - r4 = 487; - break; - } else { - r3 = r5; - continue; - } - } - if (!__ZNK5Avoid10CmpNodePosclEPKNS_4NodeES3_(r6, r1)) { - r4 = 491; - break; - } - r9 = r3 + 4 | 0; - r6 = HEAP32[r9 >> 2]; - if ((r6 | 0) == 0) { - r4 = 490; - break; - } else { - r3 = r6; - } - } - if (r4 == 491) { - HEAP32[r2 >> 2] = r3; - r7 = r2; - return r7; - } else if (r4 == 487) { - HEAP32[r2 >> 2] = r3; - r7 = r8; - return r7; - } else if (r4 == 490) { - HEAP32[r2 >> 2] = r3; - r7 = r9; - return r7; - } -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEEC1Ej(r1, r2) { - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEEC2Ej(r1, r2); - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED1Ev(r1) { - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED2Ev(r1); - return; -} -function __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjj(r1, r2, r3, r4, r5) { - __ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjj(r1, r2, r3, r4, r5); - return; -} -function __ZN5AvoidL16insideRectBoundsERKNS_5PointERKNSt3__14pairIS0_S0_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r5 = r4; - __ZN5Avoid5PointC1Edd(r5, 0, 0); - r6 = r2 | 0; - r7 = r2 + 24 | 0; - do { - if (__ZNK5Avoid5PointeqERKS0_(r6, r5)) { - if (__ZNK5Avoid5PointeqERKS0_(r7, r5)) { - r8 = 0; - } else { - r9 = 0; - break; - } - STACKTOP = r4; - return r8; - } else { - r9 = 0; - } - } while (0); - while (1) { - if (r9 >>> 0 >= 2) { - r8 = 1; - r3 = 516; - break; - } - r5 = __ZNK5Avoid5PointixEj(r1, r9); - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = __ZNK5Avoid5PointixEj(r6, r9); - if (r2 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r8 = 0; - r3 = 513; - break; - } - r5 = __ZNK5Avoid5PointixEj(r1, r9); - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = __ZNK5Avoid5PointixEj(r7, r9); - if (r2 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r8 = 0; - r3 = 514; - break; - } else { - r9 = r9 + 1 | 0; - } - } - if (r3 == 513) { - STACKTOP = r4; - return r8; - } else if (r3 == 516) { - STACKTOP = r4; - return r8; - } else if (r3 == 514) { - STACKTOP = r4; - return r8; - } -} -function __ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjbbjdd(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - __ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjbbjdd(r1, r2, r3, r4, r5, r6, r7, r8, r9); - return; -} -function __ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjbbjdd(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - var r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38; - r10 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - r11 = r10; - r12 = r10 + 20; - r13 = r10 + 40; - r14 = r10 + 60; - __ZN5Avoid12ShiftSegmentC2Ej(r1 | 0, r7); - HEAP32[r1 >> 2] = 5267520; - HEAP32[r1 + 24 >> 2] = r2; - r2 = r1 + 32 | 0; - r7 = r2 | 0; - r15 = (r1 + 36 | 0) >> 2; - r16 = r1 + 40 | 0; - r17 = r16 | 0; - r18 = (r1 + 28 | 0) >> 2; - HEAP32[r18] = 0; - HEAP32[r18 + 1] = 0; - HEAP32[r18 + 2] = 0; - HEAP32[r18 + 3] = 0; - HEAP32[r18 + 4] = 0; - HEAP32[r18 + 5] = 0; - HEAP32[r18 + 6] = 0; - HEAP32[r18 + 7] = 0; - HEAP8[r1 + 60 | 0] = r5 & 1; - HEAP8[r1 + 61 | 0] = r6 & 1; - r6 = r16; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r14, 1, 0, r6); - r16 = (r14 + 8 | 0) >> 2; - r5 = HEAP32[r16]; - r18 = r14 + 12 | 0; - do { - if ((r5 | 0) == (HEAP32[r18 >> 2] | 0)) { - r19 = (r14 + 4 | 0) >> 2; - r20 = HEAP32[r19]; - r21 = r14 | 0; - r22 = HEAP32[r21 >> 2]; - if (r20 >>> 0 > r22 >>> 0) { - r23 = r20; - r24 = (r23 - r22 + 4 >> 2 | 0) / -2 & -1; - r25 = (r24 << 2) + r20 | 0; - r26 = r5 - r23 | 0; - _memmove(r25, r20, r26, 4, 0); - r23 = ((r26 >> 2) + r24 << 2) + r20 | 0; - HEAP32[r16] = r23; - HEAP32[r19] = r25; - r27 = r23; - break; - } - r23 = r5 - r22 >> 1; - r25 = (r23 | 0) == 0 ? 1 : r23; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r13, r25, r25 >>> 2, HEAP32[r14 + 16 >> 2]); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r13, r20, r5); - r25 = r13 | 0; - HEAP32[r21 >> 2] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r22; - r22 = r13 + 4 | 0; - HEAP32[r19] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r20; - r20 = r13 + 8 | 0; - r22 = HEAP32[r20 >> 2]; - HEAP32[r16] = r22; - HEAP32[r20 >> 2] = r5; - r20 = r13 + 12 | 0; - HEAP32[r18 >> 2] = HEAP32[r20 >> 2]; - HEAP32[r20 >> 2] = r5; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r13); - r27 = r22; - } else { - r27 = r5; - } - } while (0); - if ((r27 | 0) == 0) { - r28 = 0; - } else { - HEAP32[r27 >> 2] = r3; - r28 = r27; - } - HEAP32[r16] = r28 + 4 | 0; - __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EE(r2, r14); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r14); - r14 = HEAP32[r15]; - r28 = HEAP32[r17 >> 2]; - if (r14 >>> 0 < r28 >>> 0) { - if ((r14 | 0) == 0) { - r29 = 0; - } else { - HEAP32[r14 >> 2] = r4; - r29 = HEAP32[r15]; - } - HEAP32[r15] = r29 + 4 | 0; - r30 = r1 + 8 | 0, r31 = r30 >> 2; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r31] = HEAP32[tempDoublePtr >> 2], HEAP32[r31 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r32 = r1 + 16 | 0, r33 = r32 >> 2; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r33] = HEAP32[tempDoublePtr >> 2], HEAP32[r33 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r10; - return; - } - r29 = HEAP32[r7 >> 2]; - r16 = r14 - r29 + 4 >> 2 | 0; - if (r16 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r34 = HEAP32[r17 >> 2]; - r35 = HEAP32[r7 >> 2]; - } else { - r34 = r28; - r35 = r29; - } - r29 = r35; - r35 = r34 - r29 | 0; - if (r35 >> 2 >>> 0 > 536870910) { - r36 = 1073741823; - } else { - r34 = r35 >> 1; - r36 = r34 >>> 0 < r16 >>> 0 ? r16 : r34; - } - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r12, r36, HEAP32[r15] - r29 >> 2, r6); - r6 = (r12 + 8 | 0) >> 2; - r29 = HEAP32[r6]; - r15 = r12 + 12 | 0; - do { - if ((r29 | 0) == (HEAP32[r15 >> 2] | 0)) { - r36 = (r12 + 4 | 0) >> 2; - r34 = HEAP32[r36]; - r16 = r12 | 0; - r35 = HEAP32[r16 >> 2]; - if (r34 >>> 0 > r35 >>> 0) { - r28 = r34; - r7 = (r28 - r35 + 4 >> 2 | 0) / -2 & -1; - r17 = (r7 << 2) + r34 | 0; - r14 = r29 - r28 | 0; - _memmove(r17, r34, r14, 4, 0); - r28 = ((r14 >> 2) + r7 << 2) + r34 | 0; - HEAP32[r6] = r28; - HEAP32[r36] = r17; - r37 = r28; - break; - } - r28 = r29 - r35 >> 1; - r17 = (r28 | 0) == 0 ? 1 : r28; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r11, r17, r17 >>> 2, HEAP32[r12 + 16 >> 2]); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r11, r34, r29); - r17 = r11 | 0; - HEAP32[r16 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r17 >> 2] = r35; - r35 = r11 + 4 | 0; - HEAP32[r36] = HEAP32[r35 >> 2]; - HEAP32[r35 >> 2] = r34; - r34 = r11 + 8 | 0; - r35 = HEAP32[r34 >> 2]; - HEAP32[r6] = r35; - HEAP32[r34 >> 2] = r29; - r34 = r11 + 12 | 0; - HEAP32[r15 >> 2] = HEAP32[r34 >> 2]; - HEAP32[r34 >> 2] = r29; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r11); - r37 = r35; - } else { - r37 = r29; - } - } while (0); - if ((r37 | 0) == 0) { - r38 = 0; - } else { - HEAP32[r37 >> 2] = r4; - r38 = r37; - } - HEAP32[r6] = r38 + 4 | 0; - __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EE(r2, r12); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r12); - r30 = r1 + 8 | 0, r31 = r30 >> 2; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r31] = HEAP32[tempDoublePtr >> 2], HEAP32[r31 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r32 = r1 + 16 | 0, r33 = r32 >> 2; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r33] = HEAP32[tempDoublePtr >> 2], HEAP32[r33 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r10; - return; -} -__ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjbbjdd["X"] = 1; -function __ZNSt3__16vectorIjNS_9allocatorIjEEED1Ev(r1) { - __ZNSt3__16vectorIjNS_9allocatorIjEEED2Ev(r1); - return; -} -function __ZN5Avoid19NudgingShiftSegmentD1Ev(r1) { - __ZN5Avoid19NudgingShiftSegmentD2Ev(r1); - return; -} -function __ZN5Avoid19NudgingShiftSegmentD0Ev(r1) { - __ZN5Avoid19NudgingShiftSegmentD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZN5Avoid19NudgingShiftSegment8lowPointEv(r1) { - return HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r1 + 24 >> 2]) + 8 >> 2] + (HEAP32[HEAP32[r1 + 32 >> 2] >> 2] * 24 & -1) | 0; -} -function __ZN5Avoid19NudgingShiftSegment9highPointEv(r1) { - return HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r1 + 24 >> 2]) + 8 >> 2] + (HEAP32[HEAP32[r1 + 36 >> 2] - 4 >> 2] * 24 & -1) | 0; -} -function __ZNK5Avoid19NudgingShiftSegment8lowPointEv(r1) { - return HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r1 + 24 >> 2]) + 8 >> 2] + (HEAP32[HEAP32[r1 + 32 >> 2] >> 2] * 24 & -1) | 0; -} -function __ZNK5Avoid19NudgingShiftSegment9highPointEv(r1) { - return HEAP32[__ZN5Avoid7ConnRef12displayRouteEv(HEAP32[r1 + 24 >> 2]) + 8 >> 2] + (HEAP32[HEAP32[r1 + 36 >> 2] - 4 >> 2] * 24 & -1) | 0; -} -function __ZNK5Avoid19NudgingShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r4 = 0; - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r5 = ___dynamic_cast(r2, 5272756, 5272736); - } - r2 = r3 & 1 ^ 1; - r3 = r1; - r6 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r1); - r7 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r1); - r3 = r5; - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r5); - r9 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r5); - r3 = __ZNK5Avoid5PointixEj(r6, r2); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = __ZNK5Avoid5PointixEj(r9, r2); - do { - if (r10 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r11 = __ZNK5Avoid5PointixEj(r8, r2); - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r11 = __ZNK5Avoid5PointixEj(r7, r2); - if (r12 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r4 = 566; - break; - } - r11 = r1 + 8 | 0; - r12 = r5 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r12 = r5 + 8 | 0; - r11 = r1 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } else { - r13 = 1; - } - return r13; - } else { - r4 = 566; - } - } while (0); - do { - if (r4 == 566) { - r3 = __ZNK5Avoid5PointixEj(r6, r2); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = __ZNK5Avoid5PointixEj(r9, r2); - if (r10 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r3 = __ZNK5Avoid5PointixEj(r8, r2); - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = __ZNK5Avoid5PointixEj(r7, r2); - if (r10 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - } - r3 = (r1 + 24 | 0) >> 2; - r10 = __ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE(__ZNK5Avoid7ConnRef6routerEv(HEAP32[HEAP32[r3] >> 2]), 3); - r11 = r1 + 8 | 0; - r12 = r5 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r12 = r5 + 8 | 0; - r11 = r1 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r12 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) > (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - if (__ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE(__ZNK5Avoid7ConnRef6routerEv(HEAP32[HEAP32[r3] >> 2]), 4) > 0) { - r13 = 1; - return r13; - } - do { - if ((HEAP8[r5 + 60 | 0] & 1) << 24 >> 24 != 0) { - if ((HEAP8[r1 + 60 | 0] & 1) << 24 >> 24 == 0) { - break; - } else { - r13 = r10; - } - return r13; - } - } while (0); - do { - if ((HEAP8[r5 + 61 | 0] & 1) << 24 >> 24 != 0) { - if ((HEAP8[r1 + 61 | 0] & 1) << 24 >> 24 == 0) { - break; - } else { - r13 = r10; - } - return r13; - } - } while (0); - if ((HEAP8[r5 + 45 | 0] & 1) << 24 >> 24 == 0) { - break; - } - if ((HEAP8[r1 + 45 | 0] & 1) << 24 >> 24 == 0) { - break; - } - if ((HEAP32[r5 + 24 >> 2] | 0) == (HEAP32[r3] | 0)) { - r13 = r10; - } else { - break; - } - return r13; - } - } while (0); - r13 = 0; - return r13; -} -__ZNK5Avoid19NudgingShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj["X"] = 1; -function __ZNK5Avoid19NudgingShiftSegment9immovableEv(r1) { - return __ZNK5Avoid19NudgingShiftSegment6zigzagEv(r1) ^ 1; -} -function __ZN5Avoid19NudgingShiftSegmentD2Ev(r1) { - HEAP32[r1 >> 2] = 5267520; - __ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev(r1 + 48 | 0); - __ZNSt3__16vectorIjNS_9allocatorIjEEED1Ev(r1 + 32 | 0); - return; -} -function __ZNSt3__16vectorIjNS_9allocatorIjEEED2Ev(r1) { - __ZNSt3__113__vector_baseIjNS_9allocatorIjEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIjNS_9allocatorIjEEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L727 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE10push_frontERKj(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L727; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNK5Avoid6VertID15isOrthShapeEdgeEv(r1) { - return (r1 & 2) << 16 >> 16 != 0; -} -function __ZN5Avoid10PosVertInfC2EdPNS_7VertInfEj(r1, r2, r3, r4) { - var r5; - r5 = r1 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 8 >> 2] = r3; - HEAP32[r1 + 12 >> 2] = r4; - return; -} -function __ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjj(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r6 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - r7 = r6; - r8 = r6 + 20; - r9 = r6 + 40; - r10 = r6 + 60; - __ZN5Avoid12ShiftSegmentC2Ej(r1 | 0, r5); - HEAP32[r1 >> 2] = 5267520; - HEAP32[r1 + 24 >> 2] = r2; - r2 = r1 + 32 | 0; - r11 = r2 | 0; - r12 = (r1 + 36 | 0) >> 2; - r13 = r1 + 40 | 0; - r14 = r13 | 0; - r15 = (r1 + 28 | 0) >> 2; - HEAP32[r15] = 0; - HEAP32[r15 + 1] = 0; - HEAP32[r15 + 2] = 0; - HEAP32[r15 + 3] = 0; - HEAP8[r1 + 44 | 0] = 1; - r15 = r1 + 45 | 0; - for (r16 = r15, r17 = r16 + 17; r16 < r17; r16++) { - HEAP8[r16] = 0; - } - r15 = r13; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r10, 1, 0, r15); - r13 = (r10 + 8 | 0) >> 2; - r16 = HEAP32[r13]; - r17 = r10 + 12 | 0; - do { - if ((r16 | 0) == (HEAP32[r17 >> 2] | 0)) { - r18 = (r10 + 4 | 0) >> 2; - r19 = HEAP32[r18]; - r20 = r10 | 0; - r21 = HEAP32[r20 >> 2]; - if (r19 >>> 0 > r21 >>> 0) { - r22 = r19; - r23 = (r22 - r21 + 4 >> 2 | 0) / -2 & -1; - r24 = (r23 << 2) + r19 | 0; - r25 = r16 - r22 | 0; - _memmove(r24, r19, r25, 4, 0); - r22 = ((r25 >> 2) + r23 << 2) + r19 | 0; - HEAP32[r13] = r22; - HEAP32[r18] = r24; - r26 = r22; - break; - } - r22 = r16 - r21 >> 1; - r24 = (r22 | 0) == 0 ? 1 : r22; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r9, r24, r24 >>> 2, HEAP32[r10 + 16 >> 2]); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r9, r19, r16); - r24 = r9 | 0; - HEAP32[r20 >> 2] = HEAP32[r24 >> 2]; - HEAP32[r24 >> 2] = r21; - r21 = r9 + 4 | 0; - HEAP32[r18] = HEAP32[r21 >> 2]; - HEAP32[r21 >> 2] = r19; - r19 = r9 + 8 | 0; - r21 = HEAP32[r19 >> 2]; - HEAP32[r13] = r21; - HEAP32[r19 >> 2] = r16; - r19 = r9 + 12 | 0; - HEAP32[r17 >> 2] = HEAP32[r19 >> 2]; - HEAP32[r19 >> 2] = r16; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r9); - r26 = r21; - } else { - r26 = r16; - } - } while (0); - if ((r26 | 0) == 0) { - r27 = 0; - } else { - HEAP32[r26 >> 2] = r3; - r27 = r26; - } - HEAP32[r13] = r27 + 4 | 0; - __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EE(r2, r10); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r10); - r10 = HEAP32[r12]; - r27 = HEAP32[r14 >> 2]; - if (r10 >>> 0 < r27 >>> 0) { - if ((r10 | 0) == 0) { - r28 = 0; - } else { - HEAP32[r10 >> 2] = r4; - r28 = HEAP32[r12]; - } - HEAP32[r12] = r28 + 4 | 0; - } else { - r28 = HEAP32[r11 >> 2]; - r13 = r10 - r28 + 4 >> 2 | 0; - if (r13 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r29 = HEAP32[r14 >> 2]; - r30 = HEAP32[r11 >> 2]; - } else { - r29 = r27; - r30 = r28; - } - r28 = r30; - r30 = r29 - r28 | 0; - if (r30 >> 2 >>> 0 > 536870910) { - r31 = 1073741823; - } else { - r29 = r30 >> 1; - r31 = r29 >>> 0 < r13 >>> 0 ? r13 : r29; - } - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r8, r31, HEAP32[r12] - r28 >> 2, r15); - r15 = (r8 + 8 | 0) >> 2; - r28 = HEAP32[r15]; - r12 = r8 + 12 | 0; - do { - if ((r28 | 0) == (HEAP32[r12 >> 2] | 0)) { - r31 = (r8 + 4 | 0) >> 2; - r29 = HEAP32[r31]; - r13 = r8 | 0; - r30 = HEAP32[r13 >> 2]; - if (r29 >>> 0 > r30 >>> 0) { - r27 = r29; - r11 = (r27 - r30 + 4 >> 2 | 0) / -2 & -1; - r14 = (r11 << 2) + r29 | 0; - r10 = r28 - r27 | 0; - _memmove(r14, r29, r10, 4, 0); - r27 = ((r10 >> 2) + r11 << 2) + r29 | 0; - HEAP32[r15] = r27; - HEAP32[r31] = r14; - r32 = r27; - break; - } - r27 = r28 - r30 >> 1; - r14 = (r27 | 0) == 0 ? 1 : r27; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_(r7, r14, r14 >>> 2, HEAP32[r8 + 16 >> 2]); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r7, r29, r28); - r14 = r7 | 0; - HEAP32[r13 >> 2] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r30; - r30 = r7 + 4 | 0; - HEAP32[r31] = HEAP32[r30 >> 2]; - HEAP32[r30 >> 2] = r29; - r29 = r7 + 8 | 0; - r30 = HEAP32[r29 >> 2]; - HEAP32[r15] = r30; - HEAP32[r29 >> 2] = r28; - r29 = r7 + 12 | 0; - HEAP32[r12 >> 2] = HEAP32[r29 >> 2]; - HEAP32[r29 >> 2] = r28; - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r7); - r32 = r30; - } else { - r32 = r28; - } - } while (0); - if ((r32 | 0) == 0) { - r33 = 0; - } else { - HEAP32[r32 >> 2] = r4; - r33 = r32; - } - HEAP32[r15] = r33 + 4 | 0; - __ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EE(r2, r8); - __ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev(r8); - } - r8 = r1; - r2 = __ZN5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 8 >> 2]](r1), r5); - r33 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r33, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = __ZN5Avoid5PointixEj(FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 8 >> 2]](r1), r5); - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r6; - return; -} -__ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjj["X"] = 1; -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED2Ev(r1) { - __ZNSt3__113__vector_baseINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEEC2Ej(r1, r2) { - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endEj(r1, r2); - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - __ZN5Avoid5PointC1Ev(r2 | 0); - __ZN5Avoid5PointC1Ev(r2 + 24 | 0); - r4 = HEAP32[r3]; - } - r5 = r4 + 48 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - r6 = r2 >> 2; - r7 = r1 >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r7 = (r2 + 24 | 0) >> 2; - r6 = (r1 + 24 | 0) >> 2; - HEAP32[r7] = HEAP32[r6]; - HEAP32[r7 + 1] = HEAP32[r6 + 1]; - HEAP32[r7 + 2] = HEAP32[r6 + 2]; - HEAP32[r7 + 3] = HEAP32[r6 + 3]; - HEAP32[r7 + 4] = HEAP32[r6 + 4]; - HEAP32[r7 + 5] = HEAP32[r6 + 5]; - r5 = HEAP32[r4]; - } - r6 = r5 + 48 | 0; - HEAP32[r4] = r6; - r7 = r1 + 48 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE10deallocateEv(r1) { - var r2, r3, r4; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = r1 + 4 | 0; - HEAP32[r4 >> 2] = r3; - __ZdlPv(r3); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r2 >> 2] = 0; - return; -} -function __ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1); - return; -} -function __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(r1) { - if ((r1 | 0) == 0) { - return; - } else { - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 >> 2]); - __ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE(HEAP32[r1 + 4 >> 2]); - __ZdlPv(r1); - return; - } -} -function __ZN5Avoid18SegmentListWrapperD2Ev(r1) { - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEED1Ev(r1 | 0); - return; -} -function __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEED1Ev(r1) { - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEED2Ev(r1); - return; -} -function __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEED2Ev(r1) { - __ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5clearEv(r1); - return; -} -function __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r1, r2, r3, r4) { - __ZN5Avoid10PosVertInfC2EdPNS_7VertInfEj(r1, r2, r3, r4); - return; -} -function __ZN5Avoid11LineSegment27setLongRangeVisibilityFlagsEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r3 = (r1 + 40 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = r1 + 44 | 0; - r1 = r5; - if ((r4 | 0) == (r1 | 0)) { - r6 = r4; - } else { - r7 = (r2 | 0) == 0; - r8 = r5; - r5 = r4; - r4 = 0; - r9 = 0; - while (1) { - r10 = (r4 & 1) << 24 >> 24 != 0; - do { - if (r7) { - r11 = r10 ? 2 : 0; - if ((r9 & 1) << 24 >> 24 == 0) { - r12 = r11; - break; - } - r12 = r11 | 1; - } else { - r11 = r10 ? 32 : 0; - if ((r9 & 1) << 24 >> 24 == 0) { - r12 = r11; - break; - } - r12 = r11 | 16; - } - } while (0); - r10 = r5 + 24 | 0; - r11 = HEAP32[r10 >> 2] + 136 | 0; - HEAP32[r11 >> 2] = HEAP32[r11 >> 2] | r12 & 65535; - r11 = HEAP16[HEAP32[r10 >> 2] + 10 >> 1]; - r10 = __ZNK5Avoid6VertID8isConnPtEv(r11) ? 1 : r4; - r13 = __ZNK5Avoid6VertID15isOrthShapeEdgeEv(r11) ? 1 : r9; - r11 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r5 | 0); - if ((r11 | 0) == (r8 | 0)) { - break; - } else { - r5 = r11; - r4 = r10; - r9 = r13; - } - } - r6 = HEAP32[r3]; - } - if ((r1 | 0) == (r6 | 0)) { - return; - } - if ((r2 | 0) == 0) { - r2 = r1; - r6 = 0; - r9 = 0; - while (1) { - r4 = (r6 & 1) << 24 >> 24 != 0 ? 8 : 0; - r5 = r2 | 0; - r8 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r5) + 24 >> 2] + 136 | 0; - HEAP32[r8 >> 2] = HEAP32[r8 >> 2] | ((r9 & 1) << 24 >> 24 == 0 ? r4 : r4 | 4) & 65535; - r4 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r5); - r5 = HEAP16[HEAP32[r4 + 24 >> 2] + 10 >> 1]; - r8 = __ZNK5Avoid6VertID8isConnPtEv(r5) ? 1 : r6; - r12 = __ZNK5Avoid6VertID15isOrthShapeEdgeEv(r5) ? 1 : r9; - r5 = r4; - if ((r5 | 0) == (HEAP32[r3] | 0)) { - break; - } else { - r2 = r5; - r6 = r8; - r9 = r12; - } - } - return; - } else { - r9 = r1; - r1 = 0; - r6 = 0; - while (1) { - r2 = (r1 & 1) << 24 >> 24 != 0 ? 128 : 0; - r12 = r9 | 0; - r8 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r12) + 24 >> 2] + 136 | 0; - HEAP32[r8 >> 2] = HEAP32[r8 >> 2] | ((r6 & 1) << 24 >> 24 == 0 ? r2 : r2 | 64) & 65535; - r2 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r12); - r12 = HEAP16[HEAP32[r2 + 24 >> 2] + 10 >> 1]; - r8 = __ZNK5Avoid6VertID8isConnPtEv(r12) ? 1 : r1; - r5 = __ZNK5Avoid6VertID15isOrthShapeEdgeEv(r12) ? 1 : r6; - r12 = r2; - if ((r12 | 0) == (HEAP32[r3] | 0)) { - break; - } else { - r9 = r12; - r1 = r8; - r6 = r5; - } - } - return; - } -} -__ZN5Avoid11LineSegment27setLongRangeVisibilityFlagsEj["X"] = 1; -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid10PosVertInfltERKS0_(r3, r6)) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 701; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid10PosVertInfltERKS0_(r6, r3)) { - r4 = 705; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 704; - break; - } else { - r8 = r6; - } - } - if (r4 == 705) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 704) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } else if (r4 == 701) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(32); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0, r8 = r6 >> 2; - if ((r6 | 0) != 0) { - r6 = r3 >> 2; - HEAP32[r8] = HEAP32[r6]; - HEAP32[r8 + 1] = HEAP32[r6 + 1]; - HEAP32[r8 + 2] = HEAP32[r6 + 2]; - HEAP32[r8 + 3] = HEAP32[r6 + 3]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 89478485) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 * 48 & -1); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = r3 + (r2 * 48 & -1) | 0; - return; - } -} -function __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = r2; - r5 = (r3 - r4 | 0) / 48 & -1; - r6 = r1 + 8 | 0; - r7 = r1 | 0; - r8 = HEAP32[r7 >> 2]; - r9 = r8; - if (r5 >>> 0 > ((HEAP32[r6 >> 2] - r9 | 0) / 48 & -1) >>> 0) { - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE10deallocateEv(r1); - if (r5 >>> 0 > 89478485) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = (HEAP32[r6 >> 2] - HEAP32[r7 >> 2] | 0) / 48 & -1; - if (r10 >>> 0 > 44739241) { - r11 = 89478485; - } else { - r7 = r10 << 1; - r11 = r7 >>> 0 < r5 >>> 0 ? r5 : r7; - } - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE8allocateEj(r1, r11); - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r2, r3); - return; - } - r11 = r1 + 4 | 0; - r7 = (HEAP32[r11 >> 2] - r9 | 0) / 48 & -1; - if (r5 >>> 0 > r7 >>> 0) { - r12 = 1; - r13 = r2 + (r7 * 48 & -1) | 0; - } else { - r12 = 0; - r13 = r3; - } - if ((r13 | 0) == (r2 | 0)) { - r14 = r8; - } else { - r7 = Math.floor(((r13 - 48 + -r4 | 0) >>> 0) / 48) + 1 | 0; - r4 = r8; - r5 = r2; - while (1) { - r2 = r4; - r9 = r5; - HEAP32[r2 >> 2] = HEAP32[r9 >> 2]; - HEAP32[r2 + 4 >> 2] = HEAP32[r9 + 4 >> 2]; - HEAP32[r2 + 8 >> 2] = HEAP32[r9 + 8 >> 2]; - HEAP32[r2 + 12 >> 2] = HEAP32[r9 + 12 >> 2]; - HEAP32[r2 + 16 >> 2] = HEAP32[r9 + 16 >> 2]; - HEAP16[r2 + 20 >> 1] = HEAP16[r9 + 20 >> 1]; - r9 = r4 + 24 | 0; - r2 = r5 + 24 | 0; - HEAP32[r9 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r9 + 4 >> 2] = HEAP32[r2 + 4 >> 2]; - HEAP32[r9 + 8 >> 2] = HEAP32[r2 + 8 >> 2]; - HEAP32[r9 + 12 >> 2] = HEAP32[r2 + 12 >> 2]; - HEAP32[r9 + 16 >> 2] = HEAP32[r2 + 16 >> 2]; - HEAP16[r9 + 20 >> 1] = HEAP16[r2 + 20 >> 1]; - r2 = r5 + 48 | 0; - if ((r2 | 0) == (r13 | 0)) { - break; - } else { - r4 = r4 + 48 | 0; - r5 = r2; - } - } - r14 = r8 + (r7 * 48 & -1) | 0; - } - if (r12) { - __ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r1, r13, r3); - return; - } else { - HEAP32[r11 >> 2] = r14; - return; - } -} -__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_["X"] = 1; -function __ZN5AvoidL23getPosVertInfDirectionsEPNS_7VertInfEj(r1, r2) { - var r3, r4, r5; - r3 = 0; - do { - if ((r2 | 0) == 0) { - r4 = HEAP32[r1 + 120 >> 2] & 12; - if ((r4 | 0) == 4) { - r5 = 2; - break; - } else if ((r4 | 0) == 12) { - r5 = 3; - break; - } else if ((r4 | 0) == 8) { - r5 = 1; - break; - } else { - r3 = 747; - break; - } - } else if ((r2 | 0) == 1) { - r4 = HEAP32[r1 + 120 >> 2] & 3; - if ((r4 | 0) == 1) { - r5 = 2; - break; - } else if ((r4 | 0) == 3) { - r5 = 3; - break; - } else if ((r4 | 0) == 2) { - r5 = 1; - break; - } else { - r3 = 747; - break; - } - } else { - r3 = 747; - } - } while (0); - if (r3 == 747) { - r5 = 0; - } - return r5; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC2ERKS4_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNK5Avoid10PosVertInfltERKS0_(r1, r2) { - var r3, r4, r5, r6; - r3 = r1 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r5) { - r6 = r4 < r5; - return r6; - } - r5 = HEAP32[r1 + 8 >> 2] + 4 | 0; - r4 = HEAP32[r2 + 8 >> 2] + 4 | 0; - do { - if (__ZNK5Avoid6VertIDeqERKS0_(r5, r4)) { - if (__ZNK5Avoid6VertIDeqERKS0_(r5, 5274184)) { - r6 = 0; - } else { - break; - } - return r6; - } - } while (0); - if (__ZNK5Avoid6VertIDneERKS0_(r5, r4)) { - r6 = __ZNK5Avoid6VertIDltERKS0_(r5, r4); - return r6; - } else { - r6 = HEAP32[r1 + 12 >> 2] >>> 0 < HEAP32[r2 + 12 >> 2] >>> 0; - return r6; - } -} -function __ZN5Avoid11LineSegment15horiCommitBeginEPNS_6RouterEPNS_7VertInfE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r5 = r4; - r6 = r4 + 16; - r7 = r4 + 20; - r8 = r4 + 44; - HEAP32[r6 >> 2] = r3; - r9 = r1 + 28 | 0; - if ((r3 | 0) != 0) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r4 + 8, r9, r6); - } - do { - if ((HEAP32[r1 + 36 >> 2] | 0) == 0) { - r6 = r1 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - } else { - r6 = HEAP32[HEAP32[r9 >> 2] + 16 >> 2] + 12 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r3 != r11) { - r10 = r11; - break; - } - STACKTOP = r4; - return; - } - } while (0); - if (r10 == -1.7976931348623157e+308) { - STACKTOP = r4; - return; - } - r10 = r1 | 0; - r11 = __Znwj(140); - r3 = r1 + 16 | 0; - __ZN5Avoid5PointC1Edd(r7, (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r11, r2, 5274184, r7, 1); - HEAP32[r8 >> 2] = r11; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r5, r9, r8); - STACKTOP = r4; - return; -} -function __ZN5Avoid11LineSegment16horiCommitFinishEPNS_6RouterEPNS_7VertInfE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r5 = r4; - r6 = r4 + 16; - r7 = r4 + 20; - r8 = r4 + 44; - HEAP32[r6 >> 2] = r3; - r9 = r1 + 28 | 0; - if ((r3 | 0) != 0) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r4 + 8, r9, r6); - } - do { - if ((HEAP32[r1 + 36 >> 2] | 0) == 0) { - r6 = r1 + 8 | 0; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - } else { - r6 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r1 + 32 | 0) + 16 >> 2] + 12 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 8 | 0; - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r3 != r11) { - r10 = r11; - break; - } - STACKTOP = r4; - return; - } - } while (0); - if (r10 == 1.7976931348623157e+308) { - STACKTOP = r4; - return; - } - r10 = r1 + 8 | 0; - r11 = __Znwj(140); - r3 = r1 + 16 | 0; - __ZN5Avoid5PointC1Edd(r7, (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r11, r2, 5274184, r7, 1); - HEAP32[r8 >> 2] = r11; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r5, r9, r8); - STACKTOP = r4; - return; -} -__ZN5Avoid11LineSegment16horiCommitFinishEPNS_6RouterEPNS_7VertInfE["X"] = 1; -function __ZN5Avoid11LineSegment15addSegmentsUpToEd(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r6 = r5; - r7 = r5 + 8; - r8 = r2 + 32 | 0; - r9 = r8; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - r1 = HEAP32[r2 + 28 >> 2]; - if ((r1 | 0) == (r9 | 0)) { - STACKTOP = r5; - return; - } - r11 = r2 + 40 | 0; - r2 = r8; - r8 = r1; - r1 = r9; - while (1) { - r12 = r8 + 16 | 0; - r13 = HEAP32[r12 >> 2]; - r14 = r13 + 12 | 0; - r15 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r15 > r3) { - r4 = 798; - break; - } - __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r7, r15, r13, __ZN5AvoidL23getPosVertInfDirectionsEPNS_7VertInfEj(r13, 0)); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r6, r11, r7); - do { - if ((r1 | 0) == (r9 | 0)) { - r13 = HEAP32[r12 >> 2] + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r3) { - r16 = r9; - break; - } - HEAP32[r10 >> 2] = r8; - r16 = r8; - } else { - r16 = r1; - } - } while (0); - r12 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r8 | 0); - if ((r12 | 0) == (r2 | 0)) { - r4 = 796; - break; - } else { - r8 = r12; - r1 = r16; - } - } - if (r4 == 796) { - STACKTOP = r5; - return; - } else if (r4 == 798) { - STACKTOP = r5; - return; - } -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r2, r5, r3); - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == 0) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r6, r2, r3); - r3 = r6 | 0; - r6 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r5 >> 2], r7, r6 | 0); - r9 = r6; - r10 = 1; - } else { - r9 = r8; - r10 = 0; - } - HEAP32[r1 >> 2] = r9; - HEAP8[r1 + 4 | 0] = r10; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = 0; - r5 = r1 + 4 | 0; - r1 = r5 | 0; - r6 = HEAP32[r1 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r2 >> 2] = r5; - r7 = r1; - return r7; - } else { - r8 = r6; - } - while (1) { - r6 = r8 + 16 | 0; - if (__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(HEAP32[r3 >> 2], HEAP32[r6 >> 2])) { - r9 = r8 | 0; - r1 = HEAP32[r9 >> 2]; - if ((r1 | 0) == 0) { - r4 = 805; - break; - } else { - r8 = r1; - continue; - } - } - if (!__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(HEAP32[r6 >> 2], HEAP32[r3 >> 2])) { - r4 = 809; - break; - } - r10 = r8 + 4 | 0; - r6 = HEAP32[r10 >> 2]; - if ((r6 | 0) == 0) { - r4 = 808; - break; - } else { - r8 = r6; - } - } - if (r4 == 805) { - HEAP32[r2 >> 2] = r8; - r7 = r9; - return r7; - } else if (r4 == 809) { - HEAP32[r2 >> 2] = r8; - r7 = r2; - return r7; - } else if (r4 == 808) { - HEAP32[r2 >> 2] = r8; - r7 = r10; - return r7; - } -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = __Znwj(20); - r6 = r4 + 4 | 0; - r7 = r4 | 0; - HEAP8[r7] = HEAP8[r6]; - HEAP8[r7 + 1 | 0] = HEAP8[r6 + 1 | 0]; - HEAP8[r7 + 2 | 0] = HEAP8[r6 + 2 | 0]; - r6 = r5 + 16 | 0; - if ((r6 | 0) != 0) { - HEAP32[r6 >> 2] = HEAP32[r3 >> 2]; - } - HEAP32[r1 >> 2] = r5; - HEAP32[r1 + 4 >> 2] = r2 + 4 | 0; - HEAP8[r1 + 8 | 0] = 1; - r2 = r1 + 9 | 0; - HEAP8[r2] = HEAP8[r7]; - HEAP8[r2 + 1 | 0] = HEAP8[r7 + 1 | 0]; - HEAP8[r2 + 2 | 0] = HEAP8[r7 + 2 | 0]; - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r1, r2, r3, r4) { - var r5, r6; - HEAP32[r4 >> 2] = 0; - HEAP32[r4 + 4 >> 2] = 0; - HEAP32[r4 + 8 >> 2] = r2; - HEAP32[r3 >> 2] = r4; - r2 = r1 | 0; - r5 = HEAP32[HEAP32[r2 >> 2] >> 2]; - if ((r5 | 0) == 0) { - r6 = r4; - } else { - HEAP32[r2 >> 2] = r5; - r6 = HEAP32[r3 >> 2]; - } - __ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r1 + 4 >> 2], r6); - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - return; -} -function __ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = (r1 + 12 | 0) >> 2; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 1], HEAPF64[tempDoublePtr >> 3]); - r5 = (r2 + 12 | 0) >> 2; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - do { - if (r4 == r6) { - r7 = r4; - r8 = r6; - } else { - r9 = r1 + 20 | 0; - r10 = r2 + 20 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r7 = r4; - r8 = r6; - break; - } - ___assert_func(5244520, 754, 5254752, 5249796); - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 1], HEAPF64[tempDoublePtr >> 3]); - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - } - } while (0); - if (r7 != r8) { - r11 = r7 < r8; - return r11; - } - r8 = r1 + 20 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r2 + 20 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r7 != r5) { - r11 = r7 < r5; - return r11; - } else { - r11 = r1 >>> 0 < r2 >>> 0; - return r11; - } -} -function __ZN5Avoid11LineSegment22insertBreakpointsBeginEPNS_6RouterERS0_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r6 = r5; - r7 = r5 + 8; - r8 = (r1 + 16 | 0) >> 2; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - r10 = r3 | 0; - do { - if (r9 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r11 = __ZNK5Avoid11LineSegment12beginVertInfEv(r3); - if ((r11 | 0) == 0) { - r4 = 836; - break; - } else { - r12 = r11; - break; - } - } else { - r4 = 836; - } - } while (0); - do { - if (r4 == 836) { - r10 = r3 + 8 | 0; - if (r9 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r12 = 0; - break; - } - r12 = __ZNK5Avoid11LineSegment13finishVertInfEv(r3); - } - } while (0); - __ZN5Avoid11LineSegment15horiCommitBeginEPNS_6RouterEPNS_7VertInfE(r1, r2, r12); - r12 = HEAP32[r1 + 28 >> 2]; - r2 = r1 + 32 | 0; - if ((r12 | 0) == (r2 | 0)) { - STACKTOP = r5; - return; - } - r9 = r1 | 0; - r1 = r3 + 40 | 0; - r3 = r2; - r2 = r12; - while (1) { - r12 = HEAP32[r2 + 16 >> 2]; - r4 = r12 + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r7, (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]), r12, __ZN5AvoidL23getPosVertInfDirectionsEPNS_7VertInfEj(r12, 1)); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r6, r1, r7); - } - r12 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if ((r12 | 0) == (r3 | 0)) { - break; - } - r2 = r12; - } - STACKTOP = r5; - return; -} -function __ZN5Avoid11LineSegment23insertBreakpointsFinishEPNS_6RouterERS0_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = 0; - r5 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r6 = r5; - r7 = r5 + 8; - r8 = (r1 + 16 | 0) >> 2; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - r10 = r3 | 0; - do { - if (r9 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r11 = __ZNK5Avoid11LineSegment12beginVertInfEv(r3); - if ((r11 | 0) == 0) { - r4 = 849; - break; - } else { - r12 = r11; - break; - } - } else { - r4 = 849; - } - } while (0); - do { - if (r4 == 849) { - r10 = r3 + 8 | 0; - if (r9 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r12 = 0; - break; - } - r12 = __ZNK5Avoid11LineSegment13finishVertInfEv(r3); - } - } while (0); - __ZN5Avoid11LineSegment16horiCommitFinishEPNS_6RouterEPNS_7VertInfE(r1, r2, r12); - r12 = HEAP32[r1 + 28 >> 2]; - r2 = r1 + 32 | 0; - if ((r12 | 0) == (r2 | 0)) { - STACKTOP = r5; - return; - } - r9 = r1 + 8 | 0; - r1 = r3 + 40 | 0; - r3 = r2; - r2 = r12; - while (1) { - r12 = HEAP32[r2 + 16 >> 2]; - r4 = r12 + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - __ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj(r7, (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]), r12, __ZN5AvoidL23getPosVertInfDirectionsEPNS_7VertInfEj(r12, 1)); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_(r6, r1, r7); - } - r12 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if ((r12 | 0) == (r3 | 0)) { - break; - } - r2 = r12; - } - STACKTOP = r5; - return; -} -function __ZN5Avoid11LineSegment33addEdgeHorizontalTillIntersectionEPNS_6RouterERS0_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r5 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = r5 + 8; - r9 = r1 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS4_(r9); - __ZN5Avoid11LineSegment15horiCommitBeginEPNS_6RouterEPNS_7VertInfE(r2, r3, 0); - r10 = (r4 + 16 | 0) >> 2; - __ZN5Avoid11LineSegment15commitPositionXEPNS_6RouterEd(r2, r3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid11LineSegment15addSegmentsUpToEd(r8, r2, (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3])); - r3 = r8 | 0; - r8 = HEAP32[r3 >> 2]; - r4 = r2 + 28 | 0; - r11 = r2 + 32 | 0; - L1054 : do { - if ((r8 | 0) == (r11 | 0)) { - r12 = r8; - } else { - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]); - r14 = r11; - r15 = r8; - while (1) { - r16 = HEAP32[r15 + 16 >> 2] + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) != r13) { - r12 = r15; - break L1054; - } - r16 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r15 | 0); - r17 = r16; - if ((r16 | 0) == (r14 | 0)) { - r12 = r17; - break L1054; - } else { - r15 = r17; - } - } - } - } while (0); - r11 = r1 + 4 | 0; - if ((r8 | 0) == (r12 | 0)) { - r18 = r8; - } else { - r1 = r8; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r6, r9, r11, r1 + 16 | 0); - r8 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r1 | 0); - if ((r8 | 0) == (r12 | 0)) { - break; - } else { - r1 = r8; - } - } - r18 = HEAP32[r3 >> 2]; - } - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]); - r10 = r2 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r10 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEESE_(r7, r4, HEAP32[r4 >> 2], r18); - STACKTOP = r5; - return; -} -__ZN5Avoid11LineSegment33addEdgeHorizontalTillIntersectionEPNS_6RouterERS0_["X"] = 1; -function __ZN5Avoid11LineSegment15commitPositionXEPNS_6RouterEd(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15; - r4 = STACKTOP; - STACKTOP = STACKTOP + 36 | 0; - r5 = r4; - r6 = r4 + 8, r7 = r6 >> 2; - r8 = r4 + 12; - HEAP32[r7] = 0; - r9 = r1 + 28 | 0; - r10 = HEAP32[r9 >> 2]; - r11 = r1 + 32 | 0; - L1067 : do { - if ((r10 | 0) != (r11 | 0)) { - r12 = r11; - r13 = r10; - while (1) { - r14 = HEAP32[r13 + 16 >> 2]; - r15 = r14 + 12 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r3) { - break; - } - r15 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r13 | 0); - if ((r15 | 0) == (r12 | 0)) { - break L1067; - } else { - r13 = r15; - } - } - HEAP32[r7] = r14; - if ((r14 | 0) == 0) { - break; - } - STACKTOP = r4; - return; - } - } while (0); - r14 = __Znwj(140); - r10 = r1 + 16 | 0; - __ZN5Avoid5PointC1Edd(r8, r3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - __ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb(r14, r2, 5274184, r8, 1); - HEAP32[r7] = r14; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r5, r9, r6); - STACKTOP = r4; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEESE_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - if ((r4 | 0) == (r3 | 0)) { - r7 = r1 | 0; - HEAP32[r7 >> 2] = r4; - STACKTOP = r5; - return; - } - r8 = r6 | 0; - r9 = r3; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r6, r2, r9); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) == (r4 | 0)) { - break; - } else { - r9 = r3; - } - } - r7 = r1 | 0; - HEAP32[r7 >> 2] = r4; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE(r1, r2, r3) { - var r4, r5; - r4 = r3 | 0; - r5 = __ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_(r4); - HEAP32[r1 >> 2] = r5; - r1 = r2 | 0; - if ((HEAP32[r1 >> 2] | 0) == (r3 | 0)) { - HEAP32[r1 >> 2] = r5; - } - r5 = r2 + 8 | 0; - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] - 1 | 0; - __ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_(HEAP32[r2 + 4 >> 2], r4); - __ZdlPv(r3); - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_(r2, r3, r6, r4); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) != 0) { - r9 = r3; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__construct_nodeERKS3_(r7, r2, r4); - r4 = r7 | 0; - r7 = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r6 >> 2], r8, r7 | 0); - r9 = r7; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r6 = r1 + 4 | 0; - do { - if ((r6 | 0) != (r2 | 0)) { - r7 = r2 + 16 | 0; - if (__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(HEAP32[r4 >> 2], HEAP32[r7 >> 2])) { - break; - } - r8 = r2 | 0; - if (!__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(HEAP32[r7 >> 2], HEAP32[r4 >> 2])) { - HEAP32[r5] = r8; - r9 = r3; - return r9; - } - r7 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r8); - do { - if ((r7 | 0) != (r6 | 0)) { - if (__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(HEAP32[r4 >> 2], HEAP32[r7 + 16 >> 2])) { - break; - } - r9 = __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r3, r4); - return r9; - } - } while (0); - r10 = r2 + 4 | 0; - if ((HEAP32[r10 >> 2] | 0) == 0) { - HEAP32[r5] = r8; - r9 = r10; - return r9; - } else { - HEAP32[r5] = r7; - r9 = r7 | 0; - return r9; - } - } - } while (0); - do { - if ((HEAP32[r1 >> 2] | 0) == (r2 | 0)) { - r11 = r2; - } else { - r6 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if (__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_(HEAP32[r6 + 16 >> 2], HEAP32[r4 >> 2])) { - r11 = r6; - break; - } - r9 = __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r3, r4); - return r9; - } - } while (0); - r4 = r2 | 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - HEAP32[r5] = r2 | 0; - r9 = r4; - return r9; - } else { - HEAP32[r5] = r11 | 0; - r9 = r11 + 4 | 0; - return r9; - } -} -__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS4_(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC2ERKS4_(r1); - return; -} -function __ZN5Avoid4NodeD1Ev(r1) { - return; -} -function __ZNK5Avoid11LineSegment12beginVertInfEv(r1) { - var r2, r3, r4, r5, r6, r7; - if ((HEAP32[r1 + 36 >> 2] | 0) == 0) { - r2 = 0; - return r2; - } - r3 = HEAP32[HEAP32[r1 + 28 >> 2] + 16 >> 2]; - r4 = r3 + 20 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r1 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r3 + 12 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r5 == r6) { - r4 = r1 + 16 | 0; - if (r7 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r2 = r3; - } else { - break; - } - return r2; - } - } while (0); - do { - if (r7 == r6) { - r4 = r1 + 16 | 0; - if (r5 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r2 = r3; - } else { - break; - } - return r2; - } - } while (0); - r2 = 0; - return r2; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS4_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNK5Avoid11LineSegment8overlapsERKS0_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r1 + 16 | 0; - r6 = r2 + 16 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r4 == r5 & r7) { - r6 = r1 + 8 | 0; - r3 = r2 + 8 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r8 = 1; - } else { - break; - } - return r8; - } - } while (0); - do { - if (r7) { - do { - if (r4 >= r5) { - r3 = r2 + 8 | 0; - if (r4 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } else { - r8 = 1; - } - return r8; - } - } while (0); - if (r5 < r4) { - break; - } - r3 = r1 + 8 | 0; - if (r5 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } else { - r8 = 1; - } - return r8; - } - } while (0); - r8 = 0; - return r8; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS7_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC2ERKS7_(r1) { - var r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 >> 2] = r2; - return; -} -function __ZN5Avoid18SegmentListWrapperC2Ev(r1) { - var r2; - r2 = r1; - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r2; - HEAP32[r1 + 8 >> 2] = 0; - return; -} -function __ZNK5Avoid10CmpNodePosclEPKNS_4NodeES3_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 + 16 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 + 16 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r5) { - r6 = r4 < r5; - return r6; - } - r5 = HEAP32[r1 + 4 >> 2]; - do { - if ((r5 | 0) == 0) { - r4 = HEAP32[r1 + 8 >> 2]; - if ((r4 | 0) == 0) { - r7 = HEAP32[r1 + 12 >> 2]; - break; - } else { - r7 = r4; - break; - } - } else { - r7 = r5; - } - } while (0); - r5 = HEAP32[r2 + 4 >> 2]; - do { - if ((r5 | 0) == 0) { - r1 = HEAP32[r2 + 8 >> 2]; - if ((r1 | 0) == 0) { - r8 = HEAP32[r2 + 12 >> 2]; - break; - } else { - r8 = r1; - break; - } - } else { - r8 = r5; - } - } while (0); - r6 = r7 >>> 0 < r8 >>> 0; - return r6; -} -function __ZN5Avoid4NodeC2EPNS_7VertInfEd(r1, r2, r3) { - var r4, r5; - r4 = r1 >> 2; - HEAP32[r4] = 5267420; - HEAP32[r4 + 1] = 0; - HEAP32[r4 + 2] = r2; - HEAP32[r4 + 3] = 0; - r5 = r1 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r4 + 14] = 0; - HEAP32[r4 + 15] = 0; - r4 = r2 + 12 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r1 + 40 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 24 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r2 + 20 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r1 + 48 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r4 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r4 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -function __ZN5Avoid4Node18firstObstacleAboveEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = 0; - r4 = HEAP32[r1 + 56 >> 2]; - if ((r4 | 0) == 0) { - r5 = -1.7976931348623157e+308; - return r5; - } - r6 = r1 + 16 | 0; - r1 = r4; - while (1) { - if ((HEAP32[r1 + 12 >> 2] | 0) == 0) { - r4 = (r2 << 3) + r1 + 40 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r7 <= (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = r7; - r3 = 977; - break; - } - } - r7 = HEAP32[r1 + 56 >> 2]; - if ((r7 | 0) == 0) { - r5 = -1.7976931348623157e+308; - r3 = 978; - break; - } else { - r1 = r7; - } - } - if (r3 == 978) { - return r5; - } else if (r3 == 977) { - return r5; - } -} -function __ZN5Avoid4Node18firstObstacleBelowEj(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = 0; - r4 = HEAP32[r1 + 60 >> 2]; - if ((r4 | 0) == 0) { - r5 = 1.7976931348623157e+308; - return r5; - } - r6 = r1 + 16 | 0; - r1 = r4; - while (1) { - if ((HEAP32[r1 + 12 >> 2] | 0) == 0) { - r4 = (r2 << 3) + r1 + 24 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r7 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r5 = r7; - r3 = 987; - break; - } - } - r7 = HEAP32[r1 + 60 >> 2]; - if ((r7 | 0) == 0) { - r5 = 1.7976931348623157e+308; - r3 = 988; - break; - } else { - r1 = r7; - } - } - if (r3 == 988) { - return r5; - } else if (r3 == 987) { - return r5; - } -} -function __ZN5Avoid4Node22markShiftSegmentsAboveEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = 0; - r4 = HEAP32[r1 + 56 >> 2]; - if ((r4 | 0) == 0) { - return; - } - r5 = (r2 << 3) + r1 + 24 | 0; - r1 = r4; - L1205 : while (1) { - r4 = HEAP32[r1 + 12 >> 2]; - r2 = r1 + 16 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if ((r4 | 0) == 0) { - if (r6 <= r2) { - r3 = 997; - break L1205; - } - } else { - if (r6 > r2) { - break; - } - r7 = r4 + 16 | 0, r8 = r7 >> 2; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]) < r2 ? r7 : r5; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - } while (0); - r2 = HEAP32[r1 + 56 >> 2]; - if ((r2 | 0) == 0) { - r3 = 999; - break; - } else { - r1 = r2; - } - } - if (r3 == 999) { - return; - } else if (r3 == 997) { - return; - } -} -function __ZNK5Avoid11LineSegment13finishVertInfEv(r1) { - var r2, r3, r4, r5, r6, r7; - if ((HEAP32[r1 + 36 >> 2] | 0) == 0) { - r2 = 0; - return r2; - } - r3 = HEAP32[__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r1 + 32 | 0) + 16 >> 2]; - r4 = r3 + 20 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r1 + 8 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r3 + 12 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if (r5 == r6) { - r4 = r1 + 16 | 0; - if (r7 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r2 = r3; - } else { - break; - } - return r2; - } - } while (0); - do { - if (r7 == r6) { - r4 = r1 + 16 | 0; - if (r5 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r2 = r3; - } else { - break; - } - return r2; - } - } while (0); - r2 = 0; - return r2; -} -function __ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = r1 | 0; - r6 = r1; - r7 = HEAP32[r1 + 4 >> 2]; - do { - if ((r7 | 0) != (r6 | 0)) { - r8 = r6; - r9 = r7; - while (1) { - r10 = r9 + 8 | 0; - do { - if (__ZNK5Avoid11LineSegment8overlapsERKS0_(r10, r2)) { - if ((r8 | 0) == (r6 | 0)) { - __ZN5Avoid11LineSegment13mergeVertInfsERKS0_(r10, r2); - r11 = r9; - break; - } else { - __ZN5Avoid11LineSegment13mergeVertInfsERKS0_(r10, r8 + 8 | 0); - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE(r4, r5, r8); - r11 = r9; - break; - } - } else { - r11 = r8; - } - } while (0); - r10 = HEAP32[r9 + 4 >> 2]; - if ((r10 | 0) == (r6 | 0)) { - break; - } else { - r8 = r11; - r9 = r10; - } - } - if ((r11 | 0) == (r6 | 0)) { - break; - } else { - r12 = r11; - } - r13 = r12 + 8 | 0; - STACKTOP = r3; - return r13; - } - } while (0); - __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE9push_backERKS2_(r5, r2); - r12 = HEAP32[r1 >> 2]; - r13 = r12 + 8 | 0; - STACKTOP = r3; - return r13; -} -function __ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_(r1, r2, r3, r4, r5, r6, r7) { - __ZN5Avoid11LineSegmentC2ERKdS2_S2_bPNS_7VertInfES4_(r1, r2, r3, r4, r5, r6, r7); - return; -} -function __ZN5Avoid11LineSegmentC2ERKdS2_S2_bPNS_7VertInfES4_(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14; - r8 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r9 = r8; - r10 = r8 + 8; - r11 = r8 + 16; - r12 = r8 + 20; - HEAP32[r11 >> 2] = r6; - HEAP32[r12 >> 2] = r7; - r13 = (r1 | 0) >> 2; - HEAPF64[tempDoublePtr >> 3] = r2, HEAP32[r13] = HEAP32[tempDoublePtr >> 2], HEAP32[r13 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = (r1 + 8 | 0) >> 2; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = r1 + 16 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r14 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r14 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP8[r1 + 24 | 0] = r5 & 1; - r5 = r1 + 28 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS4_(r5); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_(r1 + 40 | 0); - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]) >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3])) { - ___assert_func(5244520, 786, 5261484, 5248856); - } - if ((r6 | 0) != 0) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r10, r5, r11); - } - if ((r7 | 0) == 0) { - STACKTOP = r8; - return; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r9, r5, r12); - STACKTOP = r8; - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_(r1) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS4_(r1); - return; -} -function __ZN5Avoid11LineSegment13mergeVertInfsERKS0_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - r5 = (r1 | 0) >> 2; - r6 = r2 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - r8 = r7 < r6 ? r7 : r6; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = (r1 + 8 | 0) >> 2; - r8 = r2 + 8 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]); - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = r6 < r7 ? r7 : r6; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = HEAP32[r2 + 28 >> 2]; - r8 = r2 + 32 | 0; - r2 = r1 + 28 | 0; - r6 = r1 + 32 | 0; - if ((r5 | 0) == (r8 | 0)) { - STACKTOP = r3; - return; - } - r1 = r8; - r8 = r5; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r4, r2, r6, r8 + 16 | 0); - r5 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r8 | 0); - if ((r5 | 0) == (r1 | 0)) { - break; - } else { - r8 = r5; - } - } - STACKTOP = r3; - return; -} -function __ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE9push_backERKS2_(r1, r2) { - var r3, r4, r5; - r3 = __Znwj(60); - r4 = r3; - r5 = r3 + 8 | 0; - if ((r5 | 0) != 0) { - __ZN5Avoid11LineSegmentC1ERKS0_(r5, r2); - } - r2 = (r1 | 0) >> 2; - HEAP32[HEAP32[r2] + 4 >> 2] = r4; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r2] = r4; - HEAP32[r3 + 4 >> 2] = r1; - r3 = r1 + 8 | 0; - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] + 1 | 0; - return; -} -function __ZN5Avoid11LineSegmentC1ERKS0_(r1, r2) { - __ZN5Avoid11LineSegmentC2ERKS0_(r1, r2); - return; -} -function __ZN5Avoid11LineSegmentC2ERKS0_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r1 | 0; - r7 = r2 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r6 = r1 + 8 | 0; - r8 = r2 + 8 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r6 = r1 + 16 | 0; - r7 = r2 + 16 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP8[r1 + 24 | 0] = HEAP8[r2 + 24 | 0] & 1; - r6 = r1 + 28 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS7_(r6); - r8 = HEAP32[r2 + 28 >> 2]; - r7 = r2 + 32 | 0; - r9 = r1 + 32 | 0; - L1268 : do { - if ((r8 | 0) != (r7 | 0)) { - r10 = r7; - r11 = r8; - while (1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_(r5, r6, r9, r11 + 16 | 0); - r12 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r11 | 0); - if ((r12 | 0) == (r10 | 0)) { - break L1268; - } else { - r11 = r12; - } - } - } - } while (0); - r9 = r1 + 40 | 0; - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS7_(r9); - r6 = HEAP32[r2 + 40 >> 2]; - r5 = r2 + 44 | 0; - r2 = r1 + 44 | 0; - if ((r6 | 0) == (r5 | 0)) { - STACKTOP = r3; - return; - } - r1 = r5; - r5 = r6; - while (1) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_PvEEiEERKS2_(r4, r9, r2, r5 + 16 | 0); - r6 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r5 | 0); - if ((r6 | 0) == (r1 | 0)) { - break; - } else { - r5 = r6; - } - } - STACKTOP = r3; - return; -} -__ZN5Avoid11LineSegmentC2ERKS0_["X"] = 1; -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS7_(r1) { - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS7_(r1); - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_PvEEiEERKS2_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10; - r5 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r6 = r5; - r7 = r5 + 4; - r8 = __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_SA_EEiEESD_RKT_(r2, r3, r6, r4); - r3 = HEAP32[r8 >> 2]; - if ((r3 | 0) != 0) { - r9 = r3; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; - } - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_(r7, r2, r4); - r4 = r7 | 0; - r7 = HEAP32[r4 >> 2]; - HEAP32[r4 >> 2] = 0; - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_(r2, HEAP32[r6 >> 2], r8, r7 | 0); - r9 = r7; - r10 = r1 | 0; - HEAP32[r10 >> 2] = r9; - STACKTOP = r5; - return; -} -function __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_SA_EEiEESD_RKT_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r6 = r1 + 4 | 0; - do { - if ((r6 | 0) != (r2 | 0)) { - r7 = r2 + 16 | 0; - if (__ZNK5Avoid10PosVertInfltERKS0_(r4, r7)) { - break; - } - r8 = r2 | 0; - if (!__ZNK5Avoid10PosVertInfltERKS0_(r7, r4)) { - HEAP32[r5] = r8; - r9 = r3; - return r9; - } - r7 = __ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_(r8); - do { - if ((r7 | 0) != (r6 | 0)) { - if (__ZNK5Avoid10PosVertInfltERKS0_(r4, r7 + 16 | 0)) { - break; - } - r9 = __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r3, r4); - return r9; - } - } while (0); - r10 = r2 + 4 | 0; - if ((HEAP32[r10 >> 2] | 0) == 0) { - HEAP32[r5] = r8; - r9 = r10; - return r9; - } else { - HEAP32[r5] = r7; - r9 = r7 | 0; - return r9; - } - } - } while (0); - do { - if ((HEAP32[r1 >> 2] | 0) == (r2 | 0)) { - r11 = r2; - } else { - r6 = __ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_(r2 | 0); - if (__ZNK5Avoid10PosVertInfltERKS0_(r6 + 16 | 0, r4)) { - r11 = r6; - break; - } - r9 = __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_(r1, r3, r4); - return r9; - } - } while (0); - r4 = r2 | 0; - if ((HEAP32[r4 >> 2] | 0) == 0) { - HEAP32[r5] = r2 | 0; - r9 = r4; - return r9; - } else { - HEAP32[r5] = r11 | 0; - r9 = r11 + 4 | 0; - return r9; - } -} -__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_SA_EEiEESD_RKT_["X"] = 1; -function __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS7_(r1) { - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC2ERKS7_(r1); - return; -} -function __ZN5Avoid11LineSegmentC1ERKdS2_PNS_7VertInfE(r1, r2, r3, r4) { - __ZN5Avoid11LineSegmentC2ERKdS2_PNS_7VertInfE(r1, r2, r3, r4); - return; -} -function __ZN5Avoid11LineSegmentC2ERKdS2_PNS_7VertInfE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9; - r5 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r6 = r5; - r7 = r5 + 8; - HEAP32[r7 >> 2] = r4; - r8 = r1 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = r1 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r8 = r1 + 16 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP8[r1 + 24 | 0] = 0; - r8 = r1 + 28 | 0; - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS4_(r8); - __ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_(r1 + 40 | 0); - if ((r4 | 0) == 0) { - STACKTOP = r5; - return; - } - __ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_(r6, r8, r7); - STACKTOP = r5; - return; -} -function __ZN5Avoid4NodeC1EPNS_8ObstacleEd(r1, r2, r3) { - __ZN5Avoid4NodeC2EPNS_8ObstacleEd(r1, r2, r3); - return; -} -function __ZN5Avoid4NodeC2EPNS_8ObstacleEd(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = r1 >> 2; - r5 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r6 = r5; - HEAP32[r4] = 5267420; - HEAP32[r4 + 1] = r2; - HEAP32[r4 + 2] = 0; - HEAP32[r4 + 3] = 0; - r7 = r1 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r4 + 14] = 0; - HEAP32[r4 + 15] = 0; - __ZNK5Avoid8Obstacle10routingBoxEv(r6, r2); - r2 = r6 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 24 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r6 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 32 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r6 + 24 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 40 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r6 + 32 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 48 | 0; - HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - STACKTOP = r5; - return; -} -function __ZN5Avoid4NodeC1EPNS_7VertInfEd(r1, r2, r3) { - __ZN5Avoid4NodeC2EPNS_7VertInfEd(r1, r2, r3); - return; -} -function __ZN5Avoid4NodeC1EPNS_12ShiftSegmentEd(r1, r2, r3) { - __ZN5Avoid4NodeC2EPNS_12ShiftSegmentEd(r1, r2, r3); - return; -} -function __ZN5Avoid4NodeC2EPNS_12ShiftSegmentEd(r1, r2, r3) { - HEAP32[r1 >> 2] = 5267420; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 + 12 >> 2] = r2; - r2 = r1 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = r1 + 24 | 0; - for (r1 = r2 >> 2, r3 = r1 + 10; r1 < r3; r1++) { - HEAP32[r1] = 0; - } - return; -} -function __ZN5Avoid4NodeD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZN5Avoid4Node22markShiftSegmentsBelowEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = 0; - r4 = HEAP32[r1 + 60 >> 2]; - if ((r4 | 0) == 0) { - return; - } - r5 = (r2 << 3) + r1 + 40 | 0; - r1 = r4; - L1333 : while (1) { - r4 = HEAP32[r1 + 12 >> 2]; - r2 = r1 + 16 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - do { - if ((r4 | 0) == 0) { - if (r6 >= r2) { - r3 = 1112; - break L1333; - } - } else { - if (r6 < r2) { - break; - } - r7 = r4 + 8 | 0, r8 = r7 >> 2; - r9 = r2 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]) ? r7 : r5; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - } while (0); - r2 = HEAP32[r1 + 60 >> 2]; - if ((r2 | 0) == 0) { - r3 = 1113; - break; - } else { - r1 = r2; - } - } - if (r3 == 1112) { - return; - } else if (r3 == 1113) { - return; - } -} -function __ZN5Avoid4Node27findFirstPointAboveAndBelowEjdRdS1_S1_S1_(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30; - r8 = r7 >> 2; - r7 = r6 >> 2; - r9 = r5 >> 2; - r10 = r4 >> 2; - r11 = 0; - HEAPF64[tempDoublePtr >> 3] = -1.7976931348623157e+308, HEAP32[r10] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAPF64[tempDoublePtr >> 3] = 1.7976931348623157e+308, HEAP32[r9] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r12 = ((r2 << 3) + r1 + 40 | 0) >> 2; - r13 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r13 = ((r2 << 3) + r1 + 24 | 0) >> 2; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r14, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = r1 + 56 | 0; - r15 = r1 + 60 | 0; - r16 = (r2 | 0) == 0 & 1; - r17 = ((r16 << 3) + r1 + 40 | 0) >> 2; - r18 = ((r16 << 3) + r1 + 24 | 0) >> 2; - r1 = 0; - while (1) { - r19 = (r1 | 0) == 0; - r20 = HEAP32[(r19 ? r14 : r15) >> 2]; - L1346 : do { - if ((r20 | 0) != 0) { - if (r19) { - r21 = r20; - while (1) { - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]) == r3) { - r22 = (r16 << 3) + r21 + 40 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r3) { - r23 = 1; - break; - } else { - r11 = 1120; - break; - } - } else { - r11 = 1120; - } - } while (0); - do { - if (r11 == 1120) { - r11 = 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]) != r3) { - r23 = 0; - break; - } - r22 = (r16 << 3) + r21 + 24 | 0; - r23 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r3; - } - } while (0); - r22 = (r2 << 3) + r21 + 40 | 0, r24 = r22 >> 2; - r25 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r24], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 1], HEAPF64[tempDoublePtr >> 3]); - do { - if (r25 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3])) { - r26 = (r2 << 3) + r21 + 24 | 0; - r27 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r26 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r26 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r27 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3])) { - r28 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 1], HEAPF64[tempDoublePtr >> 3]) < r27 ? r5 : r26; - r29 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r28 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r28 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r29, HEAP32[r9] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - break; - } - if (r23) { - break; - } - r29 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]) < r27 ? r6 : r26; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r29 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r29 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r26, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r24], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r24 + 1], HEAPF64[tempDoublePtr >> 3]); - r29 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - r27 = r26 < r29 ? r29 : r26; - HEAPF64[tempDoublePtr >> 3] = r27, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } else { - r27 = r25 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]) ? r4 : r22; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r26, HEAP32[r10] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - } while (0); - r22 = HEAP32[r21 + 56 >> 2]; - if ((r22 | 0) == 0) { - break L1346; - } else { - r21 = r22; - } - } - } else { - r21 = r20; - while (1) { - do { - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r17], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 1], HEAPF64[tempDoublePtr >> 3]) == r3) { - r22 = (r16 << 3) + r21 + 40 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r3) { - r30 = 1; - break; - } else { - r11 = 1131; - break; - } - } else { - r11 = 1131; - } - } while (0); - do { - if (r11 == 1131) { - r11 = 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r18], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r18 + 1], HEAPF64[tempDoublePtr >> 3]) != r3) { - r30 = 0; - break; - } - r22 = (r16 << 3) + r21 + 24 | 0; - r30 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r22 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r22 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) == r3; - } - } while (0); - r22 = (r2 << 3) + r21 + 40 | 0, r25 = r22 >> 2; - r24 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r25], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 1], HEAPF64[tempDoublePtr >> 3]); - do { - if (r24 > (HEAP32[tempDoublePtr >> 2] = HEAP32[r13], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 1], HEAPF64[tempDoublePtr >> 3])) { - r26 = (r2 << 3) + r21 + 24 | 0; - r27 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r26 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r26 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r27 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r12], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r12 + 1], HEAPF64[tempDoublePtr >> 3])) { - r29 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 1], HEAPF64[tempDoublePtr >> 3]) < r27 ? r5 : r26; - r28 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r29 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r29 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r28, HEAP32[r9] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - break; - } - if (r30) { - break; - } - r28 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 1], HEAPF64[tempDoublePtr >> 3]) < r27 ? r6 : r26; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r28 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r28 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r26, HEAP32[r7] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r25], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r25 + 1], HEAPF64[tempDoublePtr >> 3]); - r28 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r8], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 1], HEAPF64[tempDoublePtr >> 3]); - r27 = r26 < r28 ? r28 : r26; - HEAPF64[tempDoublePtr >> 3] = r27, HEAP32[r8] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } else { - r27 = r24 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r10], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 1], HEAPF64[tempDoublePtr >> 3]) ? r4 : r22; - r26 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r27 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r27 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r26, HEAP32[r10] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - } - } while (0); - r22 = HEAP32[r21 + 60 >> 2]; - if ((r22 | 0) == 0) { - break L1346; - } else { - r21 = r22; - } - } - } - } - } while (0); - r20 = r1 + 1 | 0; - if ((r20 | 0) == 2) { - break; - } else { - r1 = r20; - } - } - return; -} -__ZN5Avoid4Node27findFirstPointAboveAndBelowEjdRdS1_S1_S1_["X"] = 1; -function __ZN5Avoid4Node15firstPointAboveEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = 0; - r4 = r2 & 1 ^ 1; - r5 = HEAP32[r1 + 56 >> 2]; - if ((r5 | 0) == 0) { - r6 = -1.7976931348623157e+308; - return r6; - } - r7 = (r4 << 3) + r1 + 24 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r1 + 16 | 0; - r1 = -1.7976931348623157e+308; - r9 = r5; - L1387 : while (1) { - r5 = r9; - L1389 : while (1) { - r10 = (r4 << 3) + r5 + 24 | 0; - do { - if (r8 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r11 = (r4 << 3) + r5 + 40 | 0; - if (r8 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r11 = (r2 << 3) + r5 + 40 | 0; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r12 <= (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break L1389; - } - } - } while (0); - r10 = HEAP32[r5 + 56 >> 2]; - if ((r10 | 0) == 0) { - r6 = r1; - r3 = 1153; - break L1387; - } else { - r5 = r10; - } - } - r10 = r12 < r1 ? r1 : r12; - r11 = HEAP32[r5 + 56 >> 2]; - if ((r11 | 0) == 0) { - r6 = r10; - r3 = 1152; - break; - } else { - r1 = r10; - r9 = r11; - } - } - if (r3 == 1152) { - return r6; - } else if (r3 == 1153) { - return r6; - } -} -function __ZN5Avoid4Node15firstPointBelowEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = 0; - r4 = r2 & 1 ^ 1; - r5 = HEAP32[r1 + 60 >> 2]; - if ((r5 | 0) == 0) { - r6 = 1.7976931348623157e+308; - return r6; - } - r7 = (r4 << 3) + r1 + 24 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r7 = r1 + 16 | 0; - r1 = 1.7976931348623157e+308; - r9 = r5; - L1403 : while (1) { - r5 = r9; - L1405 : while (1) { - r10 = (r4 << 3) + r5 + 24 | 0; - do { - if (r8 != (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r11 = (r4 << 3) + r5 + 40 | 0; - if (r8 == (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } - r11 = (r2 << 3) + r5 + 24 | 0; - r12 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r11 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r11 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r12 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break L1405; - } - } - } while (0); - r10 = HEAP32[r5 + 60 >> 2]; - if ((r10 | 0) == 0) { - r6 = r1; - r3 = 1165; - break L1403; - } else { - r5 = r10; - } - } - r10 = r1 < r12 ? r1 : r12; - r11 = HEAP32[r5 + 60 >> 2]; - if ((r11 | 0) == 0) { - r6 = r10; - r3 = 1163; - break; - } else { - r1 = r10; - r9 = r11; - } - } - if (r3 == 1163) { - return r6; - } else if (r3 == 1165) { - return r6; - } -} -function __ZN5Avoid4Node13isInsideShapeEj(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = 0; - r3 = HEAP32[r1 + 60 >> 2]; - L1416 : do { - if ((r3 | 0) != 0) { - r4 = r1 + 16 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r3; - while (1) { - r6 = r4 + 24 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < r5) { - r6 = r4 + 40 | 0; - if (r5 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r7 = 1; - break; - } - } - r6 = HEAP32[r4 + 60 >> 2]; - if ((r6 | 0) == 0) { - break L1416; - } else { - r4 = r6; - } - } - return r7; - } - } while (0); - r3 = HEAP32[r1 + 56 >> 2]; - if ((r3 | 0) == 0) { - r7 = 0; - return r7; - } - r4 = r1 + 16 | 0; - r1 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r3; - while (1) { - r3 = r4 + 24 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < r1) { - r3 = r4 + 40 | 0; - if (r1 < (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r7 = 1; - r2 = 1179; - break; - } - } - r3 = HEAP32[r4 + 56 >> 2]; - if ((r3 | 0) == 0) { - r7 = 0; - r2 = 1180; - break; - } else { - r4 = r3; - } - } - if (r2 == 1180) { - return r7; - } else if (r2 == 1179) { - return r7; - } -} -function __ZN5Avoid5EventC2ENS_9EventTypeEPNS_4NodeEd(r1, r2, r3, r4) { - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - r3 = r1 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -function __ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd(r1, r2, r3, r4) { - __ZN5Avoid5EventC2ENS_9EventTypeEPNS_4NodeEd(r1, r2, r3, r4); - return; -} -function __ZN5Avoid14compare_eventsEPKvS1_(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = HEAP32[r1 >> 2]; - r1 = HEAP32[r2 >> 2]; - r2 = r3 + 8 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 8 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r4 != r5) { - r6 = r4 < r5 ? -1 : 1; - return r6; - } - r5 = HEAP32[r3 >> 2]; - r4 = HEAP32[r1 >> 2]; - if ((r5 | 0) != (r4 | 0)) { - r6 = r5 - r4 | 0; - return r6; - } - r4 = r3 + 4 | 0; - r3 = HEAP32[r4 >> 2]; - r5 = r1 + 4 | 0; - r1 = HEAP32[r5 >> 2]; - if ((r3 | 0) == (r1 | 0)) { - ___assert_func(5244380, 304, 5261304, 5248572); - r7 = HEAP32[r4 >> 2]; - r8 = HEAP32[r5 >> 2]; - } else { - r7 = r3; - r8 = r1; - } - r6 = (r7 - r8 | 0) / 68 & -1; - return r6; -} -function __ZN5Avoid34buildConnectorRouteCheckpointCacheEPNS_6RouterE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 176 | 0; - r4 = r3 + 24; - r5 = r3 + 44; - r6 = r3 + 64; - r7 = r3 + 84; - r8 = r3 + 104; - r9 = r3 + 116; - r10 = HEAP32[r1 + 20 >> 2]; - r11 = r1 + 16 | 0; - if ((r10 | 0) == (r11 | 0)) { - STACKTOP = r3; - return; - } - r1 = r8; - r12 = r9 | 0; - r13 = r9 + 4 | 0; - r14 = r9 + 8 | 0; - r15 = (r8 + 4 | 0) >> 2; - r16 = (r8 | 0) >> 2; - r8 = r3 + 128 >> 2; - r17 = (r5 + 8 | 0) >> 2; - r18 = r5 + 12 | 0; - r19 = (r5 + 4 | 0) >> 2; - r20 = r5 | 0; - r21 = r5 + 16 | 0; - r22 = r4 | 0; - r23 = r4 + 4 | 0; - r24 = r4 + 8 | 0; - r25 = r4 + 12 | 0; - r26 = r3, r27 = r26 >> 2; - r28 = r3 + 152 >> 2; - r29 = (r7 + 8 | 0) >> 2; - r30 = r7 + 12 | 0; - r31 = (r7 + 4 | 0) >> 2; - r32 = r7 | 0; - r33 = r7 + 16 | 0; - r34 = r6 | 0; - r35 = r6 + 4 | 0; - r36 = r6 + 8 | 0; - r37 = r6 + 12 | 0; - r38 = r10; - while (1) { - r10 = HEAP32[r38 + 8 >> 2]; - r39 = r10; - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r10 + 8 >> 2]) | 0) == 2) { - r10 = __ZN5Avoid7ConnRef12displayRouteEv(r39); - __ZNK5Avoid7ConnRef18routingCheckpointsEv(r1, r39); - r39 = r10 + 32 | 0; - HEAP32[r12 >> 2] = 0; - HEAP32[r13 >> 2] = 0; - HEAP32[r14 >> 2] = 0; - if ((r39 | 0) != (r9 | 0)) { - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_(r39, 0, 0); - } - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED1Ev(r9); - r40 = r10; - r41 = r10 + 8 | 0; - r42 = (r10 + 36 | 0) >> 2; - r43 = r10 + 40 | 0; - r44 = (r43 | 0) >> 2; - r45 = r43; - r43 = (r39 | 0) >> 2; - r46 = 0; - while (1) { - if (r46 >>> 0 >= FUNCTION_TABLE[HEAP32[HEAP32[r40 >> 2] + 16 >> 2]](r10) >>> 0) { - break; - } - r47 = HEAP32[r15]; - r48 = HEAP32[r16]; - L1466 : do { - if ((r46 | 0) == 0) { - r49 = r47; - r50 = r48; - r2 = 1237; - } else { - if ((r47 | 0) == (r48 | 0)) { - break; - } - r51 = r46 - 1 | 0; - r52 = (r46 << 1) - 1 | 0; - r53 = 0; - r54 = r48; - while (1) { - r55 = HEAP32[r41 >> 2]; - do { - if (__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d(r55 + (r51 * 24 & -1) | 0, r55 + (r46 * 24 & -1) | 0, (r53 << 5) + r54 | 0, 0)) { - r56 = ((r53 << 5) + HEAP32[r16] | 0) >> 2; - HEAP32[r8] = HEAP32[r56]; - HEAP32[r8 + 1] = HEAP32[r56 + 1]; - HEAP32[r8 + 2] = HEAP32[r56 + 2]; - HEAP32[r8 + 3] = HEAP32[r56 + 3]; - HEAP32[r8 + 4] = HEAP32[r56 + 4]; - HEAP32[r8 + 5] = HEAP32[r56 + 5]; - r56 = HEAP32[r42]; - r57 = HEAP32[r44]; - if (r56 >>> 0 < r57 >>> 0) { - if ((r56 | 0) == 0) { - r58 = 0; - } else { - HEAP32[r56 >> 2] = r52; - r59 = (r56 + 4 | 0) >> 2; - HEAP32[r59] = HEAP32[r8]; - HEAP32[r59 + 1] = HEAP32[r8 + 1]; - HEAP32[r59 + 2] = HEAP32[r8 + 2]; - HEAP32[r59 + 3] = HEAP32[r8 + 3]; - HEAP32[r59 + 4] = HEAP32[r8 + 4]; - HEAP32[r59 + 5] = HEAP32[r8 + 5]; - r58 = HEAP32[r42]; - } - HEAP32[r42] = r58 + 28 | 0; - break; - } - r59 = HEAP32[r43]; - r60 = ((r56 - r59 | 0) / 28 & -1) + 1 | 0; - if (r60 >>> 0 > 153391689) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r61 = HEAP32[r44]; - r62 = HEAP32[r43]; - } else { - r61 = r57; - r62 = r59; - } - r59 = r62; - r57 = (r61 - r59 | 0) / 28 & -1; - if (r57 >>> 0 > 76695843) { - r63 = 153391689; - } else { - r56 = r57 << 1; - r63 = r56 >>> 0 < r60 >>> 0 ? r60 : r56; - } - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_(r5, r63, (HEAP32[r42] - r59 | 0) / 28 & -1, r45); - r59 = HEAP32[r17]; - do { - if ((r59 | 0) == (HEAP32[r18 >> 2] | 0)) { - r56 = HEAP32[r19]; - r60 = r56; - r57 = HEAP32[r20 >> 2]; - if (r56 >>> 0 <= r57 >>> 0) { - r64 = ((r59 - r57 | 0) / 28 & -1) << 1; - r65 = (r64 | 0) == 0 ? 1 : r64; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_(r4, r65, r65 >>> 2, HEAP32[r21 >> 2]); - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE18__construct_at_endINS_13move_iteratorIPS4_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESE_SE_(r4, r56, r59); - HEAP32[r20 >> 2] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r57; - HEAP32[r19] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r56; - r65 = HEAP32[r24 >> 2]; - HEAP32[r17] = r65; - HEAP32[r24 >> 2] = r59; - HEAP32[r18 >> 2] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r59; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev(r4); - r66 = r65; - break; - } - r65 = (((r60 - r57 | 0) / 28 & -1) + 1 | 0) / -2 & -1; - r57 = r56 + (r65 * 28 & -1) | 0; - if ((r56 | 0) == (r59 | 0)) { - r67 = r57; - r68 = r59; - } else { - r64 = r65 + Math.floor(((r59 - 28 + -r60 | 0) >>> 0) / 28) | 0; - r60 = r57; - r57 = r56; - while (1) { - HEAP32[r60 >> 2] = HEAP32[r57 >> 2]; - r69 = r60 + 4 | 0; - r70 = r57 + 4 | 0; - HEAP32[r69 >> 2] = HEAP32[r70 >> 2]; - HEAP32[r69 + 4 >> 2] = HEAP32[r70 + 4 >> 2]; - HEAP32[r69 + 8 >> 2] = HEAP32[r70 + 8 >> 2]; - HEAP32[r69 + 12 >> 2] = HEAP32[r70 + 12 >> 2]; - HEAP32[r69 + 16 >> 2] = HEAP32[r70 + 16 >> 2]; - HEAP16[r69 + 20 >> 1] = HEAP16[r70 + 20 >> 1]; - r70 = r57 + 28 | 0; - if ((r70 | 0) == (r59 | 0)) { - break; - } else { - r60 = r60 + 28 | 0; - r57 = r70; - } - } - r67 = r56 + ((r64 + 1) * 28 & -1) | 0; - r68 = HEAP32[r19]; - } - HEAP32[r17] = r67; - HEAP32[r19] = r68 + (r65 * 28 & -1) | 0; - r66 = r67; - } else { - r66 = r59; - } - } while (0); - if ((r66 | 0) == 0) { - r71 = 0; - } else { - HEAP32[r66 >> 2] = r52; - r59 = (r66 + 4 | 0) >> 2; - HEAP32[r59] = HEAP32[r8]; - HEAP32[r59 + 1] = HEAP32[r8 + 1]; - HEAP32[r59 + 2] = HEAP32[r8 + 2]; - HEAP32[r59 + 3] = HEAP32[r8 + 3]; - HEAP32[r59 + 4] = HEAP32[r8 + 4]; - HEAP32[r59 + 5] = HEAP32[r8 + 5]; - r71 = HEAP32[r17]; - } - HEAP32[r17] = r71 + 28 | 0; - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE(r39, r5); - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev(r5); - } - } while (0); - r55 = r53 + 1 | 0; - r59 = HEAP32[r15]; - r57 = HEAP32[r16]; - if (r55 >>> 0 < r59 - r57 >> 5 >>> 0) { - r53 = r55; - r54 = r57; - } else { - r49 = r59; - r50 = r57; - r2 = 1237; - break L1466; - } - } - } - } while (0); - L1506 : do { - if (r2 == 1237) { - r2 = 0; - if ((r49 | 0) == (r50 | 0)) { - break; - } - r48 = r46 << 1; - r47 = 0; - r54 = r50; - r53 = r49; - while (1) { - r52 = (r47 << 5) + r54 | 0; - do { - if (__ZNK5Avoid5Point6equalsERKS0_d(HEAP32[r41 >> 2] + (r46 * 24 & -1) | 0, r52)) { - _memmove(r26, r52, 24, 4, 0); - HEAP32[r28] = HEAP32[r27]; - HEAP32[r28 + 1] = HEAP32[r27 + 1]; - HEAP32[r28 + 2] = HEAP32[r27 + 2]; - HEAP32[r28 + 3] = HEAP32[r27 + 3]; - HEAP32[r28 + 4] = HEAP32[r27 + 4]; - HEAP32[r28 + 5] = HEAP32[r27 + 5]; - r51 = HEAP32[r42]; - r57 = HEAP32[r44]; - if (r51 >>> 0 < r57 >>> 0) { - if ((r51 | 0) == 0) { - r72 = 0; - } else { - HEAP32[r51 >> 2] = r48; - r59 = (r51 + 4 | 0) >> 2; - HEAP32[r59] = HEAP32[r28]; - HEAP32[r59 + 1] = HEAP32[r28 + 1]; - HEAP32[r59 + 2] = HEAP32[r28 + 2]; - HEAP32[r59 + 3] = HEAP32[r28 + 3]; - HEAP32[r59 + 4] = HEAP32[r28 + 4]; - HEAP32[r59 + 5] = HEAP32[r28 + 5]; - r72 = HEAP32[r42]; - } - HEAP32[r42] = r72 + 28 | 0; - r73 = r53; - r74 = r54; - break; - } - r59 = HEAP32[r43]; - r55 = ((r51 - r59 | 0) / 28 & -1) + 1 | 0; - if (r55 >>> 0 > 153391689) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r75 = HEAP32[r44]; - r76 = HEAP32[r43]; - } else { - r75 = r57; - r76 = r59; - } - r59 = r76; - r57 = (r75 - r59 | 0) / 28 & -1; - if (r57 >>> 0 > 76695843) { - r77 = 153391689; - } else { - r51 = r57 << 1; - r77 = r51 >>> 0 < r55 >>> 0 ? r55 : r51; - } - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_(r7, r77, (HEAP32[r42] - r59 | 0) / 28 & -1, r45); - r59 = HEAP32[r29]; - do { - if ((r59 | 0) == (HEAP32[r30 >> 2] | 0)) { - r51 = HEAP32[r31]; - r55 = r51; - r57 = HEAP32[r32 >> 2]; - if (r51 >>> 0 <= r57 >>> 0) { - r60 = ((r59 - r57 | 0) / 28 & -1) << 1; - r70 = (r60 | 0) == 0 ? 1 : r60; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_(r6, r70, r70 >>> 2, HEAP32[r33 >> 2]); - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE18__construct_at_endINS_13move_iteratorIPS4_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESE_SE_(r6, r51, r59); - HEAP32[r32 >> 2] = HEAP32[r34 >> 2]; - HEAP32[r34 >> 2] = r57; - HEAP32[r31] = HEAP32[r35 >> 2]; - HEAP32[r35 >> 2] = r51; - r70 = HEAP32[r36 >> 2]; - HEAP32[r29] = r70; - HEAP32[r36 >> 2] = r59; - HEAP32[r30 >> 2] = HEAP32[r37 >> 2]; - HEAP32[r37 >> 2] = r59; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev(r6); - r78 = r70; - break; - } - r70 = (((r55 - r57 | 0) / 28 & -1) + 1 | 0) / -2 & -1; - r57 = r51 + (r70 * 28 & -1) | 0; - if ((r51 | 0) == (r59 | 0)) { - r79 = r57; - r80 = r59; - } else { - r60 = r70 + Math.floor(((r59 - 28 + -r55 | 0) >>> 0) / 28) | 0; - r55 = r57; - r57 = r51; - while (1) { - HEAP32[r55 >> 2] = HEAP32[r57 >> 2]; - r69 = r55 + 4 | 0; - r81 = r57 + 4 | 0; - HEAP32[r69 >> 2] = HEAP32[r81 >> 2]; - HEAP32[r69 + 4 >> 2] = HEAP32[r81 + 4 >> 2]; - HEAP32[r69 + 8 >> 2] = HEAP32[r81 + 8 >> 2]; - HEAP32[r69 + 12 >> 2] = HEAP32[r81 + 12 >> 2]; - HEAP32[r69 + 16 >> 2] = HEAP32[r81 + 16 >> 2]; - HEAP16[r69 + 20 >> 1] = HEAP16[r81 + 20 >> 1]; - r81 = r57 + 28 | 0; - if ((r81 | 0) == (r59 | 0)) { - break; - } else { - r55 = r55 + 28 | 0; - r57 = r81; - } - } - r79 = r51 + ((r60 + 1) * 28 & -1) | 0; - r80 = HEAP32[r31]; - } - HEAP32[r29] = r79; - HEAP32[r31] = r80 + (r70 * 28 & -1) | 0; - r78 = r79; - } else { - r78 = r59; - } - } while (0); - if ((r78 | 0) == 0) { - r82 = 0; - } else { - HEAP32[r78 >> 2] = r48; - r59 = (r78 + 4 | 0) >> 2; - HEAP32[r59] = HEAP32[r28]; - HEAP32[r59 + 1] = HEAP32[r28 + 1]; - HEAP32[r59 + 2] = HEAP32[r28 + 2]; - HEAP32[r59 + 3] = HEAP32[r28 + 3]; - HEAP32[r59 + 4] = HEAP32[r28 + 4]; - HEAP32[r59 + 5] = HEAP32[r28 + 5]; - r82 = HEAP32[r29]; - } - HEAP32[r29] = r82 + 28 | 0; - __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE(r39, r7); - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev(r7); - r73 = HEAP32[r15]; - r74 = HEAP32[r16]; - } else { - r73 = r53; - r74 = r54; - } - } while (0); - r52 = r47 + 1 | 0; - if (r52 >>> 0 < r73 - r74 >> 5 >>> 0) { - r47 = r52; - r54 = r74; - r53 = r73; - } else { - break L1506; - } - } - } - } while (0); - r46 = r46 + 1 | 0; - } - __ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED1Ev(r1); - } - r46 = HEAP32[r38 + 4 >> 2]; - if ((r46 | 0) == (r11 | 0)) { - break; - } else { - r38 = r46; - } - } - STACKTOP = r3; - return; -} -__ZN5Avoid34buildConnectorRouteCheckpointCacheEPNS_6RouterE["X"] = 1; -function __ZN5Avoid34clearConnectorRouteCheckpointCacheEPNS_6RouterE(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 20 >> 2]; - r3 = r1 + 16 | 0; - if ((r2 | 0) == (r3 | 0)) { - return; - } else { - r4 = r2; - } - while (1) { - r2 = HEAP32[r4 + 8 >> 2]; - if ((__ZNK5Avoid7ConnRef11routingTypeEv(HEAP32[r2 + 8 >> 2]) | 0) == 2) { - r1 = __ZN5Avoid7ConnRef12displayRouteEv(r2); - HEAP32[r1 + 36 >> 2] = HEAP32[r1 + 32 >> 2]; - } - r1 = HEAP32[r4 + 4 >> 2]; - if ((r1 | 0) == (r3 | 0)) { - break; - } else { - r4 = r1; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC2EjjS7_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L1560 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 28 | 0; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE10push_frontERKS4_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L1560; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev(r1) { - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE10push_frontERKS4_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = r6; - r8 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r8] | 0)) { - r9 = (r1 + 8 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = (r1 + 12 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r12; - if (r10 >>> 0 >= r12 >>> 0) { - r12 = ((r13 - r7 | 0) / 28 & -1) << 1; - r14 = (r12 | 0) == 0 ? 1 : r12; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_(r4, r14, (r14 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE18__construct_at_endINS_13move_iteratorIPS4_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESE_SE_(r4, HEAP32[r5], HEAP32[r9]); - r14 = r4 | 0; - r12 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 4 | 0; - r14 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - r14 = r4 + 8 | 0; - r12 = HEAP32[r9]; - HEAP32[r9] = HEAP32[r14 >> 2]; - HEAP32[r14 >> 2] = r12; - r12 = r4 + 12 | 0; - r14 = HEAP32[r11]; - HEAP32[r11] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r14; - __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - r14 = (((r13 - r10 | 0) / 28 & -1) + 1 | 0) / 2 & -1; - r13 = r10 + (r14 * 28 & -1) | 0; - if ((r6 | 0) == (r10 | 0)) { - r16 = r13; - r17 = r6; - } else { - r12 = r14 - 1 - Math.floor(((r10 - 28 + -r7 | 0) >>> 0) / 28) | 0; - r11 = r13; - r13 = r10; - while (1) { - r18 = r11 - 28 | 0; - r19 = r13 - 28 | 0; - HEAP32[r18 >> 2] = HEAP32[r19 >> 2]; - r20 = r11 - 28 + 4 | 0; - r21 = r13 - 28 + 4 | 0; - HEAP32[r20 >> 2] = HEAP32[r21 >> 2]; - HEAP32[r20 + 4 >> 2] = HEAP32[r21 + 4 >> 2]; - HEAP32[r20 + 8 >> 2] = HEAP32[r21 + 8 >> 2]; - HEAP32[r20 + 12 >> 2] = HEAP32[r21 + 12 >> 2]; - HEAP32[r20 + 16 >> 2] = HEAP32[r21 + 16 >> 2]; - HEAP16[r20 + 20 >> 1] = HEAP16[r21 + 20 >> 1]; - if ((r6 | 0) == (r19 | 0)) { - break; - } else { - r11 = r18; - r13 = r19; - } - } - r16 = r10 + (r12 * 28 & -1) | 0; - r17 = HEAP32[r9]; - } - HEAP32[r5] = r16; - HEAP32[r9] = r17 + (r14 * 28 & -1) | 0; - r15 = r16; - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 28 | 0; - if ((r6 | 0) == 0) { - r22 = r15; - r23 = r22 - 28 | 0; - HEAP32[r5] = r23; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r6 = (r15 - 28 + 4 | 0) >> 2; - r15 = (r2 + 4 | 0) >> 2; - HEAP32[r6] = HEAP32[r15]; - HEAP32[r6 + 1] = HEAP32[r15 + 1]; - HEAP32[r6 + 2] = HEAP32[r15 + 2]; - HEAP32[r6 + 3] = HEAP32[r15 + 3]; - HEAP32[r6 + 4] = HEAP32[r15 + 4]; - HEAP32[r6 + 5] = HEAP32[r15 + 5]; - r22 = HEAP32[r5]; - r23 = r22 - 28 | 0; - HEAP32[r5] = r23; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE10push_frontERKS4_["X"] = 1; -function __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE18__construct_at_endINS_13move_iteratorIPS4_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESE_SE_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r6 = (r2 + 4 | 0) >> 2; - r7 = (r1 + 4 | 0) >> 2; - HEAP32[r6] = HEAP32[r7]; - HEAP32[r6 + 1] = HEAP32[r7 + 1]; - HEAP32[r6 + 2] = HEAP32[r7 + 2]; - HEAP32[r6 + 3] = HEAP32[r7 + 3]; - HEAP32[r6 + 4] = HEAP32[r7 + 4]; - HEAP32[r6 + 5] = HEAP32[r7 + 5]; - r5 = HEAP32[r4]; - } - r7 = r5 + 28 | 0; - HEAP32[r4] = r7; - r6 = r1 + 28 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r1 = r6; - r2 = r7; - } - } - return; -} -function __ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC2EjjS7_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 * 28 & -1); - } - HEAP32[r1 >> 2] = r6; - r4 = r6 + (r3 * 28 & -1) | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = r6 + (r2 * 28 & -1) | 0; - return; -} -function __ZN5Avoid9IncSolverC1ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE(r1, r2, r3) { - __ZN5Avoid9IncSolverC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE(r1, r2, r3); - return; -} -function __ZNK5Avoid8Variable8positionEv(r1, r2, r3, r4) { - return (r4 * r3 + r2) / r1; -} -function __ZNK5Avoid6Blocks4sizeEv(r1, r2) { - return r2 - r1 >> 2; -} -function __ZNK5Avoid6Blocks2atEj(r1, r2) { - return HEAP32[r1 + (r2 << 2) >> 2]; -} -function __ZN5Avoid9IncSolverC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58; - r4 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - r5 = r4; - r6 = r4 + 20; - r7 = r4 + 40; - r8 = r4 + 60; - r9 = (r1 + 8 | 0) >> 2; - r10 = r3 + 4 | 0; - r11 = (r3 | 0) >> 2; - r12 = HEAP32[r10 >> 2] - HEAP32[r11] >> 2; - HEAP32[r9] = r12; - HEAP32[r1 + 12 >> 2] = r3; - r13 = r1 + 16 | 0; - r14 = (r2 | 0) >> 2; - r15 = HEAP32[r2 + 4 >> 2] - HEAP32[r14] >> 2; - HEAP32[r13 >> 2] = r15; - HEAP32[r1 + 20 >> 2] = r2; - r16 = r1 + 24 | 0; - r17 = r16 | 0; - r18 = r1 + 28 | 0; - r19 = r16 >> 2; - HEAP32[r19] = 0; - HEAP32[r19 + 1] = 0; - HEAP32[r19 + 2] = 0; - HEAP32[r19 + 3] = 0; - HEAP32[r19 + 4] = 0; - HEAP32[r19 + 5] = 0; - if ((r15 | 0) == 0) { - r20 = r12; - } else { - r12 = 0; - while (1) { - r15 = HEAP32[HEAP32[r14] + (r12 << 2) >> 2]; - HEAP32[r15 + 56 >> 2] = HEAP32[r15 + 52 >> 2]; - r15 = HEAP32[HEAP32[r14] + (r12 << 2) >> 2]; - HEAP32[r15 + 68 >> 2] = HEAP32[r15 + 64 >> 2]; - r15 = r12 + 1 | 0; - if (r15 >>> 0 < HEAP32[r13 >> 2] >>> 0) { - r12 = r15; - } else { - break; - } - } - r20 = HEAP32[r9]; - } - L1611 : do { - if ((r20 | 0) != 0) { - r12 = (r8 + 8 | 0) >> 2; - r13 = r8 + 12 | 0; - r14 = (r8 + 4 | 0) >> 2; - r15 = r8 | 0; - r19 = r8 + 16 | 0; - r21 = r7 | 0; - r22 = r7 + 4 | 0; - r23 = r7 + 8 | 0; - r24 = r7 + 12 | 0; - r25 = (r6 + 8 | 0) >> 2; - r26 = r6 + 12 | 0; - r27 = (r6 + 4 | 0) >> 2; - r28 = r6 | 0; - r29 = r6 + 16 | 0; - r30 = r5 | 0; - r31 = r5 + 4 | 0; - r32 = r5 + 8 | 0; - r33 = r5 + 12 | 0; - r34 = 0; - while (1) { - r35 = HEAP32[HEAP32[r11] + (r34 << 2) >> 2]; - r36 = HEAP32[r35 >> 2]; - r37 = r36 + 64 | 0; - r38 = (r36 + 68 | 0) >> 2; - r39 = HEAP32[r38]; - r40 = r36 + 72 | 0; - r36 = r40 | 0; - r41 = HEAP32[r36 >> 2]; - if (r39 >>> 0 < r41 >>> 0) { - if ((r39 | 0) == 0) { - r42 = 0; - } else { - HEAP32[r39 >> 2] = r35; - r42 = HEAP32[r38]; - } - HEAP32[r38] = r42 + 4 | 0; - } else { - r43 = r37 | 0; - r44 = HEAP32[r43 >> 2]; - r45 = r39 - r44 + 4 >> 2 | 0; - if (r45 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r46 = HEAP32[r36 >> 2]; - r47 = HEAP32[r43 >> 2]; - } else { - r46 = r41; - r47 = r44; - } - r44 = r47; - r41 = r46 - r44 | 0; - if (r41 >> 2 >>> 0 > 536870910) { - r48 = 1073741823; - } else { - r43 = r41 >> 1; - r48 = r43 >>> 0 < r45 >>> 0 ? r45 : r43; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r6, r48, HEAP32[r38] - r44 >> 2, r40); - r40 = HEAP32[r25]; - do { - if ((r40 | 0) == (HEAP32[r26 >> 2] | 0)) { - r44 = HEAP32[r27]; - r38 = HEAP32[r28 >> 2]; - if (r44 >>> 0 > r38 >>> 0) { - r43 = r44; - r45 = (r43 - r38 + 4 >> 2 | 0) / -2 & -1; - r41 = (r45 << 2) + r44 | 0; - r36 = r40 - r43 | 0; - _memmove(r41, r44, r36, 4, 0); - r43 = ((r36 >> 2) + r45 << 2) + r44 | 0; - HEAP32[r25] = r43; - HEAP32[r27] = r41; - r49 = r43; - break; - } - r43 = r40 - r38 >> 1; - r41 = (r43 | 0) == 0 ? 1 : r43; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r5, r41, r41 >>> 2, HEAP32[r29 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r5, r44, r40); - HEAP32[r28 >> 2] = HEAP32[r30 >> 2]; - HEAP32[r30 >> 2] = r38; - HEAP32[r27] = HEAP32[r31 >> 2]; - HEAP32[r31 >> 2] = r44; - r44 = HEAP32[r32 >> 2]; - HEAP32[r25] = r44; - HEAP32[r32 >> 2] = r40; - HEAP32[r26 >> 2] = HEAP32[r33 >> 2]; - HEAP32[r33 >> 2] = r40; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r5); - r49 = r44; - } else { - r49 = r40; - } - } while (0); - if ((r49 | 0) == 0) { - r50 = 0; - } else { - HEAP32[r49 >> 2] = r35; - r50 = r49; - } - HEAP32[r25] = r50 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r37, r6); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r6); - } - r40 = HEAP32[r35 + 4 >> 2]; - r44 = r40 + 52 | 0; - r38 = (r40 + 56 | 0) >> 2; - r41 = HEAP32[r38]; - r43 = r40 + 60 | 0; - r40 = r43 | 0; - r45 = HEAP32[r40 >> 2]; - if (r41 >>> 0 < r45 >>> 0) { - if ((r41 | 0) == 0) { - r51 = 0; - } else { - HEAP32[r41 >> 2] = r35; - r51 = HEAP32[r38]; - } - HEAP32[r38] = r51 + 4 | 0; - } else { - r36 = r44 | 0; - r39 = HEAP32[r36 >> 2]; - r52 = r41 - r39 + 4 >> 2 | 0; - if (r52 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r53 = HEAP32[r40 >> 2]; - r54 = HEAP32[r36 >> 2]; - } else { - r53 = r45; - r54 = r39; - } - r39 = r54; - r45 = r53 - r39 | 0; - if (r45 >> 2 >>> 0 > 536870910) { - r55 = 1073741823; - } else { - r36 = r45 >> 1; - r55 = r36 >>> 0 < r52 >>> 0 ? r52 : r36; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r8, r55, HEAP32[r38] - r39 >> 2, r43); - r43 = HEAP32[r12]; - do { - if ((r43 | 0) == (HEAP32[r13 >> 2] | 0)) { - r39 = HEAP32[r14]; - r38 = HEAP32[r15 >> 2]; - if (r39 >>> 0 > r38 >>> 0) { - r36 = r39; - r52 = (r36 - r38 + 4 >> 2 | 0) / -2 & -1; - r45 = (r52 << 2) + r39 | 0; - r40 = r43 - r36 | 0; - _memmove(r45, r39, r40, 4, 0); - r36 = ((r40 >> 2) + r52 << 2) + r39 | 0; - HEAP32[r12] = r36; - HEAP32[r14] = r45; - r56 = r36; - break; - } - r36 = r43 - r38 >> 1; - r45 = (r36 | 0) == 0 ? 1 : r36; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r7, r45, r45 >>> 2, HEAP32[r19 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r7, r39, r43); - HEAP32[r15 >> 2] = HEAP32[r21 >> 2]; - HEAP32[r21 >> 2] = r38; - HEAP32[r14] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r39; - r39 = HEAP32[r23 >> 2]; - HEAP32[r12] = r39; - HEAP32[r23 >> 2] = r43; - HEAP32[r13 >> 2] = HEAP32[r24 >> 2]; - HEAP32[r24 >> 2] = r43; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r7); - r56 = r39; - } else { - r56 = r43; - } - } while (0); - if ((r56 | 0) == 0) { - r57 = 0; - } else { - HEAP32[r56 >> 2] = r35; - r57 = r56; - } - HEAP32[r12] = r57 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r44, r8); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r8); - } - r43 = r34 + 1 | 0; - if (r43 >>> 0 < HEAP32[r9] >>> 0) { - r34 = r43; - } else { - break L1611; - } - } - } - } while (0); - r9 = __Znwj(24); - __ZN5Avoid6BlocksC1ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r9, r2); - HEAP32[r1 + 4 >> 2] = r9; - if ((r16 | 0) != (r3 | 0)) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r16, HEAP32[r11], HEAP32[r10 >> 2]); - } - r10 = HEAP32[r17 >> 2]; - if ((r10 | 0) == (HEAP32[r18 >> 2] | 0)) { - STACKTOP = r4; - return; - } else { - r58 = r10; - } - while (1) { - HEAP8[HEAP32[r58 >> 2] + 28 | 0] = 0; - r10 = r58 + 4 | 0; - if ((r10 | 0) == (HEAP32[r18 >> 2] | 0)) { - break; - } else { - r58 = r10; - } - } - STACKTOP = r4; - return; -} -__ZN5Avoid9IncSolverC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE["X"] = 1; -function __ZN5Avoid6BlocksC1ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r1, r2) { - __ZN5Avoid6BlocksC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r1, r2); - return; -} -function __ZN5Avoid9IncSolverD1Ev(r1) { - __ZN5Avoid9IncSolverD2Ev(r1); - return; -} -function __ZN5Avoid9IncSolverD2Ev(r1) { - var r2; - r2 = HEAP32[r1 + 4 >> 2]; - if ((r2 | 0) != 0) { - __ZN5Avoid6BlocksD1Ev(r2); - __ZdlPv(r2); - } - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1 + 36 | 0); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1 + 24 | 0); - return; -} -function __ZN5Avoid6BlocksD1Ev(r1) { - __ZN5Avoid6BlocksD2Ev(r1); - return; -} -function __ZN5Avoid9IncSolver10copyResultEv(r1) { - var r2, r3, r4, r5, r6, r7, r8; - r2 = r1 + 20 | 0; - r1 = HEAP32[r2 >> 2]; - r3 = HEAP32[r1 >> 2]; - if ((r3 | 0) == (HEAP32[r1 + 4 >> 2] | 0)) { - return; - } else { - r4 = r3; - } - while (1) { - r3 = HEAP32[r4 >> 2]; - r1 = r3 + 28 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = r3 + 36 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = HEAP32[r3 + 44 >> 2]; - r7 = r1 + 4 | 0; - r8 = r1 + 12 | 0; - r1 = __ZNK5Avoid8Variable8positionEv(r5, r6, (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - r8 = r3 + 12 | 0; - HEAPF64[tempDoublePtr >> 3] = r1, HEAP32[r8 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r8 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - if (!(!isNaN(r1) & !isNaN(0))) { - ___assert_func(5244156, 113, 5256220, 5250332); - } - r1 = r4 + 4 | 0; - if ((r1 | 0) == (HEAP32[HEAP32[r2 >> 2] + 4 >> 2] | 0)) { - break; - } else { - r4 = r1; - } - } - return; -} -function __ZN5Avoid9IncSolver5solveEv(r1) { - var r2, r3, r4, r5; - __ZN5Avoid9IncSolver7satisfyEv(r1); - r2 = r1 + 4 | 0; - r3 = HEAP32[r2 >> 2]; - r4 = __ZN5Avoid6Blocks4costEv(HEAP32[r3 + 4 >> 2], HEAP32[r3 + 8 >> 2]); - if (Math.abs(1.7976931348623157e+308 - r4) > 1e-4) { - r5 = r4; - } else { - __ZN5Avoid9IncSolver10copyResultEv(r1); - return; - } - while (1) { - __ZN5Avoid9IncSolver7satisfyEv(r1); - r4 = HEAP32[r2 >> 2]; - r3 = __ZN5Avoid6Blocks4costEv(HEAP32[r4 + 4 >> 2], HEAP32[r4 + 8 >> 2]); - if (Math.abs(r5 - r3) > 1e-4) { - r5 = r3; - } else { - break; - } - } - __ZN5Avoid9IncSolver10copyResultEv(r1); - return; -} -function __ZN5Avoid6Blocks4costEv(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = r2 - r1 >> 2; - if ((r3 | 0) == 0) { - r4 = 0; - return r4; - } else { - r5 = 0; - r6 = 0; - } - while (1) { - r2 = HEAP32[HEAP32[r1 + (r6 << 2) >> 2] >> 2]; - r7 = r5 + __ZN5Avoid5Block4costEv(HEAP32[r2 >> 2], HEAP32[r2 + 4 >> 2]); - r2 = r6 + 1 | 0; - if ((r2 | 0) == (r3 | 0)) { - r4 = r7; - break; - } else { - r5 = r7; - r6 = r2; - } - } - return r4; -} -function __ZN5Avoid9IncSolver7satisfyEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r5 >> 2; - r7 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r8 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - STACKTOP = STACKTOP + 20 | 0; - STACKTOP = STACKTOP + 20 | 0; - r9 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r10 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r11 = STACKTOP, r12 = r11 >> 2; - STACKTOP = STACKTOP + 4 | 0; - r13 = STACKTOP, r14 = r13 >> 2; - STACKTOP = STACKTOP + 4 | 0; - r15 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r15 = STACKTOP, r16 = r15 >> 2; - STACKTOP = STACKTOP + 136 | 0; - r17 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - __ZN5Avoid9IncSolver11splitBlocksEv(r1); - r18 = r1 + 24 | 0; - r19 = __ZN5Avoid9IncSolver12mostViolatedERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEE(r18); - L1707 : do { - if ((r19 | 0) == 0) { - r20 = r1 + 4 | 0; - } else { - r21 = (r1 + 28 | 0) >> 2; - r22 = r1 + 32 | 0; - r23 = (r22 | 0) >> 2; - r24 = r1 + 4 | 0, r25 = r24 >> 2; - r26 = r22; - r22 = (r18 | 0) >> 2; - r27 = (r8 + 8 | 0) >> 2; - r28 = r8 + 12 | 0; - r29 = (r8 + 4 | 0) >> 2; - r30 = r8 | 0; - r31 = r8 + 16 | 0; - r32 = r7 | 0; - r33 = r7 + 4 | 0; - r34 = r7 + 8 | 0; - r35 = r7 + 12 | 0; - r36 = (r10 + 8 | 0) >> 2; - r37 = r10 + 12 | 0; - r38 = (r10 + 4 | 0) >> 2; - r39 = r10 | 0; - r40 = r10 + 16 | 0; - r41 = r9 | 0; - r42 = r9 + 4 | 0; - r43 = r9 + 8 | 0; - r44 = r9 + 12 | 0; - r45 = r19; - L1709 : while (1) { - if ((HEAP8[r45 + 29 | 0] & 1) << 24 >> 24 == 0) { - if (__ZNK5Avoid10Constraint5slackEv(r45) >= -1e-10) { - r20 = r24; - break L1707; - } - r46 = HEAP8[r45 + 28 | 0]; - if ((r46 & 1) << 24 >> 24 == 0) { - r47 = r46; - } else { - r20 = r24; - break L1707; - } - } else { - r47 = HEAP8[r45 + 28 | 0]; - } - r46 = r45 + 28 | 0; - if ((r47 & 1) << 24 >> 24 != 0) { - ___assert_func(5244156, 271, 5256144, 5248504); - } - r48 = HEAP32[r45 >> 2]; - r49 = HEAP32[r48 + 44 >> 2]; - HEAP32[r12] = r49; - r50 = HEAP32[r45 + 4 >> 2]; - r51 = HEAP32[r50 + 44 >> 2]; - HEAP32[r14] = r51; - do { - if ((r49 | 0) == (r51 | 0)) { - if (__ZNK5Avoid5Block27isActiveDirectedPathBetweenEPKNS_8VariableES3_(r49, r50, r48)) { - HEAP8[r45 + 30 | 0] = 1; - break; - } - r52 = __ZN5Avoid5Block12splitBetweenEPNS_8VariableES2_RPS0_S4_(r49, r48, r50, r11, r13); - if ((r52 | 0) == 0) { - HEAP8[r45 + 30 | 0] = 1; - break; - } - if ((HEAP8[r52 + 28 | 0] & 1) << 24 >> 24 != 0) { - ___assert_func(5244156, 293, 5256144, 5247272); - } - r53 = HEAP32[r21]; - r54 = HEAP32[r23]; - if (r53 >>> 0 < r54 >>> 0) { - if ((r53 | 0) == 0) { - r55 = 0; - } else { - HEAP32[r53 >> 2] = r52; - r55 = HEAP32[r21]; - } - HEAP32[r21] = r55 + 4 | 0; - } else { - r56 = HEAP32[r22]; - r57 = r53 - r56 + 4 >> 2 | 0; - if (r57 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - r58 = HEAP32[r23]; - r59 = HEAP32[r22]; - } else { - r58 = r54; - r59 = r56; - } - r56 = r59; - r54 = r58 - r56 | 0; - if (r54 >> 2 >>> 0 > 536870910) { - r60 = 1073741823; - } else { - r53 = r54 >> 1; - r60 = r53 >>> 0 < r57 >>> 0 ? r57 : r53; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r10, r60, HEAP32[r21] - r56 >> 2, r26); - r56 = HEAP32[r36]; - do { - if ((r56 | 0) == (HEAP32[r37 >> 2] | 0)) { - r53 = HEAP32[r38]; - r57 = HEAP32[r39 >> 2]; - if (r53 >>> 0 > r57 >>> 0) { - r54 = r53; - r61 = (r54 - r57 + 4 >> 2 | 0) / -2 & -1; - r62 = (r61 << 2) + r53 | 0; - r63 = r56 - r54 | 0; - _memmove(r62, r53, r63, 4, 0); - r54 = ((r63 >> 2) + r61 << 2) + r53 | 0; - HEAP32[r36] = r54; - HEAP32[r38] = r62; - r64 = r54; - break; - } - r54 = r56 - r57 >> 1; - r62 = (r54 | 0) == 0 ? 1 : r54; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r9, r62, r62 >>> 2, HEAP32[r40 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r9, r53, r56); - HEAP32[r39 >> 2] = HEAP32[r41 >> 2]; - HEAP32[r41 >> 2] = r57; - HEAP32[r38] = HEAP32[r42 >> 2]; - HEAP32[r42 >> 2] = r53; - r53 = HEAP32[r43 >> 2]; - HEAP32[r36] = r53; - HEAP32[r43 >> 2] = r56; - HEAP32[r37 >> 2] = HEAP32[r44 >> 2]; - HEAP32[r44 >> 2] = r56; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r9); - r64 = r53; - } else { - r64 = r56; - } - } while (0); - if ((r64 | 0) == 0) { - r65 = 0; - } else { - HEAP32[r64 >> 2] = r52; - r65 = r64; - } - HEAP32[r36] = r65 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r18, r10); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r10); - } - if (__ZNK5Avoid10Constraint5slackEv(r45) < 0) { - __ZN5Avoid6Blocks6insertEPNS_5BlockE(HEAP32[r25], __ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintE(HEAP32[r12], HEAP32[r14], r45)); - r2 = 1488; - break; - } - if ((HEAP8[r46] & 1) << 24 >> 24 != 0) { - ___assert_func(5244156, 313, 5256144, 5248504); - } - r56 = HEAP32[r21]; - r53 = HEAP32[r23]; - if (r56 >>> 0 < r53 >>> 0) { - if ((r56 | 0) == 0) { - r66 = 0; - } else { - HEAP32[r56 >> 2] = r45; - r66 = HEAP32[r21]; - } - HEAP32[r21] = r66 + 4 | 0; - } else { - r57 = HEAP32[r22]; - r62 = r56 - r57 >> 2; - r56 = r62 + 1 | 0; - if (r56 >>> 0 > 1073741823) { - break L1709; - } - r54 = r53 - r57 | 0; - if (r54 >> 2 >>> 0 > 536870910) { - r67 = 1073741823; - } else { - r57 = r54 >> 1; - r67 = r57 >>> 0 < r56 >>> 0 ? r56 : r57; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r8, r67, r62, r26); - r62 = HEAP32[r27]; - do { - if ((r62 | 0) == (HEAP32[r28 >> 2] | 0)) { - r57 = HEAP32[r29]; - r56 = HEAP32[r30 >> 2]; - if (r57 >>> 0 > r56 >>> 0) { - r54 = r57; - r53 = (r54 - r56 + 4 >> 2 | 0) / -2 & -1; - r61 = (r53 << 2) + r57 | 0; - r63 = r62 - r54 | 0; - _memmove(r61, r57, r63, 4, 0); - r54 = ((r63 >> 2) + r53 << 2) + r57 | 0; - HEAP32[r27] = r54; - HEAP32[r29] = r61; - r68 = r54; - break; - } - r54 = r62 - r56 >> 1; - r61 = (r54 | 0) == 0 ? 1 : r54; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r7, r61, r61 >>> 2, HEAP32[r31 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r7, r57, r62); - HEAP32[r30 >> 2] = HEAP32[r32 >> 2]; - HEAP32[r32 >> 2] = r56; - HEAP32[r29] = HEAP32[r33 >> 2]; - HEAP32[r33 >> 2] = r57; - r57 = HEAP32[r34 >> 2]; - HEAP32[r27] = r57; - HEAP32[r34 >> 2] = r62; - HEAP32[r28 >> 2] = HEAP32[r35 >> 2]; - HEAP32[r35 >> 2] = r62; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r7); - r68 = r57; - } else { - r68 = r62; - } - } while (0); - if ((r68 | 0) == 0) { - r69 = 0; - } else { - HEAP32[r68 >> 2] = r45; - r69 = r68; - } - HEAP32[r27] = r69 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r18, r8); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r8); - } - __ZN5Avoid6Blocks6insertEPNS_5BlockE(HEAP32[r25], HEAP32[r12]); - __ZN5Avoid6Blocks6insertEPNS_5BlockE(HEAP32[r25], HEAP32[r14]); - r2 = 1488; - break; - } else { - __ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintE(r49, r51, r45); - r2 = 1488; - break; - } - } while (0); - if (r2 == 1488) { - r2 = 0; - __ZN5Avoid6Blocks7cleanupEv(HEAP32[r25]); - } - r51 = __ZN5Avoid9IncSolver12mostViolatedERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEE(r18); - if ((r51 | 0) == 0) { - r20 = r24; - break L1707; - } else { - r45 = r51; - } - } - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - } while (0); - __ZN5Avoid6Blocks7cleanupEv(HEAP32[r20 >> 2]); - r20 = HEAP32[r1 + 8 >> 2]; - if ((r20 | 0) == 0) { - __ZN5Avoid9IncSolver10copyResultEv(r1); - STACKTOP = r3; - return; - } - r18 = HEAP32[HEAP32[r1 + 12 >> 2] >> 2]; - r14 = 0; - r12 = 0; - while (1) { - r70 = HEAP32[r18 + (r12 << 2) >> 2]; - if (__ZNK5Avoid10Constraint5slackEv(r70) < -1e-10) { - break; - } - r8 = r12 + 1 | 0; - if (r8 >>> 0 < r20 >>> 0) { - r14 = (HEAP8[r70 + 28 | 0] & 1) << 24 >> 24 == 0 ? r14 : 1; - r12 = r8; - } else { - r2 = 1519; - break; - } - } - if (r2 == 1519) { - __ZN5Avoid9IncSolver10copyResultEv(r1); - STACKTOP = r3; - return; - } - r3 = r15 | 0; - r1 = r15 + 4 | 0; - HEAP32[r3 >> 2] = 5272872; - HEAP32[r16 + 14] = 5272892; - r2 = r15 + 56 | 0; - __ZNSt3__18ios_base4initEPv(r2, r1); - HEAP32[r16 + 32] = 0; - __ZNKSt3__18ios_base6getlocEv(r4, r2); - r2 = HEAP32[r4 >> 2]; - r4 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273668); - r12 = FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 28 >> 2]](r4, 32); - __ZNSt3__16localeD1Ev(r2); - HEAP8[r15 + 132 | 0] = r12; - HEAP32[r3 >> 2] = 5266080; - HEAP32[r16 + 14] = 5266100; - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5266264; - r3 = (r15 + 36 | 0) >> 2; - HEAP32[r3] = 0; - HEAP32[r3 + 1] = 0; - HEAP32[r3 + 2] = 0; - HEAP32[r3 + 3] = 0; - HEAP32[r16 + 13] = 16; - HEAP32[r6] = 0; - HEAP32[r6 + 1] = 0; - HEAP32[r6 + 2] = 0; - __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE(r1, r5); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r5); - __ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_10ConstraintE(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(r15, 5246272), r70); - r70 = ___cxa_allocate_exception(4); - __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv(r17, r1); - if ((HEAP8[r17] & 1) << 24 >> 24 == 0) { - r71 = r17 + 1 | 0; - } else { - r71 = HEAP32[r17 + 8 >> 2]; - } - HEAP32[r70 >> 2] = r71; - ___cxa_throw(r70, 5271256, 0); -} -__ZN5Avoid9IncSolver7satisfyEv["X"] = 1; -function __ZN5Avoid9IncSolver12mostViolatedERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEE(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20; - r2 = 0; - r3 = r1 + 4 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r1 | 0; - r6 = HEAP32[r5 >> 2]; - if ((r6 | 0) == (r4 | 0)) { - r7 = 0; - return r7; - } else { - r8 = r6; - r9 = r4; - r10 = 0; - r11 = 1.7976931348623157e+308; - } - while (1) { - r12 = HEAP32[r8 >> 2]; - r13 = __ZNK5Avoid10Constraint5slackEv(r12); - r14 = HEAP8[r12 + 29 | 0] & 1; - if (r14 << 24 >> 24 != 0 | r13 < r11) { - if (r14 << 24 >> 24 == 0) { - r15 = r13; - r16 = r12; - r17 = r8; - } else { - r18 = r13; - r19 = r12; - r20 = r8; - break; - } - } else { - r15 = r11; - r16 = r10; - r17 = r9; - } - r12 = r8 + 4 | 0; - if ((r12 | 0) == (r4 | 0)) { - r18 = r15; - r19 = r16; - r20 = r17; - break; - } else { - r8 = r12; - r9 = r17; - r10 = r16; - r11 = r15; - } - } - if ((r20 | 0) == (r4 | 0)) { - r7 = r19; - return r7; - } - do { - if (r18 < -1e-10) { - if ((HEAP8[r19 + 28 | 0] & 1) << 24 >> 24 == 0) { - break; - } else { - r2 = 1527; - break; - } - } else { - r2 = 1527; - } - } while (0); - do { - if (r2 == 1527) { - if ((HEAP8[r19 + 29 | 0] & 1) << 24 >> 24 == 0) { - r7 = r19; - } else { - break; - } - return r7; - } - } while (0); - HEAP32[r20 >> 2] = HEAP32[r6 + ((r4 - r6 >> 2) - 1 << 2) >> 2]; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6resizeEj(r1, (HEAP32[r3 >> 2] - HEAP32[r5 >> 2] >> 2) - 1 | 0); - r7 = r19; - return r7; -} -__ZN5Avoid9IncSolver12mostViolatedERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEE["X"] = 1; -function __ZNK5Avoid10Constraint5slackEv(r1) { - var r2, r3, r4, r5, r6, r7, r8; - if ((HEAP8[r1 + 30 | 0] & 1) << 24 >> 24 != 0) { - r2 = 1.7976931348623157e+308; - return r2; - } - r3 = HEAP32[r1 + 4 >> 2]; - r4 = r3 + 28 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r3 + 36 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = HEAP32[r3 + 44 >> 2]; - r3 = r4 + 4 | 0; - r7 = r4 + 12 | 0; - r4 = r1 + 8 | 0; - r8 = r5 * __ZNK5Avoid8Variable8positionEv(r5, r6, (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = HEAP32[r1 >> 2]; - r1 = r4 + 28 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = r4 + 36 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r1 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r1 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r1 = HEAP32[r4 + 44 >> 2]; - r4 = r1 + 4 | 0; - r6 = r1 + 12 | 0; - r2 = r8 - r7 * __ZNK5Avoid8Variable8positionEv(r7, r3, (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); - return r2; -} -function __ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = HEAP32[r3 + 4 >> 2]; - r5 = r4 + 36 | 0; - r6 = HEAP32[r3 >> 2]; - r7 = r6 + 36 | 0; - r8 = r3 + 8 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r8 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r8 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r8 = HEAP32[r6 + 44 >> 2]; - r6 = HEAP32[r4 + 44 >> 2]; - r4 = HEAP32[r8 >> 2]; - r7 = HEAP32[r6 >> 2]; - if ((HEAP32[r4 + 4 >> 2] - HEAP32[r4 >> 2] | 0) >>> 0 < (HEAP32[r7 + 4 >> 2] - HEAP32[r7 >> 2] | 0) >>> 0) { - __ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintEd(r6, r8, r3, r9); - r7 = r2 + 44 | 0; - r4 = HEAP8[r7]; - r5 = r4 & 1; - r10 = r5 << 24 >> 24 != 0; - r11 = r10 ? r1 : r2; - return r11; - } else { - __ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintEd(r8, r6, r3, -r9); - r7 = r2 + 44 | 0; - r4 = HEAP8[r7]; - r5 = r4 & 1; - r10 = r5 << 24 >> 24 != 0; - r11 = r10 ? r1 : r2; - return r11; - } -} -function __ZNK5Avoid5Block27isActiveDirectedPathBetweenEPKNS_8VariableES3_(r1, r2, r3) { - var r4, r5, r6, r7, r8; - r4 = 0; - if ((r2 | 0) == (r3 | 0)) { - r5 = 1; - return r5; - } - r6 = HEAP32[r2 + 64 >> 2]; - r7 = HEAP32[r2 + 68 >> 2]; - if ((r6 | 0) == (r7 | 0)) { - r5 = 0; - return r5; - } else { - r8 = r6; - } - while (1) { - r6 = HEAP32[r8 >> 2]; - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r6, 0)) { - if (__ZNK5Avoid5Block27isActiveDirectedPathBetweenEPKNS_8VariableES3_(r1, HEAP32[r6 + 4 >> 2], r3)) { - r5 = 1; - r4 = 1553; - break; - } - } - r6 = r8 + 4 | 0; - if ((r6 | 0) == (r7 | 0)) { - r5 = 0; - r4 = 1551; - break; - } else { - r8 = r6; - } - } - if (r4 == 1551) { - return r5; - } else if (r4 == 1553) { - return r5; - } -} -function __ZN5Avoid5Block12splitBetweenEPNS_8VariableES2_RPS0_S4_(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZN5Avoid5Block16findMinLMBetweenEPNS_8VariableES2_(r1, r2, r3); - if ((r6 | 0) == 0) { - return r6; - } - __ZN5Avoid5Block5splitERPS0_S2_PNS_10ConstraintE(r1, r4, r5, r6); - HEAP8[r1 + 44 | 0] = 1; - return r6; -} -function __ZN5Avoid22UnsatisfiableExceptionC1ERKS0_(r1, r2) { - __ZN5Avoid22UnsatisfiableExceptionC2ERKS0_(r1, r2); - return; -} -function __ZN5Avoid22UnsatisfiableExceptionD1Ev(r1) { - __ZN5Avoid22UnsatisfiableExceptionD2Ev(r1); - return; -} -function __ZN5Avoid6Blocks7cleanupEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r2 = 0; - r3 = r1 + 4 | 0; - r4 = r3 | 0; - r5 = HEAP32[r1 + 8 >> 2] - HEAP32[r4 >> 2] >> 2; - if ((r5 | 0) == 0) { - r6 = 0; - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE6resizeEj(r3, r6); - return; - } else { - r7 = 0; - r8 = 0; - } - L1866 : while (1) { - r1 = r7; - while (1) { - r9 = HEAP32[r4 >> 2]; - r10 = HEAP32[r9 + (r1 << 2) >> 2]; - if ((HEAP8[r10 + 44 | 0] & 1) << 24 >> 24 == 0) { - break; - } - if ((r10 | 0) != 0) { - __ZN5Avoid5BlockD1Ev(r10); - __ZdlPv(r10); - } - r11 = r1 + 1 | 0; - if (r11 >>> 0 < r5 >>> 0) { - r1 = r11; - } else { - r6 = r8; - r2 = 1574; - break L1866; - } - } - if (r1 >>> 0 > r8 >>> 0) { - HEAP32[r9 + (r8 << 2) >> 2] = r10; - } - r11 = r8 + 1 | 0; - r12 = r1 + 1 | 0; - if (r12 >>> 0 < r5 >>> 0) { - r7 = r12; - r8 = r11; - } else { - r6 = r11; - r2 = 1572; - break; - } - } - if (r2 == 1574) { - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE6resizeEj(r3, r6); - return; - } else if (r2 == 1572) { - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE6resizeEj(r3, r6); - return; - } -} -function __ZN5Avoid9IncSolver11splitBlocksEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r4 = r3; - r5 = r3 + 20; - r6 = r3 + 40; - r7 = r3 + 44; - __ZN5Avoid9IncSolver10moveBlocksEv(r1); - r8 = (r1 | 0) >> 2; - HEAP32[r8] = 0; - r9 = (r1 + 4 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = HEAP32[r10 + 4 >> 2]; - r12 = __ZNK5Avoid6Blocks4sizeEv(r11, HEAP32[r10 + 8 >> 2]); - if ((r12 | 0) == 0) { - r13 = r10; - __ZN5Avoid6Blocks7cleanupEv(r13); - STACKTOP = r3; - return; - } - r10 = r1 + 24 | 0; - r14 = (r1 + 28 | 0) >> 2; - r15 = r1 + 32 | 0; - r1 = r15 | 0; - r16 = r15; - r15 = r10 | 0; - r17 = (r5 + 8 | 0) >> 2; - r18 = r5 + 12 | 0; - r19 = (r5 + 4 | 0) >> 2; - r20 = r5 | 0; - r21 = r5 + 16 | 0; - r22 = r4 | 0; - r23 = r4 + 4 | 0; - r24 = r4 + 8 | 0; - r25 = r4 + 12 | 0; - r26 = 0; - r27 = r11; - L1885 : while (1) { - r11 = __ZN5Avoid5Block9findMinLMEv(__ZNK5Avoid6Blocks2atEj(r27, r26)); - do { - if ((r11 | 0) != 0) { - r28 = r11 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r28 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r28 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) >= -1e-4) { - break; - } - if ((HEAP8[r11 + 29 | 0] & 1) << 24 >> 24 != 0) { - ___assert_func(5244156, 381, 5256180, 5245536); - } - HEAP32[r8] = HEAP32[r8] + 1 | 0; - r28 = HEAP32[HEAP32[r11 >> 2] + 44 >> 2]; - HEAP32[r6 >> 2] = 0; - HEAP32[r7 >> 2] = 0; - if ((r28 | 0) != (HEAP32[HEAP32[r11 + 4 >> 2] + 44 >> 2] | 0)) { - ___assert_func(5244156, 387, 5256180, 5244712); - } - __ZN5Avoid5Block5splitERPS0_S2_PNS_10ConstraintE(r28, r6, r7, r11); - r29 = HEAP32[r6 >> 2]; - __ZN5Avoid5Block22updateWeightedPositionEv(r29); - r30 = HEAP32[r7 >> 2]; - __ZN5Avoid5Block22updateWeightedPositionEv(r30); - __ZN5Avoid6Blocks6insertEPNS_5BlockE(HEAP32[r9], r29); - __ZN5Avoid6Blocks6insertEPNS_5BlockE(HEAP32[r9], r30); - HEAP8[r28 + 44 | 0] = 1; - if ((HEAP8[r11 + 28 | 0] & 1) << 24 >> 24 != 0) { - ___assert_func(5244156, 398, 5256180, 5248504); - } - r28 = HEAP32[r14]; - r30 = HEAP32[r1 >> 2]; - if (r28 >>> 0 < r30 >>> 0) { - if ((r28 | 0) == 0) { - r31 = 0; - } else { - HEAP32[r28 >> 2] = r11; - r31 = HEAP32[r14]; - } - HEAP32[r14] = r31 + 4 | 0; - break; - } - r29 = HEAP32[r15 >> 2]; - r32 = r28 - r29 >> 2; - r28 = r32 + 1 | 0; - if (r28 >>> 0 > 1073741823) { - r2 = 1590; - break L1885; - } - r33 = r30 - r29 | 0; - if (r33 >> 2 >>> 0 > 536870910) { - r34 = 1073741823; - } else { - r29 = r33 >> 1; - r34 = r29 >>> 0 < r28 >>> 0 ? r28 : r29; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r5, r34, r32, r16); - r32 = HEAP32[r17]; - do { - if ((r32 | 0) == (HEAP32[r18 >> 2] | 0)) { - r29 = HEAP32[r19]; - r28 = HEAP32[r20 >> 2]; - if (r29 >>> 0 > r28 >>> 0) { - r33 = r29; - r30 = (r33 - r28 + 4 >> 2 | 0) / -2 & -1; - r35 = (r30 << 2) + r29 | 0; - r36 = r32 - r33 | 0; - _memmove(r35, r29, r36, 4, 0); - r33 = ((r36 >> 2) + r30 << 2) + r29 | 0; - HEAP32[r17] = r33; - HEAP32[r19] = r35; - r37 = r33; - break; - } - r33 = r32 - r28 >> 1; - r35 = (r33 | 0) == 0 ? 1 : r33; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r4, r35, r35 >>> 2, HEAP32[r21 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, r29, r32); - HEAP32[r20 >> 2] = HEAP32[r22 >> 2]; - HEAP32[r22 >> 2] = r28; - HEAP32[r19] = HEAP32[r23 >> 2]; - HEAP32[r23 >> 2] = r29; - r29 = HEAP32[r24 >> 2]; - HEAP32[r17] = r29; - HEAP32[r24 >> 2] = r32; - HEAP32[r18 >> 2] = HEAP32[r25 >> 2]; - HEAP32[r25 >> 2] = r32; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r4); - r37 = r29; - } else { - r37 = r32; - } - } while (0); - if ((r37 | 0) == 0) { - r38 = 0; - } else { - HEAP32[r37 >> 2] = r11; - r38 = r37; - } - HEAP32[r17] = r38 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r10, r5); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r5); - } - } while (0); - r11 = r26 + 1 | 0; - r32 = HEAP32[r9]; - if (r11 >>> 0 >= r12 >>> 0) { - r13 = r32; - r2 = 1607; - break; - } - r26 = r11; - r27 = HEAP32[r32 + 4 >> 2]; - } - if (r2 == 1590) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else if (r2 == 1607) { - __ZN5Avoid6Blocks7cleanupEv(r13); - STACKTOP = r3; - return; - } -} -__ZN5Avoid9IncSolver11splitBlocksEv["X"] = 1; -function __ZN5Avoid6Blocks6insertEPNS_5BlockE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r3 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r4 = r3; - r5 = r3 + 20; - r6 = r1 + 4 | 0; - r7 = (r1 + 8 | 0) >> 2; - r8 = HEAP32[r7]; - r9 = r1 + 12 | 0; - r1 = HEAP32[r9 >> 2]; - if (r8 >>> 0 < r1 >>> 0) { - if ((r8 | 0) == 0) { - r10 = 0; - } else { - HEAP32[r8 >> 2] = r2; - r10 = HEAP32[r7]; - } - HEAP32[r7] = r10 + 4 | 0; - STACKTOP = r3; - return; - } - r10 = HEAP32[r6 >> 2]; - r7 = r8 - r10 >> 2; - r8 = r7 + 1 | 0; - if (r8 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r11 = r1 - r10 | 0; - if (r11 >> 2 >>> 0 > 536870910) { - r12 = 1073741823; - } else { - r10 = r11 >> 1; - r12 = r10 >>> 0 < r8 >>> 0 ? r8 : r10; - } - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC1EjjS6_(r5, r12, r7, r9); - r9 = (r5 + 8 | 0) >> 2; - r7 = HEAP32[r9]; - r12 = r5 + 12 | 0; - do { - if ((r7 | 0) == (HEAP32[r12 >> 2] | 0)) { - r10 = (r5 + 4 | 0) >> 2; - r8 = HEAP32[r10]; - r11 = r5 | 0; - r1 = HEAP32[r11 >> 2]; - if (r8 >>> 0 > r1 >>> 0) { - r13 = r8; - r14 = (r13 - r1 + 4 >> 2 | 0) / -2 & -1; - r15 = (r14 << 2) + r8 | 0; - r16 = r7 - r13 | 0; - _memmove(r15, r8, r16, 4, 0); - r13 = ((r16 >> 2) + r14 << 2) + r8 | 0; - HEAP32[r9] = r13; - HEAP32[r10] = r15; - r17 = r13; - break; - } - r13 = r7 - r1 >> 1; - r15 = (r13 | 0) == 0 ? 1 : r13; - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC1EjjS6_(r4, r15, r15 >>> 2, HEAP32[r5 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, r8, r7); - r15 = r4 | 0; - HEAP32[r11 >> 2] = HEAP32[r15 >> 2]; - HEAP32[r15 >> 2] = r1; - r1 = r4 + 4 | 0; - HEAP32[r10] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r8; - r8 = r4 + 8 | 0; - r1 = HEAP32[r8 >> 2]; - HEAP32[r9] = r1; - HEAP32[r8 >> 2] = r7; - r8 = r4 + 12 | 0; - HEAP32[r12 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r8 >> 2] = r7; - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED1Ev(r4); - r17 = r1; - } else { - r17 = r7; - } - } while (0); - if ((r17 | 0) == 0) { - r18 = 0; - } else { - HEAP32[r17 >> 2] = r2; - r18 = r17; - } - HEAP32[r9] = r18 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r6, r5); - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED1Ev(r5); - STACKTOP = r3; - return; -} -__ZN5Avoid6Blocks6insertEPNS_5BlockE["X"] = 1; -function __ZN5Avoid13PositionStats11addVariableEPNS_8VariableE(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = r1 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r2 + 28 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r3 = r4 / r5; - r4 = r2 + 36 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) / r5; - r5 = r2 + 20 | 0; - r4 = r3 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r5 = (r1 + 8 | 0) >> 2; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 1], HEAPF64[tempDoublePtr >> 3]) + r6 * r4; - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r5] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = r2 + 4 | 0; - r2 = (r1 + 16 | 0) >> 2; - r7 = r4 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) + (HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[r2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - r2 = (r1 + 24 | 0) >> 2; - r1 = r3 * r4 + (HEAP32[tempDoublePtr >> 2] = HEAP32[r2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 1], HEAPF64[tempDoublePtr >> 3]); - HEAPF64[tempDoublePtr >> 3] = r1, HEAP32[r2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - return; -} -function __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1) { - __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(r1); - __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev(r1 + 56 | 0); - return; -} -function __ZN5Avoid9IncSolver10moveBlocksEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 4 | 0; - r1 = HEAP32[r2 >> 2]; - r3 = HEAP32[r1 + 4 >> 2]; - r4 = __ZNK5Avoid6Blocks4sizeEv(r3, HEAP32[r1 + 8 >> 2]); - if ((r4 | 0) == 0) { - return; - } else { - r5 = 0; - r6 = r3; - } - while (1) { - __ZN5Avoid5Block22updateWeightedPositionEv(__ZNK5Avoid6Blocks2atEj(r6, r5)); - r3 = r5 + 1 | 0; - if ((r3 | 0) == (r4 | 0)) { - break; - } - r5 = r3; - r6 = HEAP32[HEAP32[r2 >> 2] + 4 >> 2]; - } - return; -} -function __ZN5Avoid5Block22updateWeightedPositionEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11; - r2 = r1 + 12 | 0; - r3 = r1 + 36 | 0; - r4 = r1 + 28 | 0; - r5 = r1 + 20 | 0; - r6 = r1 | 0; - r7 = r5 >> 2; - HEAP32[r7] = 0; - HEAP32[r7 + 1] = 0; - HEAP32[r7 + 2] = 0; - HEAP32[r7 + 3] = 0; - HEAP32[r7 + 4] = 0; - HEAP32[r7 + 5] = 0; - r7 = HEAP32[r6 >> 2]; - r8 = HEAP32[r7 >> 2]; - if ((r8 | 0) == (HEAP32[r7 + 4 >> 2] | 0)) { - r9 = 0; - r10 = 0; - r11 = 0; - } else { - r7 = r8; - while (1) { - __ZN5Avoid13PositionStats11addVariableEPNS_8VariableE(r2, HEAP32[r7 >> 2]); - r8 = r7 + 4 | 0; - if ((r8 | 0) == (HEAP32[HEAP32[r6 >> 2] + 4 >> 2] | 0)) { - break; - } else { - r7 = r8; - } - } - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r9 = r7; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r11 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - } - r3 = (r9 - r10) / r11; - r11 = r1 + 4 | 0; - HEAPF64[tempDoublePtr >> 3] = r3, HEAP32[r11 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - if (!isNaN(r3) & !isNaN(0)) { - return; - } - ___assert_func(5244156, 715, 5258972, 5243008); - return; -} -function __ZN5Avoid5Block9findMinLMEv(r1) { - var r2, r3, r4; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r2; - HEAP32[r3 >> 2] = 0; - r4 = r1 | 0; - __ZN5Avoid5Block15reset_active_lmEPNS_8VariableES2_(r1, HEAP32[HEAP32[HEAP32[r4 >> 2] >> 2] >> 2], 0); - __ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_RPNS_10ConstraintE(r1, HEAP32[HEAP32[HEAP32[r4 >> 2] >> 2] >> 2], 0, r3); - STACKTOP = r2; - return HEAP32[r3 >> 2]; -} -function __ZN5Avoid5Block5splitERPS0_S2_PNS_10ConstraintE(r1, r2, r3, r4) { - var r5, r6, r7; - HEAP8[r4 + 28 | 0] = 0; - r5 = __Znwj(64); - r6 = r1 + 60 | 0; - __ZN5Avoid5BlockC1EPNS_6BlocksEPNS_8VariableE(r5, HEAP32[r6 >> 2], 0); - HEAP32[r2 >> 2] = r5; - r2 = r4 | 0; - r7 = r4 + 4 | 0; - __ZN5Avoid5Block18populateSplitBlockEPS0_PNS_8VariableEPKS2_(r1, r5, HEAP32[r2 >> 2], HEAP32[r7 >> 2]); - r5 = __Znwj(64); - __ZN5Avoid5BlockC1EPNS_6BlocksEPNS_8VariableE(r5, HEAP32[r6 >> 2], 0); - HEAP32[r3 >> 2] = r5; - __ZN5Avoid5Block18populateSplitBlockEPS0_PNS_8VariableEPKS2_(r1, r5, HEAP32[r7 >> 2], HEAP32[r2 >> 2]); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6resizeEj(r1, r2) { - var r3, r4, r5; - r3 = r1 + 4 | 0; - r4 = HEAP32[r1 >> 2]; - r5 = HEAP32[r3 >> 2] - r4 >> 2; - if (r5 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8__appendEj(r1, r2 - r5 | 0); - return; - } - if (r5 >>> 0 <= r2 >>> 0) { - return; - } - HEAP32[r3 >> 2] = (r2 << 2) + r4 | 0; - return; -} -function __ZN5Avoid6BlocksC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r1 + 4 | 0; - r4 = r3 | 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r1 + 12 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r2; - r5 = (r1 + 20 | 0) >> 2; - r6 = r2 | 0; - r7 = HEAP32[r2 + 4 >> 2] - HEAP32[r6 >> 2] >> 2; - HEAP32[r5] = r7; - HEAP32[r1 >> 2] = 0; - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE6resizeEj(r3, r7); - if ((HEAP32[r5] | 0) > 0) { - r8 = 0; - } else { - return; - } - while (1) { - r7 = __Znwj(64); - __ZN5Avoid5BlockC1EPNS_6BlocksEPNS_8VariableE(r7, r1, HEAP32[HEAP32[r6 >> 2] + (r8 << 2) >> 2]); - HEAP32[HEAP32[r4 >> 2] + (r8 << 2) >> 2] = r7; - r7 = r8 + 1 | 0; - if ((r7 | 0) < (HEAP32[r5] | 0)) { - r8 = r7; - } else { - break; - } - } - return; -} -__ZN5Avoid6BlocksC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE6resizeEj(r1, r2) { - var r3, r4, r5; - r3 = r1 + 4 | 0; - r4 = HEAP32[r1 >> 2]; - r5 = HEAP32[r3 >> 2] - r4 >> 2; - if (r5 >>> 0 < r2 >>> 0) { - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE8__appendEj(r1, r2 - r5 | 0); - return; - } - if (r5 >>> 0 <= r2 >>> 0) { - return; - } - HEAP32[r3 >> 2] = (r2 << 2) + r4 | 0; - return; -} -function __ZN5Avoid5BlockC1EPNS_6BlocksEPNS_8VariableE(r1, r2, r3) { - __ZN5Avoid5BlockC2EPNS_6BlocksEPNS_8VariableE(r1, r2, r3); - return; -} -function __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZN5Avoid6BlocksD2Ev(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9; - HEAP32[r1 >> 2] = 0; - r2 = r1 + 4 | 0; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2 | 0; - r4 = HEAP32[r1 >> 2]; - r5 = HEAP32[r3] - r4 >> 2; - if ((r5 | 0) == 0) { - r6 = r4; - HEAP32[r3] = r6; - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED1Ev(r2); - return; - } else { - r7 = 0; - r8 = r4; - } - while (1) { - r4 = HEAP32[r8 + (r7 << 2) >> 2]; - if ((r4 | 0) == 0) { - r9 = r8; - } else { - __ZN5Avoid5BlockD1Ev(r4); - __ZdlPv(r4); - r9 = HEAP32[r1 >> 2]; - } - r4 = r7 + 1 | 0; - if (r4 >>> 0 < r5 >>> 0) { - r7 = r4; - r8 = r9; - } else { - r6 = r9; - break; - } - } - HEAP32[r3] = r6; - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED1Ev(r2); - return; -} -function __ZN5Avoid5BlockD1Ev(r1) { - __ZN5Avoid5BlockD2Ev(r1); - return; -} -function __ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintEd(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - HEAP8[r3 + 28 | 0] = 1; - r3 = r2 | 0; - r5 = HEAP32[r3 >> 2]; - r6 = HEAP32[r5 >> 2]; - L2014 : do { - if ((r6 | 0) != (HEAP32[r5 + 4 >> 2] | 0)) { - r7 = r6; - while (1) { - r8 = HEAP32[r7 >> 2]; - r9 = (r8 + 36 | 0) >> 2; - r10 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r9], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 1], HEAPF64[tempDoublePtr >> 3]) + r4; - HEAPF64[tempDoublePtr >> 3] = r10, HEAP32[r9] = HEAP32[tempDoublePtr >> 2], HEAP32[r9 + 1] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid5Block11addVariableEPNS_8VariableE(r1, r8); - r8 = r7 + 4 | 0; - if ((r8 | 0) == (HEAP32[HEAP32[r3 >> 2] + 4 >> 2] | 0)) { - break L2014; - } else { - r7 = r8; - } - } - } - } while (0); - r3 = r1 + 28 | 0; - r4 = r1 + 20 | 0; - r6 = r1 + 36 | 0; - r5 = ((HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) / (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 4 | 0; - HEAPF64[tempDoublePtr >> 3] = r5, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - if (!isNaN(r5) & !isNaN(0)) { - r11 = r2 + 44 | 0; - HEAP8[r11] = 1; - return; - } - ___assert_func(5244156, 803, 5258900, 5243008); - r11 = r2 + 44 | 0; - HEAP8[r11] = 1; - return; -} -function __ZN5Avoid5Block4costEv(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - if ((r1 | 0) == (r2 | 0)) { - r3 = 0; - return r3; - } else { - r4 = r1; - r5 = 0; - } - while (1) { - r1 = HEAP32[r4 >> 2]; - r6 = r1 + 28 | 0; - r7 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 36 | 0; - r8 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = HEAP32[r1 + 44 >> 2]; - r9 = r6 + 4 | 0; - r10 = r6 + 12 | 0; - r6 = r1 + 4 | 0; - r11 = __ZNK5Avoid8Variable8positionEv(r7, r8, (HEAP32[tempDoublePtr >> 2] = HEAP32[r9 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r9 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 20 | 0; - r1 = r5 + r11 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) * r11; - r11 = r4 + 4 | 0; - if ((r11 | 0) == (r2 | 0)) { - r3 = r1; - break; - } else { - r4 = r11; - r5 = r1; - } - } - return r3; -} -function __ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_10ConstraintE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = r6 >> 2; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r10 = r9 >> 2; - r11 = STACKTOP, r12 = r11 >> 2; - STACKTOP = STACKTOP + 136 | 0; - r13 = STACKTOP, r14 = r13 >> 2; - STACKTOP = STACKTOP + 136 | 0; - r15 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r16 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - if ((r2 | 0) == 0) { - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(r1, 5250600); - STACKTOP = r4; - return; - } - r17 = (HEAP8[r2 + 29 | 0] & 1) << 24 >> 24 != 0 ? 5250476 : 5250368; - r18 = r11 | 0; - r19 = r11 + 4 | 0; - HEAP32[r18 >> 2] = 5272872; - HEAP32[r12 + 14] = 5272892; - r20 = r11 + 56 | 0; - __ZNSt3__18ios_base4initEPv(r20, r19); - HEAP32[r12 + 32] = 0; - __ZNKSt3__18ios_base6getlocEv(r8, r20); - r20 = HEAP32[r8 >> 2]; - r8 = __ZNKSt3__16locale9use_facetERNS0_2idE(r20, 5273668); - r21 = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 28 >> 2]](r8, 32); - __ZNSt3__16localeD1Ev(r20); - HEAP8[r11 + 132 | 0] = r21; - HEAP32[r18 >> 2] = 5266080; - HEAP32[r12 + 14] = 5266100; - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev(r19 | 0); - HEAP32[r19 >> 2] = 5266264; - r18 = (r11 + 36 | 0) >> 2; - HEAP32[r18] = 0; - HEAP32[r18 + 1] = 0; - HEAP32[r18 + 2] = 0; - HEAP32[r18 + 3] = 0; - HEAP32[r12 + 13] = 16; - HEAP32[r10] = 0; - HEAP32[r10 + 1] = 0; - HEAP32[r10 + 2] = 0; - __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE(r19, r9); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - r9 = r13 | 0; - r10 = r13 + 4 | 0; - HEAP32[r9 >> 2] = 5272872; - HEAP32[r14 + 14] = 5272892; - r12 = r13 + 56 | 0; - __ZNSt3__18ios_base4initEPv(r12, r10); - HEAP32[r14 + 32] = 0; - __ZNKSt3__18ios_base6getlocEv(r5, r12); - r12 = HEAP32[r5 >> 2]; - r5 = __ZNKSt3__16locale9use_facetERNS0_2idE(r12, 5273668); - r18 = FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] + 28 >> 2]](r5, 32); - __ZNSt3__16localeD1Ev(r12); - HEAP8[r13 + 132 | 0] = r18; - HEAP32[r9 >> 2] = 5266080; - HEAP32[r14 + 14] = 5266100; - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev(r10 | 0); - HEAP32[r10 >> 2] = 5266264; - r9 = (r13 + 36 | 0) >> 2; - HEAP32[r9] = 0; - HEAP32[r9 + 1] = 0; - HEAP32[r9 + 2] = 0; - HEAP32[r9 + 3] = 0; - HEAP32[r14 + 13] = 16; - HEAP32[r7] = 0; - HEAP32[r7 + 1] = 0; - HEAP32[r7 + 2] = 0; - __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE(r10, r6); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r6); - r6 = (r2 | 0) >> 2; - r7 = HEAP32[r6] + 28 | 0; - r14 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r14 != 1) { - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(r11, r14), 5247436); - } - r14 = (r2 + 4 | 0) >> 2; - r7 = HEAP32[r14] + 28 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if (r9 != 1) { - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(r13, r9), 5247436); - } - __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv(r15, r19); - r19 = r2 + 8 | 0; - r9 = __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_8VariableE(__ZNSt3__1lsIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS_13basic_ostreamIT_T0_EES9_RKNS_12basic_stringIS6_S7_T1_EE(r1, r15), HEAP32[r6]), 5250140), (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])), r17); - __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv(r16, r10); - __ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_8VariableE(__ZNSt3__1lsIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS_13basic_ostreamIT_T0_EES9_RKNS_12basic_stringIS6_S7_T1_EE(r9, r16), HEAP32[r14]); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r16); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r15); - do { - if ((HEAP32[HEAP32[r6] + 44 >> 2] | 0) == 0) { - r3 = 1751; - } else { - if ((HEAP32[HEAP32[r14] + 44 >> 2] | 0) == 0) { - r3 = 1751; - break; - } - r15 = r2 + 16 | 0; - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(r1, 5249996), __ZNK5Avoid10Constraint5slackEv(r2)), 5249792), (HEAP8[r2 + 28 | 0] & 1) << 24 >> 24 != 0 ? 5249536 : 5244652), 5249028), (HEAP32[tempDoublePtr >> 2] = HEAP32[r15 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r15 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])), 5249792); - break; - } - } while (0); - if (r3 == 1751) { - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(r1, 5248832); - } - __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r13); - __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r11); - STACKTOP = r4; - return; -} -__ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_10ConstraintE["X"] = 1; -function __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3; - r5 = r3 + 8; - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(r4, r1); - do { - if ((HEAP8[r4 | 0] & 1) << 24 >> 24 != 0) { - r6 = _strlen(r2); - r7 = r1; - r8 = HEAP32[HEAP32[r7 >> 2] - 12 >> 2]; - r9 = r1, r10 = r9 >> 2; - r11 = r2 + r6 | 0; - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r5, HEAP32[(r8 + 24 >> 2) + r10], r2, (HEAP32[(r8 + 4 >> 2) + r10] & 176 | 0) == 32 ? r11 : r2, r11, r9 + r8 | 0, HEAP8[r8 + (r9 + 76) | 0]); - if ((HEAP32[r5 >> 2] | 0) != 0) { - break; - } - r8 = HEAP32[HEAP32[r7 >> 2] - 12 >> 2]; - __ZNSt3__18ios_base5clearEj(r9 + r8 | 0, HEAP32[(r8 + 16 >> 2) + r10] | 5); - } - } while (0); - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(r4); - STACKTOP = r3; - return r1; -} -__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc["X"] = 1; -function __ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r2, r3) { - var r4; - r4 = HEAP32[r2 + 4 >> 2]; - if ((HEAP32[r4 + 44 >> 2] | 0) == (r1 | 0)) { - return (r4 | 0) != (r3 | 0) & (HEAP8[r2 + 28 | 0] & 1) << 24 >> 24 != 0; - } else { - return 0; - } -} -function __ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r2, r3) { - var r4; - r4 = HEAP32[r2 >> 2]; - if ((HEAP32[r4 + 44 >> 2] | 0) == (r1 | 0)) { - return (r4 | 0) != (r3 | 0) & (HEAP8[r2 + 28 | 0] & 1) << 24 >> 24 != 0; - } else { - return 0; - } -} -function __ZN5Avoid5BlockC2EPNS_6BlocksEPNS_8VariableE(r1, r2, r3) { - var r4, r5, r6; - r4 = r1 >> 2; - r5 = __Znwj(12), r6 = r5 >> 2; - HEAP32[r6] = 0; - HEAP32[r6 + 1] = 0; - HEAP32[r6 + 2] = 0; - HEAP32[r4] = r5; - r5 = r1 + 4 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid13PositionStatsC1Ev(r1 + 12 | 0); - HEAP8[r1 + 44 | 0] = 0; - HEAP32[r4 + 12] = 0; - HEAP32[r4 + 13] = 0; - HEAP32[r4 + 14] = 0; - HEAP32[r4 + 15] = r2; - if ((r3 | 0) == 0) { - return; - } - r2 = r3 + 36 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r2 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r2 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid5Block11addVariableEPNS_8VariableE(r1, r3); - return; -} -function __ZN5Avoid13PositionStatsC1Ev(r1) { - __ZN5Avoid13PositionStatsC2Ev(r1); - return; -} -function __ZN5Avoid5BlockD2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) != 0) { - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED1Ev(r2); - __ZdlPv(r2); - } - r2 = HEAP32[r1 + 52 >> 2]; - if ((r2 | 0) != 0) { - __ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED1Ev(r2); - __ZdlPv(r2); - } - r2 = HEAP32[r1 + 56 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED1Ev(r2); - __ZdlPv(r2); - return; -} -function __ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED1Ev(r1) { - __ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED2Ev(r1); - return; -} -function __ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_RPNS_10ConstraintE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r5 = __ZNK5Avoid8Variable4dfdvEv(r2); - r6 = HEAP32[r2 + 64 >> 2]; - r7 = r2 + 68 | 0; - L2105 : do { - if ((r6 | 0) == (HEAP32[r7 >> 2] | 0)) { - r8 = r5; - } else { - r9 = r6; - r10 = r5; - while (1) { - r11 = HEAP32[r9 >> 2]; - do { - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r11, r3)) { - r12 = __ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_RPNS_10ConstraintE(r1, HEAP32[r11 + 4 >> 2], r2, r4); - r13 = r11 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r12, HEAP32[r13 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r13 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r13 = HEAP32[r11 >> 2] + 28 | 0; - r14 = r10 + r12 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r13 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r13 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - if ((HEAP8[r11 + 29 | 0] & 1) << 24 >> 24 != 0) { - r15 = r14; - break; - } - r13 = HEAP32[r4 >> 2]; - if ((r13 | 0) != 0) { - r16 = r13 + 16 | 0; - if (r12 >= (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - r15 = r14; - break; - } - } - HEAP32[r4 >> 2] = r11; - r15 = r14; - } else { - r15 = r10; - } - } while (0); - r11 = r9 + 4 | 0; - if ((r11 | 0) == (HEAP32[r7 >> 2] | 0)) { - r8 = r15; - break L2105; - } else { - r9 = r11; - r10 = r15; - } - } - } - } while (0); - r15 = HEAP32[r2 + 52 >> 2]; - r7 = r2 + 56 | 0; - if ((r15 | 0) == (HEAP32[r7 >> 2] | 0)) { - r17 = r8; - r18 = r2 + 28 | 0, r19 = r18 >> 2; - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r21 = r17 / r20; - return r21; - } else { - r22 = r15; - r23 = r8; - } - while (1) { - r8 = HEAP32[r22 >> 2]; - do { - if (__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r8, r3)) { - r15 = -__ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_RPNS_10ConstraintE(r1, HEAP32[r8 >> 2], r2, r4); - r5 = r8 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r5 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r5 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r5 = HEAP32[r8 + 4 >> 2] + 28 | 0; - r6 = r23 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) * r15; - if ((HEAP8[r8 + 29 | 0] & 1) << 24 >> 24 != 0) { - r24 = r6; - break; - } - r5 = HEAP32[r4 >> 2]; - if ((r5 | 0) != 0) { - r10 = r5 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r10 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r10 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) <= r15) { - r24 = r6; - break; - } - } - HEAP32[r4 >> 2] = r8; - r24 = r6; - } else { - r24 = r23; - } - } while (0); - r8 = r22 + 4 | 0; - if ((r8 | 0) == (HEAP32[r7 >> 2] | 0)) { - r17 = r24; - break; - } else { - r22 = r8; - r23 = r24; - } - } - r18 = r2 + 28 | 0, r19 = r18 >> 2; - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r21 = r17 / r20; - return r21; -} -__ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_RPNS_10ConstraintE["X"] = 1; -function __ZNK5Avoid8Variable4dfdvEv(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = r1 + 20 | 0; - r3 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) * 2; - r2 = r1 + 28 | 0; - r4 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = r1 + 36 | 0; - r5 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r2 = HEAP32[r1 + 44 >> 2]; - r6 = r2 + 4 | 0; - r7 = r2 + 12 | 0; - r2 = r1 + 4 | 0; - return r3 * (__ZNK5Avoid8Variable8positionEv(r4, r5, (HEAP32[tempDoublePtr >> 2] = HEAP32[r6 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])); -} -function __ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r4 = __ZNK5Avoid8Variable4dfdvEv(r2); - r5 = HEAP32[r2 + 64 >> 2]; - r6 = r2 + 68 | 0; - r7 = HEAP32[r6 >> 2]; - L2130 : do { - if ((r5 | 0) == (r7 | 0)) { - r8 = r4; - } else { - r9 = r5; - r10 = r4; - r11 = r7; - while (1) { - r12 = HEAP32[r9 >> 2]; - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r12, r3)) { - r13 = __ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_(r1, HEAP32[r12 + 4 >> 2], r2); - r14 = r12 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r13, HEAP32[r14 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r14 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r14 = HEAP32[r12 >> 2] + 28 | 0; - r15 = r10 + r13 * (HEAP32[tempDoublePtr >> 2] = HEAP32[r14 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r14 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r16 = HEAP32[r6 >> 2]; - } else { - r15 = r10; - r16 = r11; - } - r14 = r9 + 4 | 0; - if ((r14 | 0) == (r16 | 0)) { - r8 = r15; - break L2130; - } else { - r9 = r14; - r10 = r15; - r11 = r16; - } - } - } - } while (0); - r16 = HEAP32[r2 + 52 >> 2]; - r15 = r2 + 56 | 0; - r6 = HEAP32[r15 >> 2]; - if ((r16 | 0) == (r6 | 0)) { - r17 = r8; - r18 = r2 + 28 | 0, r19 = r18 >> 2; - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r21 = r17 / r20; - return r21; - } else { - r22 = r16; - r23 = r8; - r24 = r6; - } - while (1) { - r6 = HEAP32[r22 >> 2]; - if (__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r6, r3)) { - r8 = -__ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_(r1, HEAP32[r6 >> 2], r2); - r16 = r6 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = r8, HEAP32[r16 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r16 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - r16 = HEAP32[r6 + 4 >> 2] + 28 | 0; - r25 = r23 - (HEAP32[tempDoublePtr >> 2] = HEAP32[r16 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r16 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) * r8; - r26 = HEAP32[r15 >> 2]; - } else { - r25 = r23; - r26 = r24; - } - r8 = r22 + 4 | 0; - if ((r8 | 0) == (r26 | 0)) { - r17 = r25; - break; - } else { - r22 = r8; - r23 = r25; - r24 = r26; - } - } - r18 = r2 + 28 | 0, r19 = r18 >> 2; - r20 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 1], HEAPF64[tempDoublePtr >> 3]); - r21 = r17 / r20; - return r21; -} -__ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_["X"] = 1; -function __ZN5Avoid5Block10split_pathEPNS_8VariableES2_S2_RPNS_10ConstraintEb(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r6 = 0; - r7 = HEAP32[r3 + 52 >> 2]; - r8 = r3 + 56 | 0; - r9 = HEAP32[r8 >> 2]; - L2146 : do { - if ((r7 | 0) != (r9 | 0)) { - r10 = r7; - r11 = r9; - while (1) { - r12 = HEAP32[r10 >> 2]; - if (__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r12, r4)) { - r13 = HEAP32[r12 >> 2]; - if ((r13 | 0) == (r2 | 0)) { - r14 = 1; - r6 = 1846; - break; - } - if (__ZN5Avoid5Block10split_pathEPNS_8VariableES2_S2_RPNS_10ConstraintEb(r1, r2, r13, r3, r5)) { - r14 = 1; - r6 = 1845; - break; - } - r15 = HEAP32[r8 >> 2]; - } else { - r15 = r11; - } - r13 = r10 + 4 | 0; - if ((r13 | 0) == (r15 | 0)) { - break L2146; - } else { - r10 = r13; - r11 = r15; - } - } - if (r6 == 1845) { - return r14; - } else if (r6 == 1846) { - return r14; - } - } - } while (0); - r15 = HEAP32[r3 + 64 >> 2]; - r8 = r3 + 68 | 0; - r9 = HEAP32[r8 >> 2]; - if ((r15 | 0) == (r9 | 0)) { - r14 = 0; - return r14; - } else { - r16 = r15; - r17 = r9; - } - while (1) { - r18 = HEAP32[r16 >> 2]; - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r18, r4)) { - r9 = HEAP32[r18 + 4 >> 2]; - if ((r9 | 0) == (r2 | 0)) { - r6 = 1835; - break; - } - if (__ZN5Avoid5Block10split_pathEPNS_8VariableES2_S2_RPNS_10ConstraintEb(r1, r2, r9, r3, r5)) { - r6 = 1839; - break; - } - r19 = HEAP32[r8 >> 2]; - } else { - r19 = r17; - } - r9 = r16 + 4 | 0; - if ((r9 | 0) == (r19 | 0)) { - r14 = 0; - r6 = 1849; - break; - } else { - r16 = r9; - r17 = r19; - } - } - if (r6 == 1835) { - if ((HEAP8[r18 + 29 | 0] & 1) << 24 >> 24 != 0) { - r14 = 1; - return r14; - } - HEAP32[r5 >> 2] = r18; - r14 = 1; - return r14; - } else if (r6 == 1849) { - return r14; - } else if (r6 == 1839) { - if ((HEAP8[r18 + 29 | 0] & 1) << 24 >> 24 != 0) { - r14 = 1; - return r14; - } - r6 = HEAP32[r5 >> 2]; - do { - if ((r6 | 0) != 0) { - r19 = r18 + 16 | 0; - r17 = r6 + 16 | 0; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) < (HEAP32[tempDoublePtr >> 2] = HEAP32[r17 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r17 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) { - break; - } else { - r14 = 1; - } - return r14; - } - } while (0); - HEAP32[r5 >> 2] = r18; - r14 = 1; - return r14; - } -} -__ZN5Avoid5Block10split_pathEPNS_8VariableES2_S2_RPNS_10ConstraintEb["X"] = 1; -function __ZN5Avoid5Block15reset_active_lmEPNS_8VariableES2_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - r4 = HEAP32[r2 + 64 >> 2]; - r5 = r2 + 68 | 0; - r6 = HEAP32[r5 >> 2]; - L2184 : do { - if ((r4 | 0) != (r6 | 0)) { - r7 = r4; - r8 = r6; - while (1) { - r9 = HEAP32[r7 >> 2]; - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r9, r3)) { - r10 = r9 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r10 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r10 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid5Block15reset_active_lmEPNS_8VariableES2_(r1, HEAP32[r9 + 4 >> 2], r2); - r11 = HEAP32[r5 >> 2]; - } else { - r11 = r8; - } - r9 = r7 + 4 | 0; - if ((r9 | 0) == (r11 | 0)) { - break L2184; - } else { - r7 = r9; - r8 = r11; - } - } - } - } while (0); - r11 = HEAP32[r2 + 52 >> 2]; - r5 = r2 + 56 | 0; - r6 = HEAP32[r5 >> 2]; - if ((r11 | 0) == (r6 | 0)) { - return; - } else { - r12 = r11; - r13 = r6; - } - while (1) { - r6 = HEAP32[r12 >> 2]; - if (__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r6, r3)) { - r11 = r6 + 16 | 0; - HEAPF64[tempDoublePtr >> 3] = 0, HEAP32[r11 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r11 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZN5Avoid5Block15reset_active_lmEPNS_8VariableES2_(r1, HEAP32[r6 >> 2], r2); - r14 = HEAP32[r5 >> 2]; - } else { - r14 = r13; - } - r6 = r12 + 4 | 0; - if ((r6 | 0) == (r14 | 0)) { - break; - } else { - r12 = r6; - r13 = r14; - } - } - return; -} -function __ZN5Avoid22UnsatisfiableExceptionC1Ev(r1) { - __ZN5Avoid22UnsatisfiableExceptionC2Ev(r1); - return; -} -function __ZN5Avoid5Block11addVariableEPNS_8VariableE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r3 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r4 = r3; - r5 = r3 + 20; - HEAP32[r2 + 44 >> 2] = r1; - r6 = HEAP32[r1 >> 2]; - r7 = (r6 + 4 | 0) >> 2; - r8 = HEAP32[r7]; - r9 = r6 + 8 | 0; - r10 = HEAP32[r9 >> 2]; - if (r8 >>> 0 < r10 >>> 0) { - if ((r8 | 0) == 0) { - r11 = 0; - } else { - HEAP32[r8 >> 2] = r2; - r11 = HEAP32[r7]; - } - HEAP32[r7] = r11 + 4 | 0; - } else { - r11 = HEAP32[r6 >> 2]; - r7 = r8 - r11 >> 2; - r8 = r7 + 1 | 0; - if (r8 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r12 = r10 - r11 | 0; - if (r12 >> 2 >>> 0 > 536870910) { - r13 = 1073741823; - } else { - r11 = r12 >> 1; - r13 = r11 >>> 0 < r8 >>> 0 ? r8 : r11; - } - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r5, r13, r7, r9); - r9 = (r5 + 8 | 0) >> 2; - r7 = HEAP32[r9]; - r13 = r5 + 12 | 0; - do { - if ((r7 | 0) == (HEAP32[r13 >> 2] | 0)) { - r11 = (r5 + 4 | 0) >> 2; - r8 = HEAP32[r11]; - r12 = r5 | 0; - r10 = HEAP32[r12 >> 2]; - if (r8 >>> 0 > r10 >>> 0) { - r14 = r8; - r15 = (r14 - r10 + 4 >> 2 | 0) / -2 & -1; - r16 = (r15 << 2) + r8 | 0; - r17 = r7 - r14 | 0; - _memmove(r16, r8, r17, 4, 0); - r14 = ((r17 >> 2) + r15 << 2) + r8 | 0; - HEAP32[r9] = r14; - HEAP32[r11] = r16; - r18 = r14; - break; - } - r14 = r7 - r10 >> 1; - r16 = (r14 | 0) == 0 ? 1 : r14; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_(r4, r16, r16 >>> 2, HEAP32[r5 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, r8, r7); - r16 = r4 | 0; - HEAP32[r12 >> 2] = HEAP32[r16 >> 2]; - HEAP32[r16 >> 2] = r10; - r10 = r4 + 4 | 0; - HEAP32[r11] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r8; - r8 = r4 + 8 | 0; - r10 = HEAP32[r8 >> 2]; - HEAP32[r9] = r10; - HEAP32[r8 >> 2] = r7; - r8 = r4 + 12 | 0; - HEAP32[r13 >> 2] = HEAP32[r8 >> 2]; - HEAP32[r8 >> 2] = r7; - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r4); - r18 = r10; - } else { - r18 = r7; - } - } while (0); - if ((r18 | 0) == 0) { - r19 = 0; - } else { - HEAP32[r18 >> 2] = r2; - r19 = r18; - } - HEAP32[r9] = r19 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r6, r5); - __ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev(r5); - } - r5 = r1 + 12 | 0; - r6 = (r1 + 36 | 0) >> 2; - if ((HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]) == 0) { - r19 = r2 + 28 | 0; - r9 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r19 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r19 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r19 = r5 | 0; - HEAPF64[tempDoublePtr >> 3] = r9, HEAP32[r19 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r19 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - } - __ZN5Avoid13PositionStats11addVariableEPNS_8VariableE(r5, r2); - r2 = r1 + 28 | 0; - r5 = r1 + 20 | 0; - r19 = ((HEAP32[tempDoublePtr >> 2] = HEAP32[r2 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r2 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]) - (HEAP32[tempDoublePtr >> 2] = HEAP32[r5 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r5 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])) / (HEAP32[tempDoublePtr >> 2] = HEAP32[r6], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r6 + 1], HEAPF64[tempDoublePtr >> 3]); - r6 = r1 + 4 | 0; - HEAPF64[tempDoublePtr >> 3] = r19, HEAP32[r6 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r6 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - if (!isNaN(r19) & !isNaN(0)) { - STACKTOP = r3; - return; - } - ___assert_func(5244156, 682, 5259016, 5243008); - STACKTOP = r3; - return; -} -__ZN5Avoid5Block11addVariableEPNS_8VariableE["X"] = 1; -function __ZN5Avoid5Block16findMinLMBetweenEPNS_8VariableES2_(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r5 = r4; - r6 = r4 + 4; - r7 = r1 | 0; - __ZN5Avoid5Block15reset_active_lmEPNS_8VariableES2_(r1, HEAP32[HEAP32[HEAP32[r7 >> 2] >> 2] >> 2], 0); - __ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_(r1, HEAP32[HEAP32[HEAP32[r7 >> 2] >> 2] >> 2], 0); - HEAP32[r5 >> 2] = 0; - __ZN5Avoid5Block10split_pathEPNS_8VariableES2_S2_RPNS_10ConstraintEb(r1, r3, r2, 0, r5); - r7 = HEAP32[r5 >> 2]; - if ((r7 | 0) != 0) { - STACKTOP = r4; - return r7; - } - __ZN5Avoid22UnsatisfiableExceptionC1Ev(r6); - __ZNK5Avoid5Block20getActivePathBetweenERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEEPKNS_8VariableESB_SB_(r1, r6 | 0, r2, r3, 0); - r3 = ___cxa_allocate_exception(12); - __ZN5Avoid22UnsatisfiableExceptionC1ERKS0_(r3, r6); - ___cxa_throw(r3, 5272708, 204); -} -function __ZN5Avoid10ConstraintC2EPNS_8VariableES2_db(r1, r2, r3, r4, r5) { - HEAP32[r1 >> 2] = r2; - HEAP32[r1 + 4 >> 2] = r3; - r3 = r1 + 8 | 0; - HEAPF64[tempDoublePtr >> 3] = r4, HEAP32[r3 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r3 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - HEAP32[r1 + 24 >> 2] = 0; - HEAP8[r1 + 28 | 0] = 0; - HEAP8[r1 + 29 | 0] = r5 & 1; - HEAP8[r1 + 30 | 0] = 0; - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZN5Avoid5Block18populateSplitBlockEPS0_PNS_8VariableEPKS2_(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - __ZN5Avoid5Block11addVariableEPNS_8VariableE(r2, r3); - r5 = HEAP32[r3 + 52 >> 2]; - r6 = r3 + 56 | 0; - r7 = HEAP32[r6 >> 2]; - L2262 : do { - if ((r5 | 0) != (r7 | 0)) { - r8 = r5; - r9 = r7; - while (1) { - r10 = HEAP32[r8 >> 2]; - if (__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r10, r4)) { - __ZN5Avoid5Block18populateSplitBlockEPS0_PNS_8VariableEPKS2_(r1, r2, HEAP32[r10 >> 2], r3); - r11 = HEAP32[r6 >> 2]; - } else { - r11 = r9; - } - r10 = r8 + 4 | 0; - if ((r10 | 0) == (r11 | 0)) { - break L2262; - } else { - r8 = r10; - r9 = r11; - } - } - } - } while (0); - r11 = HEAP32[r3 + 64 >> 2]; - r6 = r3 + 68 | 0; - r7 = HEAP32[r6 >> 2]; - if ((r11 | 0) == (r7 | 0)) { - return; - } else { - r12 = r11; - r13 = r7; - } - while (1) { - r7 = HEAP32[r12 >> 2]; - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r7, r4)) { - __ZN5Avoid5Block18populateSplitBlockEPS0_PNS_8VariableEPKS2_(r1, r2, HEAP32[r7 + 4 >> 2], r3); - r14 = HEAP32[r6 >> 2]; - } else { - r14 = r13; - } - r7 = r12 + 4 | 0; - if ((r7 | 0) == (r14 | 0)) { - break; - } else { - r12 = r7; - r13 = r14; - } - } - return; -} -function __ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_8VariableE(r1, r2) { - var r3, r4, r5, r6, r7; - r3 = r2 + 44 | 0; - r4 = (HEAP32[r3 >> 2] | 0) == 0; - r5 = __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(r1, 5249996), HEAP32[r2 >> 2]), 5250476); - if (r4) { - r4 = r2 + 4 | 0; - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(r5, (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3])), 5249792); - return r1; - } else { - r4 = r2 + 28 | 0; - r6 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = r2 + 36 | 0; - r2 = (HEAP32[tempDoublePtr >> 2] = HEAP32[r4 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r4 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]); - r4 = HEAP32[r3 >> 2]; - r3 = r4 + 4 | 0; - r7 = r4 + 12 | 0; - __ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc(__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(r5, __ZNK5Avoid8Variable8positionEv(r6, r2, (HEAP32[tempDoublePtr >> 2] = HEAP32[r3 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r3 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]), (HEAP32[tempDoublePtr >> 2] = HEAP32[r7 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[r7 + 4 >> 2], HEAPF64[tempDoublePtr >> 3]))), 5249792); - return r1; - } -} -function __ZN5Avoid10ConstraintC1EPNS_8VariableES2_db(r1, r2, r3, r4, r5) { - __ZN5Avoid10ConstraintC2EPNS_8VariableES2_db(r1, r2, r3, r4, r5); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10; - r3 = (r1 + 4 | 0) >> 2; - r4 = HEAP32[r3]; - r5 = (r1 | 0) >> 2; - r6 = HEAP32[r5]; - L2286 : do { - if (r6 >>> 0 < r4 >>> 0) { - r7 = r4; - while (1) { - r8 = r7 - 4 | 0; - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE10push_frontERKS3_(r2, r8); - r9 = HEAP32[r5]; - if (r9 >>> 0 < r8 >>> 0) { - r7 = r8; - } else { - r10 = r9; - break L2286; - } - } - } else { - r10 = r6; - } - } while (0); - r6 = (r2 + 4 | 0) >> 2; - HEAP32[r5] = HEAP32[r6]; - HEAP32[r6] = r10; - r10 = r2 + 8 | 0; - r5 = HEAP32[r3]; - HEAP32[r3] = HEAP32[r10 >> 2]; - HEAP32[r10 >> 2] = r5; - r5 = r1 + 8 | 0; - r1 = r2 + 12 | 0; - r10 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r10; - HEAP32[r2 >> 2] = HEAP32[r6]; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED1Ev(r1) { - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED2Ev(r1) { - var r2; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - __ZdlPv(r2); - return; -} -function __ZNK5Avoid5Block20getActivePathBetweenERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEEPKNS_8VariableESB_SB_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40; - r6 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 80 | 0; - r8 = r7; - r9 = r7 + 20; - r10 = r7 + 40; - r11 = r7 + 60; - if ((r3 | 0) == (r4 | 0)) { - r12 = 1; - STACKTOP = r7; - return r12; - } - r13 = HEAP32[r3 + 52 >> 2]; - r14 = r3 + 56 | 0; - r15 = HEAP32[r14 >> 2]; - L2300 : do { - if ((r13 | 0) != (r15 | 0)) { - r16 = r13, r17 = r16 >> 2; - r18 = r15; - while (1) { - r19 = HEAP32[r17]; - if (__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE(r1, r19, r5)) { - if (__ZNK5Avoid5Block20getActivePathBetweenERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEEPKNS_8VariableESB_SB_(r1, r2, HEAP32[r19 >> 2], r4, r3)) { - break; - } - r20 = HEAP32[r14 >> 2]; - } else { - r20 = r18; - } - r19 = r16 + 4 | 0; - if ((r19 | 0) == (r20 | 0)) { - break L2300; - } else { - r16 = r19, r17 = r16 >> 2; - r18 = r20; - } - } - r18 = (r2 + 4 | 0) >> 2; - r16 = HEAP32[r18]; - r19 = r2 + 8 | 0; - r21 = HEAP32[r19 >> 2]; - if (r16 >>> 0 < r21 >>> 0) { - if ((r16 | 0) == 0) { - r22 = 0; - } else { - HEAP32[r16 >> 2] = HEAP32[r17]; - r22 = HEAP32[r18]; - } - HEAP32[r18] = r22 + 4 | 0; - r12 = 1; - STACKTOP = r7; - return r12; - } - r18 = HEAP32[r2 >> 2]; - r23 = r16 - r18 >> 2; - r16 = r23 + 1 | 0; - if (r16 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r24 = r21 - r18 | 0; - if (r24 >> 2 >>> 0 > 536870910) { - r25 = 1073741823; - } else { - r18 = r24 >> 1; - r25 = r18 >>> 0 < r16 >>> 0 ? r16 : r18; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r9, r25, r23, r19); - r19 = (r9 + 8 | 0) >> 2; - r23 = HEAP32[r19]; - r18 = r9 + 12 | 0; - do { - if ((r23 | 0) == (HEAP32[r18 >> 2] | 0)) { - r16 = (r9 + 4 | 0) >> 2; - r24 = HEAP32[r16]; - r21 = r9 | 0; - r26 = HEAP32[r21 >> 2]; - if (r24 >>> 0 > r26 >>> 0) { - r27 = r24; - r28 = (r27 - r26 + 4 >> 2 | 0) / -2 & -1; - r29 = (r28 << 2) + r24 | 0; - r30 = r23 - r27 | 0; - _memmove(r29, r24, r30, 4, 0); - r27 = ((r30 >> 2) + r28 << 2) + r24 | 0; - HEAP32[r19] = r27; - HEAP32[r16] = r29; - r31 = r27; - break; - } - r27 = r23 - r26 >> 1; - r29 = (r27 | 0) == 0 ? 1 : r27; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r8, r29, r29 >>> 2, HEAP32[r9 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r8, r24, r23); - r29 = r8 | 0; - HEAP32[r21 >> 2] = HEAP32[r29 >> 2]; - HEAP32[r29 >> 2] = r26; - r26 = r8 + 4 | 0; - HEAP32[r16] = HEAP32[r26 >> 2]; - HEAP32[r26 >> 2] = r24; - r24 = r8 + 8 | 0; - r26 = HEAP32[r24 >> 2]; - HEAP32[r19] = r26; - HEAP32[r24 >> 2] = r23; - r24 = r8 + 12 | 0; - HEAP32[r18 >> 2] = HEAP32[r24 >> 2]; - HEAP32[r24 >> 2] = r23; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r8); - r31 = r26; - } else { - r31 = r23; - } - } while (0); - if ((r31 | 0) == 0) { - r32 = 0; - } else { - HEAP32[r31 >> 2] = HEAP32[r17]; - r32 = r31; - } - HEAP32[r19] = r32 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r2, r9); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r9); - r12 = 1; - STACKTOP = r7; - return r12; - } - } while (0); - r9 = HEAP32[r3 + 64 >> 2]; - r32 = r3 + 68 | 0; - r31 = HEAP32[r32 >> 2]; - if ((r9 | 0) == (r31 | 0)) { - r12 = 0; - STACKTOP = r7; - return r12; - } else { - r33 = r9, r34 = r33 >> 2; - r35 = r31; - } - while (1) { - r31 = HEAP32[r34]; - if (__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE(r1, r31, r5)) { - if (__ZNK5Avoid5Block20getActivePathBetweenERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEEPKNS_8VariableESB_SB_(r1, r2, HEAP32[r31 + 4 >> 2], r4, r3)) { - break; - } - r36 = HEAP32[r32 >> 2]; - } else { - r36 = r35; - } - r31 = r33 + 4 | 0; - if ((r31 | 0) == (r36 | 0)) { - r12 = 0; - r6 = 1997; - break; - } else { - r33 = r31, r34 = r33 >> 2; - r35 = r36; - } - } - if (r6 == 1997) { - STACKTOP = r7; - return r12; - } - r6 = (r2 + 4 | 0) >> 2; - r36 = HEAP32[r6]; - r35 = r2 + 8 | 0; - r33 = HEAP32[r35 >> 2]; - if (r36 >>> 0 < r33 >>> 0) { - if ((r36 | 0) == 0) { - r37 = 0; - } else { - HEAP32[r36 >> 2] = HEAP32[r34]; - r37 = HEAP32[r6]; - } - HEAP32[r6] = r37 + 4 | 0; - r12 = 1; - STACKTOP = r7; - return r12; - } - r37 = HEAP32[r2 >> 2]; - r6 = r36 - r37 >> 2; - r36 = r6 + 1 | 0; - if (r36 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r32 = r33 - r37 | 0; - if (r32 >> 2 >>> 0 > 536870910) { - r38 = 1073741823; - } else { - r37 = r32 >> 1; - r38 = r37 >>> 0 < r36 >>> 0 ? r36 : r37; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r11, r38, r6, r35); - r35 = (r11 + 8 | 0) >> 2; - r6 = HEAP32[r35]; - r38 = r11 + 12 | 0; - do { - if ((r6 | 0) == (HEAP32[r38 >> 2] | 0)) { - r37 = (r11 + 4 | 0) >> 2; - r36 = HEAP32[r37]; - r32 = r11 | 0; - r33 = HEAP32[r32 >> 2]; - if (r36 >>> 0 > r33 >>> 0) { - r3 = r36; - r4 = (r3 - r33 + 4 >> 2 | 0) / -2 & -1; - r1 = (r4 << 2) + r36 | 0; - r5 = r6 - r3 | 0; - _memmove(r1, r36, r5, 4, 0); - r3 = ((r5 >> 2) + r4 << 2) + r36 | 0; - HEAP32[r35] = r3; - HEAP32[r37] = r1; - r39 = r3; - break; - } - r3 = r6 - r33 >> 1; - r1 = (r3 | 0) == 0 ? 1 : r3; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r10, r1, r1 >>> 2, HEAP32[r11 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r10, r36, r6); - r1 = r10 | 0; - HEAP32[r32 >> 2] = HEAP32[r1 >> 2]; - HEAP32[r1 >> 2] = r33; - r33 = r10 + 4 | 0; - HEAP32[r37] = HEAP32[r33 >> 2]; - HEAP32[r33 >> 2] = r36; - r36 = r10 + 8 | 0; - r33 = HEAP32[r36 >> 2]; - HEAP32[r35] = r33; - HEAP32[r36 >> 2] = r6; - r36 = r10 + 12 | 0; - HEAP32[r38 >> 2] = HEAP32[r36 >> 2]; - HEAP32[r36 >> 2] = r6; - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r10); - r39 = r33; - } else { - r39 = r6; - } - } while (0); - if ((r39 | 0) == 0) { - r40 = 0; - } else { - HEAP32[r39 >> 2] = HEAP32[r34]; - r40 = r39; - } - HEAP32[r35] = r40 + 4 | 0; - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r2, r11); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r11); - r12 = 1; - STACKTOP = r7; - return r12; -} -__ZNK5Avoid5Block20getActivePathBetweenERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEEPKNS_8VariableESB_SB_["X"] = 1; -function __ZNSt3__1lsIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS_13basic_ostreamIT_T0_EES9_RKNS_12basic_stringIS6_S7_T1_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3; - r5 = r3 + 8; - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(r4, r1); - do { - if ((HEAP8[r4 | 0] & 1) << 24 >> 24 != 0) { - r6 = r2; - r7 = HEAP8[r2]; - r8 = r7 & 255; - if ((r8 & 1 | 0) == 0) { - r9 = r8 >>> 1; - } else { - r9 = HEAP32[r2 + 4 >> 2]; - } - r8 = r1; - r10 = HEAP32[HEAP32[r8 >> 2] - 12 >> 2]; - r11 = r1, r12 = r11 >> 2; - r13 = HEAP32[(r10 + 24 >> 2) + r12]; - r14 = (r7 & 1) << 24 >> 24 == 0; - if (r14) { - r15 = r6 + 1 | 0; - } else { - r15 = HEAP32[r2 + 8 >> 2]; - } - do { - if ((HEAP32[(r10 + 4 >> 2) + r12] & 176 | 0) == 32) { - if (r14) { - r16 = r6 + 1 | 0; - r17 = r6 + (r9 + 1) | 0; - break; - } else { - r7 = HEAP32[r2 + 8 >> 2]; - r16 = r7; - r17 = r7 + r9 | 0; - break; - } - } else { - if (r14) { - r7 = r6 + 1 | 0; - r16 = r7; - r17 = r7; - break; - } else { - r7 = HEAP32[r2 + 8 >> 2]; - r16 = r7; - r17 = r7; - break; - } - } - } while (0); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r5, r13, r15, r17, r16 + r9 | 0, r11 + r10 | 0, HEAP8[r10 + (r11 + 76) | 0]); - if ((HEAP32[r5 >> 2] | 0) != 0) { - break; - } - r6 = HEAP32[HEAP32[r8 >> 2] - 12 >> 2]; - __ZNSt3__18ios_base5clearEj(r11 + r6 | 0, HEAP32[(r6 + 16 >> 2) + r12] | 5); - } - } while (0); - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(r4); - STACKTOP = r3; - return r1; -} -__ZNSt3__1lsIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS_13basic_ostreamIT_T0_EES9_RKNS_12basic_stringIS6_S7_T1_EE["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8allocateEj(r1, r2) { - var r3; - if (r2 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } else { - r3 = __Znwj(r2 << 2); - HEAP32[r1 + 4 >> 2] = r3; - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 8 >> 2] = (r2 << 2) + r3 | 0; - return; - } -} -function __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (r6 - r7 >> 2 >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = r7 - r8 >> 2; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = r6 - r8 | 0; - if (r10 >> 2 >>> 0 > 536870910) { - r11 = 1073741823; - } else { - r8 = r10 >> 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC1EjjS6_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r4); - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25; - r7 = r2 >> 2; - r8 = 0; - r9 = r2 + 44 | 0; - r10 = HEAP32[r9 >> 2]; - r11 = r2 + 24 | 0; - r12 = HEAP32[r11 >> 2]; - if (r10 >>> 0 < r12 >>> 0) { - HEAP32[r9 >> 2] = r12; - r13 = r12; - } else { - r13 = r10; - } - r10 = r6 & 24; - do { - if ((r10 | 0) == 0) { - r9 = r1; - r14 = r9 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r9 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r9 = r1 + 8 | 0; - r18 = r9 | 0, r19 = r18 >> 2; - HEAP32[r19] = -1; - r20 = r9 + 4 | 0, r21 = r20 >> 2; - HEAP32[r21] = -1; - return; - } else if ((r10 | 0) == 24) { - if ((r5 | 0) == 0) { - r22 = 0; - r23 = 0; - break; - } else if ((r5 | 0) == 2) { - r8 = 2064; - break; - } else if ((r5 | 0) != 1) { - r8 = 2068; - break; - } - r9 = r1; - r14 = r9 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r9 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r9 = r1 + 8 | 0; - r18 = r9 | 0, r19 = r18 >> 2; - HEAP32[r19] = -1; - r20 = r9 + 4 | 0, r21 = r20 >> 2; - HEAP32[r21] = -1; - return; - } else { - if ((r5 | 0) == 0) { - r22 = 0; - r23 = 0; - break; - } else if ((r5 | 0) == 2) { - r8 = 2064; - break; - } else if ((r5 | 0) != 1) { - r8 = 2068; - break; - } - if ((r6 & 8 | 0) == 0) { - r9 = r12 - HEAP32[r7 + 5] | 0; - r22 = (r9 | 0) < 0 ? -1 : 0; - r23 = r9; - break; - } else { - r9 = HEAP32[r7 + 3] - HEAP32[r7 + 2] | 0; - r22 = (r9 | 0) < 0 ? -1 : 0; - r23 = r9; - break; - } - } - } while (0); - if (r8 == 2068) { - r5 = r1; - r14 = r5 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r5 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r5 = r1 + 8 | 0; - r18 = r5 | 0, r19 = r18 >> 2; - HEAP32[r19] = -1; - r20 = r5 + 4 | 0, r21 = r20 >> 2; - HEAP32[r21] = -1; - return; - } - if (r8 == 2064) { - r8 = r2 + 32 | 0; - if ((HEAP8[r8] & 1) << 24 >> 24 == 0) { - r24 = r8 + 1 | 0; - } else { - r24 = HEAP32[r7 + 10]; - } - r8 = r13 - r24 | 0; - r22 = (r8 | 0) < 0 ? -1 : 0; - r23 = r8; - } - r8 = (i64Math.add(r23, r22, r3, r4), HEAP32[tempDoublePtr >> 2]); - r4 = HEAP32[tempDoublePtr + 4 >> 2]; - r3 = 0; - do { - if (!((r4 | 0) < (r3 | 0) | (r4 | 0) == (r3 | 0) & r8 >>> 0 < 0 >>> 0)) { - r22 = r2 + 32 | 0; - if ((HEAP8[r22] & 1) << 24 >> 24 == 0) { - r25 = r22 + 1 | 0; - } else { - r25 = HEAP32[r7 + 10]; - } - r22 = r13 - r25 | 0; - r23 = (r22 | 0) < 0 ? -1 : 0; - if ((r23 | 0) < (r4 | 0) | (r23 | 0) == (r4 | 0) & r22 >>> 0 < r8 >>> 0) { - break; - } - r22 = r6 & 8; - do { - if (!((r8 | 0) == 0 & (r4 | 0) == 0)) { - do { - if ((r22 | 0) != 0) { - if ((HEAP32[r7 + 3] | 0) != 0) { - break; - } - r23 = r1; - r14 = r23 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r23 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r23 = r1 + 8 | 0; - r18 = r23 | 0, r19 = r18 >> 2; - HEAP32[r19] = -1; - r20 = r23 + 4 | 0, r21 = r20 >> 2; - HEAP32[r21] = -1; - return; - } - } while (0); - if (!((r6 & 16 | 0) != 0 & (r12 | 0) == 0)) { - break; - } - r23 = r1; - r14 = r23 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r23 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r23 = r1 + 8 | 0; - r18 = r23 | 0, r19 = r18 >> 2; - HEAP32[r19] = -1; - r20 = r23 + 4 | 0, r21 = r20 >> 2; - HEAP32[r21] = -1; - return; - } - } while (0); - if ((r22 | 0) != 0) { - HEAP32[r7 + 3] = HEAP32[r7 + 2] + r8 | 0; - HEAP32[r7 + 4] = r13; - } - if ((r6 & 16 | 0) != 0) { - HEAP32[r11 >> 2] = HEAP32[r7 + 5] + r8 | 0; - } - r23 = r1; - r14 = r23 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r23 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r23 = r1 + 8 | 0; - HEAP32[r23 >> 2] = r8; - HEAP32[r23 + 4 >> 2] = r4; - return; - } - } while (0); - r4 = r1; - r14 = r4 | 0, r15 = r14 >> 2; - HEAP32[r15] = 0; - r16 = r4 + 4 | 0, r17 = r16 >> 2; - HEAP32[r17] = 0; - r17 = r1 + 8 | 0; - r18 = r17 | 0, r19 = r18 >> 2; - HEAP32[r19] = -1; - r20 = r17 + 4 | 0, r21 = r20 >> 2; - HEAP32[r21] = -1; - return; -} -__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj["X"] = 1; -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9underflowEv(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = r1 + 44 | 0; - r3 = HEAP32[r2 >> 2]; - r4 = HEAP32[r1 + 24 >> 2]; - if (r3 >>> 0 < r4 >>> 0) { - HEAP32[r2 >> 2] = r4; - r5 = r4; - } else { - r5 = r3; - } - if ((HEAP32[r1 + 48 >> 2] & 8 | 0) == 0) { - r6 = -1; - return r6; - } - r3 = r1 + 16 | 0; - r4 = HEAP32[r3 >> 2]; - r2 = HEAP32[r1 + 12 >> 2]; - if (r4 >>> 0 < r5 >>> 0) { - HEAP32[r3 >> 2] = r5; - r7 = r5; - } else { - r7 = r4; - } - if (r2 >>> 0 >= r7 >>> 0) { - r6 = -1; - return r6; - } - r6 = HEAPU8[r2]; - return r6; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9pbackfailEi(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = r1 + 44 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = HEAP32[r1 + 24 >> 2]; - if (r4 >>> 0 < r5 >>> 0) { - HEAP32[r3 >> 2] = r5; - r6 = r5; - } else { - r6 = r4; - } - r4 = (r1 + 8 | 0) >> 2; - r5 = HEAP32[r4]; - r3 = (r1 + 12 | 0) >> 2; - r7 = HEAP32[r3]; - if (r5 >>> 0 >= r7 >>> 0) { - r8 = -1; - return r8; - } - if ((r2 | 0) == -1) { - HEAP32[r4] = r5; - HEAP32[r3] = r7 - 1 | 0; - HEAP32[r1 + 16 >> 2] = r6; - r8 = 0; - return r8; - } - r9 = r7 - 1 | 0; - do { - if ((HEAP32[r1 + 48 >> 2] & 16 | 0) == 0) { - if ((r2 << 24 >> 24 | 0) == (HEAP8[r9] << 24 >> 24 | 0)) { - break; - } else { - r8 = -1; - } - return r8; - } - } while (0); - HEAP32[r4] = r5; - HEAP32[r3] = r9; - HEAP32[r1 + 16 >> 2] = r6; - HEAP8[r9] = r2 & 255; - r8 = r2; - return r8; -} -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r6 = __Znwj(r2 << 2); - } - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv(r1, r2) { - var r3, r4, r5, r6, r7, r8; - r3 = r2 >> 2; - r4 = r1 >> 2; - r5 = HEAP32[r3 + 12]; - if ((r5 & 16 | 0) != 0) { - r6 = r2 + 44 | 0; - r2 = HEAP32[r6 >> 2]; - r7 = HEAP32[r3 + 6]; - if (r2 >>> 0 < r7 >>> 0) { - HEAP32[r6 >> 2] = r7; - r8 = r7; - } else { - r8 = r2; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, HEAP32[r3 + 5], r8); - return; - } - if ((r5 & 8 | 0) == 0) { - HEAP32[r4] = 0; - HEAP32[r4 + 1] = 0; - HEAP32[r4 + 2] = 0; - return; - } else { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, HEAP32[r3 + 2], HEAP32[r3 + 4]); - return; - } -} -function __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev(r1) { - __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZTv0_n12_NSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1) { - __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZTv0_n12_NSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev(r1) { - __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(r1) { - HEAP32[r1 >> 2] = 5266080; - HEAP32[r1 + 56 >> 2] = 5266100; - __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1 + 4 | 0); - return; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1) { - __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(r1); - return; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(r1) { - HEAP32[r1 >> 2] = 5266264; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1 + 32 | 0); - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev(r1) { - __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekposENS_4fposI10_mbstate_tEEj(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - r6 = r3 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - HEAP32[r3 >> 2] = HEAP32[r6]; - HEAP32[r3 + 4 >> 2] = HEAP32[r6 + 1]; - HEAP32[r3 + 8 >> 2] = HEAP32[r6 + 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r6 + 3]; - r6 = r3 + 8 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 16 >> 2]](r1, r2, HEAP32[r6 >> 2], HEAP32[r6 + 4 >> 2], 0, r4); - STACKTOP = r5; - return; -} -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE8overflowEi(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27; - r3 = r1 >> 2; - if ((r2 | 0) == -1) { - r4 = 0; - return r4; - } - r5 = r1 | 0; - r6 = r1 + 12 | 0; - r7 = r1 + 8 | 0; - r8 = HEAP32[r6 >> 2] - HEAP32[r7 >> 2] | 0; - r9 = (r1 + 24 | 0) >> 2; - r10 = HEAP32[r9]; - r11 = r1 + 28 | 0; - r12 = HEAP32[r11 >> 2]; - if ((r10 | 0) == (r12 | 0)) { - r13 = r1 + 48 | 0; - if ((HEAP32[r13 >> 2] & 16 | 0) == 0) { - r4 = -1; - return r4; - } - r14 = r1 + 20 | 0; - r15 = HEAP32[r14 >> 2]; - r16 = r1 + 44 | 0; - r17 = HEAP32[r16 >> 2] - r15 | 0; - r18 = r1 + 32 | 0; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(r18, 0); - r19 = r18; - if ((HEAP8[r19] & 1) << 24 >> 24 == 0) { - r20 = 10; - } else { - r20 = (HEAP32[r18 >> 2] & -2) - 1 | 0; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEjc(r18, r20); - r20 = HEAP8[r19]; - if ((r20 & 1) << 24 >> 24 == 0) { - r21 = r18 + 1 | 0; - } else { - r21 = HEAP32[r3 + 10]; - } - r18 = r20 & 255; - if ((r18 & 1 | 0) == 0) { - r22 = r18 >>> 1; - } else { - r22 = HEAP32[r3 + 9]; - } - r18 = r21 + r22 | 0; - HEAP32[r14 >> 2] = r21; - HEAP32[r11 >> 2] = r18; - r11 = r21 + (r10 - r15) | 0; - HEAP32[r9] = r11; - r15 = r21 + r17 | 0; - HEAP32[r16 >> 2] = r15; - r23 = r11; - r24 = r18; - r25 = r15; - r26 = r13; - } else { - r23 = r10; - r24 = r12; - r25 = HEAP32[r3 + 11]; - r26 = r1 + 48 | 0; - } - r12 = r23 + 1 | 0; - r10 = r12 >>> 0 < r25 >>> 0 ? r25 : r12; - HEAP32[r3 + 11] = r10; - if ((HEAP32[r26 >> 2] & 8 | 0) != 0) { - r26 = r1 + 32 | 0; - if ((HEAP8[r26] & 1) << 24 >> 24 == 0) { - r27 = r26 + 1 | 0; - } else { - r27 = HEAP32[r3 + 10]; - } - HEAP32[r7 >> 2] = r27; - HEAP32[r6 >> 2] = r27 + r8 | 0; - HEAP32[r3 + 4] = r10; - } - if ((r23 | 0) == (r24 | 0)) { - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r3] + 52 >> 2]](r5, r2 & 255); - return r4; - } else { - HEAP32[r9] = r12; - HEAP8[r23] = r2 & 255; - r4 = r2 & 255; - return r4; - } -} -__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE8overflowEi["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8__appendEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r1 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r7 = HEAP32[r1 + 4 >> 2]; - if (r6 - r7 >> 2 >>> 0 >= r2 >>> 0) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endEj(r1, r2); - STACKTOP = r3; - return; - } - r8 = HEAP32[r1 >> 2]; - r9 = r7 - r8 >> 2; - r7 = r9 + r2 | 0; - if (r7 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r10 = r6 - r8 | 0; - if (r10 >> 2 >>> 0 > 536870910) { - r11 = 1073741823; - } else { - r8 = r10 >> 1; - r11 = r8 >>> 0 < r7 >>> 0 ? r7 : r8; - } - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_(r4, r11, r9, r5); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endEj(r4, r2); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1, r4); - __ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev(r4); - STACKTOP = r3; - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = r2; - r5 = r3 - r4 | 0; - if ((r5 | 0) == -1) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r5 >>> 0 < 11) { - HEAP8[r1] = r5 << 1 & 255; - r6 = r1 + 1 | 0; - } else { - r7 = r5 + 16 & -16; - r8 = __Znwj(r7); - HEAP32[r1 + 8 >> 2] = r8; - HEAP32[r1 >> 2] = r7 | 1; - HEAP32[r1 + 4 >> 2] = r5; - r6 = r8; - } - if ((r2 | 0) == (r3 | 0)) { - r9 = r6; - HEAP8[r9] = 0; - return; - } - r8 = r3 + -r4 | 0; - r4 = r6; - r5 = r2; - while (1) { - HEAP8[r4] = HEAP8[r5]; - r2 = r5 + 1 | 0; - if ((r2 | 0) == (r3 | 0)) { - break; - } else { - r4 = r4 + 1 | 0; - r5 = r2; - } - } - r9 = r6 + r8 | 0; - HEAP8[r9] = 0; - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - return; - } - r4 = (r1 + 4 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZN5Avoid22UnsatisfiableExceptionC2Ev(r1) { - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - return; -} -function __ZNSt3__18ios_base4InitC2Ev() { - var r1; - HEAP32[HEAP32[HEAP32[1318504] - 12 >> 2] + 5274088 >> 2] = 5273764; - r1 = HEAP32[HEAP32[1318483] - 12 >> 2] + 5273936 | 0; - HEAP32[r1 >> 2] = HEAP32[r1 >> 2] | 8192; - HEAP32[HEAP32[HEAP32[1318483] - 12 >> 2] + 5274004 >> 2] = 5273764; - HEAP32[HEAP32[HEAP32[1318419] - 12 >> 2] + 5273748 >> 2] = 5273408; - r1 = HEAP32[HEAP32[1318394] - 12 >> 2] + 5273580 | 0; - HEAP32[r1 >> 2] = HEAP32[r1 >> 2] | 8192; - HEAP32[HEAP32[HEAP32[1318394] - 12 >> 2] + 5273648 >> 2] = 5273408; - return; -} -__ZNSt3__18ios_base4InitC2Ev["X"] = 1; -function __ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = r1 >> 2; - r4 = r1 + 32 | 0; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r4, r2); - r2 = (r1 + 44 | 0) >> 2; - HEAP32[r2] = 0; - r5 = r1 + 48 | 0; - r6 = HEAP32[r5 >> 2]; - if ((r6 & 8 | 0) != 0) { - r7 = r4; - r8 = HEAP8[r4]; - r9 = (r8 & 1) << 24 >> 24 == 0; - if (r9) { - r10 = r7 + 1 | 0; - } else { - r10 = HEAP32[r3 + 10]; - } - r11 = r8 & 255; - if ((r11 & 1 | 0) == 0) { - r12 = r11 >>> 1; - } else { - r12 = HEAP32[r3 + 9]; - } - r11 = r10 + r12 | 0; - HEAP32[r2] = r11; - if (r9) { - r13 = r7 + 1 | 0; - } else { - r13 = HEAP32[r3 + 10]; - } - HEAP32[r3 + 2] = r13; - HEAP32[r3 + 3] = r13; - HEAP32[r3 + 4] = r11; - } - if ((r6 & 16 | 0) == 0) { - return; - } - r6 = r4; - r11 = r4; - r13 = HEAP8[r11]; - r7 = r13 & 255; - if ((r7 & 1 | 0) == 0) { - r14 = r7 >>> 1; - } else { - r14 = HEAP32[r3 + 9]; - } - if ((r13 & 1) << 24 >> 24 == 0) { - HEAP32[r2] = r6 + (r14 + 1) | 0; - r15 = 10; - } else { - HEAP32[r2] = HEAP32[r3 + 10] + r14 | 0; - r15 = (HEAP32[r4 >> 2] & -2) - 1 | 0; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEjc(r4, r15); - r15 = HEAP8[r11]; - if ((r15 & 1) << 24 >> 24 == 0) { - r16 = r6 + 1 | 0; - } else { - r16 = HEAP32[r3 + 10]; - } - r6 = r15 & 255; - if ((r6 & 1 | 0) == 0) { - r17 = r6 >>> 1; - } else { - r17 = HEAP32[r3 + 9]; - } - r6 = r1 + 24 | 0; - HEAP32[r6 >> 2] = r16; - HEAP32[r3 + 5] = r16; - HEAP32[r3 + 7] = r16 + r17 | 0; - if ((HEAP32[r5 >> 2] & 3 | 0) == 0) { - return; - } - HEAP32[r6 >> 2] = r16 + r14 | 0; - return; -} -__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE["X"] = 1; -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE10deallocateEv(r1) { - var r2, r3, r4; - r2 = r1 | 0; - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - return; - } - r4 = r1 + 4 | 0; - HEAP32[r4 >> 2] = r3; - __ZdlPv(r3); - HEAP32[r1 + 8 >> 2] = 0; - HEAP32[r4 >> 2] = 0; - HEAP32[r2 >> 2] = 0; - return; -} -function __ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED2Ev(r1) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1 | 0); - return; -} -function __ZN5Avoid13PositionStatsC2Ev(r1) { - var r2; - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - HEAP32[r2 + 6] = 0; - HEAP32[r2 + 7] = 0; - return; -} -function __ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED2Ev(r1) { - __ZNSt3__113__vector_baseIPN5Avoid5BlockENS_9allocatorIS3_EEED2Ev(r1 | 0); - return; -} -function __ZNSt3__113__vector_baseIPN5Avoid5BlockENS_9allocatorIS3_EEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - __ZdlPv(r2); - return; -} -function __ZN5Avoid22UnsatisfiableExceptionD2Ev(r1) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev(r1 | 0); - return; -} -function __ZN5Avoid22UnsatisfiableExceptionC2ERKS0_(r1, r2) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEEC1ERKS6_(r1 | 0, r2 | 0); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEEC1ERKS6_(r1, r2) { - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEEC2ERKS6_(r1, r2); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEEC2ERKS6_(r1, r2) { - var r3, r4; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - HEAP32[r1 + 8 >> 2] = 0; - r3 = r2 + 4 | 0; - r4 = r2 | 0; - r2 = HEAP32[r3 >> 2] - HEAP32[r4 >> 2] >> 2; - if ((r2 | 0) == 0) { - return; - } - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8allocateEj(r1, r2); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, HEAP32[r4 >> 2], HEAP32[r3 >> 2]); - return; -} -function __ZNSt3__112__do_messageC2Ev(r1) { - __ZNSt3__114error_categoryC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5266708; - return; -} -function ___cxx_global_var_init996() { - __ZNSt3__110__stdinbufIcEC1EP7__sFILE(HEAP32[_stdin >> 2]); - _atexit(36, 5273164, ___dso_handle); - return; -} -function __ZNSt3__110__stdinbufIcEC1EP7__sFILE(r1) { - __ZNSt3__110__stdinbufIcEC2EP7__sFILE(r1); - return; -} -function __ZNSt3__110__stdinbufIcED1Ev(r1) { - __ZNSt3__110__stdinbufIcED2Ev(r1); - return; -} -function ___cxx_global_var_init1997() { - __ZNSt3__111__stdoutbufIcEC1EP7__sFILE(5273060, HEAP32[_stdout >> 2]); - _atexit(502, 5273060, ___dso_handle); - return; -} -function __ZNSt3__111__stdoutbufIcEC1EP7__sFILE(r1, r2) { - __ZNSt3__111__stdoutbufIcEC2EP7__sFILE(r1, r2); - return; -} -function __ZNSt3__111__stdoutbufIcED1Ev(r1) { - __ZNSt3__111__stdoutbufIcED2Ev(r1); - return; -} -function ___cxx_global_var_init2() { - __ZNSt3__111__stdoutbufIcEC1EP7__sFILE(5273112, HEAP32[_stderr >> 2]); - _atexit(502, 5273112, ___dso_handle); - return; -} -function ___cxx_global_var_init3() { - __ZNSt3__110__stdinbufIwEC1EP7__sFILE(HEAP32[_stdin >> 2]); - _atexit(290, 5273004, ___dso_handle); - return; -} -function __ZNSt3__110__stdinbufIwEC1EP7__sFILE(r1) { - __ZNSt3__110__stdinbufIwEC2EP7__sFILE(r1); - return; -} -function __ZNSt3__110__stdinbufIwED1Ev(r1) { - __ZNSt3__110__stdinbufIwED2Ev(r1); - return; -} -function ___cxx_global_var_init4998() { - __ZNSt3__111__stdoutbufIwEC1EP7__sFILE(5272900, HEAP32[_stdout >> 2]); - _atexit(858, 5272900, ___dso_handle); - return; -} -function __ZNSt3__111__stdoutbufIwEC1EP7__sFILE(r1, r2) { - __ZNSt3__111__stdoutbufIwEC2EP7__sFILE(r1, r2); - return; -} -function __ZNSt3__111__stdoutbufIwED1Ev(r1) { - __ZNSt3__111__stdoutbufIwED2Ev(r1); - return; -} -function ___cxx_global_var_init5() { - __ZNSt3__111__stdoutbufIwEC1EP7__sFILE(5272952, HEAP32[_stderr >> 2]); - _atexit(858, 5272952, ___dso_handle); - return; -} -function ___cxx_global_var_init14() { - __ZNSt3__18ios_base4InitC1Ev(); - _atexit(314, 5274104, ___dso_handle); - return; -} -function __ZNSt3__18ios_base4InitC1Ev() { - __ZNSt3__18ios_base4InitC2Ev(); - return; -} -function __ZNSt3__18ios_base4InitD1Ev(r1) { - __ZNSt3__18ios_base4InitD2Ev(); - return; -} -function __ZNSt3__18ios_base4InitD2Ev() { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(5273764); - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(5273848); - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5flushEv(5273408); - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5flushEv(5273492); - return; -} -function __ZNSt3__111__stdoutbufIwEC2EP7__sFILE(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEEC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5266748; - HEAP32[r1 + 32 >> 2] = r2; - __ZNSt3__16localeC1ERKS0_(r4, HEAP32[r1 + 4 >> 2]); - r2 = HEAP32[r4 >> 2]; - r4 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273372); - __ZNSt3__16localeD1Ev(r2); - r2 = r4; - HEAP32[r1 + 36 >> 2] = r2; - r5 = r1 + 40 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r5 + 4 >> 2] = 0; - HEAP8[r1 + 48 | 0] = FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 28 >> 2]](r2) & 1; - STACKTOP = r3; - return; -} -function __ZNSt3__111__stdoutbufIwED0Ev(r1) { - __ZNSt3__111__stdoutbufIwED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = r3 - r2 | 0; - r5 = r4 >> 2; - r6 = r1 + 8 | 0; - r7 = r1 | 0; - r8 = HEAP32[r7 >> 2]; - r9 = r8; - if (r5 >>> 0 <= HEAP32[r6 >> 2] - r9 >> 2 >>> 0) { - r10 = r1 + 4 | 0; - r11 = HEAP32[r10 >> 2] - r9 | 0; - r9 = r11 >> 2; - if (r5 >>> 0 > r9 >>> 0) { - _memmove(r8, r2, r11, 4, 0); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, (r9 << 2) + r2 | 0, r3); - return; - } else { - _memmove(r8, r2, r4, 4, 0); - HEAP32[r10 >> 2] = (r5 << 2) + r8 | 0; - return; - } - } - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE10deallocateEv(r1); - if (r5 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r8 = HEAP32[r6 >> 2] - HEAP32[r7 >> 2] | 0; - if (r8 >> 2 >>> 0 > 536870910) { - r12 = 1073741823; - } else { - r7 = r8 >> 1; - r12 = r7 >>> 0 < r5 >>> 0 ? r5 : r7; - } - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8allocateEj(r1, r12); - __ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3); - return; -} -__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_["X"] = 1; -function ___cxx_global_var_init6() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318504] = 5266644; - HEAP32[1318506] = 5266664; - HEAP32[1318505] = 0; - __ZNSt3__18ios_base4initEPv(5274024, 5273164); - HEAP32[1318524] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5274024); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273668); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP8[5274100] = r4; - _atexit(362, 5274016, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init7() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318441] = 5266556; - HEAP32[1318442] = 5266576; - __ZNSt3__18ios_base4initEPv(5273768, 5273060); - HEAP32[1318460] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273768); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273668); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP8[5273844] = r4; - _atexit(768, 5273764, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init8() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318483] = 5266556; - HEAP32[1318484] = 5266576; - __ZNSt3__18ios_base4initEPv(5273936, 5273112); - HEAP32[1318502] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273936); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273668); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP8[5274012] = r4; - _atexit(768, 5273932, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init9() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318462] = 5266556; - HEAP32[1318463] = 5266576; - __ZNSt3__18ios_base4initEPv(5273852, 5273112); - HEAP32[1318481] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273852); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273668); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP8[5273928] = r4; - _atexit(768, 5273848, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init10() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318419] = 5266600; - HEAP32[1318421] = 5266620; - HEAP32[1318420] = 0; - __ZNSt3__18ios_base4initEPv(5273684, 5273004); - HEAP32[1318439] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273684); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273660); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 44 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP32[1318440] = r4; - _atexit(288, 5273676, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init11() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318352] = 5266512; - HEAP32[1318353] = 5266532; - __ZNSt3__18ios_base4initEPv(5273412, 5272900); - HEAP32[1318371] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273412); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273660); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 44 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP32[1318372] = r4; - _atexit(122, 5273408, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init12() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318394] = 5266512; - HEAP32[1318395] = 5266532; - __ZNSt3__18ios_base4initEPv(5273580, 5272952); - HEAP32[1318413] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273580); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273660); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 44 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP32[1318414] = r4; - _atexit(122, 5273576, ___dso_handle); - STACKTOP = r1; - return; -} -function ___cxx_global_var_init13() { - var r1, r2, r3, r4; - r1 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r2 = r1; - HEAP32[1318373] = 5266512; - HEAP32[1318374] = 5266532; - __ZNSt3__18ios_base4initEPv(5273496, 5272952); - HEAP32[1318392] = 0; - __ZNKSt3__18ios_base6getlocEv(r2, 5273496); - r3 = HEAP32[r2 >> 2]; - r2 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5273660); - r4 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 44 >> 2]](r2, 32); - __ZNSt3__16localeD1Ev(r3); - HEAP32[1318393] = r4; - _atexit(122, 5273492, ___dso_handle); - STACKTOP = r1; - return; -} -function __ZNSt3__112_GLOBAL__N_19incrementIlEET_RS2_(r1) { - tempValue = HEAP32[r1 >> 2], HEAP32[r1 >> 2] = tempValue + 1, tempValue; - return; -} -function __ZNSt3__111__stdoutbufIwE5imbueERKNS_6localeE(r1, r2) { - var r3; - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 24 >> 2]](r1); - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5273372); - r2 = r3; - HEAP32[r1 + 36 >> 2] = r2; - HEAP8[r1 + 48 | 0] = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 28 >> 2]](r2) & 1; - return; -} -function __ZNSt3__111__stdoutbufIwE4syncEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3; - r5 = r3 + 8; - r6 = r1 + 36 | 0; - r7 = r1 + 40 | 0; - r8 = r4 | 0; - r9 = r4 + 8 | 0; - r10 = r4; - r4 = r1 + 32 | 0; - while (1) { - r1 = HEAP32[r6 >> 2]; - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 20 >> 2]](r1, r7, r8, r9, r5); - r1 = HEAP32[r5 >> 2] - r10 | 0; - if ((_fwrite(r8, 1, r1, HEAP32[r4 >> 2]) | 0) != (r1 | 0)) { - r12 = -1; - r2 = 8; - break; - } - if ((r11 | 0) == 2) { - r12 = -1; - r2 = 9; - break; - } else if ((r11 | 0) != 1) { - r2 = 6; - break; - } - } - if (r2 == 6) { - r12 = ((_fflush(HEAP32[r4 >> 2]) | 0) != 0) << 31 >> 31; - STACKTOP = r3; - return r12; - } else if (r2 == 8) { - STACKTOP = r3; - return r12; - } else if (r2 == 9) { - STACKTOP = r3; - return r12; - } -} -function __ZNSt3__111__stdoutbufIwE8overflowEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 12; - r8 = r4 + 16; - r9 = (r2 | 0) == -1; - if (!r9) { - r10 = r6 + 4 | 0; - r11 = (r1 + 24 | 0) >> 2; - r12 = (r1 + 20 | 0) >> 2; - HEAP32[r12] = r6; - r13 = (r1 + 28 | 0) >> 2; - HEAP32[r13] = r10; - HEAP32[r6 >> 2] = r2; - HEAP32[r11] = r10; - L14 : do { - if ((HEAP8[r1 + 48 | 0] & 1) << 24 >> 24 == 0) { - r14 = r5 | 0; - HEAP32[r7 >> 2] = r14; - r15 = r1 + 36 | 0; - r16 = r1 + 40 | 0; - r17 = r5 + 8 | 0; - r18 = r5; - r19 = r1 + 32 | 0; - r20 = r6; - r21 = r10; - while (1) { - r22 = HEAP32[r15 >> 2]; - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r22 >> 2] + 12 >> 2]](r22, r16, r20, r21, r8, r14, r17, r7); - r24 = HEAP32[r12]; - if ((HEAP32[r8 >> 2] | 0) == (r24 | 0)) { - r25 = -1; - r3 = 25; - break; - } - if ((r23 | 0) == 3) { - r3 = 17; - break; - } - if (r23 >>> 0 >= 2) { - r25 = -1; - r3 = 28; - break; - } - r22 = HEAP32[r7 >> 2] - r18 | 0; - if ((_fwrite(r14, 1, r22, HEAP32[r19 >> 2]) | 0) != (r22 | 0)) { - r25 = -1; - r3 = 29; - break; - } - if ((r23 | 0) != 1) { - break L14; - } - r23 = HEAP32[r8 >> 2]; - r22 = HEAP32[r11]; - HEAP32[r12] = r23; - HEAP32[r13] = r22; - r26 = (r22 - r23 >> 2 << 2) + r23 | 0; - HEAP32[r11] = r26; - r20 = r23; - r21 = r26; - } - if (r3 == 17) { - if ((_fwrite(r24, 1, 1, HEAP32[r19 >> 2]) | 0) == 1) { - break; - } else { - r25 = -1; - } - STACKTOP = r4; - return r25; - } else if (r3 == 25) { - STACKTOP = r4; - return r25; - } else if (r3 == 28) { - STACKTOP = r4; - return r25; - } else if (r3 == 29) { - STACKTOP = r4; - return r25; - } - } else { - if ((_fwrite(r6, 4, 1, HEAP32[r1 + 32 >> 2]) | 0) == 1) { - break; - } else { - r25 = -1; - } - STACKTOP = r4; - return r25; - } - } while (0); - HEAP32[r11] = 0; - HEAP32[r12] = 0; - HEAP32[r13] = 0; - } - r25 = r9 ? 0 : r2; - STACKTOP = r4; - return r25; -} -__ZNSt3__111__stdoutbufIwE8overflowEj["X"] = 1; -function __ZNSt3__110__stdinbufIwEC2EP7__sFILE(r1) { - var r2, r3; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r2; - __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEEC2Ev(5273004); - HEAP32[1318251] = 5267124; - HEAP32[1318259] = r1; - r1 = 5273044; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - __ZNSt3__16localeC1ERKS0_(r3, HEAP32[1318252]); - __ZNSt3__110__stdinbufIwE5imbueERKNS_6localeE(5273004, r3); - __ZNSt3__16localeD1Ev(HEAP32[r3 >> 2]); - STACKTOP = r2; - return; -} -function __ZNSt3__110__stdinbufIwED0Ev(r1) { - __ZNSt3__110__stdinbufIwED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__110__stdinbufIwE9underflowEv(r1) { - return __ZNSt3__110__stdinbufIwE9__getcharEb(r1, 0); -} -function __ZNSt3__110__stdinbufIwE5uflowEv(r1) { - return __ZNSt3__110__stdinbufIwE9__getcharEb(r1, 1); -} -function __ZNSt3__110__stdinbufIwE9pbackfailEj(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = r4 + 8, r7 = r6 >> 2; - r8 = r4 + 12; - if ((r2 | 0) == -1) { - r9 = -1; - STACKTOP = r4; - return r9; - } - HEAP32[r8 >> 2] = r2; - r10 = HEAP32[r1 + 36 >> 2]; - r11 = r5 | 0; - r12 = FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 12 >> 2]](r10, r1 + 40 | 0, r8, r8 + 4 | 0, r4 + 16, r11, r5 + 8 | 0, r6); - if ((r12 | 0) == 2 | (r12 | 0) == 1) { - r9 = -1; - STACKTOP = r4; - return r9; - } else if ((r12 | 0) == 3) { - HEAP8[r11] = r2 & 255; - HEAP32[r7] = r5 + 1 | 0; - } - r5 = r1 + 32 | 0; - while (1) { - r1 = HEAP32[r7]; - if (r1 >>> 0 <= r11 >>> 0) { - r9 = r2; - r3 = 44; - break; - } - r12 = r1 - 1 | 0; - HEAP32[r7] = r12; - if ((_ungetc(HEAP8[r12] << 24 >> 24, HEAP32[r5 >> 2]) | 0) == -1) { - r9 = -1; - r3 = 46; - break; - } - } - if (r3 == 44) { - STACKTOP = r4; - return r9; - } else if (r3 == 46) { - STACKTOP = r4; - return r9; - } -} -function __ZNSt3__110__stdinbufIwE9__getcharEb(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = r4 + 8, r7 = r6 >> 2; - r8 = r4 + 12; - r9 = r4 + 16; - r10 = HEAP32[r1 + 48 >> 2]; - r11 = (r10 | 0) > 1 ? r10 : 1; - L54 : do { - if ((r11 | 0) > 0) { - r10 = r1 + 32 | 0; - r12 = 0; - while (1) { - r13 = _fgetc(HEAP32[r10 >> 2]); - if ((r13 & 255 | 0) == 255) { - r14 = -1; - break; - } - HEAP8[r5 + r12 | 0] = r13 & 255; - r13 = r12 + 1 | 0; - if ((r13 | 0) < (r11 | 0)) { - r12 = r13; - } else { - break L54; - } - } - STACKTOP = r4; - return r14; - } - } while (0); - L61 : do { - if ((HEAP8[r1 + 52 | 0] & 1) << 24 >> 24 == 0) { - r12 = r1 + 40 | 0; - r10 = r12 >> 2; - r13 = r1 + 36 | 0; - r15 = r5 | 0; - r16 = r6 + 4 | 0; - r17 = r1 + 32 | 0; - r18 = r11; - while (1) { - r19 = HEAP32[r10]; - r20 = HEAP32[r10 + 1]; - r21 = HEAP32[r13 >> 2]; - r22 = r5 + r18 | 0; - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r21 >> 2] + 16 >> 2]](r21, r12, r15, r22, r8, r6, r16, r9); - if ((r23 | 0) == 3) { - r3 = 58; - break; - } else if ((r23 | 0) == 2) { - r14 = -1; - r3 = 67; - break; - } else if ((r23 | 0) != 1) { - r24 = r18; - break L61; - } - HEAP32[r10] = r19; - HEAP32[r10 + 1] = r20; - if ((r18 | 0) == 8) { - r14 = -1; - r3 = 68; - break; - } - r20 = _fgetc(HEAP32[r17 >> 2]); - if ((r20 & 255 | 0) == 255) { - r14 = -1; - r3 = 69; - break; - } - HEAP8[r22] = r20 & 255; - r18 = r18 + 1 | 0; - } - if (r3 == 58) { - HEAP32[r7] = HEAP8[r15] << 24 >> 24; - r24 = r18; - break; - } else if (r3 == 67) { - STACKTOP = r4; - return r14; - } else if (r3 == 68) { - STACKTOP = r4; - return r14; - } else if (r3 == 69) { - STACKTOP = r4; - return r14; - } - } else { - HEAP32[r7] = HEAP8[r5 | 0] << 24 >> 24; - r24 = r11; - } - } while (0); - L75 : do { - if (!r2) { - r11 = r1 + 32 | 0; - r3 = r24; - while (1) { - if ((r3 | 0) <= 0) { - break L75; - } - r9 = r3 - 1 | 0; - if ((_ungetc(HEAP8[r5 + r9 | 0] << 24 >> 24, HEAP32[r11 >> 2]) | 0) == -1) { - r14 = -1; - break; - } else { - r3 = r9; - } - } - STACKTOP = r4; - return r14; - } - } while (0); - r14 = HEAP32[r7]; - STACKTOP = r4; - return r14; -} -__ZNSt3__110__stdinbufIwE9__getcharEb["X"] = 1; -function __ZNSt3__111__stdoutbufIcEC2EP7__sFILE(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r4 = r3; - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev(r1 | 0); - HEAP32[r1 >> 2] = 5266816; - HEAP32[r1 + 32 >> 2] = r2; - __ZNSt3__16localeC1ERKS0_(r4, HEAP32[r1 + 4 >> 2]); - r2 = HEAP32[r4 >> 2]; - r4 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273380); - __ZNSt3__16localeD1Ev(r2); - r2 = r4; - HEAP32[r1 + 36 >> 2] = r2; - r5 = r1 + 40 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r5 + 4 >> 2] = 0; - HEAP8[r1 + 48 | 0] = FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 28 >> 2]](r2) & 1; - STACKTOP = r3; - return; -} -function __ZNSt3__111__stdoutbufIcED0Ev(r1) { - __ZNSt3__111__stdoutbufIcED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__111__stdoutbufIcE5imbueERKNS_6localeE(r1, r2) { - var r3; - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 24 >> 2]](r1); - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5273380); - r2 = r3; - HEAP32[r1 + 36 >> 2] = r2; - HEAP8[r1 + 48 | 0] = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 28 >> 2]](r2) & 1; - return; -} -function __ZNSt3__111__stdoutbufIcE4syncEv(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - r2 = 0; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r4 = r3; - r5 = r3 + 8; - r6 = r1 + 36 | 0; - r7 = r1 + 40 | 0; - r8 = r4 | 0; - r9 = r4 + 8 | 0; - r10 = r4; - r4 = r1 + 32 | 0; - while (1) { - r1 = HEAP32[r6 >> 2]; - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 20 >> 2]](r1, r7, r8, r9, r5); - r1 = HEAP32[r5 >> 2] - r10 | 0; - if ((_fwrite(r8, 1, r1, HEAP32[r4 >> 2]) | 0) != (r1 | 0)) { - r12 = -1; - r2 = 83; - break; - } - if ((r11 | 0) == 2) { - r12 = -1; - r2 = 82; - break; - } else if ((r11 | 0) != 1) { - r2 = 80; - break; - } - } - if (r2 == 83) { - STACKTOP = r3; - return r12; - } else if (r2 == 82) { - STACKTOP = r3; - return r12; - } else if (r2 == 80) { - r12 = ((_fflush(HEAP32[r4 >> 2]) | 0) != 0) << 31 >> 31; - STACKTOP = r3; - return r12; - } -} -function __ZNSt3__111__stdoutbufIcE8overflowEi(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 12; - r8 = r4 + 16; - r9 = (r2 | 0) == -1; - if (!r9) { - r10 = r6 + 1 | 0; - r11 = (r1 + 24 | 0) >> 2; - r12 = (r1 + 20 | 0) >> 2; - HEAP32[r12] = r6; - r13 = (r1 + 28 | 0) >> 2; - HEAP32[r13] = r10; - HEAP8[r6] = r2 & 255; - HEAP32[r11] = r10; - L99 : do { - if ((HEAP8[r1 + 48 | 0] & 1) << 24 >> 24 == 0) { - r14 = r5 | 0; - HEAP32[r7 >> 2] = r14; - r15 = r1 + 36 | 0; - r16 = r1 + 40 | 0; - r17 = r5 + 8 | 0; - r18 = r5; - r19 = r1 + 32 | 0; - r20 = r6; - r21 = r10; - while (1) { - r22 = HEAP32[r15 >> 2]; - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r22 >> 2] + 12 >> 2]](r22, r16, r20, r21, r8, r14, r17, r7); - r24 = HEAP32[r12]; - if ((HEAP32[r8 >> 2] | 0) == (r24 | 0)) { - r25 = -1; - r3 = 99; - break; - } - if ((r23 | 0) == 3) { - r3 = 91; - break; - } - if (r23 >>> 0 >= 2) { - r25 = -1; - r3 = 103; - break; - } - r22 = HEAP32[r7 >> 2] - r18 | 0; - if ((_fwrite(r14, 1, r22, HEAP32[r19 >> 2]) | 0) != (r22 | 0)) { - r25 = -1; - r3 = 104; - break; - } - if ((r23 | 0) != 1) { - break L99; - } - r23 = HEAP32[r8 >> 2]; - r22 = HEAP32[r11]; - HEAP32[r12] = r23; - HEAP32[r13] = r22; - r26 = r23 + (r22 - r23) | 0; - HEAP32[r11] = r26; - r20 = r23; - r21 = r26; - } - if (r3 == 99) { - STACKTOP = r4; - return r25; - } else if (r3 == 91) { - if ((_fwrite(r24, 1, 1, HEAP32[r19 >> 2]) | 0) == 1) { - break; - } else { - r25 = -1; - } - STACKTOP = r4; - return r25; - } else if (r3 == 103) { - STACKTOP = r4; - return r25; - } else if (r3 == 104) { - STACKTOP = r4; - return r25; - } - } else { - if ((_fwrite(r6, 1, 1, HEAP32[r1 + 32 >> 2]) | 0) == 1) { - break; - } else { - r25 = -1; - } - STACKTOP = r4; - return r25; - } - } while (0); - HEAP32[r11] = 0; - HEAP32[r12] = 0; - HEAP32[r13] = 0; - } - r25 = r9 ? 0 : r2; - STACKTOP = r4; - return r25; -} -__ZNSt3__111__stdoutbufIcE8overflowEi["X"] = 1; -function __ZNSt3__110__stdinbufIcEC2EP7__sFILE(r1) { - var r2, r3; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r3 = r2; - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev(5273164); - HEAP32[1318291] = 5267192; - HEAP32[1318299] = r1; - r1 = 5273204; - HEAP32[r1 >> 2] = 0; - HEAP32[r1 + 4 >> 2] = 0; - __ZNSt3__16localeC1ERKS0_(r3, HEAP32[1318292]); - __ZNSt3__110__stdinbufIcE5imbueERKNS_6localeE(5273164, r3); - __ZNSt3__16localeD1Ev(HEAP32[r3 >> 2]); - STACKTOP = r2; - return; -} -function __ZNSt3__110__stdinbufIcED0Ev(r1) { - __ZNSt3__110__stdinbufIcED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__110__stdinbufIcE9underflowEv(r1) { - return __ZNSt3__110__stdinbufIcE9__getcharEb(r1, 0); -} -function __ZNSt3__110__stdinbufIcE5uflowEv(r1) { - return __ZNSt3__110__stdinbufIcE9__getcharEb(r1, 1); -} -function __ZNSt3__110__stdinbufIcE9pbackfailEi(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = r4 + 8, r7 = r6 >> 2; - r8 = r4 + 12; - if ((r2 | 0) == -1) { - r9 = -1; - STACKTOP = r4; - return r9; - } - r10 = r2 & 255; - HEAP8[r8] = r10; - r11 = HEAP32[r1 + 36 >> 2]; - r12 = r5 | 0; - r13 = FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 12 >> 2]](r11, r1 + 40 | 0, r8, r8 + 1 | 0, r4 + 16, r12, r5 + 8 | 0, r6); - if ((r13 | 0) == 3) { - HEAP8[r12] = r10; - HEAP32[r7] = r5 + 1 | 0; - } else if ((r13 | 0) == 2 | (r13 | 0) == 1) { - r9 = -1; - STACKTOP = r4; - return r9; - } - r13 = r1 + 32 | 0; - while (1) { - r1 = HEAP32[r7]; - if (r1 >>> 0 <= r12 >>> 0) { - r9 = r2; - r3 = 118; - break; - } - r5 = r1 - 1 | 0; - HEAP32[r7] = r5; - if ((_ungetc(HEAP8[r5] << 24 >> 24, HEAP32[r13 >> 2]) | 0) == -1) { - r9 = -1; - r3 = 119; - break; - } - } - if (r3 == 118) { - STACKTOP = r4; - return r9; - } else if (r3 == 119) { - STACKTOP = r4; - return r9; - } -} -function __ZNSt3__110__stdinbufIcE9__getcharEb(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r3 = 0; - r4 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r5 = r4; - r6 = r4 + 8; - r7 = r4 + 12; - r8 = r4 + 16; - r9 = HEAP32[r1 + 48 >> 2]; - r10 = (r9 | 0) > 1 ? r9 : 1; - L139 : do { - if ((r10 | 0) > 0) { - r9 = r1 + 32 | 0; - r11 = 0; - while (1) { - r12 = _fgetc(HEAP32[r9 >> 2]); - if ((r12 & 255 | 0) == 255) { - r13 = -1; - break; - } - HEAP8[r5 + r11 | 0] = r12 & 255; - r12 = r11 + 1 | 0; - if ((r12 | 0) < (r10 | 0)) { - r11 = r12; - } else { - break L139; - } - } - STACKTOP = r4; - return r13; - } - } while (0); - L146 : do { - if ((HEAP8[r1 + 52 | 0] & 1) << 24 >> 24 == 0) { - r11 = r1 + 40 | 0; - r9 = r11 >> 2; - r12 = r1 + 36 | 0; - r14 = r5 | 0; - r15 = r6 + 1 | 0; - r16 = r1 + 32 | 0; - r17 = r10; - while (1) { - r18 = HEAP32[r9]; - r19 = HEAP32[r9 + 1]; - r20 = HEAP32[r12 >> 2]; - r21 = r5 + r17 | 0; - r22 = FUNCTION_TABLE[HEAP32[HEAP32[r20 >> 2] + 16 >> 2]](r20, r11, r14, r21, r7, r6, r15, r8); - if ((r22 | 0) == 3) { - r3 = 132; - break; - } else if ((r22 | 0) == 2) { - r13 = -1; - r3 = 140; - break; - } else if ((r22 | 0) != 1) { - r23 = r17; - break L146; - } - HEAP32[r9] = r18; - HEAP32[r9 + 1] = r19; - if ((r17 | 0) == 8) { - r13 = -1; - r3 = 144; - break; - } - r19 = _fgetc(HEAP32[r16 >> 2]); - if ((r19 & 255 | 0) == 255) { - r13 = -1; - r3 = 143; - break; - } - HEAP8[r21] = r19 & 255; - r17 = r17 + 1 | 0; - } - if (r3 == 132) { - HEAP8[r6] = HEAP8[r14]; - r23 = r17; - break; - } else if (r3 == 140) { - STACKTOP = r4; - return r13; - } else if (r3 == 143) { - STACKTOP = r4; - return r13; - } else if (r3 == 144) { - STACKTOP = r4; - return r13; - } - } else { - HEAP8[r6] = HEAP8[r5 | 0]; - r23 = r10; - } - } while (0); - L160 : do { - if (!r2) { - r10 = r1 + 32 | 0; - r3 = r23; - while (1) { - if ((r3 | 0) <= 0) { - break L160; - } - r8 = r3 - 1 | 0; - if ((_ungetc(HEAP8[r5 + r8 | 0] << 24 >> 24, HEAP32[r10 >> 2]) | 0) == -1) { - r13 = -1; - break; - } else { - r3 = r8; - } - } - STACKTOP = r4; - return r13; - } - } while (0); - r13 = HEAPU8[r6]; - STACKTOP = r4; - return r13; -} -__ZNSt3__110__stdinbufIcE9__getcharEb["X"] = 1; -function __ZNSt3__111__stdoutbufIwED2Ev(r1) { - __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__stdinbufIwED2Ev(r1) { - __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__111__stdoutbufIcED2Ev(r1) { - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev(r1 | 0); - return; -} -function __ZNSt3__110__stdinbufIcED2Ev(r1) { - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev(r1 | 0); - return; -} -function __GLOBAL__I_a999() { - ___cxx_global_var_init996(); - ___cxx_global_var_init1997(); - ___cxx_global_var_init2(); - ___cxx_global_var_init3(); - ___cxx_global_var_init4998(); - ___cxx_global_var_init5(); - ___cxx_global_var_init6(); - ___cxx_global_var_init7(); - ___cxx_global_var_init8(); - ___cxx_global_var_init9(); - ___cxx_global_var_init10(); - ___cxx_global_var_init11(); - ___cxx_global_var_init12(); - ___cxx_global_var_init13(); - ___cxx_global_var_init14(); - return; -} -function __ZNSt3__114__shared_count12__add_sharedEv(r1) { - __ZNSt3__112_GLOBAL__N_19incrementIlEET_RS2_(r1 + 4 | 0); - return; -} -function __ZNSt3__110__stdinbufIwE5imbueERKNS_6localeE(r1, r2) { - var r3, r4, r5; - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5273372); - r2 = r3; - r4 = r1 + 36 | 0; - HEAP32[r4 >> 2] = r2; - r5 = r1 + 48 | 0; - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 24 >> 2]](r2); - r2 = HEAP32[r4 >> 2]; - HEAP8[r1 + 52 | 0] = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r2) & 1; - if (HEAP32[r5 >> 2] >>> 0 > 8) { - __ZNSt3__121__throw_runtime_errorEPKc(5242968); - } else { - return; - } -} -function __ZNSt3__110__stdinbufIcE5imbueERKNS_6localeE(r1, r2) { - var r3, r4, r5; - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5273380); - r2 = r3; - r4 = r1 + 36 | 0; - HEAP32[r4 >> 2] = r2; - r5 = r1 + 48 | 0; - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 24 >> 2]](r2); - r2 = HEAP32[r4 >> 2]; - HEAP8[r1 + 52 | 0] = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r2) & 1; - if (HEAP32[r5 >> 2] >>> 0 > 8) { - __ZNSt3__121__throw_runtime_errorEPKc(5242968); - } else { - return; - } -} -function __ZNK12_GLOBAL__N_114__libcpp_nmstr5c_strEv(r1) { - return r1; -} -function __ZNSt3__114error_categoryD1Ev(r1) { - return; -} -function __ZNSt3__112__do_messageD1Ev(r1) { - return; -} -function __ZNSt3__112_GLOBAL__N_19decrementIlEET_RS2_(r1) { - return (tempValue = HEAP32[r1 >> 2], HEAP32[r1 >> 2] = tempValue + -1, tempValue) - 1 | 0; -} -function __ZNK12_GLOBAL__N_114__libcpp_nmstr5countEv(r1) { - return r1 - 4 | 0; -} -function __ZNSt3__114error_categoryC2Ev(r1) { - HEAP32[r1 >> 2] = 5266468; - return; -} -function __ZNKSt3__114error_category23default_error_conditionEi(r1, r2, r3) { - HEAP32[r1 >> 2] = r3; - HEAP32[r1 + 4 >> 2] = r2; - return; -} -function __ZNKSt3__114error_category10equivalentERKNS_10error_codeEi(r1, r2, r3) { - var r4; - if ((HEAP32[r2 + 4 >> 2] | 0) != (r1 | 0)) { - r4 = 0; - return r4; - } - r4 = (HEAP32[r2 >> 2] | 0) == (r3 | 0); - return r4; -} -function __ZNSt3__114__shared_count16__release_sharedEv(r1) { - if ((__ZNSt3__112_GLOBAL__N_19decrementIlEET_RS2_(r1 + 4 | 0) | 0) != -1) { - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 8 >> 2]](r1); - return; -} -function __ZN12_GLOBAL__N_114__libcpp_nmstrC1EPKc(r1, r2) { - __ZN12_GLOBAL__N_114__libcpp_nmstrC2EPKc(r1, r2); - return; -} -function __ZNSt11logic_errorC2EPKc(r1, r2) { - var r3; - HEAP32[r1 >> 2] = 5264704; - r3 = r1 + 4 | 0; - if ((r3 | 0) == 0) { - return; - } - __ZN12_GLOBAL__N_114__libcpp_nmstrC1EPKc(r3, r2); - return; -} -function __ZNSt11logic_errorD0Ev(r1) { - __ZNSt11logic_errorD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt11logic_errorD1Ev(r1) { - __ZNSt11logic_errorD2Ev(r1); - return; -} -function __ZNSt11logic_errorD2Ev(r1) { - HEAP32[r1 >> 2] = 5264704; - __ZN12_GLOBAL__N_114__libcpp_nmstrD1Ev(r1 + 4 | 0); - return; -} -function __ZN12_GLOBAL__N_114__libcpp_nmstrD1Ev(r1) { - __ZN12_GLOBAL__N_114__libcpp_nmstrD2Ev(r1); - return; -} -function __ZNKSt11logic_error4whatEv(r1) { - return __ZNK12_GLOBAL__N_114__libcpp_nmstr5c_strEv(HEAP32[r1 + 4 >> 2]); -} -function __ZNSt13runtime_errorC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE(r1, r2) { - var r3, r4; - HEAP32[r1 >> 2] = 5264656; - r3 = r1 + 4 | 0; - if ((r3 | 0) == 0) { - return; - } - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r4 = r2 + 1 | 0; - } else { - r4 = HEAP32[r2 + 8 >> 2]; - } - __ZN12_GLOBAL__N_114__libcpp_nmstrC1EPKc(r3, r4); - return; -} -function __ZNSt13runtime_errorC1EPKc(r1, r2) { - __ZNSt13runtime_errorC2EPKc(r1, r2); - return; -} -function __ZNSt13runtime_errorC2EPKc(r1, r2) { - var r3; - HEAP32[r1 >> 2] = 5264656; - r3 = r1 + 4 | 0; - if ((r3 | 0) == 0) { - return; - } - __ZN12_GLOBAL__N_114__libcpp_nmstrC1EPKc(r3, r2); - return; -} -function __ZNSt13runtime_errorD0Ev(r1) { - __ZNSt13runtime_errorD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt13runtime_errorD1Ev(r1) { - __ZNSt13runtime_errorD2Ev(r1); - return; -} -function __ZNSt13runtime_errorD2Ev(r1) { - HEAP32[r1 >> 2] = 5264656; - __ZN12_GLOBAL__N_114__libcpp_nmstrD1Ev(r1 + 4 | 0); - return; -} -function __ZNKSt13runtime_error4whatEv(r1) { - return __ZNK12_GLOBAL__N_114__libcpp_nmstr5c_strEv(HEAP32[r1 + 4 >> 2]); -} -function __ZNSt12length_errorD0Ev(r1) { - __ZNSt12length_errorD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt12length_errorD1Ev(r1) { - __ZNSt12length_errorD2Ev(r1); - return; -} -function __ZNSt12length_errorD2Ev(r1) { - __ZNSt11logic_errorD2Ev(r1 | 0); - return; -} -function __ZN12_GLOBAL__N_114__libcpp_nmstrD2Ev(r1) { - var r2; - r2 = r1 | 0; - r1 = __ZNK12_GLOBAL__N_114__libcpp_nmstr5countEv(HEAP32[r2 >> 2]); - if (((tempValue = HEAP32[r1 >> 2], HEAP32[r1 >> 2] = tempValue + -1, tempValue) - 1 | 0) >= 0) { - return; - } - r1 = HEAP32[r2 >> 2] - 12 | 0; - if ((r1 | 0) == 0) { - return; - } - __ZdaPv(r1); - return; -} -function __ZN12_GLOBAL__N_114__libcpp_nmstrC2EPKc(r1, r2) { - var r3, r4, r5; - r3 = _strlen(r2); - r4 = __Znaj(r3 + 13 | 0); - r5 = r1 | 0; - HEAP32[r4 + 4 >> 2] = r3; - HEAP32[r4 >> 2] = r3; - r3 = r4 + 12 | 0; - HEAP32[r5 >> 2] = r3; - HEAP32[__ZNK12_GLOBAL__N_114__libcpp_nmstr5countEv(r3) >> 2] = 0; - _strcpy(__ZNK12_GLOBAL__N_114__libcpp_nmstr5c_strEv(HEAP32[r5 >> 2]), r2); - return; -} -function __ZNSt3__114error_categoryD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__114error_category10equivalentEiRKNS_15error_conditionE(r1, r2, r3) { - var r4, r5, r6; - r4 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r5 = r4; - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 12 >> 2]](r5, r1, r2); - if ((HEAP32[r5 + 4 >> 2] | 0) != (HEAP32[r3 + 4 >> 2] | 0)) { - r6 = 0; - STACKTOP = r4; - return r6; - } - r6 = (HEAP32[r5 >> 2] | 0) == (HEAP32[r3 >> 2] | 0); - STACKTOP = r4; - return r6; -} -function __ZNKSt3__112__do_message7messageEi(r1, r2, r3) { - r2 = _strerror(r3); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r1, r2, _strlen(r2)); - return; -} -function __ZNKSt3__110error_code7messageEv(r1, r2, r3) { - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 24 >> 2]](r1, r3, r2); - return; -} -function __ZNSt3__112system_error6__initERKNS_10error_codeENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r5 = r4; - r6 = r2 | 0; - r7 = HEAP32[r6 >> 2]; - if ((r7 | 0) == 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_(r1, r3); - STACKTOP = r4; - return; - } - r8 = HEAPU8[r3]; - if ((r8 & 1 | 0) == 0) { - r9 = r8 >>> 1; - } else { - r9 = HEAP32[r3 + 4 >> 2]; - } - if ((r9 | 0) == 0) { - r10 = r7; - } else { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc(r3); - r10 = HEAP32[r6 >> 2]; - } - __ZNKSt3__110error_code7messageEv(r5, r10, HEAP32[r2 + 4 >> 2]); - r2 = HEAP8[r5]; - if ((r2 & 1) << 24 >> 24 == 0) { - r11 = r5 + 1 | 0; - } else { - r11 = HEAP32[r5 + 8 >> 2]; - } - r10 = r2 & 255; - if ((r10 & 1 | 0) == 0) { - r12 = r10 >>> 1; - } else { - r12 = HEAP32[r5 + 4 >> 2]; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj(r3, r11, r12); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r5); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_(r1, r3); - STACKTOP = r4; - return; -} -__ZNSt3__112system_error6__initERKNS_10error_codeENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE["X"] = 1; -function __ZNSt3__112system_errorC2ENS_10error_codeEPKc(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r6 = r5; - HEAP32[r6 >> 2] = r2; - HEAP32[r6 + 4 >> 2] = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r2 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r2, r4, _strlen(r4)); - __ZNSt3__112system_error6__initERKNS_10error_codeENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE(r3, r6, r2); - __ZNSt13runtime_errorC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE(r1 | 0, r3); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r3); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r2); - HEAP32[r1 >> 2] = 5266684; - r2 = r6; - r6 = r1 + 8 | 0; - r1 = HEAP32[r2 + 4 >> 2]; - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - HEAP32[r6 + 4 >> 2] = r1; - STACKTOP = r5; - return; -} -function __ZNSt3__112system_errorD0Ev(r1) { - __ZNSt3__112system_errorD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__112system_errorD1Ev(r1) { - __ZNSt3__112system_errorD2Ev(r1); - return; -} -function __ZNSt3__112system_errorD2Ev(r1) { - __ZNSt13runtime_errorD2Ev(r1 | 0); - return; -} -function __ZNSt3__112__do_messageD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(r1, r2); - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_(r1, r2) { - var r3, r4; - r3 = r2, r4 = r3 >> 2; - if ((HEAP8[r3] & 1) << 24 >> 24 == 0) { - r3 = r1 >> 2; - HEAP32[r3] = HEAP32[r4]; - HEAP32[r3 + 1] = HEAP32[r4 + 1]; - HEAP32[r3 + 2] = HEAP32[r4 + 2]; - return; - } else { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r1, HEAP32[r2 + 8 >> 2], HEAP32[r2 + 4 >> 2]); - return; - } -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(r1); - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev(r1) { - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - return; - } - __ZdlPv(HEAP32[r1 + 8 >> 2]); - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r1, r2) { - var r3, r4, r5, r6; - if ((r1 | 0) == (r2 | 0)) { - return; - } - r3 = HEAP8[r2]; - if ((r3 & 1) << 24 >> 24 == 0) { - r4 = r2 + 1 | 0; - } else { - r4 = HEAP32[r2 + 8 >> 2]; - } - r5 = r3 & 255; - if ((r5 & 1 | 0) == 0) { - r6 = r5 >>> 1; - } else { - r6 = HEAP32[r2 + 4 >> 2]; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcj(r1, r4, r6); - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcj(r1, r2, _strlen(r2)); - return; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEjc(r1, r2) { - var r3, r4, r5, r6; - r3 = r1; - r4 = HEAP8[r3]; - r5 = r4 & 255; - if ((r5 & 1 | 0) == 0) { - r6 = r5 >>> 1; - } else { - r6 = HEAP32[r1 + 4 >> 2]; - } - if (r6 >>> 0 < r2 >>> 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEjc(r1, r2 - r6 | 0); - return; - } - if ((r4 & 1) << 24 >> 24 == 0) { - HEAP8[r1 + (r2 + 1) | 0] = 0; - HEAP8[r3] = r2 << 1 & 255; - return; - } else { - HEAP8[HEAP32[r1 + 8 >> 2] + r2 | 0] = 0; - HEAP32[r1 + 4 >> 2] = r2; - return; - } -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEjc(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - if ((r2 | 0) == 0) { - return; - } - r3 = r1; - r4 = HEAP8[r3]; - if ((r4 & 1) << 24 >> 24 == 0) { - r5 = 10; - r6 = r4; - } else { - r4 = HEAP32[r1 >> 2]; - r5 = (r4 & -2) - 1 | 0; - r6 = r4 & 255; - } - r4 = r6 & 255; - if ((r4 & 1 | 0) == 0) { - r7 = r4 >>> 1; - } else { - r7 = HEAP32[r1 + 4 >> 2]; - } - if ((r5 - r7 | 0) >>> 0 < r2 >>> 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEjjjjjj(r1, r5, r2 - r5 + r7 | 0, r7, r7); - r8 = HEAP8[r3]; - } else { - r8 = r6; - } - if ((r8 & 1) << 24 >> 24 == 0) { - r9 = r1 + 1 | 0; - } else { - r9 = HEAP32[r1 + 8 >> 2]; - } - _memset(r9 + r7 | 0, 0, r2); - r8 = r7 + r2 | 0; - if ((HEAP8[r3] & 1) << 24 >> 24 == 0) { - HEAP8[r3] = r8 << 1 & 255; - } else { - HEAP32[r1 + 4 >> 2] = r8; - } - HEAP8[r9 + r8 | 0] = 0; - return; -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEjc["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc(r1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj(r1, 5249432, 2); - return; -} -function __ZNSt3__111__call_onceERVmPvPFvS2_E(r1, r2) { - var r3; - r3 = r1 >> 2; - L343 : do { - if ((HEAP32[r3] | 0) == 1) { - while (1) { - if ((HEAP32[r3] | 0) != 1) { - break L343; - } - } - } - } while (0); - if ((HEAP32[r3] | 0) != 0) { - return; - } - HEAP32[r3] = 1; - __ZNSt3__117__call_once_proxyINS_12_GLOBAL__N_111__fake_bindEEEvPv(r2); - HEAP32[r3] = -1; - return; -} -function __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv() { - var r1; - r1 = ___cxa_allocate_exception(8); - __ZNSt11logic_errorC2EPKc(r1, 5244352); - HEAP32[r1 >> 2] = 5264680; - ___cxa_throw(r1, 5271232, 84); -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == -1) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r3 >>> 0 < 11) { - HEAP8[r1] = r3 << 1 & 255; - r4 = r1 + 1 | 0; - _memcpy(r4, r2, r3); - r5 = r4 + r3 | 0; - HEAP8[r5] = 0; - return; - } else { - r6 = r3 + 16 & -16; - r7 = __Znwj(r6); - HEAP32[r1 + 8 >> 2] = r7; - HEAP32[r1 >> 2] = r6 | 1; - HEAP32[r1 + 4 >> 2] = r3; - r4 = r7; - _memcpy(r4, r2, r3); - r5 = r4 + r3 | 0; - HEAP8[r5] = 0; - return; - } -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEjc(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == -1) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r2 >>> 0 < 11) { - HEAP8[r1] = r2 << 1 & 255; - r4 = r1 + 1 | 0; - _memset(r4, r3, r2); - r5 = r4 + r2 | 0; - HEAP8[r5] = 0; - return; - } else { - r6 = r2 + 16 & -16; - r7 = __Znwj(r6); - HEAP32[r1 + 8 >> 2] = r7; - HEAP32[r1 >> 2] = r6 | 1; - HEAP32[r1 + 4 >> 2] = r2; - r4 = r7; - _memset(r4, r3, r2); - r5 = r4 + r2 | 0; - HEAP8[r5] = 0; - return; - } -} -function __ZSt13get_terminatev() { - return tempValue = HEAP32[1318554], HEAP32[1318554] = tempValue, tempValue; -} -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = r1; - r4 = HEAP8[r3]; - if ((r4 & 1) << 24 >> 24 == 0) { - r5 = 10; - r6 = r4; - } else { - r4 = HEAP32[r1 >> 2]; - r5 = (r4 & -2) - 1 | 0; - r6 = r4 & 255; - } - r4 = r6 & 255; - if ((r4 & 1 | 0) == 0) { - r7 = r4 >>> 1; - } else { - r7 = HEAP32[r1 + 4 >> 2]; - } - if ((r7 | 0) == (r5 | 0)) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEjjjjjj(r1, r5, 1, r5, r5); - r8 = HEAP8[r3]; - } else { - r8 = r6; - } - if ((r8 & 1) << 24 >> 24 == 0) { - r9 = r1 + 1 | 0; - } else { - r9 = HEAP32[r1 + 8 >> 2]; - } - HEAP8[r9 + r7 | 0] = r2; - r2 = r7 + 1 | 0; - HEAP8[r9 + r2 | 0] = 0; - if ((HEAP8[r3] & 1) << 24 >> 24 == 0) { - HEAP8[r3] = r2 << 1 & 255; - return; - } else { - HEAP32[r1 + 4 >> 2] = r2; - return; - } -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = r1; - r5 = HEAP8[r4]; - if ((r5 & 1) << 24 >> 24 == 0) { - r6 = 10; - r7 = r5; - } else { - r5 = HEAP32[r1 >> 2]; - r6 = (r5 & -2) - 1 | 0; - r7 = r5 & 255; - } - r5 = r7 & 255; - if ((r5 & 1 | 0) == 0) { - r8 = r5 >>> 1; - } else { - r8 = HEAP32[r1 + 4 >> 2]; - } - if ((r6 - r8 | 0) >>> 0 < r3 >>> 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEjjjjjjPKc(r1, r6, r3 - r6 + r8 | 0, r8, r8, 0, r3, r2); - return; - } - if ((r3 | 0) == 0) { - return; - } - if ((r7 & 1) << 24 >> 24 == 0) { - r9 = r1 + 1 | 0; - } else { - r9 = HEAP32[r1 + 8 >> 2]; - } - _memcpy(r9 + r8 | 0, r2, r3); - r2 = r8 + r3 | 0; - if ((HEAP8[r4] & 1) << 24 >> 24 == 0) { - HEAP8[r4] = r2 << 1 & 255; - } else { - HEAP32[r1 + 4 >> 2] = r2; - } - HEAP8[r9 + r2 | 0] = 0; - return; -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = r1; - r5 = r1; - r6 = HEAP8[r5]; - if ((r6 & 1) << 24 >> 24 == 0) { - r7 = 10; - r8 = r6; - } else { - r6 = HEAP32[r1 >> 2]; - r7 = (r6 & -2) - 1 | 0; - r8 = r6 & 255; - } - if (r7 >>> 0 < r3 >>> 0) { - r6 = r8 & 255; - if ((r6 & 1 | 0) == 0) { - r9 = r6 >>> 1; - } else { - r9 = HEAP32[r1 + 4 >> 2]; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEjjjjjjPKc(r1, r7, r3 - r7 | 0, r9, 0, r9, r3, r2); - return; - } - if ((r8 & 1) << 24 >> 24 == 0) { - r10 = r4 + 1 | 0; - } else { - r10 = HEAP32[r1 + 8 >> 2]; - } - _memmove(r10, r2, r3, 1, 0); - HEAP8[r10 + r3 | 0] = 0; - if ((HEAP8[r5] & 1) << 24 >> 24 == 0) { - HEAP8[r5] = r3 << 1 & 255; - return; - } else { - HEAP32[r1 + 4 >> 2] = r3; - return; - } -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcj["X"] = 1; -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r1) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(r1); - return; -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev(r1) { - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - return; - } - __ZdlPv(HEAP32[r1 + 8 >> 2]); - return; -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r1, r2) { - var r3, r4, r5, r6; - if ((r1 | 0) == (r2 | 0)) { - return; - } - r3 = HEAP8[r2]; - if ((r3 & 1) << 24 >> 24 == 0) { - r4 = r2 + 4 | 0; - } else { - r4 = HEAP32[r2 + 8 >> 2]; - } - r5 = r3 & 255; - if ((r5 & 1 | 0) == 0) { - r6 = r5 >>> 1; - } else { - r6 = HEAP32[r2 + 4 >> 2]; - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwj(r1, r4, r6); - return; -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(r1, r2) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwj(r1, r2, _wcslen(r2)); - return; -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9; - r3 = r1; - r4 = HEAP8[r3]; - if ((r4 & 1) << 24 >> 24 == 0) { - r5 = 1; - r6 = r4; - } else { - r4 = HEAP32[r1 >> 2]; - r5 = (r4 & -2) - 1 | 0; - r6 = r4 & 255; - } - r4 = r6 & 255; - if ((r4 & 1 | 0) == 0) { - r7 = r4 >>> 1; - } else { - r7 = HEAP32[r1 + 4 >> 2]; - } - if ((r7 | 0) == (r5 | 0)) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEjjjjjj(r1, r5, 1, r5, r5); - r8 = HEAP8[r3]; - } else { - r8 = r6; - } - if ((r8 & 1) << 24 >> 24 == 0) { - r9 = r1 + 4 | 0; - } else { - r9 = HEAP32[r1 + 8 >> 2]; - } - HEAP32[r9 + (r7 << 2) >> 2] = r2; - r2 = r7 + 1 | 0; - HEAP32[r9 + (r2 << 2) >> 2] = 0; - if ((HEAP8[r3] & 1) << 24 >> 24 == 0) { - HEAP8[r3] = r2 << 1 & 255; - return; - } else { - HEAP32[r1 + 4 >> 2] = r2; - return; - } -} -__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw["X"] = 1; -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = r1; - r5 = HEAP8[r4]; - if ((r5 & 1) << 24 >> 24 == 0) { - r6 = 1; - r7 = r5; - } else { - r5 = HEAP32[r1 >> 2]; - r6 = (r5 & -2) - 1 | 0; - r7 = r5 & 255; - } - if (r6 >>> 0 < r3 >>> 0) { - r5 = r7 & 255; - if ((r5 & 1 | 0) == 0) { - r8 = r5 >>> 1; - } else { - r8 = HEAP32[r1 + 4 >> 2]; - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEjjjjjjPKw(r1, r6, r3 - r6 | 0, r8, r8, r3, r2); - return; - } - if ((r7 & 1) << 24 >> 24 == 0) { - r9 = r1 + 4 | 0; - } else { - r9 = HEAP32[r1 + 8 >> 2]; - } - _wmemmove(r9, r2, r3); - HEAP32[r9 + (r3 << 2) >> 2] = 0; - if ((HEAP8[r4] & 1) << 24 >> 24 == 0) { - HEAP8[r4] = r3 << 1 & 255; - return; - } else { - HEAP32[r1 + 4 >> 2] = r3; - return; - } -} -__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwj["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEjjjjjjPKc(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - if ((-3 - r2 | 0) >>> 0 < r3 >>> 0) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - r9 = r1 + 1 | 0; - } else { - r9 = HEAP32[r1 + 8 >> 2]; - } - do { - if (r2 >>> 0 < 2147483631) { - r10 = r3 + r2 | 0; - r11 = r2 << 1; - r12 = r10 >>> 0 < r11 >>> 0 ? r11 : r10; - if (r12 >>> 0 < 11) { - r13 = 11; - break; - } - r13 = r12 + 16 & -16; - } else { - r13 = -2; - } - } while (0); - r3 = __Znwj(r13); - if ((r5 | 0) != 0) { - _memcpy(r3, r9, r5); - } - if ((r7 | 0) != 0) { - _memcpy(r3 + r5 | 0, r8, r7); - } - r8 = r4 - r6 | 0; - if ((r8 | 0) != (r5 | 0)) { - _memcpy(r3 + r7 + r5 | 0, r9 + r6 + r5 | 0, r8 - r5 | 0); - } - if ((r2 | 0) == 10) { - r14 = r1 + 8 | 0; - HEAP32[r14 >> 2] = r3; - r15 = r13 | 1; - r16 = r1 | 0; - HEAP32[r16 >> 2] = r15; - r17 = r8 + r7 | 0; - r18 = r1 + 4 | 0; - HEAP32[r18 >> 2] = r17; - r19 = r3 + r17 | 0; - HEAP8[r19] = 0; - return; - } - __ZdlPv(r9); - r14 = r1 + 8 | 0; - HEAP32[r14 >> 2] = r3; - r15 = r13 | 1; - r16 = r1 | 0; - HEAP32[r16 >> 2] = r15; - r17 = r8 + r7 | 0; - r18 = r1 + 4 | 0; - HEAP32[r18 >> 2] = r17; - r19 = r3 + r17 | 0; - HEAP8[r19] = 0; - return; -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEjjjjjjPKc["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEjjjjjj(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13; - if ((-3 - r2 | 0) >>> 0 < r3 >>> 0) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - r6 = r1 + 1 | 0; - } else { - r6 = HEAP32[r1 + 8 >> 2]; - } - do { - if (r2 >>> 0 < 2147483631) { - r7 = r3 + r2 | 0; - r8 = r2 << 1; - r9 = r7 >>> 0 < r8 >>> 0 ? r8 : r7; - if (r9 >>> 0 < 11) { - r10 = 11; - break; - } - r10 = r9 + 16 & -16; - } else { - r10 = -2; - } - } while (0); - r3 = __Znwj(r10); - if ((r5 | 0) != 0) { - _memcpy(r3, r6, r5); - } - if ((r4 | 0) != (r5 | 0)) { - _memcpy(r3 + r5 | 0, r6 + r5 | 0, r4 - r5 | 0); - } - if ((r2 | 0) == 10) { - r11 = r1 + 8 | 0; - HEAP32[r11 >> 2] = r3; - r12 = r10 | 1; - r13 = r1 | 0; - HEAP32[r13 >> 2] = r12; - return; - } - __ZdlPv(r6); - r11 = r1 + 8 | 0; - HEAP32[r11 >> 2] = r3; - r12 = r10 | 1; - r13 = r1 | 0; - HEAP32[r13 >> 2] = r12; - return; -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEjjjjjj["X"] = 1; -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(r1, r2, r3) { - var r4, r5, r6, r7, r8; - if (r3 >>> 0 > 1073741822) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r3 >>> 0 < 2) { - HEAP8[r1] = r3 << 1 & 255; - r4 = r1 + 4 | 0; - r5 = _wmemcpy(r4, r2, r3); - r6 = (r3 << 2) + r4 | 0; - HEAP32[r6 >> 2] = 0; - return; - } else { - r7 = r3 + 4 & -4; - r8 = __Znwj(r7 << 2); - HEAP32[r1 + 8 >> 2] = r8; - HEAP32[r1 >> 2] = r7 | 1; - HEAP32[r1 + 4 >> 2] = r3; - r4 = r8; - r5 = _wmemcpy(r4, r2, r3); - r6 = (r3 << 2) + r4 | 0; - HEAP32[r6 >> 2] = 0; - return; - } -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEjw(r1, r2, r3) { - var r4, r5, r6, r7, r8; - if (r2 >>> 0 > 1073741822) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r2 >>> 0 < 2) { - HEAP8[r1] = r2 << 1 & 255; - r4 = r1 + 4 | 0; - r5 = _wmemset(r4, r3, r2); - r6 = (r2 << 2) + r4 | 0; - HEAP32[r6 >> 2] = 0; - return; - } else { - r7 = r2 + 4 & -4; - r8 = __Znwj(r7 << 2); - HEAP32[r1 + 8 >> 2] = r8; - HEAP32[r1 >> 2] = r7 | 1; - HEAP32[r1 + 4 >> 2] = r2; - r4 = r8; - r5 = _wmemset(r4, r3, r2); - r6 = (r2 << 2) + r4 | 0; - HEAP32[r6 >> 2] = 0; - return; - } -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEjjjjjjPKw(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12; - if ((1073741821 - r2 | 0) >>> 0 < r3 >>> 0) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - r8 = r1 + 4 | 0; - } else { - r8 = HEAP32[r1 + 8 >> 2]; - } - do { - if (r2 >>> 0 < 536870895) { - r9 = r3 + r2 | 0; - r10 = r2 << 1; - r11 = r9 >>> 0 < r10 >>> 0 ? r10 : r9; - if (r11 >>> 0 < 2) { - r12 = 2; - break; - } - r12 = r11 + 4 & -4; - } else { - r12 = 1073741822; - } - } while (0); - r3 = __Znwj(r12 << 2); - if ((r6 | 0) != 0) { - _wmemcpy(r3, r7, r6); - } - r7 = r4 - r5 | 0; - if ((r4 | 0) != (r5 | 0)) { - _wmemcpy((r6 << 2) + r3 | 0, (r5 << 2) + r8 | 0, r7); - } - if ((r2 | 0) != 1) { - __ZdlPv(r8); - } - HEAP32[r1 + 8 >> 2] = r3; - HEAP32[r1 >> 2] = r12 | 1; - r12 = r7 + r6 | 0; - HEAP32[r1 + 4 >> 2] = r12; - HEAP32[r3 + (r12 << 2) >> 2] = 0; - return; -} -__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEjjjjjjPKw["X"] = 1; -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEjjjjjj(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13; - if ((1073741821 - r2 | 0) >>> 0 < r3 >>> 0) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if ((HEAP8[r1] & 1) << 24 >> 24 == 0) { - r6 = r1 + 4 | 0; - } else { - r6 = HEAP32[r1 + 8 >> 2]; - } - do { - if (r2 >>> 0 < 536870895) { - r7 = r3 + r2 | 0; - r8 = r2 << 1; - r9 = r7 >>> 0 < r8 >>> 0 ? r8 : r7; - if (r9 >>> 0 < 2) { - r10 = 2; - break; - } - r10 = r9 + 4 & -4; - } else { - r10 = 1073741822; - } - } while (0); - r3 = __Znwj(r10 << 2); - if ((r5 | 0) != 0) { - _wmemcpy(r3, r6, r5); - } - if ((r4 | 0) != (r5 | 0)) { - _wmemcpy((r5 << 2) + r3 | 0, (r5 << 2) + r6 | 0, r4 - r5 | 0); - } - if ((r2 | 0) == 1) { - r11 = r1 + 8 | 0; - HEAP32[r11 >> 2] = r3; - r12 = r10 | 1; - r13 = r1 | 0; - HEAP32[r13 >> 2] = r12; - return; - } - __ZdlPv(r6); - r11 = r1 + 8 | 0; - HEAP32[r11 >> 2] = r3; - r12 = r10 | 1; - r13 = r1 | 0; - HEAP32[r13 >> 2] = r12; - return; -} -__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEjjjjjj["X"] = 1; -function __ZSt9terminatev() { - FUNCTION_TABLE[__ZSt13get_terminatev()](); - _abort(); - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE(r1, r2) { - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6setbufEPci(r1, r2, r3) { - return r1; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4syncEv(r1) { - return 0; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9showmanycEv(r1) { - return 0; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9underflowEv(r1) { - return -1; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi(r1, r2) { - return -1; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8overflowEi(r1, r2) { - return -1; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE(r1, r2) { - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6setbufEPwi(r1, r2, r3) { - return r1; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE4syncEv(r1) { - return 0; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9showmanycEv(r1) { - return 0; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9underflowEv(r1) { - return -1; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj(r1, r2) { - return -1; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE8overflowEj(r1, r2) { - return -1; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj(r1, r2, r3, r4, r5, r6) { - r6 = r1; - HEAP32[r6 >> 2] = 0; - HEAP32[r6 + 4 >> 2] = 0; - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = -1; - HEAP32[r6 + 4 >> 2] = -1; - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI10_mbstate_tEEj(r1, r2, r3, r4) { - r4 = STACKTOP; - r2 = r3 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r3 + 4 >> 2] = HEAP32[r2 + 1]; - HEAP32[r3 + 8 >> 2] = HEAP32[r2 + 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r2 + 3]; - r2 = r1; - HEAP32[r2 >> 2] = 0; - HEAP32[r2 + 4 >> 2] = 0; - r2 = r1 + 8 | 0; - HEAP32[r2 >> 2] = -1; - HEAP32[r2 + 4 >> 2] = -1; - STACKTOP = r4; - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj(r1, r2, r3, r4, r5, r6) { - r6 = r1; - HEAP32[r6 >> 2] = 0; - HEAP32[r6 + 4 >> 2] = 0; - r6 = r1 + 8 | 0; - HEAP32[r6 >> 2] = -1; - HEAP32[r6 + 4 >> 2] = -1; - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI10_mbstate_tEEj(r1, r2, r3, r4) { - r4 = STACKTOP; - r2 = r3 >> 2; - r3 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - HEAP32[r3 >> 2] = HEAP32[r2]; - HEAP32[r3 + 4 >> 2] = HEAP32[r2 + 1]; - HEAP32[r3 + 8 >> 2] = HEAP32[r2 + 2]; - HEAP32[r3 + 12 >> 2] = HEAP32[r2 + 3]; - r2 = r1; - HEAP32[r2 >> 2] = 0; - HEAP32[r2 + 4 >> 2] = 0; - r2 = r1 + 8 | 0; - HEAP32[r2 >> 2] = -1; - HEAP32[r2 + 4 >> 2] = -1; - STACKTOP = r4; - return; -} -function __ZNSt3__18ios_baseD2Ev(r1) { - var r2; - r2 = r1 >> 2; - HEAP32[r2] = 5265248; - __ZNSt3__18ios_base16__call_callbacksENS0_5eventE(r1); - __ZNSt3__16localeD1Ev(HEAP32[r2 + 7]); - _free(HEAP32[r2 + 8]); - _free(HEAP32[r2 + 9]); - _free(HEAP32[r2 + 12]); - _free(HEAP32[r2 + 15]); - return; -} -function __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev(r1) { - __ZNSt3__18ios_baseD2Ev(r1 | 0); - return; -} -function __ZNSt3__18ios_base16__call_callbacksENS0_5eventE(r1) { - var r2, r3, r4, r5; - r2 = HEAP32[r1 + 40 >> 2]; - if ((r2 | 0) == 0) { - return; - } - r3 = r1 + 32 | 0; - r4 = r1 + 36 | 0; - r5 = r2; - while (1) { - r2 = r5 - 1 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + (r2 << 2) >> 2]](0, r1, HEAP32[HEAP32[r4 >> 2] + (r2 << 2) >> 2]); - if ((r2 | 0) == 0) { - break; - } else { - r5 = r2; - } - } - return; -} -function __ZNKSt3__18ios_base6getlocEv(r1, r2) { - __ZNSt3__16localeC1ERKS0_(r1, HEAP32[r2 + 28 >> 2]); - return; -} -function __ZNSt3__18ios_base4initEPv(r1, r2) { - var r3, r4, r5; - r3 = r1 >> 2; - HEAP32[r3 + 6] = r2; - HEAP32[r3 + 4] = (r2 | 0) == 0 & 1; - HEAP32[r3 + 5] = 0; - HEAP32[r3 + 1] = 4098; - HEAP32[r3 + 3] = 0; - HEAP32[r3 + 2] = 6; - r3 = r1 + 28 | 0; - r2 = (r3 | 0) == 0; - r4 = r1 + 32 | 0; - for (r1 = r4 >> 2, r5 = r1 + 10; r1 < r5; r1++) { - HEAP32[r1] = 0; - } - if (r2) { - return; - } - __ZNSt3__16localeC1Ev(r3); - return; -} -function __ZNSt3__19basic_iosIwNS_11char_traitsIwEEED2Ev(r1) { - __ZNSt3__18ios_baseD2Ev(r1 | 0); - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED0Ev(r1) { - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED1Ev(r1) { - __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev(r1); - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev(r1) { - HEAP32[r1 >> 2] = 5266400; - __ZNSt3__16localeD1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev(r1) { - var r2; - HEAP32[r1 >> 2] = 5266400; - __ZNSt3__16localeC1Ev(r1 + 4 | 0); - r2 = (r1 + 8 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - return; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPci(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = 0; - r5 = r1; - if ((r3 | 0) <= 0) { - r6 = 0; - return r6; - } - r7 = r1 + 12 | 0; - r8 = r1 + 16 | 0; - r9 = r2; - r2 = 0; - while (1) { - r10 = HEAP32[r7 >> 2]; - if (r10 >>> 0 < HEAP32[r8 >> 2] >>> 0) { - HEAP32[r7 >> 2] = r10 + 1 | 0; - r11 = HEAP8[r10]; - } else { - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] + 40 >> 2]](r1); - if ((r10 | 0) == -1) { - r6 = r2; - r4 = 589; - break; - } - r11 = r10 & 255; - } - HEAP8[r9] = r11; - r10 = r2 + 1 | 0; - if ((r10 | 0) < (r3 | 0)) { - r9 = r9 + 1 | 0; - r2 = r10; - } else { - r6 = r10; - r4 = 590; - break; - } - } - if (r4 == 589) { - return r6; - } else if (r4 == 590) { - return r6; - } -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5uflowEv(r1) { - var r2, r3; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 36 >> 2]](r1) | 0) == -1) { - r2 = -1; - return r2; - } - r3 = r1 + 12 | 0; - r1 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = r1 + 1 | 0; - r2 = HEAPU8[r1]; - return r2; -} -function __ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKci(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = 0; - r5 = r1; - if ((r3 | 0) <= 0) { - r6 = 0; - return r6; - } - r7 = r1 + 24 | 0; - r8 = r1 + 28 | 0; - r9 = 0; - r10 = r2; - while (1) { - r2 = HEAP32[r7 >> 2]; - if (r2 >>> 0 < HEAP32[r8 >> 2] >>> 0) { - r11 = HEAP8[r10]; - HEAP32[r7 >> 2] = r2 + 1 | 0; - HEAP8[r2] = r11; - } else { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] + 52 >> 2]](r1, HEAP8[r10] << 24 >> 24) | 0) == -1) { - r6 = r9; - r4 = 604; - break; - } - } - r11 = r9 + 1 | 0; - if ((r11 | 0) < (r3 | 0)) { - r9 = r11; - r10 = r10 + 1 | 0; - } else { - r6 = r11; - r4 = 605; - break; - } - } - if (r4 == 605) { - return r6; - } else if (r4 == 604) { - return r6; - } -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED0Ev(r1) { - __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED1Ev(r1) { - __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED2Ev(r1); - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED2Ev(r1) { - HEAP32[r1 >> 2] = 5266332; - __ZNSt3__16localeD1Ev(HEAP32[r1 + 4 >> 2]); - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEEC2Ev(r1) { - var r2; - HEAP32[r1 >> 2] = 5266332; - __ZNSt3__16localeC1Ev(r1 + 4 | 0); - r2 = (r1 + 8 | 0) >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - HEAP32[r2 + 3] = 0; - HEAP32[r2 + 4] = 0; - HEAP32[r2 + 5] = 0; - return; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwi(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = 0; - r5 = r1; - if ((r3 | 0) <= 0) { - r6 = 0; - return r6; - } - r7 = r1 + 12 | 0; - r8 = r1 + 16 | 0; - r9 = r2; - r2 = 0; - while (1) { - r10 = HEAP32[r7 >> 2]; - if (r10 >>> 0 < HEAP32[r8 >> 2] >>> 0) { - HEAP32[r7 >> 2] = r10 + 4 | 0; - r11 = HEAP32[r10 >> 2]; - } else { - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] + 40 >> 2]](r1); - if ((r10 | 0) == -1) { - r6 = r2; - r4 = 617; - break; - } else { - r11 = r10; - } - } - HEAP32[r9 >> 2] = r11; - r10 = r2 + 1 | 0; - if ((r10 | 0) < (r3 | 0)) { - r9 = r9 + 4 | 0; - r2 = r10; - } else { - r6 = r10; - r4 = 619; - break; - } - } - if (r4 == 617) { - return r6; - } else if (r4 == 619) { - return r6; - } -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5uflowEv(r1) { - var r2, r3; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 36 >> 2]](r1) | 0) == -1) { - r2 = -1; - return r2; - } - r3 = r1 + 12 | 0; - r1 = HEAP32[r3 >> 2]; - HEAP32[r3 >> 2] = r1 + 4 | 0; - r2 = HEAP32[r1 >> 2]; - return r2; -} -function __ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwi(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = 0; - r5 = r1; - if ((r3 | 0) <= 0) { - r6 = 0; - return r6; - } - r7 = r1 + 24 | 0; - r8 = r1 + 28 | 0; - r9 = 0; - r10 = r2; - while (1) { - r2 = HEAP32[r7 >> 2]; - if (r2 >>> 0 < HEAP32[r8 >> 2] >>> 0) { - r11 = HEAP32[r10 >> 2]; - HEAP32[r7 >> 2] = r2 + 4 | 0; - HEAP32[r2 >> 2] = r11; - } else { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] + 52 >> 2]](r1, HEAP32[r10 >> 2]) | 0) == -1) { - r6 = r9; - r4 = 632; - break; - } - } - r11 = r9 + 1 | 0; - if ((r11 | 0) < (r3 | 0)) { - r9 = r11; - r10 = r10 + 4 | 0; - } else { - r6 = r11; - r4 = 634; - break; - } - } - if (r4 == 632) { - return r6; - } else if (r4 == 634) { - return r6; - } -} -function __ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev(r1) { - __ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev(r1) { - __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev(r1 + 8 | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev(r1) { - __ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev(r1) { - __ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev(r1) { - __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev(r1) { - __ZNSt3__19basic_iosIwNS_11char_traitsIwEEED2Ev(r1 + 8 | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev(r1) { - __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev(r1) { - __ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev(r1) { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev(r1) { - __ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev(r1 + 4 | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev(r1) { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev(r1) { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(r1, r2) { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(r1, r2); - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_(r1, r2) { - var r3, r4; - r3 = r1 | 0; - HEAP8[r3] = 0; - HEAP32[r1 + 4 >> 2] = r2; - r1 = HEAP32[HEAP32[r2 >> 2] - 12 >> 2]; - r4 = r2; - if ((HEAP32[r1 + (r4 + 16) >> 2] | 0) != 0) { - return; - } - r2 = HEAP32[r1 + (r4 + 72) >> 2]; - if ((r2 | 0) != 0) { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(r2); - } - HEAP8[r3] = 1; - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(r1) { - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(r1); - return; -} -function __ZNSt3__18ios_base5clearEj(r1, r2) { - var r3, r4, r5; - r3 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r4 = r3; - r5 = (HEAP32[r1 + 24 >> 2] | 0) == 0; - if (r5) { - HEAP32[r1 + 16 >> 2] = r2 | 1; - } else { - HEAP32[r1 + 16 >> 2] = r2; - } - if (((r5 & 1 | r2) & HEAP32[r1 + 20 >> 2] | 0) == 0) { - STACKTOP = r3; - return; - } - r3 = ___cxa_allocate_exception(16); - __ZNSt3__117iostream_categoryEv(); - HEAP32[r4 >> 2] = 1; - HEAP32[r4 + 4 >> 2] = 5263756; - __ZNSt3__18ios_base7failureC1EPKcRKNS_10error_codeE(r3, r4); - ___cxa_throw(r3, 5271776, 520); -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv(r1) { - var r2, r3, r4, r5, r6; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r3 = r2; - r4 = r1 >> 2; - r5 = r1, r6 = r5 >> 2; - if ((HEAP32[(HEAP32[HEAP32[r4] - 12 >> 2] + 24 >> 2) + r6] | 0) == 0) { - STACKTOP = r2; - return; - } - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(r3, r1); - do { - if ((HEAP8[r3 | 0] & 1) << 24 >> 24 != 0) { - r1 = HEAP32[(HEAP32[HEAP32[r4] - 12 >> 2] + 24 >> 2) + r6]; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 24 >> 2]](r1) | 0) != -1) { - break; - } - r1 = HEAP32[HEAP32[r4] - 12 >> 2]; - __ZNSt3__18ios_base5clearEj(r5 + r1 | 0, HEAP32[(r1 + 16 >> 2) + r6] | 1); - } - } while (0); - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(r3); - STACKTOP = r2; - return; -} -__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv["X"] = 1; -function __ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv(r1) { - var r2; - r2 = r1 + 16 | 0; - HEAP32[r2 >> 2] = HEAP32[r2 >> 2] | 1; - if ((HEAP32[r1 + 20 >> 2] & 1 | 0) == 0) { - return; - } else { - ___cxa_rethrow(); - } -} -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5flushEv(r1) { - var r2, r3, r4, r5, r6; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r3 = r2; - r4 = r1 >> 2; - r5 = r1, r6 = r5 >> 2; - if ((HEAP32[(HEAP32[HEAP32[r4] - 12 >> 2] + 24 >> 2) + r6] | 0) == 0) { - STACKTOP = r2; - return; - } - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryC1ERS3_(r3, r1); - do { - if ((HEAP8[r3 | 0] & 1) << 24 >> 24 != 0) { - r1 = HEAP32[(HEAP32[HEAP32[r4] - 12 >> 2] + 24 >> 2) + r6]; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 24 >> 2]](r1) | 0) != -1) { - break; - } - r1 = HEAP32[HEAP32[r4] - 12 >> 2]; - __ZNSt3__18ios_base5clearEj(r5 + r1 | 0, HEAP32[(r1 + 16 >> 2) + r6] | 1); - } - } while (0); - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD1Ev(r3); - STACKTOP = r2; - return; -} -__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5flushEv["X"] = 1; -function __ZNKSt3__119__iostream_category4nameEv(r1) { - return 5250736; -} -function __ZNSt3__119__iostream_categoryD1Ev(r1) { - return; -} -function __ZNSt3__17collateIcED1Ev(r1) { - return; -} -function __ZNSt3__17collateIwED1Ev(r1) { - return; -} -function __ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init270() { - if (HEAP8[5274536] << 24 >> 24 != 0) { - return; - } - HEAP32[1318634] = 1; - HEAP32[1318635] = 0; - return; -} -function __ZNKSt3__17collateIcE10do_compareEPKcS3_S3_S3_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11; - r1 = 0; - L790 : do { - if ((r4 | 0) == (r5 | 0)) { - r6 = r2; - } else { - r7 = r2; - r8 = r4; - while (1) { - if ((r7 | 0) == (r3 | 0)) { - r9 = -1; - r1 = 725; - break; - } - r10 = HEAP8[r7]; - r11 = HEAP8[r8]; - if (r10 << 24 >> 24 < r11 << 24 >> 24) { - r9 = -1; - r1 = 727; - break; - } - if (r11 << 24 >> 24 < r10 << 24 >> 24) { - r9 = 1; - r1 = 726; - break; - } - r10 = r7 + 1 | 0; - r11 = r8 + 1 | 0; - if ((r11 | 0) == (r5 | 0)) { - r6 = r10; - break L790; - } else { - r7 = r10; - r8 = r11; - } - } - if (r1 == 725) { - return r9; - } else if (r1 == 726) { - return r9; - } else if (r1 == 727) { - return r9; - } - } - } while (0); - r9 = (r6 | 0) != (r3 | 0) & 1; - return r9; -} -function __ZNKSt3__17collateIcE7do_hashEPKcS3_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - r4 = 0; - return r4; - } else { - r5 = r2; - r6 = 0; - } - while (1) { - r2 = (HEAP8[r5] << 24 >> 24) + (r6 << 4) | 0; - r1 = r2 & -268435456; - r7 = (r1 >>> 24 | r1) ^ r2; - r2 = r5 + 1 | 0; - if ((r2 | 0) == (r3 | 0)) { - r4 = r7; - break; - } else { - r5 = r2; - r6 = r7; - } - } - return r4; -} -function ___cxx_global_var_init1271() { - if (HEAP8[5274528] << 24 >> 24 != 0) { - return; - } - HEAP32[1318632] = 1; - HEAP32[1318633] = 0; - return; -} -function __ZNKSt3__17collateIwE10do_compareEPKwS3_S3_S3_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11; - r1 = 0; - L814 : do { - if ((r4 | 0) == (r5 | 0)) { - r6 = r2; - } else { - r7 = r2; - r8 = r4; - while (1) { - if ((r7 | 0) == (r3 | 0)) { - r9 = -1; - r1 = 748; - break; - } - r10 = HEAP32[r7 >> 2]; - r11 = HEAP32[r8 >> 2]; - if ((r10 | 0) < (r11 | 0)) { - r9 = -1; - r1 = 745; - break; - } - if ((r11 | 0) < (r10 | 0)) { - r9 = 1; - r1 = 746; - break; - } - r10 = r7 + 4 | 0; - r11 = r8 + 4 | 0; - if ((r11 | 0) == (r5 | 0)) { - r6 = r10; - break L814; - } else { - r7 = r10; - r8 = r11; - } - } - if (r1 == 746) { - return r9; - } else if (r1 == 745) { - return r9; - } else if (r1 == 748) { - return r9; - } - } - } while (0); - r9 = (r6 | 0) != (r3 | 0) & 1; - return r9; -} -function __ZNKSt3__17collateIwE7do_hashEPKwS3_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - r4 = 0; - return r4; - } else { - r5 = r2; - r6 = 0; - } - while (1) { - r2 = (r6 << 4) + HEAP32[r5 >> 2] | 0; - r1 = r2 & -268435456; - r7 = (r1 >>> 24 | r1) ^ r2; - r2 = r5 + 4 | 0; - if ((r2 | 0) == (r3 | 0)) { - r4 = r7; - break; - } else { - r5 = r2; - r6 = r7; - } - } - return r4; -} -function ___cxx_global_var_init2272() { - if (HEAP8[5274520] << 24 >> 24 != 0) { - return; - } - HEAP32[1318630] = 1; - HEAP32[1318631] = 0; - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev(r1) { - var r2, r3, r4; - r2 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r2]; - r3 = HEAP32[HEAP32[r1 >> 2] - 12 >> 2] >> 2; - r4 = r1 >> 2; - if ((HEAP32[r3 + (r4 + 6)] | 0) == 0) { - return; - } - if ((HEAP32[r3 + (r4 + 4)] | 0) != 0) { - return; - } - if ((HEAP32[r3 + (r4 + 1)] & 8192 | 0) == 0) { - return; - } - if (__ZSt18uncaught_exceptionv()) { - return; - } - r4 = HEAP32[r2]; - r3 = HEAP32[r4 + HEAP32[HEAP32[r4 >> 2] - 12 >> 2] + 24 >> 2]; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 24 >> 2]](r3) | 0) != -1) { - return; - } - r3 = HEAP32[r2]; - r2 = HEAP32[HEAP32[r3 >> 2] - 12 >> 2]; - r4 = r3; - __ZNSt3__18ios_base5clearEj(r4 + r2 | 0, HEAP32[r2 + (r4 + 16) >> 2] | 1); - return; -} -__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev["X"] = 1; -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev(r1) { - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev(r1) { - __ZNSt3__19basic_iosIwNS_11char_traitsIwEEED2Ev(r1 + 4 | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev(r1) { - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZTv0_n12_NSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev(r1) { - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev(r1 + HEAP32[HEAP32[r1 >> 2] - 12 >> 2] | 0); - return; -} -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryC1ERS3_(r1, r2) { - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryC2ERS3_(r1, r2); - return; -} -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryC2ERS3_(r1, r2) { - var r3, r4; - r3 = r1 | 0; - HEAP8[r3] = 0; - HEAP32[r1 + 4 >> 2] = r2; - r1 = HEAP32[HEAP32[r2 >> 2] - 12 >> 2]; - r4 = r2; - if ((HEAP32[r1 + (r4 + 16) >> 2] | 0) != 0) { - return; - } - r2 = HEAP32[r1 + (r4 + 72) >> 2]; - if ((r2 | 0) != 0) { - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5flushEv(r2); - } - HEAP8[r3] = 1; - return; -} -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD1Ev(r1) { - __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD2Ev(r1); - return; -} -function __ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD2Ev(r1) { - var r2, r3, r4; - r2 = (r1 + 4 | 0) >> 2; - r1 = HEAP32[r2]; - r3 = HEAP32[HEAP32[r1 >> 2] - 12 >> 2] >> 2; - r4 = r1 >> 2; - if ((HEAP32[r3 + (r4 + 6)] | 0) == 0) { - return; - } - if ((HEAP32[r3 + (r4 + 4)] | 0) != 0) { - return; - } - if ((HEAP32[r3 + (r4 + 1)] & 8192 | 0) == 0) { - return; - } - if (__ZSt18uncaught_exceptionv()) { - return; - } - r4 = HEAP32[r2]; - r3 = HEAP32[r4 + HEAP32[HEAP32[r4 >> 2] - 12 >> 2] + 24 >> 2]; - if ((FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 24 >> 2]](r3) | 0) != -1) { - return; - } - r3 = HEAP32[r2]; - r2 = HEAP32[HEAP32[r3 >> 2] - 12 >> 2]; - r4 = r3; - __ZNSt3__18ios_base5clearEj(r4 + r2 | 0, HEAP32[r2 + (r4 + 16) >> 2] | 1); - return; -} -__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD2Ev["X"] = 1; -function __ZNKSt3__119__iostream_category7messageEi(r1, r2, r3) { - if ((r3 | 0) == 1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r1, 5252100, 35); - return; - } else { - __ZNKSt3__112__do_message7messageEi(r1, undef, r3); - return; - } -} -function __ZNSt3__117iostream_categoryEv() { - if (HEAP8[5274296] << 24 >> 24 != 0) { - return; - } - if ((___cxa_guard_acquire(5274296) | 0) == 0) { - return; - } - __ZNSt3__119__iostream_categoryC1Ev(); - return; -} -function __ZNSt3__119__iostream_categoryC1Ev() { - __ZNSt3__119__iostream_categoryC2Ev(); - return; -} -function __ZNSt3__18ios_base7failureC1EPKcRKNS_10error_codeE(r1, r2) { - __ZNSt3__18ios_base7failureC2EPKcRKNS_10error_codeE(r1, r2); - return; -} -function __ZNSt3__18ios_base7failureC2EPKcRKNS_10error_codeE(r1, r2) { - var r3; - r3 = r2; - __ZNSt3__112system_errorC2ENS_10error_codeEPKc(r1 | 0, HEAP32[r3 >> 2], HEAP32[r3 + 4 >> 2], 5249884); - HEAP32[r1 >> 2] = 5265268; - return; -} -function __ZNSt3__18ios_base7failureD0Ev(r1) { - __ZNSt3__18ios_base7failureD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__18ios_base7failureD1Ev(r1) { - __ZNSt3__18ios_base7failureD2Ev(r1); - return; -} -function __ZNSt3__18ios_base7failureD2Ev(r1) { - __ZNSt3__112system_errorD2Ev(r1 | 0); - return; -} -function __ZNSt3__18ios_baseD0Ev(r1) { - __ZNSt3__18ios_baseD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__18ios_baseD1Ev(r1) { - __ZNSt3__18ios_baseD2Ev(r1); - return; -} -function __ZNSt3__119__iostream_categoryD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__119__iostream_categoryC2Ev() { - __ZNSt3__112__do_messageC2Ev(5263756); - HEAP32[1315939] = 5266120; - return; -} -function __ZNSt3__17collateIcED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17collateIcE12do_transformEPKcS3_(r1, r2, r3, r4) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r3, r4); - return; -} -function __ZNSt3__17collateIwED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17collateIwE12do_transformEPKwS3_(r1, r2, r3, r4) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r3, r4); - return; -} -function __ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 12; - r7 = r3 + 16; - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(r5, r1); - do { - if ((HEAP8[r5 | 0] & 1) << 24 >> 24 != 0) { - r8 = r1 >> 2; - r9 = r1; - __ZNKSt3__18ios_base6getlocEv(r6, r9 + HEAP32[HEAP32[r8] - 12 >> 2] | 0); - r10 = HEAP32[r6 >> 2]; - r11 = __ZNKSt3__16locale9use_facetERNS0_2idE(r10, 5273332); - __ZNSt3__16localeD1Ev(r10); - r10 = HEAP32[HEAP32[r8] - 12 >> 2]; - r12 = HEAP8[r10 + (r9 + 76) | 0]; - r13 = HEAP32[HEAP32[r11 >> 2] + 16 >> 2]; - HEAP32[r4 >> 2] = HEAP32[r10 + (r9 + 24) >> 2]; - FUNCTION_TABLE[r13](r7, r11, r4, r9 + r10 | 0, r12, r2); - if ((HEAP32[r7 >> 2] | 0) != 0) { - break; - } - r12 = HEAP32[HEAP32[r8] - 12 >> 2]; - __ZNSt3__18ios_base5clearEj(r9 + r12 | 0, HEAP32[r12 + (r9 + 16) >> 2] | 5); - } - } while (0); - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(r5); - STACKTOP = r3; - return r1; -} -__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi["X"] = 1; -function __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = r3 + 4; - r6 = r3 + 12; - r7 = r3 + 16; - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_(r5, r1); - do { - if ((HEAP8[r5 | 0] & 1) << 24 >> 24 != 0) { - r8 = r1 >> 2; - r9 = r1; - __ZNKSt3__18ios_base6getlocEv(r6, r9 + HEAP32[HEAP32[r8] - 12 >> 2] | 0); - r10 = HEAP32[r6 >> 2]; - r11 = __ZNKSt3__16locale9use_facetERNS0_2idE(r10, 5273332); - __ZNSt3__16localeD1Ev(r10); - r10 = HEAP32[HEAP32[r8] - 12 >> 2]; - r12 = HEAP8[r10 + (r9 + 76) | 0]; - r13 = HEAP32[HEAP32[r11 >> 2] + 32 >> 2]; - HEAP32[r4 >> 2] = HEAP32[r10 + (r9 + 24) >> 2]; - FUNCTION_TABLE[r13](r7, r11, r4, r9 + r10 | 0, r12, r2); - if ((HEAP32[r7 >> 2] | 0) != 0) { - break; - } - r12 = HEAP32[HEAP32[r8] - 12 >> 2]; - __ZNSt3__18ios_base5clearEj(r9 + r12 | 0, HEAP32[r12 + (r9 + 16) >> 2] | 5); - } - } while (0); - __ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev(r5); - STACKTOP = r3; - return r1; -} -__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd["X"] = 1; -function __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(r1) { - var r2, r3; - r2 = r1 & 74; - if ((r2 | 0) == 8) { - r3 = 16; - } else if ((r2 | 0) == 64) { - r3 = 8; - } else if ((r2 | 0) == 0) { - r3 = 0; - } else { - r3 = 10; - } - return r3; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r8 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - r10 = r8 + 4; - r11 = r8 + 8; - r12 = r8 + 12; - r13 = r8 + 16; - r14 = r8 + 20; - r15 = r8 + 24; - if ((HEAP32[r5 + 4 >> 2] & 1 | 0) == 0) { - HEAP32[r9 >> 2] = -1; - r16 = HEAP32[HEAP32[r2 >> 2] + 16 >> 2]; - r17 = r3 | 0; - HEAP32[r11 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r12 >> 2] = HEAP32[r4 >> 2]; - FUNCTION_TABLE[r16](r10, r2, r11, r12, r5, r6, r9); - r12 = HEAP32[r10 >> 2]; - HEAP32[r17 >> 2] = r12; - r17 = HEAP32[r9 >> 2]; - if ((r17 | 0) == 1) { - HEAP8[r7] = 1; - } else if ((r17 | 0) == 0) { - HEAP8[r7] = 0; - } else { - HEAP8[r7] = 1; - HEAP32[r6 >> 2] = 4; - } - HEAP32[r1 >> 2] = r12; - STACKTOP = r8; - return; - } - __ZNKSt3__18ios_base6getlocEv(r13, r5); - r12 = HEAP32[r13 >> 2]; - r13 = __ZNKSt3__16locale9use_facetERNS0_2idE(r12, 5273668); - __ZNSt3__16localeD1Ev(r12); - __ZNKSt3__18ios_base6getlocEv(r14, r5); - r5 = HEAP32[r14 >> 2]; - r14 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273300); - r12 = r14; - __ZNSt3__16localeD1Ev(r5); - r5 = r15 | 0; - r17 = r14; - FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 24 >> 2]](r5, r12); - r14 = r15 + 12 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 28 >> 2]](r14, r12); - HEAP8[r7] = (__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, HEAP32[r4 >> 2], r5, r15 + 24 | 0, r13, r6, 1) | 0) == (r5 | 0) & 1; - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r14); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r5); - STACKTOP = r8; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb["X"] = 1; -function __ZNSt3__16localeD1Ev(r1) { - __ZNSt3__16localeD2Ev(r1); - return; -} -function __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49; - r8 = 0; - r9 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r10 = (r4 - r3 | 0) / 12 & -1; - r11 = r9 | 0; - do { - if (r10 >>> 0 > 100) { - r12 = _malloc(r10); - if ((r12 | 0) != 0) { - r13 = r12; - r14 = r12; - break; - } - __ZSt17__throw_bad_allocv(); - r13 = 0; - r14 = 0; - } else { - r13 = r11; - r14 = 0; - } - } while (0); - r11 = (r3 | 0) == (r4 | 0); - L964 : do { - if (r11) { - r15 = r10; - r16 = 0; - } else { - r12 = r10; - r17 = 0; - r18 = r13; - r19 = r3; - while (1) { - r20 = HEAPU8[r19]; - if ((r20 & 1 | 0) == 0) { - r21 = r20 >>> 1; - } else { - r21 = HEAP32[r19 + 4 >> 2]; - } - if ((r21 | 0) == 0) { - HEAP8[r18] = 2; - r22 = r17 + 1 | 0; - r23 = r12 - 1 | 0; - } else { - HEAP8[r18] = 1; - r22 = r17; - r23 = r12; - } - r20 = r19 + 12 | 0; - if ((r20 | 0) == (r4 | 0)) { - r15 = r23; - r16 = r22; - break L964; - } else { - r12 = r23; - r17 = r22; - r18 = r18 + 1 | 0; - r19 = r20; - } - } - } - } while (0); - r22 = (r1 | 0) >> 2; - r1 = HEAP32[r22]; - r23 = (r2 | 0) == 0; - L976 : do { - if ((r1 | 0) == 0 ^ r23) { - r2 = r5; - r21 = r15; - r10 = r16; - r19 = 0; - r18 = r1, r17 = r18 >> 2; - while (1) { - if ((r21 | 0) == 0) { - r24 = r18; - break L976; - } - r12 = HEAP32[r17 + 3]; - if ((r12 | 0) == (HEAP32[r17 + 4] | 0)) { - r25 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 36 >> 2]](r18); - } else { - r25 = HEAPU8[r12]; - } - r12 = r25 & 255; - if (r7) { - r26 = r12; - } else { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 12 >> 2]](r5, r12); - } - r12 = r19 + 1 | 0; - L988 : do { - if (r11) { - r27 = r10; - r28 = r21; - r29 = r12; - } else { - r20 = r21; - r30 = r10; - r31 = r13; - r32 = 0; - r33 = r3; - while (1) { - do { - if (HEAP8[r31] << 24 >> 24 == 1) { - r34 = r33; - if ((HEAP8[r34] & 1) << 24 >> 24 == 0) { - r35 = r33 + 1 | 0; - } else { - r35 = HEAP32[r33 + 8 >> 2]; - } - r36 = HEAP8[r35 + r19 | 0]; - if (r7) { - r37 = r36; - } else { - r37 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 12 >> 2]](r5, r36); - } - if (r26 << 24 >> 24 != r37 << 24 >> 24) { - HEAP8[r31] = 0; - r38 = r32; - r39 = r30; - r40 = r20 - 1 | 0; - break; - } - r36 = HEAPU8[r34]; - if ((r36 & 1 | 0) == 0) { - r41 = r36 >>> 1; - } else { - r41 = HEAP32[r33 + 4 >> 2]; - } - if ((r41 | 0) != (r12 | 0)) { - r38 = 1; - r39 = r30; - r40 = r20; - break; - } - HEAP8[r31] = 2; - r38 = 1; - r39 = r30 + 1 | 0; - r40 = r20 - 1 | 0; - } else { - r38 = r32; - r39 = r30; - r40 = r20; - } - } while (0); - r36 = r33 + 12 | 0; - if ((r36 | 0) == (r4 | 0)) { - break; - } - r20 = r40; - r30 = r39; - r31 = r31 + 1 | 0; - r32 = r38; - r33 = r36; - } - if ((r38 & 1) << 24 >> 24 == 0) { - r27 = r39; - r28 = r40; - r29 = r12; - break; - } - r33 = HEAP32[r22]; - r32 = (r33 + 12 | 0) >> 2; - r31 = HEAP32[r32]; - r30 = r33 + 16 | 0; - r20 = HEAP32[r30 >> 2]; - do { - if ((r31 | 0) == (r20 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r33 >> 2] + 40 >> 2]](r33) | 0) == -1) { - r8 = 944; - break; - } - r42 = HEAP32[r32]; - r43 = HEAP32[r30 >> 2]; - r8 = 941; - break; - } else { - r36 = r31 + 1 | 0; - HEAP32[r32] = r36; - r42 = r36; - r43 = r20; - r8 = 941; - break; - } - } while (0); - do { - if (r8 == 941) { - r8 = 0; - if ((r42 | 0) != (r43 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r33 >> 2] + 36 >> 2]](r33) | 0) == -1) { - r8 = 944; - break; - } else { - break; - } - } - } while (0); - if (r8 == 944) { - r8 = 0; - HEAP32[r22] = 0; - } - if ((r39 + r40 | 0) >>> 0 < 2) { - r27 = r39; - r28 = r40; - r29 = r12; - break; - } else { - r44 = r39; - r45 = r13; - r46 = r3; - } - while (1) { - do { - if (HEAP8[r45] << 24 >> 24 == 2) { - r33 = HEAPU8[r46]; - if ((r33 & 1 | 0) == 0) { - r47 = r33 >>> 1; - } else { - r47 = HEAP32[r46 + 4 >> 2]; - } - if ((r47 | 0) == (r12 | 0)) { - r48 = r44; - break; - } - HEAP8[r45] = 0; - r48 = r44 - 1 | 0; - } else { - r48 = r44; - } - } while (0); - r33 = r46 + 12 | 0; - if ((r33 | 0) == (r4 | 0)) { - r27 = r48; - r28 = r40; - r29 = r12; - break L988; - } else { - r44 = r48; - r45 = r45 + 1 | 0; - r46 = r33; - } - } - } - } while (0); - r12 = HEAP32[r22]; - if ((r12 | 0) == 0 ^ r23) { - r21 = r28; - r10 = r27; - r19 = r29; - r18 = r12, r17 = r18 >> 2; - } else { - r24 = r12; - break L976; - } - } - } else { - r24 = r1; - } - } while (0); - if (!((r24 | 0) == 0 ^ r23)) { - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - } - L1039 : do { - if (r11) { - r8 = 960; - } else { - r23 = r3; - r24 = r13; - while (1) { - if (HEAP8[r24] << 24 >> 24 == 2) { - r49 = r23; - break L1039; - } - r1 = r23 + 12 | 0; - if ((r1 | 0) == (r4 | 0)) { - r8 = 960; - break L1039; - } - r23 = r1; - r24 = r24 + 1 | 0; - } - } - } while (0); - if (r8 == 960) { - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 4; - r49 = r4; - } - if ((r14 | 0) == 0) { - STACKTOP = r9; - return r49; - } - _free(r14); - STACKTOP = r9; - return r49; -} -__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb["X"] = 1; -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r2 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r2 + 32; - r10 = r2 + 84; - r11 = r2 + 88; - r12 = r2 + 248, r13 = r12 >> 2; - r14 = r2 + 252; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r9, r5, r16, r8); - r5 = r2 + 44 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1052 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP8[r8]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAPU8[r25]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r26 & 255, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1052; - } - r25 = HEAP32[r21]; - r28 = HEAP32[r22]; - if ((r25 | 0) == (r28 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20) | 0) == -1) { - break; - } - r29 = HEAP32[r21]; - r30 = HEAP32[r22]; - } else { - r31 = r25 + 1 | 0; - HEAP32[r21] = r31; - r29 = r31; - r30 = r28; - } - if ((r29 | 0) == (r30 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20) | 0) == -1) { - break; - } - } - if (!r24) { - r27 = r20; - break L1052; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1052; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r32 = r3 >>> 1; - } else { - r32 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r32 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__125__num_get_signed_integralIlEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl["X"] = 1; -function __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - __ZNKSt3__18ios_base6getlocEv(r6, r2); - r2 = HEAP32[r6 >> 2]; - r6 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273668); - FUNCTION_TABLE[HEAP32[HEAP32[r6 >> 2] + 32 >> 2]](r6, 5274108, 5274134, r3); - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273300); - r6 = r3; - HEAP8[r4] = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r6); - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r1, r6); - __ZNSt3__16localeD1Ev(r2); - STACKTOP = r5; - return; -} -function __ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) { - var r11, r12, r13, r14, r15, r16, r17; - r11 = r5 >> 2; - r5 = r4 >> 2; - r4 = HEAP32[r5]; - r12 = (r4 | 0) == (r3 | 0); - do { - if (r12) { - r13 = HEAP8[r10 + 24 | 0] << 24 >> 24 == r1 << 24 >> 24; - if (!r13) { - if (HEAP8[r10 + 25 | 0] << 24 >> 24 != r1 << 24 >> 24) { - break; - } - } - HEAP32[r5] = r3 + 1 | 0; - HEAP8[r3] = r13 ? 43 : 45; - HEAP32[r11] = 0; - r14 = 0; - return r14; - } - } while (0); - do { - if (r1 << 24 >> 24 == r6 << 24 >> 24) { - r13 = HEAPU8[r7]; - if ((r13 & 1 | 0) == 0) { - r15 = r13 >>> 1; - } else { - r15 = HEAP32[r7 + 4 >> 2]; - } - if ((r15 | 0) == 0) { - break; - } - r13 = HEAP32[r9 >> 2]; - if ((r13 - r8 | 0) >= 160) { - r14 = 0; - return r14; - } - r16 = HEAP32[r11]; - HEAP32[r9 >> 2] = r13 + 4 | 0; - HEAP32[r13 >> 2] = r16; - HEAP32[r11] = 0; - r14 = 0; - return r14; - } - } while (0); - r9 = r10 + 26 | 0; - r8 = r10; - while (1) { - if ((r8 | 0) == (r9 | 0)) { - r17 = r9; - break; - } - if (HEAP8[r8] << 24 >> 24 == r1 << 24 >> 24) { - r17 = r8; - break; - } else { - r8 = r8 + 1 | 0; - } - } - r8 = r17 - r10 | 0; - if ((r8 | 0) > 23) { - r14 = -1; - return r14; - } - do { - if ((r2 | 0) == 8 | (r2 | 0) == 10) { - if ((r8 | 0) < (r2 | 0)) { - break; - } else { - r14 = -1; - } - return r14; - } else if ((r2 | 0) == 16) { - if ((r8 | 0) < 22) { - break; - } - if (r12) { - r14 = -1; - return r14; - } - if ((r4 - r3 | 0) >= 3) { - r14 = -1; - return r14; - } - if (HEAP8[r4 - 1 | 0] << 24 >> 24 != 48) { - r14 = -1; - return r14; - } - HEAP32[r11] = 0; - r10 = HEAP8[r8 + 5274108 | 0]; - r17 = HEAP32[r5]; - HEAP32[r5] = r17 + 1 | 0; - HEAP8[r17] = r10; - r14 = 0; - return r14; - } - } while (0); - if ((r4 - r3 | 0) < 39) { - r3 = HEAP8[r8 + 5274108 | 0]; - HEAP32[r5] = r4 + 1 | 0; - HEAP8[r4] = r3; - } - HEAP32[r11] = HEAP32[r11] + 1 | 0; - r14 = 0; - return r14; -} -__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_["X"] = 1; -function __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r5 = r1; - r6 = r1; - r7 = HEAP8[r6]; - r8 = r7 & 255; - if ((r8 & 1 | 0) == 0) { - r9 = r8 >>> 1; - } else { - r9 = HEAP32[r1 + 4 >> 2]; - } - if ((r9 | 0) == 0) { - return; - } - do { - if ((r2 | 0) == (r3 | 0)) { - r10 = r7; - } else { - r9 = r3 - 4 | 0; - if (r9 >>> 0 > r2 >>> 0) { - r11 = r2; - r12 = r9; - } else { - r10 = r7; - break; - } - while (1) { - r9 = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r9; - r9 = r11 + 4 | 0; - r8 = r12 - 4 | 0; - if (r9 >>> 0 < r8 >>> 0) { - r11 = r9; - r12 = r8; - } else { - break; - } - } - r10 = HEAP8[r6]; - } - } while (0); - if ((r10 & 1) << 24 >> 24 == 0) { - r13 = r5 + 1 | 0; - } else { - r13 = HEAP32[r1 + 8 >> 2]; - } - r5 = r10 & 255; - if ((r5 & 1 | 0) == 0) { - r14 = r5 >>> 1; - } else { - r14 = HEAP32[r1 + 4 >> 2]; - } - r1 = r3 - 4 | 0; - r3 = HEAP8[r13]; - r5 = r3 << 24 >> 24; - r10 = r3 << 24 >> 24 < 1 | r3 << 24 >> 24 == 127; - L1163 : do { - if (r1 >>> 0 > r2 >>> 0) { - r3 = r13 + r14 | 0; - r6 = r13; - r12 = r2; - r11 = r5; - r7 = r10; - while (1) { - if (!r7) { - if ((r11 | 0) != (HEAP32[r12 >> 2] | 0)) { - break; - } - } - r8 = (r3 - r6 | 0) > 1 ? r6 + 1 | 0 : r6; - r9 = r12 + 4 | 0; - r15 = HEAP8[r8]; - r16 = r15 << 24 >> 24; - r17 = r15 << 24 >> 24 < 1 | r15 << 24 >> 24 == 127; - if (r9 >>> 0 < r1 >>> 0) { - r6 = r8; - r12 = r9; - r11 = r16; - r7 = r17; - } else { - r18 = r16; - r19 = r17; - break L1163; - } - } - HEAP32[r4 >> 2] = 4; - return; - } else { - r18 = r5; - r19 = r10; - } - } while (0); - if (r19) { - return; - } - r19 = HEAP32[r1 >> 2]; - if (!(r18 >>> 0 < r19 >>> 0 | (r19 | 0) == 0)) { - return; - } - HEAP32[r4 >> 2] = 4; - return; -} -__ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj["X"] = 1; -function __ZNSt3__125__num_get_signed_integralIlEET_PKcS3_Rji(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - STACKTOP = r5; - return r7; - } - r8 = HEAP32[___errno_location() >> 2]; - HEAP32[___errno_location() >> 2] = 0; - r9 = _strtoll(r1, r6, r4, __ZNSt3__16__clocEv()); - r4 = tempRet0; - r1 = HEAP32[___errno_location() >> 2]; - if ((r1 | 0) == 0) { - HEAP32[___errno_location() >> 2] = r8; - } - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - STACKTOP = r5; - return r7; - } - r2 = -1; - r6 = 0; - if ((r1 | 0) == 34 | ((r4 | 0) < (r2 | 0) | (r4 | 0) == (r2 | 0) & r9 >>> 0 < -2147483648 >>> 0) | ((r4 | 0) > (r6 | 0) | (r4 | 0) == (r6 | 0) & r9 >>> 0 > 2147483647 >>> 0)) { - HEAP32[r3 >> 2] = 4; - r3 = 0; - r7 = (r4 | 0) > (r3 | 0) | (r4 | 0) == (r3 | 0) & r9 >>> 0 > 0 >>> 0 ? 2147483647 : -2147483648; - STACKTOP = r5; - return r7; - } else { - r7 = r9; - STACKTOP = r5; - return r7; - } -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r2 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r2 + 32; - r10 = r2 + 84; - r11 = r2 + 88; - r12 = r2 + 248, r13 = r12 >> 2; - r14 = r2 + 252; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r9, r5, r16, r8); - r5 = r2 + 44 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1198 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP8[r8]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAPU8[r25]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r26 & 255, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1198; - } - r25 = HEAP32[r21]; - r28 = HEAP32[r22]; - if ((r25 | 0) == (r28 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20) | 0) == -1) { - break; - } - r29 = HEAP32[r21]; - r30 = HEAP32[r22]; - } else { - r31 = r25 + 1 | 0; - HEAP32[r21] = r31; - r29 = r31; - r30 = r28; - } - if ((r29 | 0) == (r30 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20) | 0) == -1) { - break; - } - } - if (!r24) { - r27 = r20; - break L1198; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1198; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r32 = r3 >>> 1; - } else { - r32 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r32 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__125__num_get_signed_integralIxEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - HEAP32[r7 + 4 >> 2] = tempRet0; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx["X"] = 1; -function __ZNSt3__125__num_get_signed_integralIxEET_PKcS3_Rji(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - r8 = 0; - } else { - r9 = HEAP32[___errno_location() >> 2]; - HEAP32[___errno_location() >> 2] = 0; - r10 = _strtoll(r1, r6, r4, __ZNSt3__16__clocEv()); - r11 = tempRet0; - r12 = HEAP32[___errno_location() >> 2]; - if ((r12 | 0) == 0) { - HEAP32[___errno_location() >> 2] = r9; - } - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - r8 = 0; - break; - } - if ((r12 | 0) != 34) { - r7 = r11; - r8 = r10; - break; - } - HEAP32[r3 >> 2] = 4; - r12 = 0; - r9 = (r11 | 0) > (r12 | 0) | (r11 | 0) == (r12 | 0) & r10 >>> 0 > 0 >>> 0; - r7 = r9 ? 2147483647 : -2147483648; - r8 = r9 ? -1 : 0; - } - } while (0); - STACKTOP = r5; - return tempRet0 = r7, r8; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r2 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r2 + 32; - r10 = r2 + 84; - r11 = r2 + 88; - r12 = r2 + 248, r13 = r12 >> 2; - r14 = r2 + 252; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r9, r5, r16, r8); - r5 = r2 + 44 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1247 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP8[r8]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAPU8[r25]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r26 & 255, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1247; - } - r25 = HEAP32[r21]; - r28 = HEAP32[r22]; - if ((r25 | 0) == (r28 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20) | 0) == -1) { - break; - } - r29 = HEAP32[r21]; - r30 = HEAP32[r22]; - } else { - r31 = r25 + 1 | 0; - HEAP32[r21] = r31; - r29 = r31; - r30 = r28; - } - if ((r29 | 0) == (r30 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20) | 0) == -1) { - break; - } - } - if (!r24) { - r27 = r20; - break L1247; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1247; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r32 = r3 >>> 1; - } else { - r32 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r32 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP16[r7 >> 1] = __ZNSt3__127__num_get_unsigned_integralItEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt["X"] = 1; -function __ZNSt3__127__num_get_unsigned_integralItEET_PKcS3_Rji(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - } else { - if (HEAP8[r1] << 24 >> 24 == 45) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - break; - } - r8 = HEAP32[___errno_location() >> 2]; - HEAP32[___errno_location() >> 2] = 0; - r9 = _strtoull(r1, r6, r4, __ZNSt3__16__clocEv()); - r10 = tempRet0; - r11 = HEAP32[___errno_location() >> 2]; - if ((r11 | 0) == 0) { - HEAP32[___errno_location() >> 2] = r8; - } - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - break; - } - r8 = 0; - if ((r11 | 0) == 34 | (r10 >>> 0 > r8 >>> 0 | r10 >>> 0 == r8 >>> 0 & r9 >>> 0 > 65535 >>> 0)) { - HEAP32[r3 >> 2] = 4; - r7 = -1; - break; - } else { - r7 = r9 & 65535; - break; - } - } - } while (0); - STACKTOP = r5; - return r7; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r2 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r2 + 32; - r10 = r2 + 84; - r11 = r2 + 88; - r12 = r2 + 248, r13 = r12 >> 2; - r14 = r2 + 252; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r9, r5, r16, r8); - r5 = r2 + 44 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1301 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP8[r8]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAPU8[r25]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r26 & 255, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1301; - } - r25 = HEAP32[r21]; - r28 = HEAP32[r22]; - if ((r25 | 0) == (r28 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20) | 0) == -1) { - break; - } - r29 = HEAP32[r21]; - r30 = HEAP32[r22]; - } else { - r31 = r25 + 1 | 0; - HEAP32[r21] = r31; - r29 = r31; - r30 = r28; - } - if ((r29 | 0) == (r30 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20) | 0) == -1) { - break; - } - } - if (!r24) { - r27 = r20; - break L1301; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1301; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r32 = r3 >>> 1; - } else { - r32 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r32 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__127__num_get_unsigned_integralIjEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_["X"] = 1; -function __ZNSt3__127__num_get_unsigned_integralIjEET_PKcS3_Rji(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - } else { - if (HEAP8[r1] << 24 >> 24 == 45) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - break; - } - r8 = HEAP32[___errno_location() >> 2]; - HEAP32[___errno_location() >> 2] = 0; - r9 = _strtoull(r1, r6, r4, __ZNSt3__16__clocEv()); - r10 = tempRet0; - r11 = HEAP32[___errno_location() >> 2]; - if ((r11 | 0) == 0) { - HEAP32[___errno_location() >> 2] = r8; - } - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - break; - } - r8 = 0; - if ((r11 | 0) == 34 | (r10 >>> 0 > r8 >>> 0 | r10 >>> 0 == r8 >>> 0 & r9 >>> 0 > -1 >>> 0)) { - HEAP32[r3 >> 2] = 4; - r7 = -1; - break; - } else { - r7 = r9; - break; - } - } - } while (0); - STACKTOP = r5; - return r7; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r2 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r2 + 32; - r10 = r2 + 84; - r11 = r2 + 88; - r12 = r2 + 248, r13 = r12 >> 2; - r14 = r2 + 252; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r9, r5, r16, r8); - r5 = r2 + 44 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1355 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP8[r8]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAPU8[r25]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r26 & 255, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1355; - } - r25 = HEAP32[r21]; - r28 = HEAP32[r22]; - if ((r25 | 0) == (r28 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20) | 0) == -1) { - break; - } - r29 = HEAP32[r21]; - r30 = HEAP32[r22]; - } else { - r31 = r25 + 1 | 0; - HEAP32[r21] = r31; - r29 = r31; - r30 = r28; - } - if ((r29 | 0) == (r30 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20) | 0) == -1) { - break; - } - } - if (!r24) { - r27 = r20; - break L1355; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1355; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r32 = r3 >>> 1; - } else { - r32 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r32 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__127__num_get_unsigned_integralImEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm["X"] = 1; -function __ZNSt3__127__num_get_unsigned_integralImEET_PKcS3_Rji(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - } else { - if (HEAP8[r1] << 24 >> 24 == 45) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - break; - } - r8 = HEAP32[___errno_location() >> 2]; - HEAP32[___errno_location() >> 2] = 0; - r9 = _strtoull(r1, r6, r4, __ZNSt3__16__clocEv()); - r10 = tempRet0; - r11 = HEAP32[___errno_location() >> 2]; - if ((r11 | 0) == 0) { - HEAP32[___errno_location() >> 2] = r8; - } - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - break; - } - r8 = 0; - if ((r11 | 0) == 34 | (r10 >>> 0 > r8 >>> 0 | r10 >>> 0 == r8 >>> 0 & r9 >>> 0 > -1 >>> 0)) { - HEAP32[r3 >> 2] = 4; - r7 = -1; - break; - } else { - r7 = r9; - break; - } - } - } while (0); - STACKTOP = r5; - return r7; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r2 = STACKTOP; - STACKTOP = STACKTOP + 256 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r2 + 32; - r10 = r2 + 84; - r11 = r2 + 88; - r12 = r2 + 248, r13 = r12 >> 2; - r14 = r2 + 252; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc(r9, r5, r16, r8); - r5 = r2 + 44 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1409 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP8[r8]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAPU8[r25]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r26 & 255, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1409; - } - r25 = HEAP32[r21]; - r28 = HEAP32[r22]; - if ((r25 | 0) == (r28 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20) | 0) == -1) { - break; - } - r29 = HEAP32[r21]; - r30 = HEAP32[r22]; - } else { - r31 = r25 + 1 | 0; - HEAP32[r21] = r31; - r29 = r31; - r30 = r28; - } - if ((r29 | 0) == (r30 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20) | 0) == -1) { - break; - } - } - if (!r24) { - r27 = r20; - break L1409; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1409; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r32 = r3 >>> 1; - } else { - r32 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r32 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__127__num_get_unsigned_integralIyEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - HEAP32[r7 + 4 >> 2] = tempRet0; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r33 = r1 | 0; - HEAP32[r33 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy["X"] = 1; -function __ZNSt3__127__num_get_unsigned_integralIyEET_PKcS3_Rji(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - r8 = 0; - } else { - if (HEAP8[r1] << 24 >> 24 == 45) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - r8 = 0; - break; - } - r9 = HEAP32[___errno_location() >> 2]; - HEAP32[___errno_location() >> 2] = 0; - r10 = _strtoull(r1, r6, r4, __ZNSt3__16__clocEv()); - r11 = tempRet0; - r12 = HEAP32[___errno_location() >> 2]; - if ((r12 | 0) == 0) { - HEAP32[___errno_location() >> 2] = r9; - } - if ((HEAP32[r6 >> 2] | 0) != (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r7 = 0; - r8 = 0; - break; - } - if ((r12 | 0) != 34) { - r7 = r11; - r8 = r10; - break; - } - HEAP32[r3 >> 2] = 4; - r7 = -1; - r8 = -1; - } - } while (0); - STACKTOP = r5; - return tempRet0 = r7, r8; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36; - r2 = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 32; - r9 = r2 + 36; - r10 = r2 + 40; - r11 = r2 + 92; - r12 = r2 + 96; - r13 = r2 + 256, r14 = r13 >> 2; - r15 = r2 + 260; - r16 = r2 + 264; - r17 = r2 + 268; - r18 = r2 | 0; - __ZNSt3__19__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(r10, r5, r18, r8, r9); - r5 = r2 + 52 | 0; - _memset(r5, 0, 40); - HEAP32[r11 >> 2] = r5; - r19 = r12 | 0; - HEAP32[r14] = r19; - HEAP32[r15 >> 2] = 0; - HEAP8[r16] = 1; - HEAP8[r17] = 69; - r20 = r3 | 0; - r3 = HEAP32[r20 >> 2]; - r21 = (HEAP32[r4 >> 2] | 0) == 0; - L1461 : do { - if ((r3 | 0) == 0 ^ r21) { - r4 = HEAP8[r8]; - r22 = HEAP8[r9]; - r23 = r3; - while (1) { - r24 = (r23 + 12 | 0) >> 2; - r25 = (r23 + 16 | 0) >> 2; - r26 = r23 >> 2; - r27 = (r23 | 0) == 0 ^ r21; - while (1) { - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r29 = HEAPU8[r28]; - } - if ((__ZNSt3__19__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(r29 & 255, r16, r17, r5, r11, r4, r22, r10, r19, r13, r15, r18) | 0) != 0) { - r30 = r23; - break L1461; - } - r28 = HEAP32[r24]; - r31 = HEAP32[r25]; - if ((r28 | 0) == (r31 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r26] + 40 >> 2]](r23) | 0) == -1) { - break; - } - r32 = HEAP32[r24]; - r33 = HEAP32[r25]; - } else { - r34 = r28 + 1 | 0; - HEAP32[r24] = r34; - r32 = r34; - r33 = r31; - } - if ((r32 | 0) == (r33 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23) | 0) == -1) { - break; - } - } - if (!r27) { - r30 = r23; - break L1461; - } - } - HEAP32[r20 >> 2] = 0; - if (r21) { - r30 = 0; - break L1461; - } else { - r23 = 0; - } - } - } else { - r30 = r3; - } - } while (0); - r3 = HEAPU8[r10]; - if ((r3 & 1 | 0) == 0) { - r35 = r3 >>> 1; - } else { - r35 = HEAP32[r10 + 4 >> 2]; - } - do { - if ((r35 | 0) != 0) { - if ((HEAP8[r16] & 1) << 24 >> 24 == 0) { - break; - } - r3 = HEAP32[r14]; - if ((r3 - r12 | 0) >= 160) { - break; - } - r20 = HEAP32[r15 >> 2]; - HEAP32[r14] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r20; - } - } while (0); - HEAPF32[r7 >> 2] = __ZNSt3__115__num_get_floatIfEET_PKcS3_Rj(r5, HEAP32[r11 >> 2], r6); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r10, r19, HEAP32[r14], r6); - if ((r30 | 0) == 0 ^ r21) { - r36 = r1 | 0; - HEAP32[r36 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r36 = r1 | 0; - HEAP32[r36 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf["X"] = 1; -function __ZNSt3__19__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12) { - var r13, r14, r15, r16, r17, r18; - r13 = r11 >> 2; - r11 = r10 >> 2; - if (r1 << 24 >> 24 == r6 << 24 >> 24) { - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r14 = -1; - return r14; - } - HEAP8[r2] = 0; - r6 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = r6 + 1 | 0; - HEAP8[r6] = 46; - r6 = HEAPU8[r8]; - if ((r6 & 1 | 0) == 0) { - r15 = r6 >>> 1; - } else { - r15 = HEAP32[r8 + 4 >> 2]; - } - if ((r15 | 0) == 0) { - r14 = 0; - return r14; - } - r15 = HEAP32[r11]; - if ((r15 - r9 | 0) >= 160) { - r14 = 0; - return r14; - } - r6 = HEAP32[r13]; - HEAP32[r11] = r15 + 4 | 0; - HEAP32[r15 >> 2] = r6; - r14 = 0; - return r14; - } - do { - if (r1 << 24 >> 24 == r7 << 24 >> 24) { - r6 = HEAPU8[r8]; - if ((r6 & 1 | 0) == 0) { - r16 = r6 >>> 1; - } else { - r16 = HEAP32[r8 + 4 >> 2]; - } - if ((r16 | 0) == 0) { - break; - } - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r14 = -1; - return r14; - } - r6 = HEAP32[r11]; - if ((r6 - r9 | 0) >= 160) { - r14 = 0; - return r14; - } - r15 = HEAP32[r13]; - HEAP32[r11] = r6 + 4 | 0; - HEAP32[r6 >> 2] = r15; - HEAP32[r13] = 0; - r14 = 0; - return r14; - } - } while (0); - r16 = r12 + 32 | 0; - r7 = r12; - while (1) { - if ((r7 | 0) == (r16 | 0)) { - r17 = r16; - break; - } - if (HEAP8[r7] << 24 >> 24 == r1 << 24 >> 24) { - r17 = r7; - break; - } else { - r7 = r7 + 1 | 0; - } - } - r7 = r17 - r12 | 0; - if ((r7 | 0) > 31) { - r14 = -1; - return r14; - } - r12 = HEAP8[r7 + 5274108 | 0]; - r17 = HEAP32[r5 >> 2]; - if ((r17 - r4 | 0) < 39) { - HEAP32[r5 >> 2] = r17 + 1 | 0; - HEAP8[r17] = r12; - } - if ((r7 - 22 | 0) >>> 0 < 2) { - HEAP8[r3] = 80; - r14 = 0; - return r14; - } - do { - if ((r12 & 223 | 0) == (HEAP8[r3] << 24 >> 24 | 0)) { - HEAP8[r2] = 0; - r17 = HEAPU8[r8]; - if ((r17 & 1 | 0) == 0) { - r18 = r17 >>> 1; - } else { - r18 = HEAP32[r8 + 4 >> 2]; - } - if ((r18 | 0) == 0) { - break; - } - r17 = HEAP32[r11]; - if ((r17 - r9 | 0) >= 160) { - break; - } - r5 = HEAP32[r13]; - HEAP32[r11] = r17 + 4 | 0; - HEAP32[r17 >> 2] = r5; - } - } while (0); - if ((r7 | 0) > 21) { - r14 = 0; - return r14; - } - HEAP32[r13] = HEAP32[r13] + 1 | 0; - r14 = 0; - return r14; -} -__ZNSt3__19__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_["X"] = 1; -function __ZNSt3__19__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(r1, r2, r3, r4, r5) { - var r6, r7, r8; - r6 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r7 = r6; - __ZNKSt3__18ios_base6getlocEv(r7, r2); - r2 = HEAP32[r7 >> 2]; - r7 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273668); - FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 32 >> 2]](r7, 5274108, 5274140, r3); - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273300); - r7 = r3; - r8 = r3; - HEAP8[r4] = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 12 >> 2]](r7); - HEAP8[r5] = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 16 >> 2]](r7); - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r1, r7); - __ZNSt3__16localeD1Ev(r2); - STACKTOP = r6; - return; -} -function __ZNSt3__115__num_get_floatIfEET_PKcS3_Rj(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r6 = 0; - } else { - r7 = _strtod(r1, r5, __ZNSt3__16__clocEv()); - if ((HEAP32[r5 >> 2] | 0) == (r2 | 0)) { - r6 = r7; - break; - } else { - HEAP32[r3 >> 2] = 4; - r6 = 0; - break; - } - } - } while (0); - STACKTOP = r4; - return r6; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36; - r2 = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 32; - r9 = r2 + 36; - r10 = r2 + 40; - r11 = r2 + 92; - r12 = r2 + 96; - r13 = r2 + 256, r14 = r13 >> 2; - r15 = r2 + 260; - r16 = r2 + 264; - r17 = r2 + 268; - r18 = r2 | 0; - __ZNSt3__19__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(r10, r5, r18, r8, r9); - r5 = r2 + 52 | 0; - _memset(r5, 0, 40); - HEAP32[r11 >> 2] = r5; - r19 = r12 | 0; - HEAP32[r14] = r19; - HEAP32[r15 >> 2] = 0; - HEAP8[r16] = 1; - HEAP8[r17] = 69; - r20 = r3 | 0; - r3 = HEAP32[r20 >> 2]; - r21 = (HEAP32[r4 >> 2] | 0) == 0; - L1574 : do { - if ((r3 | 0) == 0 ^ r21) { - r4 = HEAP8[r8]; - r22 = HEAP8[r9]; - r23 = r3; - while (1) { - r24 = (r23 + 12 | 0) >> 2; - r25 = (r23 + 16 | 0) >> 2; - r26 = r23 >> 2; - r27 = (r23 | 0) == 0 ^ r21; - while (1) { - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r29 = HEAPU8[r28]; - } - if ((__ZNSt3__19__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(r29 & 255, r16, r17, r5, r11, r4, r22, r10, r19, r13, r15, r18) | 0) != 0) { - r30 = r23; - break L1574; - } - r28 = HEAP32[r24]; - r31 = HEAP32[r25]; - if ((r28 | 0) == (r31 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r26] + 40 >> 2]](r23) | 0) == -1) { - break; - } - r32 = HEAP32[r24]; - r33 = HEAP32[r25]; - } else { - r34 = r28 + 1 | 0; - HEAP32[r24] = r34; - r32 = r34; - r33 = r31; - } - if ((r32 | 0) == (r33 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23) | 0) == -1) { - break; - } - } - if (!r27) { - r30 = r23; - break L1574; - } - } - HEAP32[r20 >> 2] = 0; - if (r21) { - r30 = 0; - break L1574; - } else { - r23 = 0; - } - } - } else { - r30 = r3; - } - } while (0); - r3 = HEAPU8[r10]; - if ((r3 & 1 | 0) == 0) { - r35 = r3 >>> 1; - } else { - r35 = HEAP32[r10 + 4 >> 2]; - } - do { - if ((r35 | 0) != 0) { - if ((HEAP8[r16] & 1) << 24 >> 24 == 0) { - break; - } - r3 = HEAP32[r14]; - if ((r3 - r12 | 0) >= 160) { - break; - } - r20 = HEAP32[r15 >> 2]; - HEAP32[r14] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r20; - } - } while (0); - r15 = __ZNSt3__115__num_get_floatIdEET_PKcS3_Rj(r5, HEAP32[r11 >> 2], r6); - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r10, r19, HEAP32[r14], r6); - if ((r30 | 0) == 0 ^ r21) { - r36 = r1 | 0; - HEAP32[r36 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r36 = r1 | 0; - HEAP32[r36 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd["X"] = 1; -function __ZNSt3__115__num_get_floatIdEET_PKcS3_Rj(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r6 = 0; - } else { - r7 = _strtod(r1, r5, __ZNSt3__16__clocEv()); - if ((HEAP32[r5 >> 2] | 0) == (r2 | 0)) { - r6 = r7; - break; - } - HEAP32[r3 >> 2] = 4; - r6 = 0; - } - } while (0); - STACKTOP = r4; - return r6; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36; - r2 = STACKTOP; - STACKTOP = STACKTOP + 272 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 32; - r9 = r2 + 36; - r10 = r2 + 40; - r11 = r2 + 92; - r12 = r2 + 96; - r13 = r2 + 256, r14 = r13 >> 2; - r15 = r2 + 260; - r16 = r2 + 264; - r17 = r2 + 268; - r18 = r2 | 0; - __ZNSt3__19__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_(r10, r5, r18, r8, r9); - r5 = r2 + 52 | 0; - _memset(r5, 0, 40); - HEAP32[r11 >> 2] = r5; - r19 = r12 | 0; - HEAP32[r14] = r19; - HEAP32[r15 >> 2] = 0; - HEAP8[r16] = 1; - HEAP8[r17] = 69; - r20 = r3 | 0; - r3 = HEAP32[r20 >> 2]; - r21 = (HEAP32[r4 >> 2] | 0) == 0; - L1618 : do { - if ((r3 | 0) == 0 ^ r21) { - r4 = HEAP8[r8]; - r22 = HEAP8[r9]; - r23 = r3; - while (1) { - r24 = (r23 + 12 | 0) >> 2; - r25 = (r23 + 16 | 0) >> 2; - r26 = r23 >> 2; - r27 = (r23 | 0) == 0 ^ r21; - while (1) { - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r29 = HEAPU8[r28]; - } - if ((__ZNSt3__19__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_(r29 & 255, r16, r17, r5, r11, r4, r22, r10, r19, r13, r15, r18) | 0) != 0) { - r30 = r23; - break L1618; - } - r28 = HEAP32[r24]; - r31 = HEAP32[r25]; - if ((r28 | 0) == (r31 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r26] + 40 >> 2]](r23) | 0) == -1) { - break; - } - r32 = HEAP32[r24]; - r33 = HEAP32[r25]; - } else { - r34 = r28 + 1 | 0; - HEAP32[r24] = r34; - r32 = r34; - r33 = r31; - } - if ((r32 | 0) == (r33 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23) | 0) == -1) { - break; - } - } - if (!r27) { - r30 = r23; - break L1618; - } - } - HEAP32[r20 >> 2] = 0; - if (r21) { - r30 = 0; - break L1618; - } else { - r23 = 0; - } - } - } else { - r30 = r3; - } - } while (0); - r3 = HEAPU8[r10]; - if ((r3 & 1 | 0) == 0) { - r35 = r3 >>> 1; - } else { - r35 = HEAP32[r10 + 4 >> 2]; - } - do { - if ((r35 | 0) != 0) { - if ((HEAP8[r16] & 1) << 24 >> 24 == 0) { - break; - } - r3 = HEAP32[r14]; - if ((r3 - r12 | 0) >= 160) { - break; - } - r20 = HEAP32[r15 >> 2]; - HEAP32[r14] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r20; - } - } while (0); - r15 = __ZNSt3__115__num_get_floatIeEET_PKcS3_Rj(r5, HEAP32[r11 >> 2], r6); - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r10, r19, HEAP32[r14], r6); - if ((r30 | 0) == 0 ^ r21) { - r36 = r1 | 0; - HEAP32[r36 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r36 = r1 | 0; - HEAP32[r36 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe["X"] = 1; -function __ZNSt3__115__num_get_floatIeEET_PKcS3_Rj(r1, r2, r3) { - var r4, r5, r6, r7; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - do { - if ((r1 | 0) == (r2 | 0)) { - HEAP32[r3 >> 2] = 4; - r6 = 1.1125369292536007e-308; - } else { - r7 = _strtod(r1, r5, __ZNSt3__16__clocEv()); - if ((HEAP32[r5 >> 2] | 0) == (r2 | 0)) { - r6 = r7; - break; - } else { - HEAP32[r3 >> 2] = 4; - r6 = 1.1125369292536007e-308; - break; - } - } - } while (0); - STACKTOP = r4; - return r6; -} -function __ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28; - r2 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 28; - r9 = r8 >> 2; - r10 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r11 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r12 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r13 = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - r14 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r15 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r9] = 0; - HEAP32[r9 + 1] = 0; - HEAP32[r9 + 2] = 0; - __ZNKSt3__18ios_base6getlocEv(r10, r5); - r5 = HEAP32[r10 >> 2]; - r10 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273668); - r9 = r2 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 32 >> 2]](r10, 5274108, 5274134, r9); - __ZNSt3__16localeD1Ev(r5); - r5 = r11 | 0; - _memset(r5, 0, 40); - HEAP32[r12 >> 2] = r5; - r10 = r13 | 0; - HEAP32[r14 >> 2] = r10; - HEAP32[r15 >> 2] = 0; - r13 = r3 | 0; - r3 = HEAP32[r13 >> 2]; - r16 = (HEAP32[r4 >> 2] | 0) == 0; - L1666 : do { - if ((r3 | 0) == 0 ^ r16) { - r4 = r3; - while (1) { - r17 = (r4 + 12 | 0) >> 2; - r18 = (r4 + 16 | 0) >> 2; - r19 = r4 >> 2; - r20 = (r4 | 0) == 0 ^ r16; - while (1) { - r21 = HEAP32[r17]; - if ((r21 | 0) == (HEAP32[r18] | 0)) { - r22 = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 36 >> 2]](r4); - } else { - r22 = HEAPU8[r21]; - } - if ((__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_(r22 & 255, 16, r5, r12, r15, undef, r8, r10, r14, r9) | 0) != 0) { - r23 = r4; - break L1666; - } - r21 = HEAP32[r17]; - r24 = HEAP32[r18]; - if ((r21 | 0) == (r24 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r19] + 40 >> 2]](r4) | 0) == -1) { - break; - } - r25 = HEAP32[r17]; - r26 = HEAP32[r18]; - } else { - r27 = r21 + 1 | 0; - HEAP32[r17] = r27; - r25 = r27; - r26 = r24; - } - if ((r25 | 0) == (r26 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r19] + 36 >> 2]](r4) | 0) == -1) { - break; - } - } - if (!r20) { - r23 = r4; - break L1666; - } - } - HEAP32[r13 >> 2] = 0; - if (r16) { - r23 = 0; - break L1666; - } else { - r4 = 0; - } - } - } else { - r23 = r3; - } - } while (0); - HEAP8[r11 + 39 | 0] = 0; - if ((__ZNSt3__110__sscanf_lEPKcPvS1_z(r5, __ZNSt3__16__clocEv(), (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r7, tempInt)) | 0) != 1) { - HEAP32[r6 >> 2] = 4; - } - if ((r23 | 0) == 0 ^ r16) { - r28 = r1 | 0; - HEAP32[r28 >> 2] = r23; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r8); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r28 = r1 | 0; - HEAP32[r28 >> 2] = r23; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r8); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv["X"] = 1; -function __ZNSt3__110__sscanf_lEPKcPvS1_z(r1, r2, r3) { - var r4, r5; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r5 = r4; - HEAP32[r5 >> 2] = r3; - r3 = _uselocale(r2); - r2 = _sscanf(r1, 5249428, HEAP32[r5 >> 2]); - if ((r3 | 0) == 0) { - STACKTOP = r4; - return r2; - } - _uselocale(r3); - STACKTOP = r4; - return r2; -} -function __ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init3275() { - if (HEAP8[5274512] << 24 >> 24 != 0) { - return; - } - HEAP32[1318628] = 1; - HEAP32[1318629] = 0; - return; -} -function __ZNSt3__16__clocEv() { - do { - if (HEAP8[5274288] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274288) | 0) == 0) { - break; - } - HEAP32[1315938] = _newlocale(1, 5250472, 0); - } - } while (0); - return HEAP32[1315938]; -} -function __ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r8 = STACKTOP; - STACKTOP = STACKTOP + 48 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - r10 = r8 + 4; - r11 = r8 + 8; - r12 = r8 + 12; - r13 = r8 + 16; - r14 = r8 + 20; - r15 = r8 + 24; - if ((HEAP32[r5 + 4 >> 2] & 1 | 0) == 0) { - HEAP32[r9 >> 2] = -1; - r16 = HEAP32[HEAP32[r2 >> 2] + 16 >> 2]; - r17 = r3 | 0; - HEAP32[r11 >> 2] = HEAP32[r17 >> 2]; - HEAP32[r12 >> 2] = HEAP32[r4 >> 2]; - FUNCTION_TABLE[r16](r10, r2, r11, r12, r5, r6, r9); - r12 = HEAP32[r10 >> 2]; - HEAP32[r17 >> 2] = r12; - r17 = HEAP32[r9 >> 2]; - if ((r17 | 0) == 0) { - HEAP8[r7] = 0; - } else if ((r17 | 0) == 1) { - HEAP8[r7] = 1; - } else { - HEAP8[r7] = 1; - HEAP32[r6 >> 2] = 4; - } - HEAP32[r1 >> 2] = r12; - STACKTOP = r8; - return; - } - __ZNKSt3__18ios_base6getlocEv(r13, r5); - r12 = HEAP32[r13 >> 2]; - r13 = __ZNKSt3__16locale9use_facetERNS0_2idE(r12, 5273660); - __ZNSt3__16localeD1Ev(r12); - __ZNKSt3__18ios_base6getlocEv(r14, r5); - r5 = HEAP32[r14 >> 2]; - r14 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273292); - r12 = r14; - __ZNSt3__16localeD1Ev(r5); - r5 = r15 | 0; - r17 = r14; - FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 24 >> 2]](r5, r12); - r14 = r15 + 12 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 28 >> 2]](r14, r12); - HEAP8[r7] = (__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, HEAP32[r4 >> 2], r5, r15 + 24 | 0, r13, r6, 1) | 0) == (r5 | 0) & 1; - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r14); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r5); - STACKTOP = r8; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb["X"] = 1; -function __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49; - r8 = 0; - r9 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r10 = (r4 - r3 | 0) / 12 & -1; - r11 = r9 | 0; - do { - if (r10 >>> 0 > 100) { - r12 = _malloc(r10); - if ((r12 | 0) != 0) { - r13 = r12; - r14 = r12; - break; - } - __ZSt17__throw_bad_allocv(); - r13 = 0; - r14 = 0; - } else { - r13 = r11; - r14 = 0; - } - } while (0); - r11 = (r3 | 0) == (r4 | 0); - L1736 : do { - if (r11) { - r15 = r10; - r16 = 0; - } else { - r12 = r10; - r17 = 0; - r18 = r13; - r19 = r3; - while (1) { - r20 = HEAPU8[r19]; - if ((r20 & 1 | 0) == 0) { - r21 = r20 >>> 1; - } else { - r21 = HEAP32[r19 + 4 >> 2]; - } - if ((r21 | 0) == 0) { - HEAP8[r18] = 2; - r22 = r17 + 1 | 0; - r23 = r12 - 1 | 0; - } else { - HEAP8[r18] = 1; - r22 = r17; - r23 = r12; - } - r20 = r19 + 12 | 0; - if ((r20 | 0) == (r4 | 0)) { - r15 = r23; - r16 = r22; - break L1736; - } else { - r12 = r23; - r17 = r22; - r18 = r18 + 1 | 0; - r19 = r20; - } - } - } - } while (0); - r22 = (r1 | 0) >> 2; - r1 = HEAP32[r22]; - r23 = (r2 | 0) == 0; - L1748 : do { - if ((r1 | 0) == 0 ^ r23) { - r2 = r5; - r21 = r15; - r10 = r16; - r19 = 0; - r18 = r1, r17 = r18 >> 2; - while (1) { - if ((r21 | 0) == 0) { - r24 = r18; - break L1748; - } - r12 = HEAP32[r17 + 3]; - if ((r12 | 0) == (HEAP32[r17 + 4] | 0)) { - r25 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 36 >> 2]](r18); - } else { - r25 = HEAP32[r12 >> 2]; - } - if (r7) { - r26 = r25; - } else { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r5, r25); - } - r12 = r19 + 1 | 0; - L1760 : do { - if (r11) { - r27 = r10; - r28 = r21; - r29 = r12; - } else { - r20 = r21; - r30 = r10; - r31 = r13; - r32 = 0; - r33 = r3; - while (1) { - do { - if (HEAP8[r31] << 24 >> 24 == 1) { - r34 = r33; - if ((HEAP8[r34] & 1) << 24 >> 24 == 0) { - r35 = r33 + 4 | 0; - } else { - r35 = HEAP32[r33 + 8 >> 2]; - } - r36 = HEAP32[r35 + (r19 << 2) >> 2]; - if (r7) { - r37 = r36; - } else { - r37 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 28 >> 2]](r5, r36); - } - if ((r26 | 0) != (r37 | 0)) { - HEAP8[r31] = 0; - r38 = r32; - r39 = r30; - r40 = r20 - 1 | 0; - break; - } - r36 = HEAPU8[r34]; - if ((r36 & 1 | 0) == 0) { - r41 = r36 >>> 1; - } else { - r41 = HEAP32[r33 + 4 >> 2]; - } - if ((r41 | 0) != (r12 | 0)) { - r38 = 1; - r39 = r30; - r40 = r20; - break; - } - HEAP8[r31] = 2; - r38 = 1; - r39 = r30 + 1 | 0; - r40 = r20 - 1 | 0; - } else { - r38 = r32; - r39 = r30; - r40 = r20; - } - } while (0); - r36 = r33 + 12 | 0; - if ((r36 | 0) == (r4 | 0)) { - break; - } - r20 = r40; - r30 = r39; - r31 = r31 + 1 | 0; - r32 = r38; - r33 = r36; - } - if ((r38 & 1) << 24 >> 24 == 0) { - r27 = r39; - r28 = r40; - r29 = r12; - break; - } - r33 = HEAP32[r22]; - r32 = (r33 + 12 | 0) >> 2; - r31 = HEAP32[r32]; - r30 = r33 + 16 | 0; - if ((r31 | 0) == (HEAP32[r30 >> 2] | 0)) { - r42 = FUNCTION_TABLE[HEAP32[HEAP32[r33 >> 2] + 40 >> 2]](r33); - } else { - HEAP32[r32] = r31 + 4 | 0; - r42 = HEAP32[r31 >> 2]; - } - do { - if ((r42 | 0) == -1) { - r8 = 1591; - } else { - r31 = HEAP32[r32]; - if ((r31 | 0) == (HEAP32[r30 >> 2] | 0)) { - r43 = FUNCTION_TABLE[HEAP32[HEAP32[r33 >> 2] + 36 >> 2]](r33); - } else { - r43 = HEAP32[r31 >> 2]; - } - if ((r43 | 0) == -1) { - r8 = 1591; - break; - } else { - break; - } - } - } while (0); - if (r8 == 1591) { - r8 = 0; - HEAP32[r22] = 0; - } - if ((r39 + r40 | 0) >>> 0 < 2) { - r27 = r39; - r28 = r40; - r29 = r12; - break; - } else { - r44 = r39; - r45 = r13; - r46 = r3; - } - while (1) { - do { - if (HEAP8[r45] << 24 >> 24 == 2) { - r33 = HEAPU8[r46]; - if ((r33 & 1 | 0) == 0) { - r47 = r33 >>> 1; - } else { - r47 = HEAP32[r46 + 4 >> 2]; - } - if ((r47 | 0) == (r12 | 0)) { - r48 = r44; - break; - } - HEAP8[r45] = 0; - r48 = r44 - 1 | 0; - } else { - r48 = r44; - } - } while (0); - r33 = r46 + 12 | 0; - if ((r33 | 0) == (r4 | 0)) { - r27 = r48; - r28 = r40; - r29 = r12; - break L1760; - } else { - r44 = r48; - r45 = r45 + 1 | 0; - r46 = r33; - } - } - } - } while (0); - r12 = HEAP32[r22]; - if ((r12 | 0) == 0 ^ r23) { - r21 = r28; - r10 = r27; - r19 = r29; - r18 = r12, r17 = r18 >> 2; - } else { - r24 = r12; - break L1748; - } - } - } else { - r24 = r1; - } - } while (0); - if (!((r24 | 0) == 0 ^ r23)) { - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - } - L1812 : do { - if (r11) { - r8 = 1607; - } else { - r23 = r3; - r24 = r13; - while (1) { - if (HEAP8[r24] << 24 >> 24 == 2) { - r49 = r23; - break L1812; - } - r1 = r23 + 12 | 0; - if ((r1 | 0) == (r4 | 0)) { - r8 = 1607; - break L1812; - } - r23 = r1; - r24 = r24 + 1 | 0; - } - } - } while (0); - if (r8 == 1607) { - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 4; - r49 = r4; - } - if ((r14 | 0) == 0) { - STACKTOP = r9; - return r49; - } - _free(r14); - STACKTOP = r9; - return r49; -} -__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r2 = STACKTOP; - STACKTOP = STACKTOP + 332 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r2 + 108; - r10 = r2 + 160; - r11 = r2 + 164; - r12 = r2 + 324, r13 = r12 >> 2; - r14 = r2 + 328; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r9, r5, r16, r8); - r5 = r2 + 120 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1825 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP32[r8 >> 2]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAP32[r25 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r26, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1825; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20); - } else { - HEAP32[r21] = r25 + 4 | 0; - r28 = HEAP32[r25 >> 2]; - } - if ((r28 | 0) == -1) { - break; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r29 = HEAP32[r25 >> 2]; - } - if ((r29 | 0) == -1) { - break; - } - if (!r24) { - r27 = r20; - break L1825; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1825; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r30 = r3 >>> 1; - } else { - r30 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r30 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__125__num_get_signed_integralIlEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl["X"] = 1; -function __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - __ZNKSt3__18ios_base6getlocEv(r6, r2); - r2 = HEAP32[r6 >> 2]; - r6 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273660); - FUNCTION_TABLE[HEAP32[HEAP32[r6 >> 2] + 48 >> 2]](r6, 5274108, 5274134, r3); - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273292); - r6 = r3; - HEAP32[r4 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 16 >> 2]](r6); - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r1, r6); - __ZNSt3__16localeD1Ev(r2); - STACKTOP = r5; - return; -} -function __ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) { - var r11, r12, r13, r14, r15, r16, r17; - r11 = r5 >> 2; - r5 = r4 >> 2; - r4 = HEAP32[r5]; - r12 = (r4 | 0) == (r3 | 0); - do { - if (r12) { - r13 = (HEAP32[r10 + 96 >> 2] | 0) == (r1 | 0); - if (!r13) { - if ((HEAP32[r10 + 100 >> 2] | 0) != (r1 | 0)) { - break; - } - } - HEAP32[r5] = r3 + 1 | 0; - HEAP8[r3] = r13 ? 43 : 45; - HEAP32[r11] = 0; - r14 = 0; - return r14; - } - } while (0); - do { - if ((r1 | 0) == (r6 | 0)) { - r13 = HEAPU8[r7]; - if ((r13 & 1 | 0) == 0) { - r15 = r13 >>> 1; - } else { - r15 = HEAP32[r7 + 4 >> 2]; - } - if ((r15 | 0) == 0) { - break; - } - r13 = HEAP32[r9 >> 2]; - if ((r13 - r8 | 0) >= 160) { - r14 = 0; - return r14; - } - r16 = HEAP32[r11]; - HEAP32[r9 >> 2] = r13 + 4 | 0; - HEAP32[r13 >> 2] = r16; - HEAP32[r11] = 0; - r14 = 0; - return r14; - } - } while (0); - r9 = r10 + 104 | 0; - r8 = r10; - while (1) { - if ((r8 | 0) == (r9 | 0)) { - r17 = r9; - break; - } - if ((HEAP32[r8 >> 2] | 0) == (r1 | 0)) { - r17 = r8; - break; - } else { - r8 = r8 + 4 | 0; - } - } - r8 = r17 - r10 | 0; - r10 = r8 >> 2; - if ((r8 | 0) > 92) { - r14 = -1; - return r14; - } - do { - if ((r2 | 0) == 8 | (r2 | 0) == 10) { - if ((r10 | 0) < (r2 | 0)) { - break; - } else { - r14 = -1; - } - return r14; - } else if ((r2 | 0) == 16) { - if ((r8 | 0) < 88) { - break; - } - if (r12) { - r14 = -1; - return r14; - } - if ((r4 - r3 | 0) >= 3) { - r14 = -1; - return r14; - } - if (HEAP8[r4 - 1 | 0] << 24 >> 24 != 48) { - r14 = -1; - return r14; - } - HEAP32[r11] = 0; - r17 = HEAP8[r10 + 5274108 | 0]; - r1 = HEAP32[r5]; - HEAP32[r5] = r1 + 1 | 0; - HEAP8[r1] = r17; - r14 = 0; - return r14; - } - } while (0); - if ((r4 - r3 | 0) < 39) { - r3 = HEAP8[r10 + 5274108 | 0]; - HEAP32[r5] = r4 + 1 | 0; - HEAP8[r4] = r3; - } - HEAP32[r11] = HEAP32[r11] + 1 | 0; - r14 = 0; - return r14; -} -__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r2 = STACKTOP; - STACKTOP = STACKTOP + 332 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r2 + 108; - r10 = r2 + 160; - r11 = r2 + 164; - r12 = r2 + 324, r13 = r12 >> 2; - r14 = r2 + 328; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r9, r5, r16, r8); - r5 = r2 + 120 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1915 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP32[r8 >> 2]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAP32[r25 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r26, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1915; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20); - } else { - HEAP32[r21] = r25 + 4 | 0; - r28 = HEAP32[r25 >> 2]; - } - if ((r28 | 0) == -1) { - break; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r29 = HEAP32[r25 >> 2]; - } - if ((r29 | 0) == -1) { - break; - } - if (!r24) { - r27 = r20; - break L1915; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1915; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r30 = r3 >>> 1; - } else { - r30 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r30 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__125__num_get_signed_integralIxEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - HEAP32[r7 + 4 >> 2] = tempRet0; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r2 = STACKTOP; - STACKTOP = STACKTOP + 332 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r2 + 108; - r10 = r2 + 160; - r11 = r2 + 164; - r12 = r2 + 324, r13 = r12 >> 2; - r14 = r2 + 328; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r9, r5, r16, r8); - r5 = r2 + 120 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1952 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP32[r8 >> 2]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAP32[r25 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r26, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1952; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20); - } else { - HEAP32[r21] = r25 + 4 | 0; - r28 = HEAP32[r25 >> 2]; - } - if ((r28 | 0) == -1) { - break; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r29 = HEAP32[r25 >> 2]; - } - if ((r29 | 0) == -1) { - break; - } - if (!r24) { - r27 = r20; - break L1952; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1952; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r30 = r3 >>> 1; - } else { - r30 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r30 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP16[r7 >> 1] = __ZNSt3__127__num_get_unsigned_integralItEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r2 = STACKTOP; - STACKTOP = STACKTOP + 332 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r2 + 108; - r10 = r2 + 160; - r11 = r2 + 164; - r12 = r2 + 324, r13 = r12 >> 2; - r14 = r2 + 328; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r9, r5, r16, r8); - r5 = r2 + 120 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L1989 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP32[r8 >> 2]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAP32[r25 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r26, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L1989; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20); - } else { - HEAP32[r21] = r25 + 4 | 0; - r28 = HEAP32[r25 >> 2]; - } - if ((r28 | 0) == -1) { - break; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r29 = HEAP32[r25 >> 2]; - } - if ((r29 | 0) == -1) { - break; - } - if (!r24) { - r27 = r20; - break L1989; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L1989; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r30 = r3 >>> 1; - } else { - r30 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r30 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__127__num_get_unsigned_integralIjEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r2 = STACKTOP; - STACKTOP = STACKTOP + 332 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r2 + 108; - r10 = r2 + 160; - r11 = r2 + 164; - r12 = r2 + 324, r13 = r12 >> 2; - r14 = r2 + 328; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r9, r5, r16, r8); - r5 = r2 + 120 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L2026 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP32[r8 >> 2]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAP32[r25 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r26, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L2026; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20); - } else { - HEAP32[r21] = r25 + 4 | 0; - r28 = HEAP32[r25 >> 2]; - } - if ((r28 | 0) == -1) { - break; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r29 = HEAP32[r25 >> 2]; - } - if ((r29 | 0) == -1) { - break; - } - if (!r24) { - r27 = r20; - break L2026; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L2026; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r30 = r3 >>> 1; - } else { - r30 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r30 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__127__num_get_unsigned_integralImEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm["X"] = 1; -function __ZNSt3__19__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12) { - var r13, r14, r15, r16, r17, r18; - r13 = r11 >> 2; - r11 = r10 >> 2; - if ((r1 | 0) == (r6 | 0)) { - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r14 = -1; - return r14; - } - HEAP8[r2] = 0; - r6 = HEAP32[r5 >> 2]; - HEAP32[r5 >> 2] = r6 + 1 | 0; - HEAP8[r6] = 46; - r6 = HEAPU8[r8]; - if ((r6 & 1 | 0) == 0) { - r15 = r6 >>> 1; - } else { - r15 = HEAP32[r8 + 4 >> 2]; - } - if ((r15 | 0) == 0) { - r14 = 0; - return r14; - } - r15 = HEAP32[r11]; - if ((r15 - r9 | 0) >= 160) { - r14 = 0; - return r14; - } - r6 = HEAP32[r13]; - HEAP32[r11] = r15 + 4 | 0; - HEAP32[r15 >> 2] = r6; - r14 = 0; - return r14; - } - do { - if ((r1 | 0) == (r7 | 0)) { - r6 = HEAPU8[r8]; - if ((r6 & 1 | 0) == 0) { - r16 = r6 >>> 1; - } else { - r16 = HEAP32[r8 + 4 >> 2]; - } - if ((r16 | 0) == 0) { - break; - } - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r14 = -1; - return r14; - } - r6 = HEAP32[r11]; - if ((r6 - r9 | 0) >= 160) { - r14 = 0; - return r14; - } - r15 = HEAP32[r13]; - HEAP32[r11] = r6 + 4 | 0; - HEAP32[r6 >> 2] = r15; - HEAP32[r13] = 0; - r14 = 0; - return r14; - } - } while (0); - r16 = r12 + 128 | 0; - r7 = r12; - while (1) { - if ((r7 | 0) == (r16 | 0)) { - r17 = r16; - break; - } - if ((HEAP32[r7 >> 2] | 0) == (r1 | 0)) { - r17 = r7; - break; - } else { - r7 = r7 + 4 | 0; - } - } - r7 = r17 - r12 | 0; - r12 = r7 >> 2; - if ((r7 | 0) > 124) { - r14 = -1; - return r14; - } - r17 = HEAP8[r12 + 5274108 | 0]; - r1 = HEAP32[r5 >> 2]; - if ((r1 - r4 | 0) < 39) { - HEAP32[r5 >> 2] = r1 + 1 | 0; - HEAP8[r1] = r17; - } - do { - if ((r12 - 22 | 0) >>> 0 < 2) { - HEAP8[r3] = 80; - } else { - if ((r17 & 223 | 0) != (HEAP8[r3] << 24 >> 24 | 0)) { - break; - } - HEAP8[r2] = 0; - r1 = HEAPU8[r8]; - if ((r1 & 1 | 0) == 0) { - r18 = r1 >>> 1; - } else { - r18 = HEAP32[r8 + 4 >> 2]; - } - if ((r18 | 0) == 0) { - break; - } - r1 = HEAP32[r11]; - if ((r1 - r9 | 0) >= 160) { - break; - } - r5 = HEAP32[r13]; - HEAP32[r11] = r1 + 4 | 0; - HEAP32[r1 >> 2] = r5; - } - } while (0); - if ((r7 | 0) > 84) { - r14 = 0; - return r14; - } - HEAP32[r13] = HEAP32[r13] + 1 | 0; - r14 = 0; - return r14; -} -__ZNSt3__19__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r2 = STACKTOP; - STACKTOP = STACKTOP + 332 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r2 + 108; - r10 = r2 + 160; - r11 = r2 + 164; - r12 = r2 + 324, r13 = r12 >> 2; - r14 = r2 + 328; - r15 = __ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE(HEAP32[r5 + 4 >> 2]); - r16 = r2 | 0; - __ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw(r9, r5, r16, r8); - r5 = r2 + 120 | 0; - _memset(r5, 0, 40); - HEAP32[r10 >> 2] = r5; - r17 = r11 | 0; - HEAP32[r13] = r17; - HEAP32[r14 >> 2] = 0; - r18 = r3 | 0; - r3 = HEAP32[r18 >> 2]; - r19 = (HEAP32[r4 >> 2] | 0) == 0; - L2121 : do { - if ((r3 | 0) == 0 ^ r19) { - r4 = HEAP32[r8 >> 2]; - r20 = r3; - while (1) { - r21 = (r20 + 12 | 0) >> 2; - r22 = (r20 + 16 | 0) >> 2; - r23 = r20 >> 2; - r24 = (r20 | 0) == 0 ^ r19; - while (1) { - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r26 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r26 = HEAP32[r25 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r26, r15, r5, r10, r14, r4, r9, r17, r12, r16) | 0) != 0) { - r27 = r20; - break L2121; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 40 >> 2]](r20); - } else { - HEAP32[r21] = r25 + 4 | 0; - r28 = HEAP32[r25 >> 2]; - } - if ((r28 | 0) == -1) { - break; - } - r25 = HEAP32[r21]; - if ((r25 | 0) == (HEAP32[r22] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r23] + 36 >> 2]](r20); - } else { - r29 = HEAP32[r25 >> 2]; - } - if ((r29 | 0) == -1) { - break; - } - if (!r24) { - r27 = r20; - break L2121; - } - } - HEAP32[r18 >> 2] = 0; - if (r19) { - r27 = 0; - break L2121; - } else { - r20 = 0; - } - } - } else { - r27 = r3; - } - } while (0); - r3 = HEAPU8[r9]; - if ((r3 & 1 | 0) == 0) { - r30 = r3 >>> 1; - } else { - r30 = HEAP32[r9 + 4 >> 2]; - } - do { - if ((r30 | 0) != 0) { - r3 = HEAP32[r13]; - if ((r3 - r11 | 0) >= 160) { - break; - } - r18 = HEAP32[r14 >> 2]; - HEAP32[r13] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r18; - } - } while (0); - HEAP32[r7 >> 2] = __ZNSt3__127__num_get_unsigned_integralIyEET_PKcS3_Rji(r5, HEAP32[r10 >> 2], r6, r15); - HEAP32[r7 + 4 >> 2] = tempRet0; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r9, r17, HEAP32[r13], r6); - if ((r27 | 0) == 0 ^ r19) { - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r31 = r1 | 0; - HEAP32[r31 >> 2] = r27; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r2 = STACKTOP; - STACKTOP = STACKTOP + 368 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 128; - r9 = r2 + 132; - r10 = r2 + 136; - r11 = r2 + 188; - r12 = r2 + 192; - r13 = r2 + 352, r14 = r13 >> 2; - r15 = r2 + 356; - r16 = r2 + 360; - r17 = r2 + 364; - r18 = r2 | 0; - __ZNSt3__19__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(r10, r5, r18, r8, r9); - r5 = r2 + 148 | 0; - _memset(r5, 0, 40); - HEAP32[r11 >> 2] = r5; - r19 = r12 | 0; - HEAP32[r14] = r19; - HEAP32[r15 >> 2] = 0; - HEAP8[r16] = 1; - HEAP8[r17] = 69; - r20 = r3 | 0; - r3 = HEAP32[r20 >> 2]; - r21 = (HEAP32[r4 >> 2] | 0) == 0; - L2158 : do { - if ((r3 | 0) == 0 ^ r21) { - r4 = HEAP32[r8 >> 2]; - r22 = HEAP32[r9 >> 2]; - r23 = r3; - while (1) { - r24 = (r23 + 12 | 0) >> 2; - r25 = (r23 + 16 | 0) >> 2; - r26 = r23 >> 2; - r27 = (r23 | 0) == 0 ^ r21; - while (1) { - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r29 = HEAP32[r28 >> 2]; - } - if ((__ZNSt3__19__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(r29, r16, r17, r5, r11, r4, r22, r10, r19, r13, r15, r18) | 0) != 0) { - r30 = r23; - break L2158; - } - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 40 >> 2]](r23); - } else { - HEAP32[r24] = r28 + 4 | 0; - r31 = HEAP32[r28 >> 2]; - } - if ((r31 | 0) == -1) { - break; - } - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r32 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r32 = HEAP32[r28 >> 2]; - } - if ((r32 | 0) == -1) { - break; - } - if (!r27) { - r30 = r23; - break L2158; - } - } - HEAP32[r20 >> 2] = 0; - if (r21) { - r30 = 0; - break L2158; - } else { - r23 = 0; - } - } - } else { - r30 = r3; - } - } while (0); - r3 = HEAPU8[r10]; - if ((r3 & 1 | 0) == 0) { - r33 = r3 >>> 1; - } else { - r33 = HEAP32[r10 + 4 >> 2]; - } - do { - if ((r33 | 0) != 0) { - if ((HEAP8[r16] & 1) << 24 >> 24 == 0) { - break; - } - r3 = HEAP32[r14]; - if ((r3 - r12 | 0) >= 160) { - break; - } - r20 = HEAP32[r15 >> 2]; - HEAP32[r14] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r20; - } - } while (0); - HEAPF32[r7 >> 2] = __ZNSt3__115__num_get_floatIfEET_PKcS3_Rj(r5, HEAP32[r11 >> 2], r6); - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r10, r19, HEAP32[r14], r6); - if ((r30 | 0) == 0 ^ r21) { - r34 = r1 | 0; - HEAP32[r34 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r34 = r1 | 0; - HEAP32[r34 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf["X"] = 1; -function __ZNSt3__19__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(r1, r2, r3, r4, r5) { - var r6, r7, r8; - r6 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r7 = r6; - __ZNKSt3__18ios_base6getlocEv(r7, r2); - r2 = HEAP32[r7 >> 2]; - r7 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273660); - FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 48 >> 2]](r7, 5274108, 5274140, r3); - r3 = __ZNKSt3__16locale9use_facetERNS0_2idE(r2, 5273292); - r7 = r3; - r8 = r3; - HEAP32[r4 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 12 >> 2]](r7); - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 16 >> 2]](r7); - FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 20 >> 2]](r1, r7); - __ZNSt3__16localeD1Ev(r2); - STACKTOP = r6; - return; -} -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r2 = STACKTOP; - STACKTOP = STACKTOP + 368 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 128; - r9 = r2 + 132; - r10 = r2 + 136; - r11 = r2 + 188; - r12 = r2 + 192; - r13 = r2 + 352, r14 = r13 >> 2; - r15 = r2 + 356; - r16 = r2 + 360; - r17 = r2 + 364; - r18 = r2 | 0; - __ZNSt3__19__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(r10, r5, r18, r8, r9); - r5 = r2 + 148 | 0; - _memset(r5, 0, 40); - HEAP32[r11 >> 2] = r5; - r19 = r12 | 0; - HEAP32[r14] = r19; - HEAP32[r15 >> 2] = 0; - HEAP8[r16] = 1; - HEAP8[r17] = 69; - r20 = r3 | 0; - r3 = HEAP32[r20 >> 2]; - r21 = (HEAP32[r4 >> 2] | 0) == 0; - L2203 : do { - if ((r3 | 0) == 0 ^ r21) { - r4 = HEAP32[r8 >> 2]; - r22 = HEAP32[r9 >> 2]; - r23 = r3; - while (1) { - r24 = (r23 + 12 | 0) >> 2; - r25 = (r23 + 16 | 0) >> 2; - r26 = r23 >> 2; - r27 = (r23 | 0) == 0 ^ r21; - while (1) { - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r29 = HEAP32[r28 >> 2]; - } - if ((__ZNSt3__19__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(r29, r16, r17, r5, r11, r4, r22, r10, r19, r13, r15, r18) | 0) != 0) { - r30 = r23; - break L2203; - } - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 40 >> 2]](r23); - } else { - HEAP32[r24] = r28 + 4 | 0; - r31 = HEAP32[r28 >> 2]; - } - if ((r31 | 0) == -1) { - break; - } - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r32 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r32 = HEAP32[r28 >> 2]; - } - if ((r32 | 0) == -1) { - break; - } - if (!r27) { - r30 = r23; - break L2203; - } - } - HEAP32[r20 >> 2] = 0; - if (r21) { - r30 = 0; - break L2203; - } else { - r23 = 0; - } - } - } else { - r30 = r3; - } - } while (0); - r3 = HEAPU8[r10]; - if ((r3 & 1 | 0) == 0) { - r33 = r3 >>> 1; - } else { - r33 = HEAP32[r10 + 4 >> 2]; - } - do { - if ((r33 | 0) != 0) { - if ((HEAP8[r16] & 1) << 24 >> 24 == 0) { - break; - } - r3 = HEAP32[r14]; - if ((r3 - r12 | 0) >= 160) { - break; - } - r20 = HEAP32[r15 >> 2]; - HEAP32[r14] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r20; - } - } while (0); - r15 = __ZNSt3__115__num_get_floatIdEET_PKcS3_Rj(r5, HEAP32[r11 >> 2], r6); - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r10, r19, HEAP32[r14], r6); - if ((r30 | 0) == 0 ^ r21) { - r34 = r1 | 0; - HEAP32[r34 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r34 = r1 | 0; - HEAP32[r34 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd["X"] = 1; -function __ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init4276() { - if (HEAP8[5274504] << 24 >> 24 != 0) { - return; - } - HEAP32[1318626] = 1; - HEAP32[1318627] = 0; - return; -} - - - -function __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - if ((r4 & 2048 | 0) == 0) { - r5 = r1; - } else { - HEAP8[r1] = 43; - r5 = r1 + 1 | 0; - } - if ((r4 & 512 | 0) == 0) { - r6 = r5; - } else { - HEAP8[r5] = 35; - r6 = r5 + 1 | 0; - } - r5 = HEAP8[r2]; - L2253 : do { - if (r5 << 24 >> 24 == 0) { - r7 = r6; - } else { - r1 = r2; - r8 = r6; - r9 = r5; - while (1) { - r10 = r1 + 1 | 0; - r11 = r8 + 1 | 0; - HEAP8[r8] = r9; - r12 = HEAP8[r10]; - if (r12 << 24 >> 24 == 0) { - r7 = r11; - break L2253; - } else { - r1 = r10; - r8 = r11; - r9 = r12; - } - } - } - } while (0); - r5 = r4 & 74; - if ((r5 | 0) == 64) { - HEAP8[r7] = 111; - return; - } else if ((r5 | 0) == 8) { - if ((r4 & 16384 | 0) == 0) { - HEAP8[r7] = 120; - return; - } else { - HEAP8[r7] = 88; - return; - } - } else { - if (r3) { - HEAP8[r7] = 100; - return; - } else { - HEAP8[r7] = 117; - return; - } - } -} -function __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r1, r2, r3) { - var r4, r5, r6; - r4 = 0; - r5 = r3 & 176; - do { - if ((r5 | 0) == 32) { - r6 = r2; - } else if ((r5 | 0) == 16) { - r3 = HEAP8[r1]; - if (r3 << 24 >> 24 == 45 | r3 << 24 >> 24 == 43) { - r6 = r1 + 1 | 0; - break; - } - if (!((r2 - r1 | 0) > 1 & r3 << 24 >> 24 == 48)) { - r4 = 1999; - break; - } - r3 = HEAP8[r1 + 1 | 0]; - if (!(r3 << 24 >> 24 == 120 | r3 << 24 >> 24 == 88)) { - r4 = 1999; - break; - } - r6 = r1 + 2 | 0; - break; - } else { - r4 = 1999; - } - } while (0); - if (r4 == 1999) { - r6 = r1; - } - return r6; -} -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r2 = STACKTOP; - STACKTOP = STACKTOP + 368 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 128; - r9 = r2 + 132; - r10 = r2 + 136; - r11 = r2 + 188; - r12 = r2 + 192; - r13 = r2 + 352, r14 = r13 >> 2; - r15 = r2 + 356; - r16 = r2 + 360; - r17 = r2 + 364; - r18 = r2 | 0; - __ZNSt3__19__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_(r10, r5, r18, r8, r9); - r5 = r2 + 148 | 0; - _memset(r5, 0, 40); - HEAP32[r11 >> 2] = r5; - r19 = r12 | 0; - HEAP32[r14] = r19; - HEAP32[r15 >> 2] = 0; - HEAP8[r16] = 1; - HEAP8[r17] = 69; - r20 = r3 | 0; - r3 = HEAP32[r20 >> 2]; - r21 = (HEAP32[r4 >> 2] | 0) == 0; - L2284 : do { - if ((r3 | 0) == 0 ^ r21) { - r4 = HEAP32[r8 >> 2]; - r22 = HEAP32[r9 >> 2]; - r23 = r3; - while (1) { - r24 = (r23 + 12 | 0) >> 2; - r25 = (r23 + 16 | 0) >> 2; - r26 = r23 >> 2; - r27 = (r23 | 0) == 0 ^ r21; - while (1) { - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r29 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r29 = HEAP32[r28 >> 2]; - } - if ((__ZNSt3__19__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw(r29, r16, r17, r5, r11, r4, r22, r10, r19, r13, r15, r18) | 0) != 0) { - r30 = r23; - break L2284; - } - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 40 >> 2]](r23); - } else { - HEAP32[r24] = r28 + 4 | 0; - r31 = HEAP32[r28 >> 2]; - } - if ((r31 | 0) == -1) { - break; - } - r28 = HEAP32[r24]; - if ((r28 | 0) == (HEAP32[r25] | 0)) { - r32 = FUNCTION_TABLE[HEAP32[HEAP32[r26] + 36 >> 2]](r23); - } else { - r32 = HEAP32[r28 >> 2]; - } - if ((r32 | 0) == -1) { - break; - } - if (!r27) { - r30 = r23; - break L2284; - } - } - HEAP32[r20 >> 2] = 0; - if (r21) { - r30 = 0; - break L2284; - } else { - r23 = 0; - } - } - } else { - r30 = r3; - } - } while (0); - r3 = HEAPU8[r10]; - if ((r3 & 1 | 0) == 0) { - r33 = r3 >>> 1; - } else { - r33 = HEAP32[r10 + 4 >> 2]; - } - do { - if ((r33 | 0) != 0) { - if ((HEAP8[r16] & 1) << 24 >> 24 == 0) { - break; - } - r3 = HEAP32[r14]; - if ((r3 - r12 | 0) >= 160) { - break; - } - r20 = HEAP32[r15 >> 2]; - HEAP32[r14] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r20; - } - } while (0); - r15 = __ZNSt3__115__num_get_floatIeEET_PKcS3_Rj(r5, HEAP32[r11 >> 2], r6); - HEAPF64[tempDoublePtr >> 3] = r15, HEAP32[r7 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[r7 + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2]; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r10, r19, HEAP32[r14], r6); - if ((r30 | 0) == 0 ^ r21) { - r34 = r1 | 0; - HEAP32[r34 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r34 = r1 | 0; - HEAP32[r34 >> 2] = r30; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe["X"] = 1; -function __ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r2 = STACKTOP; - STACKTOP = STACKTOP + 116 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 104; - r9 = r8 >> 2; - r10 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r11 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r12 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r13 = STACKTOP; - STACKTOP = STACKTOP + 160 | 0; - r14 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r15 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r9] = 0; - HEAP32[r9 + 1] = 0; - HEAP32[r9 + 2] = 0; - __ZNKSt3__18ios_base6getlocEv(r10, r5); - r5 = HEAP32[r10 >> 2]; - r10 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273660); - r9 = r2 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 48 >> 2]](r10, 5274108, 5274134, r9); - __ZNSt3__16localeD1Ev(r5); - r5 = r11 | 0; - _memset(r5, 0, 40); - HEAP32[r12 >> 2] = r5; - r10 = r13 | 0; - HEAP32[r14 >> 2] = r10; - HEAP32[r15 >> 2] = 0; - r13 = r3 | 0; - r3 = HEAP32[r13 >> 2]; - r16 = (HEAP32[r4 >> 2] | 0) == 0; - L2324 : do { - if ((r3 | 0) == 0 ^ r16) { - r4 = r3; - while (1) { - r17 = (r4 + 12 | 0) >> 2; - r18 = (r4 + 16 | 0) >> 2; - r19 = r4 >> 2; - r20 = (r4 | 0) == 0 ^ r16; - while (1) { - r21 = HEAP32[r17]; - if ((r21 | 0) == (HEAP32[r18] | 0)) { - r22 = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 36 >> 2]](r4); - } else { - r22 = HEAP32[r21 >> 2]; - } - if ((__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw(r22, 16, r5, r12, r15, undef, r8, r10, r14, r9) | 0) != 0) { - r23 = r4; - break L2324; - } - r21 = HEAP32[r17]; - if ((r21 | 0) == (HEAP32[r18] | 0)) { - r24 = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 40 >> 2]](r4); - } else { - HEAP32[r17] = r21 + 4 | 0; - r24 = HEAP32[r21 >> 2]; - } - if ((r24 | 0) == -1) { - break; - } - r21 = HEAP32[r17]; - if ((r21 | 0) == (HEAP32[r18] | 0)) { - r25 = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 36 >> 2]](r4); - } else { - r25 = HEAP32[r21 >> 2]; - } - if ((r25 | 0) == -1) { - break; - } - if (!r20) { - r23 = r4; - break L2324; - } - } - HEAP32[r13 >> 2] = 0; - if (r16) { - r23 = 0; - break L2324; - } else { - r4 = 0; - } - } - } else { - r23 = r3; - } - } while (0); - HEAP8[r11 + 39 | 0] = 0; - if ((__ZNSt3__110__sscanf_lEPKcPvS1_z(r5, __ZNSt3__16__clocEv(), (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r7, tempInt)) | 0) != 1) { - HEAP32[r6 >> 2] = 4; - } - if ((r23 | 0) == 0 ^ r16) { - r26 = r1 | 0; - HEAP32[r26 >> 2] = r23; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r8); - STACKTOP = r2; - return; - } - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 2; - r26 = r1 | 0; - HEAP32[r26 >> 2] = r23; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r8); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv["X"] = 1; -function __ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15; - r7 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r7; - r9 = r7 + 4; - r10 = r7 + 8; - if ((HEAP32[r4 + 4 >> 2] & 1 | 0) == 0) { - r11 = HEAP32[HEAP32[r2 >> 2] + 24 >> 2]; - HEAP32[r8 >> 2] = HEAP32[r3 >> 2]; - FUNCTION_TABLE[r11](r1, r2, r8, r4, r5, r6 & 1); - STACKTOP = r7; - return; - } - __ZNKSt3__18ios_base6getlocEv(r9, r4); - r4 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r4, 5273300); - r5 = r9; - __ZNSt3__16localeD1Ev(r4); - r4 = HEAP32[r9 >> 2]; - if (r6) { - FUNCTION_TABLE[HEAP32[r4 + 24 >> 2]](r10, r5); - } else { - FUNCTION_TABLE[HEAP32[r4 + 28 >> 2]](r10, r5); - } - r5 = r10; - r4 = r10; - r6 = HEAP8[r4]; - if ((r6 & 1) << 24 >> 24 == 0) { - r9 = r5 + 1 | 0; - r12 = r9; - r13 = r9; - r14 = r10 + 8 | 0; - } else { - r9 = r10 + 8 | 0; - r12 = HEAP32[r9 >> 2]; - r13 = r5 + 1 | 0; - r14 = r9; - } - r9 = (r3 | 0) >> 2; - r3 = r10 + 4 | 0; - r5 = r12; - r12 = r6; - while (1) { - if ((r12 & 1) << 24 >> 24 == 0) { - r15 = r13; - } else { - r15 = HEAP32[r14 >> 2]; - } - r6 = r12 & 255; - if ((r5 | 0) == (r15 + ((r6 & 1 | 0) == 0 ? r6 >>> 1 : HEAP32[r3 >> 2]) | 0)) { - break; - } - r6 = HEAP8[r5]; - r8 = HEAP32[r9]; - do { - if ((r8 | 0) != 0) { - r2 = r8 + 24 | 0; - r11 = HEAP32[r2 >> 2]; - if ((r11 | 0) != (HEAP32[r8 + 28 >> 2] | 0)) { - HEAP32[r2 >> 2] = r11 + 1 | 0; - HEAP8[r11] = r6; - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 52 >> 2]](r8, r6 & 255) | 0) != -1) { - break; - } - HEAP32[r9] = 0; - } - } while (0); - r5 = r5 + 1 | 0; - r12 = HEAP8[r4]; - } - HEAP32[r1 >> 2] = HEAP32[r9]; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r7; - return; -} -__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb["X"] = 1; -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14; - r2 = STACKTOP; - STACKTOP = STACKTOP + 56 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 8; - r9 = r2 + 44; - r10 = r2 + 48; - r11 = r2 + 52; - r12 = r7 | 0; - HEAP8[r12] = HEAP8[5264464]; - HEAP8[r12 + 1 | 0] = HEAP8[5264465 | 0]; - HEAP8[r12 + 2 | 0] = HEAP8[5264466 | 0]; - HEAP8[r12 + 3 | 0] = HEAP8[5264467 | 0]; - HEAP8[r12 + 4 | 0] = HEAP8[5264468 | 0]; - HEAP8[r12 + 5 | 0] = HEAP8[5264469 | 0]; - r13 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r7 + 1 | 0, 5267748, 1, HEAP32[r13 >> 2]); - r7 = r8 | 0; - r14 = r8 + __ZNSt3__111__sprintf_lEPcPvPKcz(r7, __ZNSt3__16__clocEv(), r12, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)) | 0; - r6 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r7, r14, HEAP32[r13 >> 2]); - r13 = r2 + 20 | 0; - __ZNKSt3__18ios_base6getlocEv(r11, r4); - __ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r7, r6, r14, r13, r9, r10, r11); - __ZNSt3__16localeD1Ev(HEAP32[r11 >> 2]); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r13, HEAP32[r9 >> 2], HEAP32[r10 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNSt3__111__sprintf_lEPcPvPKcz(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - HEAP32[r6 >> 2] = r4; - r4 = _uselocale(r2); - r2 = _sprintf(r1, r3, HEAP32[r6 >> 2]); - if ((r4 | 0) == 0) { - STACKTOP = r5; - return r2; - } - _uselocale(r4); - STACKTOP = r5; - return r2; -} -function __ZNSt3__114__num_put_base14__format_floatEPcPKcj(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14; - if ((r3 & 2048 | 0) == 0) { - r4 = r1; - } else { - HEAP8[r1] = 43; - r4 = r1 + 1 | 0; - } - if ((r3 & 1024 | 0) == 0) { - r5 = r4; - } else { - HEAP8[r4] = 35; - r5 = r4 + 1 | 0; - } - r4 = r3 & 260; - r1 = r3 >>> 14; - r3 = (r4 | 0) == 260; - if (r3) { - r6 = r5; - r7 = 0; - } else { - HEAP8[r5] = 46; - HEAP8[r5 + 1 | 0] = 42; - r6 = r5 + 2 | 0; - r7 = 1; - } - r5 = HEAP8[r2]; - L2403 : do { - if (r5 << 24 >> 24 == 0) { - r8 = r6; - } else { - r9 = r2; - r10 = r6; - r11 = r5; - while (1) { - r12 = r9 + 1 | 0; - r13 = r10 + 1 | 0; - HEAP8[r10] = r11; - r14 = HEAP8[r12]; - if (r14 << 24 >> 24 == 0) { - r8 = r13; - break L2403; - } else { - r9 = r12; - r10 = r13; - r11 = r14; - } - } - } - } while (0); - do { - if ((r4 | 0) == 4) { - if ((r1 & 1 | 0) == 0) { - HEAP8[r8] = 102; - break; - } else { - HEAP8[r8] = 70; - break; - } - } else if ((r4 | 0) == 256) { - if ((r1 & 1 | 0) == 0) { - HEAP8[r8] = 101; - break; - } else { - HEAP8[r8] = 69; - break; - } - } else { - r5 = (r1 & 1 | 0) != 0; - if (r3) { - if (r5) { - HEAP8[r8] = 65; - break; - } else { - HEAP8[r8] = 97; - break; - } - } else { - if (r5) { - HEAP8[r8] = 71; - break; - } else { - HEAP8[r8] = 103; - break; - } - } - } - } while (0); - return r7 << 24 >> 24 != 0; -} -__ZNSt3__114__num_put_base14__format_floatEPcPKcj["X"] = 1; -function __ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r8 = r6 >> 2; - r6 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r9 = r6; - r10 = r7 | 0; - r7 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r10 >> 2], 5273668); - r11 = r7; - r12 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r10 >> 2], 5273300); - r10 = r12; - FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 20 >> 2]](r9, r10); - r13 = r9; - r14 = r9; - r15 = HEAPU8[r14]; - if ((r15 & 1 | 0) == 0) { - r16 = r15 >>> 1; - } else { - r16 = HEAP32[r9 + 4 >> 2]; - } - L2432 : do { - if ((r16 | 0) == 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 32 >> 2]](r11, r1, r3, r4); - HEAP32[r8] = r4 + (r3 - r1) | 0; - } else { - HEAP32[r8] = r4; - r15 = HEAP8[r1]; - if (r15 << 24 >> 24 == 45 | r15 << 24 >> 24 == 43) { - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 28 >> 2]](r11, r15); - r15 = HEAP32[r8]; - HEAP32[r8] = r15 + 1 | 0; - HEAP8[r15] = r17; - r18 = r1 + 1 | 0; - } else { - r18 = r1; - } - do { - if ((r3 - r18 | 0) > 1) { - if (HEAP8[r18] << 24 >> 24 != 48) { - r19 = r18; - break; - } - r17 = r18 + 1 | 0; - r15 = HEAP8[r17]; - if (!(r15 << 24 >> 24 == 120 | r15 << 24 >> 24 == 88)) { - r19 = r18; - break; - } - r15 = r7; - r20 = FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 28 >> 2]](r11, 48); - r21 = HEAP32[r8]; - HEAP32[r8] = r21 + 1 | 0; - HEAP8[r21] = r20; - r20 = FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 28 >> 2]](r11, HEAP8[r17]); - r17 = HEAP32[r8]; - HEAP32[r8] = r17 + 1 | 0; - HEAP8[r17] = r20; - r19 = r18 + 2 | 0; - } else { - r19 = r18; - } - } while (0); - L2447 : do { - if ((r19 | 0) != (r3 | 0)) { - r20 = r3 - 1 | 0; - if (r19 >>> 0 < r20 >>> 0) { - r22 = r19; - r23 = r20; - } else { - break; - } - while (1) { - r20 = HEAP8[r22]; - HEAP8[r22] = HEAP8[r23]; - HEAP8[r23] = r20; - r20 = r22 + 1 | 0; - r17 = r23 - 1 | 0; - if (r20 >>> 0 < r17 >>> 0) { - r22 = r20; - r23 = r17; - } else { - break L2447; - } - } - } - } while (0); - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 16 >> 2]](r10); - L2453 : do { - if (r19 >>> 0 < r3 >>> 0) { - r20 = r13 + 1 | 0; - r15 = r7; - r21 = r9 + 4 | 0; - r24 = r9 + 8 | 0; - r25 = 0; - r26 = 0; - r27 = r19; - while (1) { - r28 = HEAP8[((HEAP8[r14] & 1) << 24 >> 24 == 0 ? r20 : HEAP32[r24 >> 2]) + r26 | 0]; - if (r28 << 24 >> 24 != 0 & (r25 | 0) == (r28 << 24 >> 24 | 0)) { - r28 = HEAP32[r8]; - HEAP32[r8] = r28 + 1 | 0; - HEAP8[r28] = r17; - r28 = HEAPU8[r14]; - r29 = (r26 >>> 0 < (((r28 & 1 | 0) == 0 ? r28 >>> 1 : HEAP32[r21 >> 2]) - 1 | 0) >>> 0 & 1) + r26 | 0; - r30 = 0; - } else { - r29 = r26; - r30 = r25; - } - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 28 >> 2]](r11, HEAP8[r27]); - r31 = HEAP32[r8]; - HEAP32[r8] = r31 + 1 | 0; - HEAP8[r31] = r28; - r28 = r27 + 1 | 0; - if (r28 >>> 0 < r3 >>> 0) { - r25 = r30 + 1 | 0; - r26 = r29; - r27 = r28; - } else { - break L2453; - } - } - } - } while (0); - r17 = r4 + (r19 - r1) | 0; - r27 = HEAP32[r8]; - if ((r17 | 0) == (r27 | 0)) { - break; - } - r26 = r27 - 1 | 0; - if (r17 >>> 0 < r26 >>> 0) { - r32 = r17; - r33 = r26; - } else { - break; - } - while (1) { - r26 = HEAP8[r32]; - HEAP8[r32] = HEAP8[r33]; - HEAP8[r33] = r26; - r26 = r32 + 1 | 0; - r17 = r33 - 1 | 0; - if (r26 >>> 0 < r17 >>> 0) { - r32 = r26; - r33 = r17; - } else { - break L2432; - } - } - } - } while (0); - if ((r2 | 0) == (r3 | 0)) { - r3 = HEAP32[r8]; - HEAP32[r5 >> 2] = r3; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r6; - return; - } else { - r3 = r4 + (r2 - r1) | 0; - HEAP32[r5 >> 2] = r3; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r6; - return; - } -} -__ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE["X"] = 1; -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15; - r2 = STACKTOP; - STACKTOP = STACKTOP + 88 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r2; - r9 = r2 + 8; - r10 = r2 + 76; - r11 = r2 + 80; - r12 = r2 + 84; - HEAP32[r8 >> 2] = 37; - HEAP32[r8 + 4 >> 2] = 0; - r13 = r8; - r8 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r13 + 1 | 0, 5245116, 1, HEAP32[r8 >> 2]); - r14 = r9 | 0; - r15 = r9 + __ZNSt3__111__sprintf_lEPcPvPKcz(r14, __ZNSt3__16__clocEv(), r13, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r6, HEAP32[tempInt + 4 >> 2] = r7, tempInt)) | 0; - r7 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r14, r15, HEAP32[r8 >> 2]); - r8 = r2 + 32 | 0; - __ZNKSt3__18ios_base6getlocEv(r12, r4); - __ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r14, r7, r15, r8, r10, r11, r12); - __ZNSt3__16localeD1Ev(HEAP32[r12 >> 2]); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r8, HEAP32[r10 >> 2], HEAP32[r11 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14; - r2 = STACKTOP; - STACKTOP = STACKTOP + 56 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 8; - r9 = r2 + 44; - r10 = r2 + 48; - r11 = r2 + 52; - r12 = r7 | 0; - HEAP8[r12] = HEAP8[5264464]; - HEAP8[r12 + 1 | 0] = HEAP8[5264465 | 0]; - HEAP8[r12 + 2 | 0] = HEAP8[5264466 | 0]; - HEAP8[r12 + 3 | 0] = HEAP8[5264467 | 0]; - HEAP8[r12 + 4 | 0] = HEAP8[5264468 | 0]; - HEAP8[r12 + 5 | 0] = HEAP8[5264469 | 0]; - r13 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r7 + 1 | 0, 5267748, 0, HEAP32[r13 >> 2]); - r7 = r8 | 0; - r14 = r8 + __ZNSt3__111__sprintf_lEPcPvPKcz(r7, __ZNSt3__16__clocEv(), r12, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)) | 0; - r6 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r7, r14, HEAP32[r13 >> 2]); - r13 = r2 + 20 | 0; - __ZNKSt3__18ios_base6getlocEv(r11, r4); - __ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r7, r6, r14, r13, r9, r10, r11); - __ZNSt3__16localeD1Ev(HEAP32[r11 >> 2]); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r13, HEAP32[r9 >> 2], HEAP32[r10 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15; - r2 = STACKTOP; - STACKTOP = STACKTOP + 88 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r2; - r9 = r2 + 8; - r10 = r2 + 76; - r11 = r2 + 80; - r12 = r2 + 84; - HEAP32[r8 >> 2] = 37; - HEAP32[r8 + 4 >> 2] = 0; - r13 = r8; - r8 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r13 + 1 | 0, 5245116, 0, HEAP32[r8 >> 2]); - r14 = r9 | 0; - r15 = r9 + __ZNSt3__111__sprintf_lEPcPvPKcz(r14, __ZNSt3__16__clocEv(), r13, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r6, HEAP32[tempInt + 4 >> 2] = r7, tempInt)) | 0; - r7 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r14, r15, HEAP32[r8 >> 2]); - r8 = r2 + 32 | 0; - __ZNKSt3__18ios_base6getlocEv(r12, r4); - __ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r14, r7, r15, r8, r10, r11, r12); - __ZNSt3__16localeD1Ev(HEAP32[r12 >> 2]); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r8, HEAP32[r10 >> 2], HEAP32[r11 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25; - r2 = STACKTOP; - STACKTOP = STACKTOP + 120 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 40, r9 = r8 >> 2; - r10 = r2 + 44; - r11 = r2 + 104; - r12 = r2 + 108; - r13 = r2 + 112; - r14 = r2 + 116; - HEAP32[r7 >> 2] = 37; - HEAP32[r7 + 4 >> 2] = 0; - r15 = r7; - r7 = r4 + 4 | 0; - r16 = __ZNSt3__114__num_put_base14__format_floatEPcPKcj(r15 + 1 | 0, 5244652, HEAP32[r7 >> 2]); - r17 = r2 + 8 | 0; - HEAP32[r9] = r17; - r18 = __ZNSt3__16__clocEv(); - if (r16) { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - do { - if ((r19 | 0) > 29) { - if (r16) { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - r18 = HEAP32[r9]; - if ((r18 | 0) != 0) { - r21 = r20; - r22 = r18; - r23 = r18; - break; - } - __ZSt17__throw_bad_allocv(); - r18 = HEAP32[r9]; - r21 = r20; - r22 = r18; - r23 = r18; - } else { - r21 = r19; - r22 = 0; - r23 = HEAP32[r9]; - } - } while (0); - r19 = r23 + r21 | 0; - r20 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r23, r19, HEAP32[r7 >> 2]); - do { - if ((r23 | 0) == (r17 | 0)) { - r24 = r10 | 0; - r25 = 0; - } else { - r7 = _malloc(r21 << 1); - if ((r7 | 0) != 0) { - r24 = r7; - r25 = r7; - break; - } - __ZSt17__throw_bad_allocv(); - r24 = 0; - r25 = 0; - } - } while (0); - r21 = HEAP32[r9]; - __ZNKSt3__18ios_base6getlocEv(r13, r4); - __ZNSt3__19__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r21, r20, r19, r24, r11, r12, r13); - __ZNSt3__16localeD1Ev(HEAP32[r13 >> 2]); - r13 = r3 | 0; - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r14, HEAP32[r13 >> 2], r24, HEAP32[r11 >> 2], HEAP32[r12 >> 2], r4, r5); - r5 = HEAP32[r14 >> 2]; - HEAP32[r13 >> 2] = r5; - HEAP32[r1 >> 2] = r5; - if ((r25 | 0) != 0) { - _free(r25); - } - if ((r22 | 0) == 0) { - STACKTOP = r2; - return; - } - _free(r22); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd["X"] = 1; -function __ZNSt3__112__snprintf_lEPcjPvPKcz(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - HEAP32[r6 >> 2] = r4; - r4 = _uselocale(r2); - r2 = _snprintf(r1, 30, r3, HEAP32[r6 >> 2]); - if ((r4 | 0) == 0) { - STACKTOP = r5; - return r2; - } - _uselocale(r4); - STACKTOP = r5; - return r2; -} -function __ZNSt3__112__asprintf_lEPPcPvPKcz(r1, r2, r3, r4) { - var r5, r6; - r5 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r6 = r5; - HEAP32[r6 >> 2] = r4; - r4 = _uselocale(r2); - r2 = _asprintf(r1, r3, HEAP32[r6 >> 2]); - if ((r4 | 0) == 0) { - STACKTOP = r5; - return r2; - } - _uselocale(r4); - STACKTOP = r5; - return r2; -} -function __ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init9277() { - if (HEAP8[5274496] << 24 >> 24 != 0) { - return; - } - HEAP32[1318624] = 1; - HEAP32[1318625] = 0; - return; -} -function __ZNSt3__19__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37; - r8 = r6 >> 2; - r6 = 0; - r9 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r10 = r9; - r11 = r7 | 0; - r7 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r11 >> 2], 5273668), r12 = r7 >> 2; - r13 = r7; - r14 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r11 >> 2], 5273300), r11 = r14 >> 2; - r15 = r14; - FUNCTION_TABLE[HEAP32[HEAP32[r11] + 20 >> 2]](r10, r15); - HEAP32[r8] = r4; - r14 = HEAP8[r1]; - if (r14 << 24 >> 24 == 45 | r14 << 24 >> 24 == 43) { - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r12] + 28 >> 2]](r13, r14); - r14 = HEAP32[r8]; - HEAP32[r8] = r14 + 1 | 0; - HEAP8[r14] = r16; - r17 = r1 + 1 | 0; - } else { - r17 = r1; - } - r16 = r3; - L2529 : do { - if ((r16 - r17 | 0) > 1) { - if (HEAP8[r17] << 24 >> 24 != 48) { - r18 = r17; - r6 = 2241; - break; - } - r14 = r17 + 1 | 0; - r19 = HEAP8[r14]; - if (!(r19 << 24 >> 24 == 120 | r19 << 24 >> 24 == 88)) { - r18 = r17; - r6 = 2241; - break; - } - r19 = r7; - r20 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 28 >> 2]](r13, 48); - r21 = HEAP32[r8]; - HEAP32[r8] = r21 + 1 | 0; - HEAP8[r21] = r20; - r20 = r17 + 2 | 0; - r21 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 28 >> 2]](r13, HEAP8[r14]); - r14 = HEAP32[r8]; - HEAP32[r8] = r14 + 1 | 0; - HEAP8[r14] = r21; - r21 = r20; - while (1) { - if (r21 >>> 0 >= r3 >>> 0) { - r22 = r21; - r23 = r20; - break L2529; - } - if ((_isxdigit(HEAP8[r21] << 24 >> 24, __ZNSt3__16__clocEv()) | 0) == 0) { - r22 = r21; - r23 = r20; - break L2529; - } else { - r21 = r21 + 1 | 0; - } - } - } else { - r18 = r17; - r6 = 2241; - } - } while (0); - L2540 : do { - if (r6 == 2241) { - while (1) { - r6 = 0; - if (r18 >>> 0 >= r3 >>> 0) { - r22 = r18; - r23 = r17; - break L2540; - } - if ((_isdigit(HEAP8[r18] << 24 >> 24, __ZNSt3__16__clocEv()) | 0) == 0) { - r22 = r18; - r23 = r17; - break L2540; - } else { - r18 = r18 + 1 | 0; - r6 = 2241; - } - } - } - } while (0); - r6 = r10; - r18 = r10; - r17 = HEAPU8[r18]; - if ((r17 & 1 | 0) == 0) { - r24 = r17 >>> 1; - } else { - r24 = HEAP32[r10 + 4 >> 2]; - } - L2551 : do { - if ((r24 | 0) == 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r12] + 32 >> 2]](r13, r23, r22, HEAP32[r8]); - HEAP32[r8] = HEAP32[r8] + (r22 - r23) | 0; - } else { - L2553 : do { - if ((r23 | 0) != (r22 | 0)) { - r17 = r22 - 1 | 0; - if (r23 >>> 0 < r17 >>> 0) { - r25 = r23; - r26 = r17; - } else { - break; - } - while (1) { - r17 = HEAP8[r25]; - HEAP8[r25] = HEAP8[r26]; - HEAP8[r26] = r17; - r17 = r25 + 1 | 0; - r21 = r26 - 1 | 0; - if (r17 >>> 0 < r21 >>> 0) { - r25 = r17; - r26 = r21; - } else { - break L2553; - } - } - } - } while (0); - r21 = FUNCTION_TABLE[HEAP32[HEAP32[r11] + 16 >> 2]](r15); - L2559 : do { - if (r23 >>> 0 < r22 >>> 0) { - r17 = r6 + 1 | 0; - r20 = r10 + 4 | 0; - r14 = r10 + 8 | 0; - r19 = r7; - r27 = 0; - r28 = 0; - r29 = r23; - while (1) { - r30 = HEAP8[((HEAP8[r18] & 1) << 24 >> 24 == 0 ? r17 : HEAP32[r14 >> 2]) + r28 | 0]; - if (r30 << 24 >> 24 > 0 & (r27 | 0) == (r30 << 24 >> 24 | 0)) { - r30 = HEAP32[r8]; - HEAP32[r8] = r30 + 1 | 0; - HEAP8[r30] = r21; - r30 = HEAPU8[r18]; - r31 = (r28 >>> 0 < (((r30 & 1 | 0) == 0 ? r30 >>> 1 : HEAP32[r20 >> 2]) - 1 | 0) >>> 0 & 1) + r28 | 0; - r32 = 0; - } else { - r31 = r28; - r32 = r27; - } - r30 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 28 >> 2]](r13, HEAP8[r29]); - r33 = HEAP32[r8]; - HEAP32[r8] = r33 + 1 | 0; - HEAP8[r33] = r30; - r30 = r29 + 1 | 0; - if (r30 >>> 0 < r22 >>> 0) { - r27 = r32 + 1 | 0; - r28 = r31; - r29 = r30; - } else { - break L2559; - } - } - } - } while (0); - r21 = r4 + (r23 - r1) | 0; - r29 = HEAP32[r8]; - if ((r21 | 0) == (r29 | 0)) { - break; - } - r28 = r29 - 1 | 0; - if (r21 >>> 0 < r28 >>> 0) { - r34 = r21; - r35 = r28; - } else { - break; - } - while (1) { - r28 = HEAP8[r34]; - HEAP8[r34] = HEAP8[r35]; - HEAP8[r35] = r28; - r28 = r34 + 1 | 0; - r21 = r35 - 1 | 0; - if (r28 >>> 0 < r21 >>> 0) { - r34 = r28; - r35 = r21; - } else { - break L2551; - } - } - } - } while (0); - L2574 : do { - if (r22 >>> 0 < r3 >>> 0) { - r35 = r7; - r34 = r22; - while (1) { - r23 = HEAP8[r34]; - if (r23 << 24 >> 24 == 46) { - break; - } - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r35 >> 2] + 28 >> 2]](r13, r23); - r23 = HEAP32[r8]; - HEAP32[r8] = r23 + 1 | 0; - HEAP8[r23] = r31; - r31 = r34 + 1 | 0; - if (r31 >>> 0 < r3 >>> 0) { - r34 = r31; - } else { - r36 = r31; - break L2574; - } - } - r35 = FUNCTION_TABLE[HEAP32[HEAP32[r11] + 12 >> 2]](r15); - r31 = HEAP32[r8]; - HEAP32[r8] = r31 + 1 | 0; - HEAP8[r31] = r35; - r36 = r34 + 1 | 0; - } else { - r36 = r22; - } - } while (0); - FUNCTION_TABLE[HEAP32[HEAP32[r12] + 32 >> 2]](r13, r36, r3, HEAP32[r8]); - r13 = HEAP32[r8] + (r16 - r36) | 0; - HEAP32[r8] = r13; - if ((r2 | 0) == (r3 | 0)) { - r37 = r13; - HEAP32[r5 >> 2] = r37; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r9; - return; - } - r37 = r4 + (r2 - r1) | 0; - HEAP32[r5 >> 2] = r37; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r9; - return; -} -__ZNSt3__19__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE["X"] = 1; -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25; - r2 = STACKTOP; - STACKTOP = STACKTOP + 120 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 40, r9 = r8 >> 2; - r10 = r2 + 44; - r11 = r2 + 104; - r12 = r2 + 108; - r13 = r2 + 112; - r14 = r2 + 116; - HEAP32[r7 >> 2] = 37; - HEAP32[r7 + 4 >> 2] = 0; - r15 = r7; - r7 = r4 + 4 | 0; - r16 = __ZNSt3__114__num_put_base14__format_floatEPcPKcj(r15 + 1 | 0, 5248736, HEAP32[r7 >> 2]); - r17 = r2 + 8 | 0; - HEAP32[r9] = r17; - r18 = __ZNSt3__16__clocEv(); - if (r16) { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - do { - if ((r19 | 0) > 29) { - if (r16) { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - r18 = HEAP32[r9]; - if ((r18 | 0) != 0) { - r21 = r20; - r22 = r18; - r23 = r18; - break; - } - __ZSt17__throw_bad_allocv(); - r18 = HEAP32[r9]; - r21 = r20; - r22 = r18; - r23 = r18; - } else { - r21 = r19; - r22 = 0; - r23 = HEAP32[r9]; - } - } while (0); - r19 = r23 + r21 | 0; - r20 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r23, r19, HEAP32[r7 >> 2]); - do { - if ((r23 | 0) == (r17 | 0)) { - r24 = r10 | 0; - r25 = 0; - } else { - r7 = _malloc(r21 << 1); - if ((r7 | 0) != 0) { - r24 = r7; - r25 = r7; - break; - } - __ZSt17__throw_bad_allocv(); - r24 = 0; - r25 = 0; - } - } while (0); - r21 = HEAP32[r9]; - __ZNKSt3__18ios_base6getlocEv(r13, r4); - __ZNSt3__19__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE(r21, r20, r19, r24, r11, r12, r13); - __ZNSt3__16localeD1Ev(HEAP32[r13 >> 2]); - r13 = r3 | 0; - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r14, HEAP32[r13 >> 2], r24, HEAP32[r11 >> 2], HEAP32[r12 >> 2], r4, r5); - r5 = HEAP32[r14 >> 2]; - HEAP32[r13 >> 2] = r5; - HEAP32[r1 >> 2] = r5; - if ((r25 | 0) != 0) { - _free(r25); - } - if ((r22 | 0) == 0) { - STACKTOP = r2; - return; - } - _free(r22); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce["X"] = 1; -function __ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r2 = STACKTOP; - STACKTOP = STACKTOP + 72 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2 + 8; - r8 = r2 + 28; - r9 = r2 + 68; - r10 = r2 | 0; - HEAP8[r10] = HEAP8[5264472]; - HEAP8[r10 + 1 | 0] = HEAP8[5264473 | 0]; - HEAP8[r10 + 2 | 0] = HEAP8[5264474 | 0]; - HEAP8[r10 + 3 | 0] = HEAP8[5264475 | 0]; - HEAP8[r10 + 4 | 0] = HEAP8[5264476 | 0]; - HEAP8[r10 + 5 | 0] = HEAP8[5264477 | 0]; - r11 = r7 | 0; - r12 = __ZNSt3__111__sprintf_lEPcPvPKcz(r11, __ZNSt3__16__clocEv(), r10, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)); - r6 = r7 + r12 | 0; - r10 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r11, r6, HEAP32[r4 + 4 >> 2]); - __ZNKSt3__18ios_base6getlocEv(r9, r4); - r13 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r13, 5273668); - __ZNSt3__16localeD1Ev(r13); - r13 = r8 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 32 >> 2]](r9, r11, r6, r13); - r11 = r8 + r12 | 0; - if ((r10 | 0) == (r6 | 0)) { - r14 = r11; - r15 = r3 | 0; - r16 = HEAP32[r15 >> 2]; - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, r16, r13, r14, r11, r4, r5); - STACKTOP = r2; - return; - } - r14 = r8 + (r10 - r7) | 0; - r15 = r3 | 0; - r16 = HEAP32[r15 >> 2]; - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, r16, r13, r14, r11, r4, r5); - STACKTOP = r2; - return; -} -function __ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r7 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r7; - r9 = r7 + 4; - r10 = r7 + 8; - if ((HEAP32[r4 + 4 >> 2] & 1 | 0) == 0) { - r11 = HEAP32[HEAP32[r2 >> 2] + 24 >> 2]; - HEAP32[r8 >> 2] = HEAP32[r3 >> 2]; - FUNCTION_TABLE[r11](r1, r2, r8, r4, r5, r6 & 1); - STACKTOP = r7; - return; - } - __ZNKSt3__18ios_base6getlocEv(r9, r4); - r4 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r4, 5273292); - r5 = r9; - __ZNSt3__16localeD1Ev(r4); - r4 = HEAP32[r9 >> 2]; - if (r6) { - FUNCTION_TABLE[HEAP32[r4 + 24 >> 2]](r10, r5); - } else { - FUNCTION_TABLE[HEAP32[r4 + 28 >> 2]](r10, r5); - } - r5 = r10; - r4 = HEAP8[r5]; - if ((r4 & 1) << 24 >> 24 == 0) { - r6 = r10 + 4 | 0; - r12 = r6; - r13 = r6; - r14 = r10 + 8 | 0; - } else { - r6 = r10 + 8 | 0; - r12 = HEAP32[r6 >> 2]; - r13 = r10 + 4 | 0; - r14 = r6; - } - r6 = (r3 | 0) >> 2; - r3 = r12; - r12 = r4; - while (1) { - if ((r12 & 1) << 24 >> 24 == 0) { - r15 = r13; - } else { - r15 = HEAP32[r14 >> 2]; - } - r4 = r12 & 255; - if ((r4 & 1 | 0) == 0) { - r16 = r4 >>> 1; - } else { - r16 = HEAP32[r13 >> 2]; - } - if ((r3 | 0) == ((r16 << 2) + r15 | 0)) { - break; - } - r4 = HEAP32[r3 >> 2]; - r9 = HEAP32[r6]; - do { - if ((r9 | 0) != 0) { - r8 = r9 + 24 | 0; - r2 = HEAP32[r8 >> 2]; - if ((r2 | 0) == (HEAP32[r9 + 28 >> 2] | 0)) { - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 52 >> 2]](r9, r4); - } else { - HEAP32[r8 >> 2] = r2 + 4 | 0; - HEAP32[r2 >> 2] = r4; - r17 = r4; - } - if ((r17 | 0) != -1) { - break; - } - HEAP32[r6] = 0; - } - } while (0); - r3 = r3 + 4 | 0; - r12 = HEAP8[r5]; - } - HEAP32[r1 >> 2] = HEAP32[r6]; - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r10); - STACKTOP = r7; - return; -} -__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb["X"] = 1; -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14; - r2 = STACKTOP; - STACKTOP = STACKTOP + 116 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 8; - r9 = r2 + 104; - r10 = r2 + 108; - r11 = r2 + 112; - r12 = r7 | 0; - HEAP8[r12] = HEAP8[5264464]; - HEAP8[r12 + 1 | 0] = HEAP8[5264465 | 0]; - HEAP8[r12 + 2 | 0] = HEAP8[5264466 | 0]; - HEAP8[r12 + 3 | 0] = HEAP8[5264467 | 0]; - HEAP8[r12 + 4 | 0] = HEAP8[5264468 | 0]; - HEAP8[r12 + 5 | 0] = HEAP8[5264469 | 0]; - r13 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r7 + 1 | 0, 5267748, 1, HEAP32[r13 >> 2]); - r7 = r8 | 0; - r14 = r8 + __ZNSt3__111__sprintf_lEPcPvPKcz(r7, __ZNSt3__16__clocEv(), r12, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)) | 0; - r6 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r7, r14, HEAP32[r13 >> 2]); - r13 = r2 + 20 | 0; - __ZNKSt3__18ios_base6getlocEv(r11, r4); - __ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(r7, r6, r14, r13, r9, r10, r11); - __ZNSt3__16localeD1Ev(HEAP32[r11 >> 2]); - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r13, HEAP32[r9 >> 2], HEAP32[r10 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r8 = r6 >> 2; - r6 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r9 = r6; - r10 = r7 | 0; - r7 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r10 >> 2], 5273660); - r11 = r7; - r12 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r10 >> 2], 5273292); - r10 = r12; - FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 20 >> 2]](r9, r10); - r13 = r9; - r14 = r9; - r15 = HEAPU8[r14]; - if ((r15 & 1 | 0) == 0) { - r16 = r15 >>> 1; - } else { - r16 = HEAP32[r9 + 4 >> 2]; - } - L2666 : do { - if ((r16 | 0) == 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 48 >> 2]](r11, r1, r3, r4); - HEAP32[r8] = (r3 - r1 << 2) + r4 | 0; - } else { - HEAP32[r8] = r4; - r15 = HEAP8[r1]; - if (r15 << 24 >> 24 == 45 | r15 << 24 >> 24 == 43) { - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 44 >> 2]](r11, r15); - r15 = HEAP32[r8]; - HEAP32[r8] = r15 + 4 | 0; - HEAP32[r15 >> 2] = r17; - r18 = r1 + 1 | 0; - } else { - r18 = r1; - } - do { - if ((r3 - r18 | 0) > 1) { - if (HEAP8[r18] << 24 >> 24 != 48) { - r19 = r18; - break; - } - r17 = r18 + 1 | 0; - r15 = HEAP8[r17]; - if (!(r15 << 24 >> 24 == 120 | r15 << 24 >> 24 == 88)) { - r19 = r18; - break; - } - r15 = r7; - r20 = FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 44 >> 2]](r11, 48); - r21 = HEAP32[r8]; - HEAP32[r8] = r21 + 4 | 0; - HEAP32[r21 >> 2] = r20; - r20 = FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 44 >> 2]](r11, HEAP8[r17]); - r17 = HEAP32[r8]; - HEAP32[r8] = r17 + 4 | 0; - HEAP32[r17 >> 2] = r20; - r19 = r18 + 2 | 0; - } else { - r19 = r18; - } - } while (0); - L2679 : do { - if ((r19 | 0) != (r3 | 0)) { - r20 = r3 - 1 | 0; - if (r19 >>> 0 < r20 >>> 0) { - r22 = r19; - r23 = r20; - } else { - break; - } - while (1) { - r20 = HEAP8[r22]; - HEAP8[r22] = HEAP8[r23]; - HEAP8[r23] = r20; - r20 = r22 + 1 | 0; - r17 = r23 - 1 | 0; - if (r20 >>> 0 < r17 >>> 0) { - r22 = r20; - r23 = r17; - } else { - break L2679; - } - } - } - } while (0); - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 16 >> 2]](r10); - L2685 : do { - if (r19 >>> 0 < r3 >>> 0) { - r20 = r13 + 1 | 0; - r15 = r7; - r21 = r9 + 4 | 0; - r24 = r9 + 8 | 0; - r25 = 0; - r26 = 0; - r27 = r19; - while (1) { - r28 = HEAP8[((HEAP8[r14] & 1) << 24 >> 24 == 0 ? r20 : HEAP32[r24 >> 2]) + r26 | 0]; - if (r28 << 24 >> 24 != 0 & (r25 | 0) == (r28 << 24 >> 24 | 0)) { - r28 = HEAP32[r8]; - HEAP32[r8] = r28 + 4 | 0; - HEAP32[r28 >> 2] = r17; - r28 = HEAPU8[r14]; - r29 = (r26 >>> 0 < (((r28 & 1 | 0) == 0 ? r28 >>> 1 : HEAP32[r21 >> 2]) - 1 | 0) >>> 0 & 1) + r26 | 0; - r30 = 0; - } else { - r29 = r26; - r30 = r25; - } - r28 = FUNCTION_TABLE[HEAP32[HEAP32[r15 >> 2] + 44 >> 2]](r11, HEAP8[r27]); - r31 = HEAP32[r8]; - HEAP32[r8] = r31 + 4 | 0; - HEAP32[r31 >> 2] = r28; - r28 = r27 + 1 | 0; - if (r28 >>> 0 < r3 >>> 0) { - r25 = r30 + 1 | 0; - r26 = r29; - r27 = r28; - } else { - break L2685; - } - } - } - } while (0); - r17 = (r19 - r1 << 2) + r4 | 0; - r27 = HEAP32[r8]; - if ((r17 | 0) == (r27 | 0)) { - break; - } - r26 = r27 - 4 | 0; - if (r17 >>> 0 < r26 >>> 0) { - r32 = r17; - r33 = r26; - } else { - break; - } - while (1) { - r26 = HEAP32[r32 >> 2]; - HEAP32[r32 >> 2] = HEAP32[r33 >> 2]; - HEAP32[r33 >> 2] = r26; - r26 = r32 + 4 | 0; - r17 = r33 - 4 | 0; - if (r26 >>> 0 < r17 >>> 0) { - r32 = r26; - r33 = r17; - } else { - break L2666; - } - } - } - } while (0); - if ((r2 | 0) == (r3 | 0)) { - r3 = HEAP32[r8]; - HEAP32[r5 >> 2] = r3; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r6; - return; - } else { - r3 = (r2 - r1 << 2) + r4 | 0; - HEAP32[r5 >> 2] = r3; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r9); - STACKTOP = r6; - return; - } -} -__ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE["X"] = 1; -function __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31; - r8 = r5 - r3 >> 2; - r9 = (r6 + 12 | 0) >> 2; - r6 = HEAP32[r9]; - r10 = (r6 | 0) > (r8 | 0) ? r6 - r8 | 0 : 0; - L2706 : do { - if (r3 >>> 0 < r4 >>> 0) { - r8 = r3; - r6 = r2; - r11 = r2; - while (1) { - r12 = HEAP32[r8 >> 2]; - if ((r6 | 0) == 0) { - r13 = 0; - r14 = r11; - } else { - r15 = r6 + 24 | 0; - r16 = HEAP32[r15 >> 2]; - if ((r16 | 0) == (HEAP32[r6 + 28 >> 2] | 0)) { - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r6 >> 2] + 52 >> 2]](r6, r12); - } else { - HEAP32[r15 >> 2] = r16 + 4 | 0; - HEAP32[r16 >> 2] = r12; - r17 = r12; - } - r12 = (r17 | 0) == -1; - r13 = r12 ? 0 : r6; - r14 = r12 ? 0 : r11; - } - r12 = r8 + 4 | 0; - if (r12 >>> 0 < r4 >>> 0) { - r8 = r12; - r6 = r13; - r11 = r14; - } else { - r18 = r12; - r19 = r14; - break L2706; - } - } - } else { - r18 = r3; - r19 = r2; - } - } while (0); - L2717 : do { - if ((r10 | 0) == 0) { - r20 = r19; - } else { - r2 = r10; - r3 = r19; - r14 = r19; - while (1) { - if ((r3 | 0) == 0) { - r21 = 0; - r22 = r14; - } else { - r13 = r3 + 24 | 0; - r4 = HEAP32[r13 >> 2]; - if ((r4 | 0) == (HEAP32[r3 + 28 >> 2] | 0)) { - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r3 >> 2] + 52 >> 2]](r3, r7); - } else { - HEAP32[r13 >> 2] = r4 + 4 | 0; - HEAP32[r4 >> 2] = r7; - r23 = r7; - } - r4 = (r23 | 0) == -1; - r21 = r4 ? 0 : r3; - r22 = r4 ? 0 : r14; - } - r4 = r2 - 1 | 0; - if ((r4 | 0) == 0) { - r20 = r22; - break L2717; - } else { - r2 = r4; - r3 = r21; - r14 = r22; - } - } - } - } while (0); - if (r18 >>> 0 < r5 >>> 0) { - r24 = r18; - r25 = r20; - r26 = r20; - } else { - r27 = r20; - HEAP32[r9] = 0; - r28 = r1 | 0; - HEAP32[r28 >> 2] = r27; - return; - } - while (1) { - r20 = HEAP32[r24 >> 2]; - if ((r25 | 0) == 0) { - r29 = 0; - r30 = r26; - } else { - r18 = r25 + 24 | 0; - r22 = HEAP32[r18 >> 2]; - if ((r22 | 0) == (HEAP32[r25 + 28 >> 2] | 0)) { - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 52 >> 2]](r25, r20); - } else { - HEAP32[r18 >> 2] = r22 + 4 | 0; - HEAP32[r22 >> 2] = r20; - r31 = r20; - } - r20 = (r31 | 0) == -1; - r29 = r20 ? 0 : r25; - r30 = r20 ? 0 : r26; - } - r20 = r24 + 4 | 0; - if (r20 >>> 0 < r5 >>> 0) { - r24 = r20; - r25 = r29; - r26 = r30; - } else { - r27 = r30; - break; - } - } - HEAP32[r9] = 0; - r28 = r1 | 0; - HEAP32[r28 >> 2] = r27; - return; -} -__ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_["X"] = 1; -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15; - r2 = STACKTOP; - STACKTOP = STACKTOP + 208 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r2; - r9 = r2 + 8; - r10 = r2 + 196; - r11 = r2 + 200; - r12 = r2 + 204; - HEAP32[r8 >> 2] = 37; - HEAP32[r8 + 4 >> 2] = 0; - r13 = r8; - r8 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r13 + 1 | 0, 5245116, 1, HEAP32[r8 >> 2]); - r14 = r9 | 0; - r15 = r9 + __ZNSt3__111__sprintf_lEPcPvPKcz(r14, __ZNSt3__16__clocEv(), r13, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r6, HEAP32[tempInt + 4 >> 2] = r7, tempInt)) | 0; - r7 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r14, r15, HEAP32[r8 >> 2]); - r8 = r2 + 32 | 0; - __ZNKSt3__18ios_base6getlocEv(r12, r4); - __ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(r14, r7, r15, r8, r10, r11, r12); - __ZNSt3__16localeD1Ev(HEAP32[r12 >> 2]); - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r8, HEAP32[r10 >> 2], HEAP32[r11 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14; - r2 = STACKTOP; - STACKTOP = STACKTOP + 116 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 8; - r9 = r2 + 104; - r10 = r2 + 108; - r11 = r2 + 112; - r12 = r7 | 0; - HEAP8[r12] = HEAP8[5264464]; - HEAP8[r12 + 1 | 0] = HEAP8[5264465 | 0]; - HEAP8[r12 + 2 | 0] = HEAP8[5264466 | 0]; - HEAP8[r12 + 3 | 0] = HEAP8[5264467 | 0]; - HEAP8[r12 + 4 | 0] = HEAP8[5264468 | 0]; - HEAP8[r12 + 5 | 0] = HEAP8[5264469 | 0]; - r13 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r7 + 1 | 0, 5267748, 0, HEAP32[r13 >> 2]); - r7 = r8 | 0; - r14 = r8 + __ZNSt3__111__sprintf_lEPcPvPKcz(r7, __ZNSt3__16__clocEv(), r12, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)) | 0; - r6 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r7, r14, HEAP32[r13 >> 2]); - r13 = r2 + 20 | 0; - __ZNKSt3__18ios_base6getlocEv(r11, r4); - __ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(r7, r6, r14, r13, r9, r10, r11); - __ZNSt3__16localeD1Ev(HEAP32[r11 >> 2]); - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r13, HEAP32[r9 >> 2], HEAP32[r10 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15; - r2 = STACKTOP; - STACKTOP = STACKTOP + 216 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r2; - r9 = r2 + 8; - r10 = r2 + 204; - r11 = r2 + 208; - r12 = r2 + 212; - HEAP32[r8 >> 2] = 37; - HEAP32[r8 + 4 >> 2] = 0; - r13 = r8; - r8 = r4 + 4 | 0; - __ZNSt3__114__num_put_base12__format_intEPcPKcbj(r13 + 1 | 0, 5245116, 0, HEAP32[r8 >> 2]); - r14 = r9 | 0; - r15 = r9 + __ZNSt3__111__sprintf_lEPcPvPKcz(r14, __ZNSt3__16__clocEv(), r13, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAP32[tempInt >> 2] = r6, HEAP32[tempInt + 4 >> 2] = r7, tempInt)) | 0; - r7 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r14, r15, HEAP32[r8 >> 2]); - r8 = r2 + 32 | 0; - __ZNKSt3__18ios_base6getlocEv(r12, r4); - __ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE(r14, r7, r15, r8, r10, r11, r12); - __ZNSt3__16localeD1Ev(HEAP32[r12 >> 2]); - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r8, HEAP32[r10 >> 2], HEAP32[r11 >> 2], r4, r5); - STACKTOP = r2; - return; -} -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25; - r2 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 40, r9 = r8 >> 2; - r10 = r2 + 44; - r11 = r2 + 272; - r12 = r2 + 276; - r13 = r2 + 280; - r14 = r2 + 284; - HEAP32[r7 >> 2] = 37; - HEAP32[r7 + 4 >> 2] = 0; - r15 = r7; - r7 = r4 + 4 | 0; - r16 = __ZNSt3__114__num_put_base14__format_floatEPcPKcj(r15 + 1 | 0, 5244652, HEAP32[r7 >> 2]); - r17 = r2 + 8 | 0; - HEAP32[r9] = r17; - r18 = __ZNSt3__16__clocEv(); - if (r16) { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - do { - if ((r19 | 0) > 29) { - if (r16) { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - r18 = HEAP32[r9]; - if ((r18 | 0) != 0) { - r21 = r20; - r22 = r18; - r23 = r18; - break; - } - __ZSt17__throw_bad_allocv(); - r18 = HEAP32[r9]; - r21 = r20; - r22 = r18; - r23 = r18; - } else { - r21 = r19; - r22 = 0; - r23 = HEAP32[r9]; - } - } while (0); - r19 = r23 + r21 | 0; - r20 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r23, r19, HEAP32[r7 >> 2]); - do { - if ((r23 | 0) == (r17 | 0)) { - r24 = r10 | 0; - r25 = 0; - } else { - r7 = _malloc(r21 << 3); - r6 = r7; - if ((r7 | 0) != 0) { - r24 = r6; - r25 = r6; - break; - } - __ZSt17__throw_bad_allocv(); - r24 = r6; - r25 = r6; - } - } while (0); - r21 = HEAP32[r9]; - __ZNKSt3__18ios_base6getlocEv(r13, r4); - __ZNSt3__19__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE(r21, r20, r19, r24, r11, r12, r13); - __ZNSt3__16localeD1Ev(HEAP32[r13 >> 2]); - r13 = r3 | 0; - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r14, HEAP32[r13 >> 2], r24, HEAP32[r11 >> 2], HEAP32[r12 >> 2], r4, r5); - r5 = HEAP32[r14 >> 2]; - HEAP32[r13 >> 2] = r5; - HEAP32[r1 >> 2] = r5; - if ((r25 | 0) != 0) { - _free(r25); - } - if ((r22 | 0) == 0) { - STACKTOP = r2; - return; - } - _free(r22); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd["X"] = 1; -function __ZNSt3__120__time_get_c_storageIcEC2Ev() { - HEAP32[1315959] = 5266036; - return; -} -function __ZNSt3__19__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37; - r8 = r6 >> 2; - r6 = 0; - r9 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r10 = r9; - r11 = r7 | 0; - r7 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r11 >> 2], 5273660), r12 = r7 >> 2; - r13 = r7; - r14 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r11 >> 2], 5273292), r11 = r14 >> 2; - r15 = r14; - FUNCTION_TABLE[HEAP32[HEAP32[r11] + 20 >> 2]](r10, r15); - HEAP32[r8] = r4; - r14 = HEAP8[r1]; - if (r14 << 24 >> 24 == 45 | r14 << 24 >> 24 == 43) { - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r12] + 44 >> 2]](r13, r14); - r14 = HEAP32[r8]; - HEAP32[r8] = r14 + 4 | 0; - HEAP32[r14 >> 2] = r16; - r17 = r1 + 1 | 0; - } else { - r17 = r1; - } - r16 = r3; - L2782 : do { - if ((r16 - r17 | 0) > 1) { - if (HEAP8[r17] << 24 >> 24 != 48) { - r18 = r17; - r6 = 2474; - break; - } - r14 = r17 + 1 | 0; - r19 = HEAP8[r14]; - if (!(r19 << 24 >> 24 == 120 | r19 << 24 >> 24 == 88)) { - r18 = r17; - r6 = 2474; - break; - } - r19 = r7; - r20 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 44 >> 2]](r13, 48); - r21 = HEAP32[r8]; - HEAP32[r8] = r21 + 4 | 0; - HEAP32[r21 >> 2] = r20; - r20 = r17 + 2 | 0; - r21 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 44 >> 2]](r13, HEAP8[r14]); - r14 = HEAP32[r8]; - HEAP32[r8] = r14 + 4 | 0; - HEAP32[r14 >> 2] = r21; - r21 = r20; - while (1) { - if (r21 >>> 0 >= r3 >>> 0) { - r22 = r21; - r23 = r20; - break L2782; - } - if ((_isxdigit(HEAP8[r21] << 24 >> 24, __ZNSt3__16__clocEv()) | 0) == 0) { - r22 = r21; - r23 = r20; - break L2782; - } else { - r21 = r21 + 1 | 0; - } - } - } else { - r18 = r17; - r6 = 2474; - } - } while (0); - L2793 : do { - if (r6 == 2474) { - while (1) { - r6 = 0; - if (r18 >>> 0 >= r3 >>> 0) { - r22 = r18; - r23 = r17; - break L2793; - } - if ((_isdigit(HEAP8[r18] << 24 >> 24, __ZNSt3__16__clocEv()) | 0) == 0) { - r22 = r18; - r23 = r17; - break L2793; - } else { - r18 = r18 + 1 | 0; - r6 = 2474; - } - } - } - } while (0); - r6 = r10; - r18 = r10; - r17 = HEAPU8[r18]; - if ((r17 & 1 | 0) == 0) { - r24 = r17 >>> 1; - } else { - r24 = HEAP32[r10 + 4 >> 2]; - } - L2804 : do { - if ((r24 | 0) == 0) { - FUNCTION_TABLE[HEAP32[HEAP32[r12] + 48 >> 2]](r13, r23, r22, HEAP32[r8]); - HEAP32[r8] = (r22 - r23 << 2) + HEAP32[r8] | 0; - } else { - L2808 : do { - if ((r23 | 0) != (r22 | 0)) { - r17 = r22 - 1 | 0; - if (r23 >>> 0 < r17 >>> 0) { - r25 = r23; - r26 = r17; - } else { - break; - } - while (1) { - r17 = HEAP8[r25]; - HEAP8[r25] = HEAP8[r26]; - HEAP8[r26] = r17; - r17 = r25 + 1 | 0; - r21 = r26 - 1 | 0; - if (r17 >>> 0 < r21 >>> 0) { - r25 = r17; - r26 = r21; - } else { - break L2808; - } - } - } - } while (0); - r21 = FUNCTION_TABLE[HEAP32[HEAP32[r11] + 16 >> 2]](r15); - L2814 : do { - if (r23 >>> 0 < r22 >>> 0) { - r17 = r6 + 1 | 0; - r20 = r10 + 4 | 0; - r14 = r10 + 8 | 0; - r19 = r7; - r27 = 0; - r28 = 0; - r29 = r23; - while (1) { - r30 = HEAP8[((HEAP8[r18] & 1) << 24 >> 24 == 0 ? r17 : HEAP32[r14 >> 2]) + r28 | 0]; - if (r30 << 24 >> 24 > 0 & (r27 | 0) == (r30 << 24 >> 24 | 0)) { - r30 = HEAP32[r8]; - HEAP32[r8] = r30 + 4 | 0; - HEAP32[r30 >> 2] = r21; - r30 = HEAPU8[r18]; - r31 = (r28 >>> 0 < (((r30 & 1 | 0) == 0 ? r30 >>> 1 : HEAP32[r20 >> 2]) - 1 | 0) >>> 0 & 1) + r28 | 0; - r32 = 0; - } else { - r31 = r28; - r32 = r27; - } - r30 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 44 >> 2]](r13, HEAP8[r29]); - r33 = HEAP32[r8]; - HEAP32[r8] = r33 + 4 | 0; - HEAP32[r33 >> 2] = r30; - r30 = r29 + 1 | 0; - if (r30 >>> 0 < r22 >>> 0) { - r27 = r32 + 1 | 0; - r28 = r31; - r29 = r30; - } else { - break L2814; - } - } - } - } while (0); - r21 = (r23 - r1 << 2) + r4 | 0; - r29 = HEAP32[r8]; - if ((r21 | 0) == (r29 | 0)) { - break; - } - r28 = r29 - 4 | 0; - if (r21 >>> 0 < r28 >>> 0) { - r34 = r21; - r35 = r28; - } else { - break; - } - while (1) { - r28 = HEAP32[r34 >> 2]; - HEAP32[r34 >> 2] = HEAP32[r35 >> 2]; - HEAP32[r35 >> 2] = r28; - r28 = r34 + 4 | 0; - r21 = r35 - 4 | 0; - if (r28 >>> 0 < r21 >>> 0) { - r34 = r28; - r35 = r21; - } else { - break L2804; - } - } - } - } while (0); - L2827 : do { - if (r22 >>> 0 < r3 >>> 0) { - r35 = r7; - r34 = r22; - while (1) { - r23 = HEAP8[r34]; - if (r23 << 24 >> 24 == 46) { - break; - } - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r35 >> 2] + 44 >> 2]](r13, r23); - r23 = HEAP32[r8]; - HEAP32[r8] = r23 + 4 | 0; - HEAP32[r23 >> 2] = r31; - r31 = r34 + 1 | 0; - if (r31 >>> 0 < r3 >>> 0) { - r34 = r31; - } else { - r36 = r31; - break L2827; - } - } - r35 = FUNCTION_TABLE[HEAP32[HEAP32[r11] + 12 >> 2]](r15); - r31 = HEAP32[r8]; - HEAP32[r8] = r31 + 4 | 0; - HEAP32[r31 >> 2] = r35; - r36 = r34 + 1 | 0; - } else { - r36 = r22; - } - } while (0); - FUNCTION_TABLE[HEAP32[HEAP32[r12] + 48 >> 2]](r13, r36, r3, HEAP32[r8]); - r13 = (r16 - r36 << 2) + HEAP32[r8] | 0; - HEAP32[r8] = r13; - if ((r2 | 0) == (r3 | 0)) { - r37 = r13; - HEAP32[r5 >> 2] = r37; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r9; - return; - } - r37 = (r2 - r1 << 2) + r4 | 0; - HEAP32[r5 >> 2] = r37; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r10); - STACKTOP = r9; - return; -} -__ZNSt3__19__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE["X"] = 1; -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25; - r2 = STACKTOP; - STACKTOP = STACKTOP + 288 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2; - r8 = r2 + 40, r9 = r8 >> 2; - r10 = r2 + 44; - r11 = r2 + 272; - r12 = r2 + 276; - r13 = r2 + 280; - r14 = r2 + 284; - HEAP32[r7 >> 2] = 37; - HEAP32[r7 + 4 >> 2] = 0; - r15 = r7; - r7 = r4 + 4 | 0; - r16 = __ZNSt3__114__num_put_base14__format_floatEPcPKcj(r15 + 1 | 0, 5248736, HEAP32[r7 >> 2]); - r17 = r2 + 8 | 0; - HEAP32[r9] = r17; - r18 = __ZNSt3__16__clocEv(); - if (r16) { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r19 = __ZNSt3__112__snprintf_lEPcjPvPKcz(r17, r18, r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - do { - if ((r19 | 0) > 29) { - if (r16) { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 12 | 0, HEAP32[tempInt >> 2] = HEAP32[r4 + 8 >> 2], HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 8 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } else { - r20 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), r15, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r6, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - } - r18 = HEAP32[r9]; - if ((r18 | 0) != 0) { - r21 = r20; - r22 = r18; - r23 = r18; - break; - } - __ZSt17__throw_bad_allocv(); - r18 = HEAP32[r9]; - r21 = r20; - r22 = r18; - r23 = r18; - } else { - r21 = r19; - r22 = 0; - r23 = HEAP32[r9]; - } - } while (0); - r19 = r23 + r21 | 0; - r20 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r23, r19, HEAP32[r7 >> 2]); - do { - if ((r23 | 0) == (r17 | 0)) { - r24 = r10 | 0; - r25 = 0; - } else { - r7 = _malloc(r21 << 3); - r6 = r7; - if ((r7 | 0) != 0) { - r24 = r6; - r25 = r6; - break; - } - __ZSt17__throw_bad_allocv(); - r24 = r6; - r25 = r6; - } - } while (0); - r21 = HEAP32[r9]; - __ZNKSt3__18ios_base6getlocEv(r13, r4); - __ZNSt3__19__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE(r21, r20, r19, r24, r11, r12, r13); - __ZNSt3__16localeD1Ev(HEAP32[r13 >> 2]); - r13 = r3 | 0; - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r14, HEAP32[r13 >> 2], r24, HEAP32[r11 >> 2], HEAP32[r12 >> 2], r4, r5); - r5 = HEAP32[r14 >> 2]; - HEAP32[r13 >> 2] = r5; - HEAP32[r1 >> 2] = r5; - if ((r25 | 0) != 0) { - _free(r25); - } - if ((r22 | 0) == 0) { - STACKTOP = r2; - return; - } - _free(r22); - STACKTOP = r2; - return; -} -__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe["X"] = 1; -function __ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r2 = STACKTOP; - STACKTOP = STACKTOP + 180 | 0; - r7 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r7 >> 2]; - r7 = r2 + 8; - r8 = r2 + 28; - r9 = r2 + 176; - r10 = r2 | 0; - HEAP8[r10] = HEAP8[5264472]; - HEAP8[r10 + 1 | 0] = HEAP8[5264473 | 0]; - HEAP8[r10 + 2 | 0] = HEAP8[5264474 | 0]; - HEAP8[r10 + 3 | 0] = HEAP8[5264475 | 0]; - HEAP8[r10 + 4 | 0] = HEAP8[5264476 | 0]; - HEAP8[r10 + 5 | 0] = HEAP8[5264477 | 0]; - r11 = r7 | 0; - r12 = __ZNSt3__111__sprintf_lEPcPvPKcz(r11, __ZNSt3__16__clocEv(), r10, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r6, tempInt)); - r6 = r7 + r12 | 0; - r10 = __ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE(r11, r6, HEAP32[r4 + 4 >> 2]); - __ZNKSt3__18ios_base6getlocEv(r9, r4); - r13 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r13, 5273660); - __ZNSt3__16localeD1Ev(r13); - r13 = r8 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 48 >> 2]](r9, r11, r6, r13); - r11 = (r12 << 2) + r8 | 0; - if ((r10 | 0) == (r6 | 0)) { - r14 = r11; - r15 = r3 | 0; - r16 = HEAP32[r15 >> 2]; - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, r16, r13, r14, r11, r4, r5); - STACKTOP = r2; - return; - } - r14 = (r10 - r7 << 2) + r8 | 0; - r15 = r3 | 0; - r16 = HEAP32[r15 >> 2]; - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, r16, r13, r14, r11, r4, r5); - STACKTOP = r2; - return; -} -function __ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev(r1) { - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv(r1) { - return 2; -} -function ___cxx_global_var_init10278() { - if (HEAP8[5274472] << 24 >> 24 != 0) { - return; - } - HEAP32[1318618] = 1; - HEAP32[1318619] = 0; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - var r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56; - r10 = r6 >> 2; - r11 = 0; - r12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r13 = r12; - r14 = r12 + 4; - r15 = r12 + 8; - r16 = r12 + 12; - __ZNKSt3__18ios_base6getlocEv(r13, r5); - r17 = HEAP32[r13 >> 2]; - r13 = __ZNKSt3__16locale9use_facetERNS0_2idE(r17, 5273668); - r18 = r13; - __ZNSt3__16localeD1Ev(r17); - HEAP32[r10] = 0; - L2886 : do { - if ((r8 | 0) == (r9 | 0)) { - r19 = r3; - } else { - r17 = r13 >> 2; - r20 = r13 + 8 | 0; - r21 = r13; - r22 = r2; - r23 = r15 | 0; - r24 = r16 | 0; - r25 = r14 | 0; - r26 = (r4 | 0) == 0; - r27 = r8; - r28 = 0; - r29 = r3; - L2888 : while (1) { - r30 = (r29 | 0) == 0 ^ r26; - r31 = (r29 + 12 | 0) >> 2; - r32 = (r29 + 16 | 0) >> 2; - r33 = r29 >> 2; - r34 = r28; - while (1) { - if ((r34 | 0) != 0) { - r19 = r29; - break L2886; - } - if (!r30) { - r11 = 2569; - break L2888; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r17] + 36 >> 2]](r18, HEAP8[r27], 0) << 24 >> 24 == 37) { - r11 = 2571; - break; - } - r35 = HEAP8[r27]; - if (r35 << 24 >> 24 > -1) { - r36 = HEAP32[r20 >> 2]; - if ((HEAP16[r36 + (r35 << 24 >> 24 << 1) >> 1] & 8192) << 16 >> 16 != 0) { - r37 = r27; - r11 = 2582; - break; - } - } - r35 = HEAP32[r31]; - if ((r35 | 0) == (HEAP32[r32] | 0)) { - r38 = FUNCTION_TABLE[HEAP32[HEAP32[r33] + 36 >> 2]](r29); - } else { - r38 = HEAPU8[r35]; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r21 >> 2] + 12 >> 2]](r18, r38 & 255) << 24 >> 24 == FUNCTION_TABLE[HEAP32[HEAP32[r21 >> 2] + 12 >> 2]](r18, HEAP8[r27]) << 24 >> 24) { - r11 = 2604; - break; - } - HEAP32[r10] = 4; - r34 = 4; - } - L2903 : do { - if (r11 == 2582) { - while (1) { - r11 = 0; - r34 = r37 + 1 | 0; - if ((r34 | 0) == (r9 | 0)) { - r39 = r9; - break; - } - r30 = HEAP8[r34]; - if (r30 << 24 >> 24 <= -1) { - r39 = r34; - break; - } - if ((HEAP16[r36 + (r30 << 24 >> 24 << 1) >> 1] & 8192) << 16 >> 16 == 0) { - r39 = r34; - break; - } else { - r37 = r34; - r11 = 2582; - } - } - r34 = r29; - while (1) { - r30 = (r34 + 12 | 0) >> 2; - r35 = (r34 + 16 | 0) >> 2; - r40 = r34 >> 2; - r41 = (r34 | 0) == 0 ^ r26; - while (1) { - r42 = HEAP32[r30]; - if ((r42 | 0) == (HEAP32[r35] | 0)) { - r43 = FUNCTION_TABLE[HEAP32[HEAP32[r40] + 36 >> 2]](r34); - } else { - r43 = HEAPU8[r42]; - } - r42 = r43 << 24 >> 24; - if (r42 >>> 0 >= 128) { - r44 = r39; - r45 = r34; - break L2903; - } - if ((HEAP16[HEAP32[r20 >> 2] + (r42 << 1) >> 1] & 8192) << 16 >> 16 == 0) { - r44 = r39; - r45 = r34; - break L2903; - } - r42 = HEAP32[r30]; - r46 = HEAP32[r35]; - if ((r42 | 0) == (r46 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r40] + 40 >> 2]](r34) | 0) == -1) { - break; - } - r47 = HEAP32[r30]; - r48 = HEAP32[r35]; - } else { - r49 = r42 + 1 | 0; - HEAP32[r30] = r49; - r47 = r49; - r48 = r46; - } - if ((r47 | 0) == (r48 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r40] + 36 >> 2]](r34) | 0) == -1) { - break; - } - } - if (!r41) { - r44 = r39; - r45 = r34; - break L2903; - } - } - if (r26) { - r44 = r39; - r45 = 0; - break L2903; - } else { - r34 = 0; - } - } - } else if (r11 == 2604) { - r11 = 0; - r34 = HEAP32[r31]; - r41 = HEAP32[r32]; - do { - if ((r34 | 0) == (r41 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r33] + 40 >> 2]](r29) | 0) == -1) { - r11 = 2610; - break; - } - r50 = HEAP32[r31]; - r51 = HEAP32[r32]; - r11 = 2608; - break; - } else { - r40 = r34 + 1 | 0; - HEAP32[r31] = r40; - r50 = r40; - r51 = r41; - r11 = 2608; - break; - } - } while (0); - do { - if (r11 == 2608) { - r11 = 0; - if ((r50 | 0) != (r51 | 0)) { - r52 = r29; - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r33] + 36 >> 2]](r29) | 0) == -1) { - r11 = 2610; - break; - } else { - r52 = r29; - break; - } - } - } while (0); - if (r11 == 2610) { - r11 = 0; - r52 = 0; - } - r44 = r27 + 1 | 0; - r45 = r52; - } else if (r11 == 2571) { - r11 = 0; - r41 = r27 + 1 | 0; - if ((r41 | 0) == (r9 | 0)) { - r11 = 2572; - break L2888; - } - r34 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 36 >> 2]](r18, HEAP8[r41], 0); - if (r34 << 24 >> 24 == 69 | r34 << 24 >> 24 == 48) { - r40 = r27 + 2 | 0; - if ((r40 | 0) == (r9 | 0)) { - r11 = 2575; - break L2888; - } - r53 = r34; - r54 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 36 >> 2]](r18, HEAP8[r40], 0); - r55 = r40; - } else { - r53 = 0; - r54 = r34; - r55 = r41; - } - r41 = HEAP32[HEAP32[r22 >> 2] + 36 >> 2]; - HEAP32[r23 >> 2] = r29; - HEAP32[r24 >> 2] = r4; - FUNCTION_TABLE[r41](r14, r2, r15, r16, r5, r6, r7, r54, r53); - r44 = r55 + 1 | 0; - r45 = HEAP32[r25 >> 2]; - } - } while (0); - if ((r44 | 0) == (r9 | 0)) { - r19 = r45; - break L2886; - } - r27 = r44; - r28 = HEAP32[r10]; - r29 = r45; - } - if (r11 == 2572) { - HEAP32[r10] = 4; - r19 = r29; - break; - } else if (r11 == 2575) { - HEAP32[r10] = 4; - r19 = r29; - break; - } else if (r11 == 2569) { - HEAP32[r10] = 4; - r19 = r29; - break; - } - } - } while (0); - if ((r19 | 0) == 0 ^ (r4 | 0) == 0) { - r56 = r1 | 0; - HEAP32[r56 >> 2] = r19; - STACKTOP = r12; - return; - } - HEAP32[r10] = HEAP32[r10] | 2; - r56 = r1 | 0; - HEAP32[r56 >> 2] = r19; - STACKTOP = r12; - return; -} -__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_["X"] = 1; -function __ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9; - r8 = STACKTOP; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r1, r2, HEAP32[r3 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264456, 5264464); - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r10 = HEAP32[r9 >> 2]; - __ZNKSt3__16locale9use_facetERNS0_2idE(r10, 5273668); - __ZNSt3__16localeD1Ev(r10); - r10 = r2 + 8 | 0; - r9 = FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 20 >> 2]](r10); - r10 = HEAP8[r9]; - if ((r10 & 1) << 24 >> 24 == 0) { - r11 = r9 + 1 | 0; - } else { - r11 = HEAP32[r9 + 8 >> 2]; - } - r12 = r10 & 255; - if ((r12 & 1 | 0) == 0) { - r13 = r12 >>> 1; - } else { - r13 = HEAP32[r9 + 4 >> 2]; - } - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r1, r2, HEAP32[r3 >> 2], HEAP32[r4 >> 2], r5, r6, r7, r11, r11 + r13 | 0); - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r5 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273668); - __ZNSt3__16localeD1Ev(r5); - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE(r2, r7 + 24 | 0, r3, HEAP32[r4 >> 2], r6, r9); - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5, r6) { - var r7; - r7 = r1 + 8 | 0; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] >> 2]](r7); - r7 = __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, r4, r1, r1 + 168 | 0, r6, r5, 0) - r1 | 0; - if ((r7 | 0) >= 168) { - return; - } - HEAP32[r2 >> 2] = ((r7 | 0) / 12 & -1 | 0) % 7; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r5 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273668); - __ZNSt3__16localeD1Ev(r5); - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE(r2, r7 + 16 | 0, r3, HEAP32[r4 >> 2], r6, r9); - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5, r6) { - var r7; - r7 = r1 + 8 | 0; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 4 >> 2]](r7); - r7 = __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, r4, r1, r1 + 288 | 0, r6, r5, 0) - r1 | 0; - if ((r7 | 0) >= 288) { - return; - } - HEAP32[r2 >> 2] = ((r7 | 0) / 12 & -1 | 0) % 12; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2; - __ZNKSt3__18ios_base6getlocEv(r8, r5); - r5 = HEAP32[r8 >> 2]; - r8 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273668); - __ZNSt3__16localeD1Ev(r5); - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 20 | 0, r3, HEAP32[r4 >> 2], r6, r8); - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r2; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6, r7; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 4); - if ((HEAP32[r4 >> 2] & 4 | 0) != 0) { - return; - } - if ((r6 | 0) < 69) { - r7 = r6 + 2e3 | 0; - } else { - r7 = (r6 - 69 | 0) >>> 0 < 31 ? r6 + 1900 | 0 : r6; - } - HEAP32[r1 >> 2] = r7 - 1900 | 0; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - var r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r9 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r10 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r10 >> 2]; - r10 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r10 >> 2]; - r10 = r9; - r11 = r9 + 4; - r12 = r9 + 8; - r13 = r9 + 12; - r14 = r9 + 16; - r15 = r9 + 20; - r16 = r9 + 24; - r17 = r9 + 28; - r18 = r9 + 32; - r19 = r9 + 36; - HEAP32[r6 >> 2] = 0; - __ZNKSt3__18ios_base6getlocEv(r10, r5); - r20 = HEAP32[r10 >> 2]; - r10 = __ZNKSt3__16locale9use_facetERNS0_2idE(r20, 5273668); - __ZNSt3__16localeD1Ev(r20); - r20 = r8 << 24 >> 24; - if ((r20 | 0) == 98 | (r20 | 0) == 66 | (r20 | 0) == 104) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE(r2, r7 + 16 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 106) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 28 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 70) { - r8 = r3 | 0; - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r13, r2, HEAP32[r8 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264440, 5264448); - HEAP32[r8 >> 2] = HEAP32[r13 >> 2]; - } else if ((r20 | 0) == 99) { - r13 = r2 + 8 | 0; - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 12 >> 2]](r13); - r13 = r3 | 0; - r21 = HEAP8[r8]; - if ((r21 & 1) << 24 >> 24 == 0) { - r22 = r8 + 1 | 0; - } else { - r22 = HEAP32[r8 + 8 >> 2]; - } - r23 = r21 & 255; - if ((r23 & 1 | 0) == 0) { - r24 = r23 >>> 1; - } else { - r24 = HEAP32[r8 + 4 >> 2]; - } - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r11, r2, HEAP32[r13 >> 2], HEAP32[r4 >> 2], r5, r6, r7, r22, r22 + r24 | 0); - HEAP32[r13 >> 2] = HEAP32[r11 >> 2]; - } else if ((r20 | 0) == 83) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE(r7 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 68) { - r11 = r3 | 0; - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r12, r2, HEAP32[r11 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264448, 5264456); - HEAP32[r11 >> 2] = HEAP32[r12 >> 2]; - } else if ((r20 | 0) == 97 | (r20 | 0) == 65) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE(r2, r7 + 24 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 73) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 8 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 82) { - r12 = r3 | 0; - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r15, r2, HEAP32[r12 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264420, 5264425); - HEAP32[r12 >> 2] = HEAP32[r15 >> 2]; - } else if ((r20 | 0) == 109) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 16 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 114) { - r15 = r3 | 0; - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r14, r2, HEAP32[r15 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264428, 5264439); - HEAP32[r15 >> 2] = HEAP32[r14 >> 2]; - } else if ((r20 | 0) == 112) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE(r2, r7 + 8 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 121) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 20 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 88) { - r14 = r2 + 8 | 0; - r15 = FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 24 >> 2]](r14); - r14 = r3 | 0; - r12 = HEAP8[r15]; - if ((r12 & 1) << 24 >> 24 == 0) { - r25 = r15 + 1 | 0; - } else { - r25 = HEAP32[r15 + 8 >> 2]; - } - r11 = r12 & 255; - if ((r11 & 1 | 0) == 0) { - r26 = r11 >>> 1; - } else { - r26 = HEAP32[r15 + 4 >> 2]; - } - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r19, r2, HEAP32[r14 >> 2], HEAP32[r4 >> 2], r5, r6, r7, r25, r25 + r26 | 0); - HEAP32[r14 >> 2] = HEAP32[r19 >> 2]; - } else if ((r20 | 0) == 84) { - r19 = r3 | 0; - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_(r16, r2, HEAP32[r19 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264412, 5264420); - HEAP32[r19 >> 2] = HEAP32[r16 >> 2]; - } else if ((r20 | 0) == 119) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 24 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 120) { - r16 = HEAP32[HEAP32[r2 >> 2] + 20 >> 2]; - HEAP32[r17 >> 2] = HEAP32[r3 >> 2]; - HEAP32[r18 >> 2] = HEAP32[r4 >> 2]; - FUNCTION_TABLE[r16](r1, r2, r17, r18, r5, r6, r7); - STACKTOP = r9; - return; - } else if ((r20 | 0) == 72) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 8 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 110 | (r20 | 0) == 116) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE(r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 77) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 4 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 100 | (r20 | 0) == 101) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 12 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 89) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE(r7 + 20 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 37) { - __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE(r3, HEAP32[r4 >> 2], r6, r10); - } else { - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 4; - } - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r9; - return; -} -__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc["X"] = 1; -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 & 4 | 0) == 0) { - if ((r6 - 1 | 0) >>> 0 >= 31) { - break; - } - HEAP32[r1 >> 2] = r6; - return; - } - } while (0); - HEAP32[r4 >> 2] = r5 | 4; - return; -} -function __ZNSt3__120__time_get_c_storageIwEC2Ev() { - HEAP32[1315956] = 5265996; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 24) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 & 4 | 0) == 0) { - if ((r6 - 1 | 0) >>> 0 >= 12) { - break; - } - HEAP32[r1 >> 2] = r6; - return; - } - } while (0); - HEAP32[r4 >> 2] = r5 | 4; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 3); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 366) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2) - 1 | 0; - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 12) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 60) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r5 = 0; - r6 = r4 + 8 | 0; - r4 = (r1 | 0) >> 2; - r1 = HEAP32[r4]; - r7 = (r2 | 0) == 0; - L3079 : do { - if ((r1 | 0) == 0 ^ r7) { - r2 = r1, r8 = r2 >> 2; - while (1) { - r9 = HEAP32[r8 + 3]; - if ((r9 | 0) == (HEAP32[r8 + 4] | 0)) { - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r8] + 36 >> 2]](r2); - } else { - r10 = HEAPU8[r9]; - } - r9 = r10 << 24 >> 24; - if (r9 >>> 0 >= 128) { - break; - } - if ((HEAP16[HEAP32[r6 >> 2] + (r9 << 1) >> 1] & 8192) << 16 >> 16 == 0) { - break; - } - r9 = HEAP32[r4]; - r11 = (r9 + 12 | 0) >> 2; - r12 = HEAP32[r11]; - r13 = r9 + 16 | 0; - r14 = HEAP32[r13 >> 2]; - do { - if ((r12 | 0) == (r14 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 40 >> 2]](r9) | 0) == -1) { - r5 = 2751; - break; - } - r15 = HEAP32[r11]; - r16 = HEAP32[r13 >> 2]; - r5 = 2749; - break; - } else { - r17 = r12 + 1 | 0; - HEAP32[r11] = r17; - r15 = r17; - r16 = r14; - r5 = 2749; - break; - } - } while (0); - do { - if (r5 == 2749) { - r5 = 0; - if ((r15 | 0) != (r16 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 36 >> 2]](r9) | 0) == -1) { - r5 = 2751; - break; - } else { - break; - } - } - } while (0); - if (r5 == 2751) { - r5 = 0; - HEAP32[r4] = 0; - } - r9 = HEAP32[r4]; - if ((r9 | 0) == 0 ^ r7) { - r2 = r9, r8 = r2 >> 2; - } else { - r18 = r9; - break L3079; - } - } - r18 = HEAP32[r4]; - } else { - r18 = r1; - } - } while (0); - if ((r18 | 0) == 0 ^ r7) { - return; - } - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] | 2; - return; -} -__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE["X"] = 1; -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9; - r7 = r1 + 8 | 0; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 8 >> 2]](r7); - r7 = HEAPU8[r1]; - if ((r7 & 1 | 0) == 0) { - r8 = r7 >>> 1; - } else { - r8 = HEAP32[r1 + 4 >> 2]; - } - r7 = HEAPU8[r1 + 12 | 0]; - if ((r7 & 1 | 0) == 0) { - r9 = r7 >>> 1; - } else { - r9 = HEAP32[r1 + 16 >> 2]; - } - if ((r8 | 0) == (-r9 | 0)) { - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] | 4; - return; - } - r9 = __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, r4, r1, r1 + 24 | 0, r6, r5, 0); - r5 = r9 - r1 | 0; - do { - if ((r9 | 0) == (r1 | 0)) { - if ((HEAP32[r2 >> 2] | 0) != 12) { - break; - } - HEAP32[r2 >> 2] = 0; - return; - } - } while (0); - if ((r5 | 0) != 12) { - return; - } - r5 = HEAP32[r2 >> 2]; - if ((r5 | 0) >= 12) { - return; - } - HEAP32[r2 >> 2] = r5 + 12 | 0; - return; -} -__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE["X"] = 1; -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 61) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 1); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 7) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 4); - if ((HEAP32[r4 >> 2] & 4 | 0) != 0) { - return; - } - HEAP32[r1 >> 2] = r6 - 1900 | 0; - return; -} -function __ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12; - r5 = r3 >> 2; - r3 = 0; - r6 = (r1 | 0) >> 2; - r1 = HEAP32[r6], r7 = r1 >> 2; - r8 = (r2 | 0) == 0; - if (!((r1 | 0) == 0 ^ r8)) { - HEAP32[r5] = HEAP32[r5] | 6; - return; - } - r2 = HEAP32[r7 + 3]; - if ((r2 | 0) == (HEAP32[r7 + 4] | 0)) { - r9 = FUNCTION_TABLE[HEAP32[HEAP32[r7] + 36 >> 2]](r1); - } else { - r9 = HEAPU8[r2]; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 36 >> 2]](r4, r9 & 255, 0) << 24 >> 24 != 37) { - HEAP32[r5] = HEAP32[r5] | 4; - return; - } - r9 = HEAP32[r6]; - r4 = (r9 + 12 | 0) >> 2; - r2 = HEAP32[r4]; - r1 = r9 + 16 | 0; - r7 = HEAP32[r1 >> 2]; - do { - if ((r2 | 0) == (r7 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 40 >> 2]](r9) | 0) == -1) { - r3 = 2809; - break; - } - r10 = HEAP32[r4]; - r11 = HEAP32[r1 >> 2]; - r3 = 2807; - break; - } else { - r12 = r2 + 1 | 0; - HEAP32[r4] = r12; - r10 = r12; - r11 = r7; - r3 = 2807; - break; - } - } while (0); - do { - if (r3 == 2807) { - if ((r10 | 0) != (r11 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 36 >> 2]](r9) | 0) == -1) { - r3 = 2809; - break; - } else { - break; - } - } - } while (0); - if (r3 == 2809) { - HEAP32[r6] = 0; - } - if ((HEAP32[r6] | 0) == 0 ^ r8) { - return; - } - HEAP32[r5] = HEAP32[r5] | 2; - return; -} -__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE["X"] = 1; -function __ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r6 = r3 >> 2; - r3 = 0; - r7 = (r1 | 0) >> 2; - r1 = HEAP32[r7], r8 = r1 >> 2; - r9 = (r2 | 0) == 0; - if (!((r1 | 0) == 0 ^ r9)) { - HEAP32[r6] = HEAP32[r6] | 6; - r10 = 0; - return r10; - } - r2 = HEAP32[r8 + 3]; - if ((r2 | 0) == (HEAP32[r8 + 4] | 0)) { - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r8] + 36 >> 2]](r1); - } else { - r11 = HEAPU8[r2]; - } - r2 = r11 & 255; - r1 = r11 << 24 >> 24; - do { - if (r1 >>> 0 < 128) { - r11 = r4 + 8 | 0; - if ((HEAP16[HEAP32[r11 >> 2] + (r1 << 1) >> 1] & 2048) << 16 >> 16 == 0) { - break; - } - r8 = r4; - r12 = FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 36 >> 2]](r4, r2, 0) << 24 >> 24; - r13 = HEAP32[r7]; - r14 = (r13 + 12 | 0) >> 2; - r15 = HEAP32[r14]; - r16 = r13 + 16 | 0; - r17 = HEAP32[r16 >> 2]; - do { - if ((r15 | 0) == (r17 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 40 >> 2]](r13) | 0) == -1) { - r3 = 2831; - break; - } - r18 = HEAP32[r14]; - r19 = HEAP32[r16 >> 2]; - r3 = 2829; - break; - } else { - r20 = r15 + 1 | 0; - HEAP32[r14] = r20; - r18 = r20; - r19 = r17; - r3 = 2829; - break; - } - } while (0); - do { - if (r3 == 2829) { - if ((r18 | 0) != (r19 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 36 >> 2]](r13) | 0) == -1) { - r3 = 2831; - break; - } else { - break; - } - } - } while (0); - if (r3 == 2831) { - HEAP32[r7] = 0; - } - r13 = r12 - 48 | 0; - r17 = r5 - 1 | 0; - r14 = HEAP32[r7]; - r15 = (r14 | 0) == 0 ^ r9; - L3195 : do { - if (r15 & (r17 | 0) > 0) { - r16 = r13; - r20 = r17; - r21 = r14, r22 = r21 >> 2; - while (1) { - r23 = HEAP32[r22 + 3]; - if ((r23 | 0) == (HEAP32[r22 + 4] | 0)) { - r24 = FUNCTION_TABLE[HEAP32[HEAP32[r22] + 36 >> 2]](r21); - } else { - r24 = HEAPU8[r23]; - } - r23 = r24 << 24 >> 24; - if (r23 >>> 0 >= 128) { - r10 = r16; - r3 = 2851; - break; - } - if ((HEAP16[HEAP32[r11 >> 2] + (r23 << 1) >> 1] & 2048) << 16 >> 16 == 0) { - r10 = r16; - r3 = 2854; - break; - } - r23 = (FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 36 >> 2]](r4, r24 & 255, 0) << 24 >> 24) + (r16 * 10 & -1) | 0; - r25 = HEAP32[r7]; - r26 = (r25 + 12 | 0) >> 2; - r27 = HEAP32[r26]; - r28 = r25 + 16 | 0; - r29 = HEAP32[r28 >> 2]; - do { - if ((r27 | 0) == (r29 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 40 >> 2]](r25) | 0) == -1) { - r3 = 2844; - break; - } - r30 = HEAP32[r26]; - r31 = HEAP32[r28 >> 2]; - r3 = 2842; - break; - } else { - r32 = r27 + 1 | 0; - HEAP32[r26] = r32; - r30 = r32; - r31 = r29; - r3 = 2842; - break; - } - } while (0); - do { - if (r3 == 2842) { - r3 = 0; - if ((r30 | 0) != (r31 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 36 >> 2]](r25) | 0) == -1) { - r3 = 2844; - break; - } else { - break; - } - } - } while (0); - if (r3 == 2844) { - r3 = 0; - HEAP32[r7] = 0; - } - r25 = r23 - 48 | 0; - r29 = r20 - 1 | 0; - r26 = HEAP32[r7]; - r27 = (r26 | 0) == 0 ^ r9; - if (r27 & (r29 | 0) > 0) { - r16 = r25; - r20 = r29; - r21 = r26, r22 = r21 >> 2; - } else { - r33 = r25; - r34 = r27; - break L3195; - } - } - if (r3 == 2854) { - return r10; - } else if (r3 == 2851) { - return r10; - } - } else { - r33 = r13; - r34 = r15; - } - } while (0); - if (r34) { - r10 = r33; - return r10; - } - HEAP32[r6] = HEAP32[r6] | 2; - r10 = r33; - return r10; - } - } while (0); - HEAP32[r6] = HEAP32[r6] | 4; - r10 = 0; - return r10; -} -__ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi["X"] = 1; -function __ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev(r1) { - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv(r1) { - return 2; -} -function ___cxx_global_var_init151068() { - if (HEAP8[5274464] << 24 >> 24 != 0) { - return; - } - HEAP32[1318616] = 1; - HEAP32[1318617] = 0; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - var r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54; - r10 = r6 >> 2; - r11 = 0; - r12 = STACKTOP; - STACKTOP = STACKTOP + 16 | 0; - r13 = r12; - r14 = r12 + 4; - r15 = r12 + 8; - r16 = r12 + 12; - __ZNKSt3__18ios_base6getlocEv(r13, r5); - r17 = HEAP32[r13 >> 2]; - r13 = __ZNKSt3__16locale9use_facetERNS0_2idE(r17, 5273660); - r18 = r13; - __ZNSt3__16localeD1Ev(r17); - HEAP32[r10] = 0; - L9 : do { - if ((r8 | 0) == (r9 | 0)) { - r19 = r3; - } else { - r17 = r13 >> 2; - r20 = r13 >> 2; - r21 = r13; - r22 = r2; - r23 = r15 | 0; - r24 = r16 | 0; - r25 = r14 | 0; - r26 = (r4 | 0) == 0; - r27 = r8, r28 = r27 >> 2; - r29 = 0; - r30 = r3; - L11 : while (1) { - r31 = (r30 | 0) == 0 ^ r26; - r32 = (r30 + 12 | 0) >> 2; - r33 = (r30 + 16 | 0) >> 2; - r34 = r30 >> 2; - r35 = r29; - while (1) { - if ((r35 | 0) != 0) { - r19 = r30; - break L9; - } - if (!r31) { - r11 = 14; - break L11; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r17] + 52 >> 2]](r18, HEAP32[r28], 0) << 24 >> 24 == 37) { - r11 = 16; - break; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r20] + 12 >> 2]](r18, 8192, HEAP32[r28])) { - r36 = r27; - r11 = 26; - break; - } - r37 = HEAP32[r32]; - if ((r37 | 0) == (HEAP32[r33] | 0)) { - r38 = FUNCTION_TABLE[HEAP32[HEAP32[r34] + 36 >> 2]](r30); - } else { - r38 = HEAP32[r37 >> 2]; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r21 >> 2] + 28 >> 2]](r18, r38) | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r21 >> 2] + 28 >> 2]](r18, HEAP32[r28]) | 0)) { - r11 = 48; - break; - } - HEAP32[r10] = 4; - r35 = 4; - } - L24 : do { - if (r11 == 16) { - r11 = 0; - r35 = r27 + 4 | 0; - if ((r35 | 0) == (r9 | 0)) { - r11 = 17; - break L11; - } - r31 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 52 >> 2]](r18, HEAP32[r35 >> 2], 0); - if (r31 << 24 >> 24 == 69 | r31 << 24 >> 24 == 48) { - r37 = r27 + 8 | 0; - if ((r37 | 0) == (r9 | 0)) { - r11 = 20; - break L11; - } - r39 = r31; - r40 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 52 >> 2]](r18, HEAP32[r37 >> 2], 0); - r41 = r37; - } else { - r39 = 0; - r40 = r31; - r41 = r35; - } - r35 = HEAP32[HEAP32[r22 >> 2] + 36 >> 2]; - HEAP32[r23 >> 2] = r30; - HEAP32[r24 >> 2] = r4; - FUNCTION_TABLE[r35](r14, r2, r15, r16, r5, r6, r7, r40, r39); - r42 = r41 + 4 | 0; - r43 = HEAP32[r25 >> 2]; - } else if (r11 == 26) { - while (1) { - r11 = 0; - r35 = r36 + 4 | 0; - if ((r35 | 0) == (r9 | 0)) { - r44 = r9; - break; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r20] + 12 >> 2]](r18, 8192, HEAP32[r35 >> 2])) { - r36 = r35; - r11 = 26; - } else { - r44 = r35; - break; - } - } - r35 = r30; - while (1) { - r31 = (r35 + 12 | 0) >> 2; - r37 = (r35 + 16 | 0) >> 2; - r45 = r35 >> 2; - r46 = (r35 | 0) == 0 ^ r26; - while (1) { - r47 = HEAP32[r31]; - if ((r47 | 0) == (HEAP32[r37] | 0)) { - r48 = FUNCTION_TABLE[HEAP32[HEAP32[r45] + 36 >> 2]](r35); - } else { - r48 = HEAP32[r47 >> 2]; - } - if (!FUNCTION_TABLE[HEAP32[HEAP32[r20] + 12 >> 2]](r18, 8192, r48)) { - r42 = r44; - r43 = r35; - break L24; - } - r47 = HEAP32[r31]; - if ((r47 | 0) == (HEAP32[r37] | 0)) { - r49 = FUNCTION_TABLE[HEAP32[HEAP32[r45] + 40 >> 2]](r35); - } else { - HEAP32[r31] = r47 + 4 | 0; - r49 = HEAP32[r47 >> 2]; - } - if ((r49 | 0) == -1) { - break; - } - r47 = HEAP32[r31]; - if ((r47 | 0) == (HEAP32[r37] | 0)) { - r50 = FUNCTION_TABLE[HEAP32[HEAP32[r45] + 36 >> 2]](r35); - } else { - r50 = HEAP32[r47 >> 2]; - } - if ((r50 | 0) == -1) { - break; - } - if (!r46) { - r42 = r44; - r43 = r35; - break L24; - } - } - if (r26) { - r42 = r44; - r43 = 0; - break L24; - } else { - r35 = 0; - } - } - } else if (r11 == 48) { - r11 = 0; - r35 = HEAP32[r32]; - if ((r35 | 0) == (HEAP32[r33] | 0)) { - r51 = FUNCTION_TABLE[HEAP32[HEAP32[r34] + 40 >> 2]](r30); - } else { - HEAP32[r32] = r35 + 4 | 0; - r51 = HEAP32[r35 >> 2]; - } - do { - if ((r51 | 0) == -1) { - r11 = 56; - } else { - r35 = HEAP32[r32]; - if ((r35 | 0) == (HEAP32[r33] | 0)) { - r52 = FUNCTION_TABLE[HEAP32[HEAP32[r34] + 36 >> 2]](r30); - } else { - r52 = HEAP32[r35 >> 2]; - } - if ((r52 | 0) == -1) { - r11 = 56; - break; - } else { - r53 = r30; - break; - } - } - } while (0); - if (r11 == 56) { - r11 = 0; - r53 = 0; - } - r42 = r27 + 4 | 0; - r43 = r53; - } - } while (0); - if ((r42 | 0) == (r9 | 0)) { - r19 = r43; - break L9; - } - r27 = r42, r28 = r27 >> 2; - r29 = HEAP32[r10]; - r30 = r43; - } - if (r11 == 14) { - HEAP32[r10] = 4; - r19 = r30; - break; - } else if (r11 == 17) { - HEAP32[r10] = 4; - r19 = r30; - break; - } else if (r11 == 20) { - HEAP32[r10] = 4; - r19 = r30; - break; - } - } - } while (0); - if ((r19 | 0) == 0 ^ (r4 | 0) == 0) { - r54 = r1 | 0; - HEAP32[r54 >> 2] = r19; - STACKTOP = r12; - return; - } - HEAP32[r10] = HEAP32[r10] | 2; - r54 = r1 | 0; - HEAP32[r54 >> 2] = r19; - STACKTOP = r12; - return; -} -__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_["X"] = 1; -function __ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9; - r8 = STACKTOP; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r1, r2, HEAP32[r3 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264380, 5264412); - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r10 = HEAP32[r9 >> 2]; - __ZNKSt3__16locale9use_facetERNS0_2idE(r10, 5273660); - __ZNSt3__16localeD1Ev(r10); - r10 = r2 + 8 | 0; - r9 = FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 20 >> 2]](r10); - r10 = HEAP8[r9]; - if ((r10 & 1) << 24 >> 24 == 0) { - r11 = r9 + 4 | 0; - } else { - r11 = HEAP32[r9 + 8 >> 2]; - } - r12 = r10 & 255; - if ((r12 & 1 | 0) == 0) { - r13 = r12 >>> 1; - } else { - r13 = HEAP32[r9 + 4 >> 2]; - } - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r1, r2, HEAP32[r3 >> 2], HEAP32[r4 >> 2], r5, r6, r7, r11, (r13 << 2) + r11 | 0); - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r5 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273660); - __ZNSt3__16localeD1Ev(r5); - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE(r2, r7 + 24 | 0, r3, HEAP32[r4 >> 2], r6, r9); - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5, r6) { - var r7; - r7 = r1 + 8 | 0; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] >> 2]](r7); - r7 = __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, r4, r1, r1 + 168 | 0, r6, r5, 0) - r1 | 0; - if ((r7 | 0) >= 168) { - return; - } - HEAP32[r2 >> 2] = ((r7 | 0) / 12 & -1 | 0) % 7; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9; - r8 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r5 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273660); - __ZNSt3__16localeD1Ev(r5); - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE(r2, r7 + 16 | 0, r3, HEAP32[r4 >> 2], r6, r9); - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r8; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5, r6) { - var r7; - r7 = r1 + 8 | 0; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 4 >> 2]](r7); - r7 = __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, r4, r1, r1 + 288 | 0, r6, r5, 0) - r1 | 0; - if ((r7 | 0) >= 288) { - return; - } - HEAP32[r2 >> 2] = ((r7 | 0) / 12 & -1 | 0) % 12; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm(r1, r2, r3, r4, r5, r6, r7) { - var r8; - r2 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r8 >> 2]; - r8 = r2; - __ZNKSt3__18ios_base6getlocEv(r8, r5); - r5 = HEAP32[r8 >> 2]; - r8 = __ZNKSt3__16locale9use_facetERNS0_2idE(r5, 5273660); - __ZNSt3__16localeD1Ev(r5); - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 20 | 0, r3, HEAP32[r4 >> 2], r6, r8); - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r2; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6, r7; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 4); - if ((HEAP32[r4 >> 2] & 4 | 0) != 0) { - return; - } - if ((r6 | 0) < 69) { - r7 = r6 + 2e3 | 0; - } else { - r7 = (r6 - 69 | 0) >>> 0 < 31 ? r6 + 1900 | 0 : r6; - } - HEAP32[r1 >> 2] = r7 - 1900 | 0; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc(r1, r2, r3, r4, r5, r6, r7, r8, r9) { - var r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24; - r9 = STACKTOP; - STACKTOP = STACKTOP + 40 | 0; - r10 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r10 >> 2]; - r10 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r10 >> 2]; - r10 = r9; - r11 = r9 + 4; - r12 = r9 + 8; - r13 = r9 + 12; - r14 = r9 + 16; - r15 = r9 + 20; - r16 = r9 + 24; - r17 = r9 + 28; - r18 = r9 + 32; - r19 = r9 + 36; - HEAP32[r6 >> 2] = 0; - __ZNKSt3__18ios_base6getlocEv(r10, r5); - r20 = HEAP32[r10 >> 2]; - r10 = __ZNKSt3__16locale9use_facetERNS0_2idE(r20, 5273660); - __ZNSt3__16localeD1Ev(r20); - r20 = r8 << 24 >> 24; - if ((r20 | 0) == 109) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 16 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 77) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 4 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 110 | (r20 | 0) == 116) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE(r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 112) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE(r2, r7 + 8 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 114) { - r8 = r3 | 0; - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r14, r2, HEAP32[r8 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264272, 5264316); - HEAP32[r8 >> 2] = HEAP32[r14 >> 2]; - } else if ((r20 | 0) == 82) { - r14 = r3 | 0; - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r15, r2, HEAP32[r14 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264252, 5264272); - HEAP32[r14 >> 2] = HEAP32[r15 >> 2]; - } else if ((r20 | 0) == 83) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE(r7 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 84) { - r15 = r3 | 0; - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r16, r2, HEAP32[r15 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264220, 5264252); - HEAP32[r15 >> 2] = HEAP32[r16 >> 2]; - } else if ((r20 | 0) == 119) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 24 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 120) { - r16 = HEAP32[HEAP32[r2 >> 2] + 20 >> 2]; - HEAP32[r17 >> 2] = HEAP32[r3 >> 2]; - HEAP32[r18 >> 2] = HEAP32[r4 >> 2]; - FUNCTION_TABLE[r16](r1, r2, r17, r18, r5, r6, r7); - STACKTOP = r9; - return; - } else if ((r20 | 0) == 88) { - r18 = r2 + 8 | 0; - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r18 >> 2] + 24 >> 2]](r18); - r18 = r3 | 0; - r16 = HEAP8[r17]; - if ((r16 & 1) << 24 >> 24 == 0) { - r21 = r17 + 4 | 0; - } else { - r21 = HEAP32[r17 + 8 >> 2]; - } - r15 = r16 & 255; - if ((r15 & 1 | 0) == 0) { - r22 = r15 >>> 1; - } else { - r22 = HEAP32[r17 + 4 >> 2]; - } - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r19, r2, HEAP32[r18 >> 2], HEAP32[r4 >> 2], r5, r6, r7, r21, (r22 << 2) + r21 | 0); - HEAP32[r18 >> 2] = HEAP32[r19 >> 2]; - } else if ((r20 | 0) == 121) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 20 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 89) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 20 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 37) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE(r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 73) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 8 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 70) { - r19 = r3 | 0; - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r13, r2, HEAP32[r19 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264316, 5264348); - HEAP32[r19 >> 2] = HEAP32[r13 >> 2]; - } else if ((r20 | 0) == 72) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 8 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 106) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 28 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 97 | (r20 | 0) == 65) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE(r2, r7 + 24 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 98 | (r20 | 0) == 66 | (r20 | 0) == 104) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE(r2, r7 + 16 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 99) { - r13 = r2 + 8 | 0; - r19 = FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 12 >> 2]](r13); - r13 = r3 | 0; - r18 = HEAP8[r19]; - if ((r18 & 1) << 24 >> 24 == 0) { - r23 = r19 + 4 | 0; - } else { - r23 = HEAP32[r19 + 8 >> 2]; - } - r21 = r18 & 255; - if ((r21 & 1 | 0) == 0) { - r24 = r21 >>> 1; - } else { - r24 = HEAP32[r19 + 4 >> 2]; - } - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r11, r2, HEAP32[r13 >> 2], HEAP32[r4 >> 2], r5, r6, r7, r23, (r24 << 2) + r23 | 0); - HEAP32[r13 >> 2] = HEAP32[r11 >> 2]; - } else if ((r20 | 0) == 100 | (r20 | 0) == 101) { - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE(r7 + 12 | 0, r3, HEAP32[r4 >> 2], r6, r10); - } else if ((r20 | 0) == 68) { - r20 = r3 | 0; - __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_(r12, r2, HEAP32[r20 >> 2], HEAP32[r4 >> 2], r5, r6, r7, 5264348, 5264380); - HEAP32[r20 >> 2] = HEAP32[r12 >> 2]; - } else { - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] | 4; - } - HEAP32[r1 >> 2] = HEAP32[r3 >> 2]; - STACKTOP = r9; - return; -} -__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc["X"] = 1; -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 & 4 | 0) == 0) { - if ((r6 - 1 | 0) >>> 0 >= 31) { - break; - } - HEAP32[r1 >> 2] = r6; - return; - } - } while (0); - HEAP32[r4 >> 2] = r5 | 4; - return; -} -function ___cxx_global_var_init20() { - if (HEAP8[5274456] << 24 >> 24 != 0) { - return; - } - HEAP32[1318614] = 1; - HEAP32[1318615] = 0; - return; -} -function ___cxx_global_var_init21() { - if (HEAP8[5274448] << 24 >> 24 != 0) { - return; - } - HEAP32[1318612] = 1; - HEAP32[1318613] = 0; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 24) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - do { - if ((r5 & 4 | 0) == 0) { - if ((r6 - 1 | 0) >>> 0 >= 12) { - break; - } - HEAP32[r1 >> 2] = r6; - return; - } - } while (0); - HEAP32[r4 >> 2] = r5 | 4; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 3); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 366) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2) - 1 | 0; - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 12) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 60) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r5 = 0; - r6 = (r1 | 0) >> 2; - r1 = HEAP32[r6]; - r7 = (r2 | 0) == 0; - L212 : do { - if ((r1 | 0) == 0 ^ r7) { - r2 = r4; - r8 = r1, r9 = r8 >> 2; - L214 : while (1) { - r10 = HEAP32[r9 + 3]; - if ((r10 | 0) == (HEAP32[r9 + 4] | 0)) { - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r9] + 36 >> 2]](r8); - } else { - r11 = HEAP32[r10 >> 2]; - } - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 12 >> 2]](r4, 8192, r11); - r12 = HEAP32[r6]; - if (!r10) { - r13 = r12; - r5 = 210; - break L212; - } - r10 = (r12 + 12 | 0) >> 2; - r14 = HEAP32[r10]; - r15 = r12 + 16 | 0; - if ((r14 | 0) == (HEAP32[r15 >> 2] | 0)) { - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 40 >> 2]](r12); - } else { - HEAP32[r10] = r14 + 4 | 0; - r16 = HEAP32[r14 >> 2]; - } - do { - if ((r16 | 0) != -1) { - r14 = HEAP32[r10]; - if ((r14 | 0) == (HEAP32[r15 >> 2] | 0)) { - r17 = FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 36 >> 2]](r12); - } else { - r17 = HEAP32[r14 >> 2]; - } - if ((r17 | 0) == -1) { - break; - } - r14 = HEAP32[r6]; - if ((r14 | 0) == 0 ^ r7) { - r8 = r14, r9 = r8 >> 2; - continue L214; - } else { - r13 = r14; - r5 = 210; - break L212; - } - } - } while (0); - HEAP32[r6] = 0; - if (r7) { - break L212; - } else { - r8 = 0, r9 = r8 >> 2; - } - } - } else { - r13 = r1; - r5 = 210; - } - } while (0); - do { - if (r5 == 210) { - if (!((r13 | 0) == 0 ^ r7)) { - break; - } - return; - } - } while (0); - HEAP32[r3 >> 2] = HEAP32[r3 >> 2] | 2; - return; -} -__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE["X"] = 1; -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9; - r7 = r1 + 8 | 0; - r1 = FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 8 >> 2]](r7); - r7 = HEAPU8[r1]; - if ((r7 & 1 | 0) == 0) { - r8 = r7 >>> 1; - } else { - r8 = HEAP32[r1 + 4 >> 2]; - } - r7 = HEAPU8[r1 + 12 | 0]; - if ((r7 & 1 | 0) == 0) { - r9 = r7 >>> 1; - } else { - r9 = HEAP32[r1 + 16 >> 2]; - } - if ((r8 | 0) == (-r9 | 0)) { - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] | 4; - return; - } - r9 = __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb(r3, r4, r1, r1 + 24 | 0, r6, r5, 0); - r5 = r9 - r1 | 0; - do { - if ((r9 | 0) == (r1 | 0)) { - if ((HEAP32[r2 >> 2] | 0) != 12) { - break; - } - HEAP32[r2 >> 2] = 0; - return; - } - } while (0); - if ((r5 | 0) != 12) { - return; - } - r5 = HEAP32[r2 >> 2]; - if ((r5 | 0) >= 12) { - return; - } - HEAP32[r2 >> 2] = r5 + 12 | 0; - return; -} -__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE["X"] = 1; -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 2); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 61) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 1); - r5 = HEAP32[r4 >> 2]; - if ((r5 & 4 | 0) == 0 & (r6 | 0) < 7) { - HEAP32[r1 >> 2] = r6; - return; - } else { - HEAP32[r4 >> 2] = r5 | 4; - return; - } -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4, r5) { - var r6; - r6 = __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r2, r3, r4, r5, 4); - if ((HEAP32[r4 >> 2] & 4 | 0) != 0) { - return; - } - HEAP32[r1 >> 2] = r6 - 1900 | 0; - return; -} -function __ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE(r1, r2, r3, r4) { - var r5, r6, r7, r8, r9, r10, r11; - r5 = r3 >> 2; - r3 = 0; - r6 = (r1 | 0) >> 2; - r1 = HEAP32[r6], r7 = r1 >> 2; - r8 = (r2 | 0) == 0; - if (!((r1 | 0) == 0 ^ r8)) { - HEAP32[r5] = HEAP32[r5] | 6; - return; - } - r2 = HEAP32[r7 + 3]; - if ((r2 | 0) == (HEAP32[r7 + 4] | 0)) { - r9 = FUNCTION_TABLE[HEAP32[HEAP32[r7] + 36 >> 2]](r1); - } else { - r9 = HEAP32[r2 >> 2]; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r4 >> 2] + 52 >> 2]](r4, r9, 0) << 24 >> 24 != 37) { - HEAP32[r5] = HEAP32[r5] | 4; - return; - } - r9 = HEAP32[r6]; - r4 = (r9 + 12 | 0) >> 2; - r2 = HEAP32[r4]; - r1 = r9 + 16 | 0; - if ((r2 | 0) == (HEAP32[r1 >> 2] | 0)) { - r10 = FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 40 >> 2]](r9); - } else { - HEAP32[r4] = r2 + 4 | 0; - r10 = HEAP32[r2 >> 2]; - } - do { - if ((r10 | 0) == -1) { - r3 = 267; - } else { - r2 = HEAP32[r4]; - if ((r2 | 0) == (HEAP32[r1 >> 2] | 0)) { - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 36 >> 2]](r9); - } else { - r11 = HEAP32[r2 >> 2]; - } - if ((r11 | 0) == -1) { - r3 = 267; - break; - } - if (!((HEAP32[r6] | 0) == 0 ^ r8)) { - break; - } - return; - } - } while (0); - do { - if (r3 == 267) { - HEAP32[r6] = 0; - if (r8) { - break; - } - return; - } - } while (0); - HEAP32[r5] = HEAP32[r5] | 2; - return; -} -__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE["X"] = 1; -function __ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27; - r6 = r3 >> 2; - r3 = 0; - r7 = (r1 | 0) >> 2; - r1 = HEAP32[r7], r8 = r1 >> 2; - r9 = (r2 | 0) == 0; - if (!((r1 | 0) == 0 ^ r9)) { - HEAP32[r6] = HEAP32[r6] | 6; - r10 = 0; - return r10; - } - r2 = HEAP32[r8 + 3]; - if ((r2 | 0) == (HEAP32[r8 + 4] | 0)) { - r11 = FUNCTION_TABLE[HEAP32[HEAP32[r8] + 36 >> 2]](r1); - } else { - r11 = HEAP32[r2 >> 2]; - } - r2 = r4; - if (!FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 12 >> 2]](r4, 2048, r11)) { - HEAP32[r6] = HEAP32[r6] | 4; - r10 = 0; - return r10; - } - r1 = r4; - r8 = FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 52 >> 2]](r4, r11, 0) << 24 >> 24; - r11 = HEAP32[r7]; - r12 = (r11 + 12 | 0) >> 2; - r13 = HEAP32[r12]; - r14 = r11 + 16 | 0; - if ((r13 | 0) == (HEAP32[r14 >> 2] | 0)) { - r15 = FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 40 >> 2]](r11); - } else { - HEAP32[r12] = r13 + 4 | 0; - r15 = HEAP32[r13 >> 2]; - } - do { - if ((r15 | 0) == -1) { - r3 = 292; - } else { - r13 = HEAP32[r12]; - if ((r13 | 0) == (HEAP32[r14 >> 2] | 0)) { - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 36 >> 2]](r11); - } else { - r16 = HEAP32[r13 >> 2]; - } - if ((r16 | 0) == -1) { - r3 = 292; - break; - } - r17 = HEAP32[r7]; - break; - } - } while (0); - if (r3 == 292) { - HEAP32[r7] = 0; - r17 = 0; - } - r16 = r8 - 48 | 0; - r8 = r5 - 1 | 0; - r5 = (r17 | 0) == 0 ^ r9; - L337 : do { - if (r5 & (r8 | 0) > 0) { - r11 = r16; - r14 = r8; - r12 = r17, r15 = r12 >> 2; - while (1) { - r13 = HEAP32[r15 + 3]; - if ((r13 | 0) == (HEAP32[r15 + 4] | 0)) { - r18 = FUNCTION_TABLE[HEAP32[HEAP32[r15] + 36 >> 2]](r12); - } else { - r18 = HEAP32[r13 >> 2]; - } - if (!FUNCTION_TABLE[HEAP32[HEAP32[r2 >> 2] + 12 >> 2]](r4, 2048, r18)) { - r10 = r11; - break; - } - r13 = (FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 52 >> 2]](r4, r18, 0) << 24 >> 24) + (r11 * 10 & -1) | 0; - r19 = HEAP32[r7]; - r20 = (r19 + 12 | 0) >> 2; - r21 = HEAP32[r20]; - r22 = r19 + 16 | 0; - if ((r21 | 0) == (HEAP32[r22 >> 2] | 0)) { - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 40 >> 2]](r19); - } else { - HEAP32[r20] = r21 + 4 | 0; - r23 = HEAP32[r21 >> 2]; - } - do { - if ((r23 | 0) == -1) { - r3 = 307; - } else { - r21 = HEAP32[r20]; - if ((r21 | 0) == (HEAP32[r22 >> 2] | 0)) { - r24 = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 36 >> 2]](r19); - } else { - r24 = HEAP32[r21 >> 2]; - } - if ((r24 | 0) == -1) { - r3 = 307; - break; - } - r25 = HEAP32[r7]; - break; - } - } while (0); - if (r3 == 307) { - r3 = 0; - HEAP32[r7] = 0; - r25 = 0; - } - r19 = r13 - 48 | 0; - r22 = r14 - 1 | 0; - r20 = (r25 | 0) == 0 ^ r9; - if (r20 & (r22 | 0) > 0) { - r11 = r19; - r14 = r22; - r12 = r25, r15 = r12 >> 2; - } else { - r26 = r19; - r27 = r20; - break L337; - } - } - return r10; - } else { - r26 = r16; - r27 = r5; - } - } while (0); - if (r27) { - r10 = r26; - return r10; - } - HEAP32[r6] = HEAP32[r6] | 2; - r10 = r26; - return r10; -} -__ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi["X"] = 1; -function __ZNSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(r1) { - __ZNSt3__110__time_putD2Ev(HEAP32[r1 + 8 >> 2]); - __ZdlPv(r1); - return; -} -function __ZNSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev(r1) { - __ZNSt3__110__time_putD2Ev(HEAP32[r1 + 8 >> 2]); - return; -} -function __ZNSt3__110__time_putD2Ev(r1) { - if ((r1 | 0) == 0) { - return; - } - _freelocale(r1); - return; -} -function __ZNKSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16; - r5 = STACKTOP; - STACKTOP = STACKTOP + 104 | 0; - r4 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r4 >> 2]; - r4 = r5; - r9 = r5 + 100; - r10 = r4 | 0; - HEAP32[r9 >> 2] = r4 + 100 | 0; - __ZNKSt3__110__time_put8__do_putEPcRS1_PK2tmcc(r2 + 8 | 0, r10, r9, r6, r7, r8); - r8 = HEAP32[r9 >> 2]; - r9 = HEAP32[r3 >> 2]; - if ((r10 | 0) == (r8 | 0)) { - r11 = r9; - r12 = r1 | 0; - HEAP32[r12 >> 2] = r11; - STACKTOP = r5; - return; - } else { - r13 = r9; - r14 = r10; - } - while (1) { - r10 = HEAP8[r14]; - if ((r13 | 0) == 0) { - r15 = 0; - } else { - r9 = r13 + 24 | 0; - r3 = HEAP32[r9 >> 2]; - if ((r3 | 0) == (HEAP32[r13 + 28 >> 2] | 0)) { - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 52 >> 2]](r13, r10 & 255); - } else { - HEAP32[r9 >> 2] = r3 + 1 | 0; - HEAP8[r3] = r10; - r16 = r10 & 255; - } - r15 = (r16 | 0) == -1 ? 0 : r13; - } - r10 = r14 + 1 | 0; - if ((r10 | 0) == (r8 | 0)) { - r11 = r15; - break; - } else { - r13 = r15; - r14 = r10; - } - } - r12 = r1 | 0; - HEAP32[r12 >> 2] = r11; - STACKTOP = r5; - return; -} -function __ZNKSt3__110__time_put8__do_putEPcRS1_PK2tmcc(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11; - r7 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r8 = r7; - r9 = r8 | 0; - HEAP8[r9] = 37; - r10 = r8 + 1 | 0; - HEAP8[r10] = r5; - r11 = r8 + 2 | 0; - HEAP8[r11] = r6; - HEAP8[r8 + 3 | 0] = 0; - if (r6 << 24 >> 24 != 0) { - HEAP8[r10] = r6; - HEAP8[r11] = r5; - } - HEAP32[r3 >> 2] = r2 + _strftime(r2, HEAP32[r3 >> 2] - r2 | 0, r9, r4, HEAP32[r1 >> 2]) | 0; - STACKTOP = r7; - return; -} -function __ZNSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(r1) { - __ZNSt3__110__time_putD2Ev(HEAP32[r1 + 8 >> 2]); - __ZdlPv(r1); - return; -} -function __ZNSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev(r1) { - __ZNSt3__110__time_putD2Ev(HEAP32[r1 + 8 >> 2]); - return; -} -function __ZNKSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16; - r5 = STACKTOP; - STACKTOP = STACKTOP + 404 | 0; - r4 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r4 >> 2]; - r4 = r5; - r9 = r5 + 400; - r10 = r4 | 0; - HEAP32[r9 >> 2] = r4 + 400 | 0; - __ZNKSt3__110__time_put8__do_putEPwRS1_PK2tmcc(r2 + 8 | 0, r10, r9, r6, r7, r8); - r8 = HEAP32[r9 >> 2]; - r9 = HEAP32[r3 >> 2]; - if ((r10 | 0) == (r8 | 0)) { - r11 = r9; - r12 = r1 | 0; - HEAP32[r12 >> 2] = r11; - STACKTOP = r5; - return; - } else { - r13 = r9; - r14 = r10; - } - while (1) { - r10 = HEAP32[r14 >> 2]; - if ((r13 | 0) == 0) { - r15 = 0; - } else { - r9 = r13 + 24 | 0; - r3 = HEAP32[r9 >> 2]; - if ((r3 | 0) == (HEAP32[r13 + 28 >> 2] | 0)) { - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 52 >> 2]](r13, r10); - } else { - HEAP32[r9 >> 2] = r3 + 4 | 0; - HEAP32[r3 >> 2] = r10; - r16 = r10; - } - r15 = (r16 | 0) == -1 ? 0 : r13; - } - r10 = r14 + 4 | 0; - if ((r10 | 0) == (r8 | 0)) { - r11 = r15; - break; - } else { - r13 = r15; - r14 = r10; - } - } - r12 = r1 | 0; - HEAP32[r12 >> 2] = r11; - STACKTOP = r5; - return; -} -function __ZNSt3__110moneypunctIcLb0EED1Ev(r1) { - return; -} -function __ZNKSt3__110moneypunctIcLb0EE16do_decimal_pointEv(r1) { - return 127; -} -function __ZNKSt3__110moneypunctIcLb0EE16do_thousands_sepEv(r1) { - return 127; -} -function __ZNKSt3__110moneypunctIcLb0EE14do_frac_digitsEv(r1) { - return 0; -} -function __ZNSt3__110moneypunctIcLb1EED1Ev(r1) { - return; -} -function __ZNKSt3__110moneypunctIcLb1EE16do_decimal_pointEv(r1) { - return 127; -} -function __ZNKSt3__110moneypunctIcLb1EE16do_thousands_sepEv(r1) { - return 127; -} -function __ZNKSt3__110moneypunctIcLb1EE14do_frac_digitsEv(r1) { - return 0; -} -function __ZNSt3__110moneypunctIwLb0EED1Ev(r1) { - return; -} -function __ZNKSt3__110moneypunctIwLb0EE16do_decimal_pointEv(r1) { - return 2147483647; -} -function __ZNKSt3__110moneypunctIwLb0EE16do_thousands_sepEv(r1) { - return 2147483647; -} -function __ZNKSt3__110moneypunctIwLb0EE14do_frac_digitsEv(r1) { - return 0; -} -function __ZNSt3__110moneypunctIwLb1EED1Ev(r1) { - return; -} -function __ZNKSt3__110moneypunctIwLb1EE16do_decimal_pointEv(r1) { - return 2147483647; -} -function __ZNKSt3__110moneypunctIwLb1EE16do_thousands_sepEv(r1) { - return 2147483647; -} -function __ZNKSt3__110moneypunctIwLb1EE14do_frac_digitsEv(r1) { - return 0; -} -function __ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev(r1) { - return; -} -function __ZNSt3__112__do_nothingEPv(r1) { - return; -} -function __ZNKSt3__110moneypunctIcLb0EE13do_pos_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIcLb0EE13do_neg_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIcLb1EE13do_pos_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIcLb1EE13do_neg_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIwLb0EE13do_pos_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIwLb0EE13do_neg_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIwLb1EE13do_pos_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function __ZNKSt3__110moneypunctIwLb1EE13do_neg_formatEv(r1, r2) { - r2 = r1; - tempBigInt = 67109634; - HEAP8[r2] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r2 + 3 | 0] = tempBigInt & 255; - return; -} -function ___cxx_global_var_init22() { - if (HEAP8[5274568] << 24 >> 24 != 0) { - return; - } - HEAP32[1318642] = 1; - HEAP32[1318643] = 0; - return; -} -function ___cxx_global_var_init23() { - if (HEAP8[5274560] << 24 >> 24 != 0) { - return; - } - HEAP32[1318640] = 1; - HEAP32[1318641] = 0; - return; -} -function ___cxx_global_var_init24() { - if (HEAP8[5274552] << 24 >> 24 != 0) { - return; - } - HEAP32[1318638] = 1; - HEAP32[1318639] = 0; - return; -} -function ___cxx_global_var_init251069() { - if (HEAP8[5274544] << 24 >> 24 != 0) { - return; - } - HEAP32[1318636] = 1; - HEAP32[1318637] = 0; - return; -} -function ___cxx_global_var_init26() { - if (HEAP8[5274440] << 24 >> 24 != 0) { - return; - } - HEAP32[1318610] = 1; - HEAP32[1318611] = 0; - return; -} -function __ZNSt3__110moneypunctIcLb0EED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__110moneypunctIcLb0EE11do_groupingEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIcLb0EE14do_curr_symbolEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIcLb0EE16do_positive_signEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIcLb0EE16do_negative_signEv(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEjc(r1, 1, 45); - return; -} -function __ZNSt3__110moneypunctIcLb1EED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__110moneypunctIcLb1EE11do_groupingEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIcLb1EE14do_curr_symbolEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIcLb1EE16do_positive_signEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIcLb1EE16do_negative_signEv(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEjc(r1, 1, 45); - return; -} -function __ZNSt3__110moneypunctIwLb0EED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__110moneypunctIwLb0EE11do_groupingEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIwLb0EE14do_curr_symbolEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIwLb0EE16do_positive_signEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIwLb0EE16do_negative_signEv(r1, r2) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEjw(r1, 1, 45); - return; -} -function __ZNSt3__110moneypunctIwLb1EED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__110moneypunctIwLb1EE11do_groupingEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIwLb1EE14do_curr_symbolEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIwLb1EE16do_positive_signEv(r1, r2) { - r2 = r1 >> 2; - HEAP32[r2] = 0; - HEAP32[r2 + 1] = 0; - HEAP32[r2 + 2] = 0; - return; -} -function __ZNKSt3__110moneypunctIwLb1EE16do_negative_signEv(r1, r2) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEjw(r1, 1, 45); - return; -} -function __ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__110__time_put8__do_putEPwRS1_PK2tmcc(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12; - r7 = STACKTOP; - STACKTOP = STACKTOP + 116 | 0; - r8 = r7; - r9 = r7 + 100; - r10 = r7 + 104; - r11 = r7 + 112; - r12 = r8 | 0; - HEAP32[r9 >> 2] = r8 + 100 | 0; - __ZNKSt3__110__time_put8__do_putEPcRS1_PK2tmcc(r1, r12, r9, r4, r5, r6); - r6 = r10; - HEAP32[r6 >> 2] = 0; - HEAP32[r6 + 4 >> 2] = 0; - HEAP32[r11 >> 2] = r12; - r12 = _uselocale(HEAP32[r1 >> 2]); - r1 = _mbsrtowcs(r2, r11, 100, r10); - if ((r12 | 0) != 0) { - _uselocale(r12); - } - if ((r1 | 0) == -1) { - __ZNSt3__121__throw_runtime_errorEPKc(5244792); - } else { - HEAP32[r3 >> 2] = (r1 << 2) + r2 | 0; - STACKTOP = r7; - return; - } -} -function __ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r2 = STACKTOP; - STACKTOP = STACKTOP + 232 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r2; - r10 = r2 + 100; - r11 = r2 + 108; - r12 = r2 + 112; - r13 = r2 + 116; - r14 = r2 + 120; - r15 = (r10 | 0) >> 2; - HEAP32[r15] = r9 | 0; - r16 = r10 + 4 | 0; - HEAP32[r16 >> 2] = 534; - __ZNKSt3__18ios_base6getlocEv(r12, r6); - r17 = r12 | 0; - r18 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r17 >> 2], 5273668); - r19 = r18; - HEAP8[r13] = 0; - r20 = r4 | 0; - do { - if (__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_(r3, HEAP32[r20 >> 2], r5, r12, HEAP32[r6 + 4 >> 2], r7, r13, r19, r10, r11, r9 + 100 | 0)) { - r4 = r14 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r18 >> 2] + 32 >> 2]](r19, 5264208, 5264218, r4); - r21 = r2 + 132 | 0; - r22 = HEAP32[r11 >> 2]; - r23 = HEAP32[r15]; - r24 = r22 - r23 | 0; - do { - if (r24 >>> 0 > 98) { - r25 = _malloc(r24 + 2 | 0); - if ((r25 | 0) != 0) { - r26 = r25; - r27 = r25; - break; - } - __ZSt17__throw_bad_allocv(); - r26 = 0; - r27 = 0; - } else { - r26 = r21; - r27 = 0; - } - } while (0); - if ((HEAP8[r13] & 1) << 24 >> 24 == 0) { - r28 = r26; - } else { - HEAP8[r26] = 45; - r28 = r26 + 1 | 0; - } - L499 : do { - if (r23 >>> 0 < r22 >>> 0) { - r24 = r14 + 10 | 0; - r25 = r14; - r29 = r28; - r30 = r23; - while (1) { - r31 = r4; - while (1) { - if ((r31 | 0) == (r24 | 0)) { - r32 = r24; - break; - } - if (HEAP8[r31] << 24 >> 24 == HEAP8[r30] << 24 >> 24) { - r32 = r31; - break; - } else { - r31 = r31 + 1 | 0; - } - } - HEAP8[r29] = HEAP8[r32 - r25 + 5264208 | 0]; - r31 = r30 + 1 | 0; - r33 = r29 + 1 | 0; - if (r31 >>> 0 < HEAP32[r11 >> 2] >>> 0) { - r29 = r33; - r30 = r31; - } else { - r34 = r33; - break L499; - } - } - } else { - r34 = r28; - } - } while (0); - HEAP8[r34] = 0; - if ((_sscanf(r21, 5248640, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r8, tempInt)) | 0) != 1) { - __ZNSt3__121__throw_runtime_errorEPKc(5248516); - } - if ((r27 | 0) == 0) { - break; - } - _free(r27); - } - } while (0); - r27 = HEAP32[r3 >> 2]; - if (!((r27 | 0) == 0 ^ (HEAP32[r20 >> 2] | 0) == 0)) { - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] | 2; - } - HEAP32[r1 >> 2] = r27; - __ZNSt3__16localeD1Ev(HEAP32[r17 >> 2]); - r17 = HEAP32[r15]; - HEAP32[r15] = 0; - if ((r17 | 0) == 0) { - STACKTOP = r2; - return; - } - FUNCTION_TABLE[HEAP32[r16 >> 2]](r17); - STACKTOP = r2; - return; -} -__ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe["X"] = 1; -function __ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11) { - var r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114, r115, r116, r117, r118, r119; - r12 = r10 >> 2; - r13 = r6 >> 2; - r6 = 0; - r14 = STACKTOP; - STACKTOP = STACKTOP + 444 | 0; - r15 = r14, r16 = r15 >> 2; - r17 = r14 + 4; - r18 = r14 + 404; - r19 = r14 + 412, r20 = r19 >> 2; - r21 = r14 + 416, r22 = r21 >> 2; - r23 = r14 + 420; - r24 = r14 + 424; - r25 = r14 + 428; - r26 = r14 + 432; - r27 = r26, r28 = r27 >> 2; - r29 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r30 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r31 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r32 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r33 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r34 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r16] = r11; - r11 = r17 | 0; - r35 = (r18 | 0) >> 2; - HEAP32[r35] = r11; - r36 = r18 + 4 | 0; - HEAP32[r36 >> 2] = 534; - HEAP32[r20] = r11; - HEAP32[r22] = r17 + 400 | 0; - HEAP32[r28] = 0; - HEAP32[r28 + 1] = 0; - HEAP32[r28 + 2] = 0; - r28 = r29 >> 2; - r17 = r30, r37 = r17 >> 2; - r38 = r31, r39 = r38 >> 2; - HEAP32[r28] = 0; - HEAP32[r28 + 1] = 0; - HEAP32[r28 + 2] = 0; - HEAP32[r37] = 0; - HEAP32[r37 + 1] = 0; - HEAP32[r37 + 2] = 0; - HEAP32[r39] = 0; - HEAP32[r39 + 1] = 0; - HEAP32[r39 + 2] = 0; - __ZNSt3__111__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri(r3, r4, r23, r24, r25, r26, r29, r30, r31, r32); - r4 = r9 | 0; - HEAP32[r12] = HEAP32[r4 >> 2]; - r3 = (r1 | 0) >> 2; - r39 = (r2 | 0) == 0; - r37 = (r8 + 8 | 0) >> 2; - r8 = r31 + 1 | 0; - r28 = (r31 + 4 | 0) >> 2; - r40 = r31 + 8 | 0; - r41 = r30 + 1 | 0; - r42 = (r30 + 4 | 0) >> 2; - r43 = r30 + 8 | 0; - r44 = (r5 & 512 | 0) != 0; - r5 = r29 + 12 | 0; - r45 = HEAP8[r23 + 3 | 0] << 24 >> 24 != 0; - r46 = HEAP8[r24] << 24 >> 24; - r24 = HEAP8[r25] << 24 >> 24; - r25 = r26 + 4 | 0; - r47 = r44 ^ 1; - r48 = 0; - r49 = 0; - r50 = r11; - L522 : while (1) { - r11 = HEAP32[r3], r51 = r11 >> 2; - if (!((r11 | 0) == 0 ^ r39)) { - r52 = r48; - r53 = r50; - r6 = 646; - break; - } - r54 = HEAP8[r23 + r49 | 0] << 24 >> 24; - do { - if ((r54 | 0) == 0) { - r6 = 491; - } else if ((r54 | 0) == 1) { - if ((r49 | 0) == 3) { - r52 = r48; - r53 = r50; - r6 = 646; - break L522; - } - r55 = HEAP32[r51 + 3]; - if ((r55 | 0) == (HEAP32[r51 + 4] | 0)) { - r56 = FUNCTION_TABLE[HEAP32[HEAP32[r51] + 36 >> 2]](r11); - } else { - r56 = HEAPU8[r55]; - } - r55 = r56 << 24 >> 24; - if (r55 >>> 0 >= 128) { - r6 = 490; - break L522; - } - if ((HEAP16[HEAP32[r37] + (r55 << 1) >> 1] & 8192) << 16 >> 16 == 0) { - r6 = 490; - break L522; - } - r55 = HEAP32[r3]; - r57 = (r55 + 12 | 0) >> 2; - r58 = HEAP32[r57]; - r59 = r55 + 16 | 0; - r60 = HEAP32[r59 >> 2]; - do { - if ((r58 | 0) == (r60 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r55 >> 2] + 40 >> 2]](r55) | 0) == -1) { - break; - } - r61 = HEAP32[r57]; - r62 = HEAP32[r59 >> 2]; - r6 = 486; - break; - } else { - r63 = r58 + 1 | 0; - HEAP32[r57] = r63; - r61 = r63; - r62 = r60; - r6 = 486; - break; - } - } while (0); - if (r6 == 486) { - r6 = 0; - if ((r61 | 0) != (r62 | 0)) { - r6 = 491; - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r55 >> 2] + 36 >> 2]](r55) | 0) != -1) { - r6 = 491; - break; - } - } - HEAP32[r3] = 0; - r6 = 491; - break; - } else if ((r54 | 0) == 3) { - r60 = HEAP8[r17]; - r57 = r60 & 255; - r58 = (r57 & 1 | 0) == 0 ? r57 >>> 1 : HEAP32[r42]; - r57 = HEAP8[r38]; - r59 = r57 & 255; - r63 = (r59 & 1 | 0) == 0 ? r59 >>> 1 : HEAP32[r28]; - if ((r58 | 0) == (-r63 | 0)) { - r64 = r48; - r65 = r50; - break; - } - if ((r58 | 0) == 0) { - r58 = HEAP32[r51 + 3]; - if ((r58 | 0) == (HEAP32[r51 + 4] | 0)) { - r66 = FUNCTION_TABLE[HEAP32[HEAP32[r51] + 36 >> 2]](r11); - r67 = HEAP8[r38]; - } else { - r66 = HEAPU8[r58]; - r67 = r57; - } - if ((r66 << 24 >> 24 | 0) != (HEAP8[(r67 & 1) << 24 >> 24 == 0 ? r8 : HEAP32[r40 >> 2]] << 24 >> 24 | 0)) { - r64 = r48; - r65 = r50; - break; - } - r57 = HEAP32[r3]; - r58 = (r57 + 12 | 0) >> 2; - r59 = HEAP32[r58]; - r68 = r57 + 16 | 0; - r69 = HEAP32[r68 >> 2]; - do { - if ((r59 | 0) == (r69 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r57 >> 2] + 40 >> 2]](r57) | 0) == -1) { - r6 = 540; - break; - } - r70 = HEAP32[r58]; - r71 = HEAP32[r68 >> 2]; - r6 = 537; - break; - } else { - r72 = r59 + 1 | 0; - HEAP32[r58] = r72; - r70 = r72; - r71 = r69; - r6 = 537; - break; - } - } while (0); - do { - if (r6 == 537) { - r6 = 0; - if ((r70 | 0) != (r71 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r57 >> 2] + 36 >> 2]](r57) | 0) == -1) { - r6 = 540; - break; - } else { - break; - } - } - } while (0); - if (r6 == 540) { - r6 = 0; - HEAP32[r3] = 0; - } - HEAP8[r7] = 1; - r57 = HEAPU8[r38]; - r64 = ((r57 & 1 | 0) == 0 ? r57 >>> 1 : HEAP32[r28]) >>> 0 > 1 ? r31 : r48; - r65 = r50; - break; - } - r57 = HEAP32[r51 + 3]; - r69 = HEAP32[r51 + 4]; - r58 = (r57 | 0) == (r69 | 0); - if ((r63 | 0) == 0) { - if (r58) { - r73 = FUNCTION_TABLE[HEAP32[HEAP32[r51] + 36 >> 2]](r11); - r74 = HEAP8[r17]; - } else { - r73 = HEAPU8[r57]; - r74 = r60; - } - if ((r73 << 24 >> 24 | 0) != (HEAP8[(r74 & 1) << 24 >> 24 == 0 ? r41 : HEAP32[r43 >> 2]] << 24 >> 24 | 0)) { - HEAP8[r7] = 1; - r64 = r48; - r65 = r50; - break; - } - r59 = HEAP32[r3]; - r68 = (r59 + 12 | 0) >> 2; - r55 = HEAP32[r68]; - r72 = r59 + 16 | 0; - r75 = HEAP32[r72 >> 2]; - do { - if ((r55 | 0) == (r75 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r59 >> 2] + 40 >> 2]](r59) | 0) == -1) { - r6 = 524; - break; - } - r76 = HEAP32[r68]; - r77 = HEAP32[r72 >> 2]; - r6 = 521; - break; - } else { - r78 = r55 + 1 | 0; - HEAP32[r68] = r78; - r76 = r78; - r77 = r75; - r6 = 521; - break; - } - } while (0); - do { - if (r6 == 521) { - r6 = 0; - if ((r76 | 0) != (r77 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r59 >> 2] + 36 >> 2]](r59) | 0) == -1) { - r6 = 524; - break; - } else { - break; - } - } - } while (0); - if (r6 == 524) { - r6 = 0; - HEAP32[r3] = 0; - } - r59 = HEAPU8[r17]; - r64 = ((r59 & 1 | 0) == 0 ? r59 >>> 1 : HEAP32[r42]) >>> 0 > 1 ? r30 : r48; - r65 = r50; - break; - } - if (r58) { - r59 = FUNCTION_TABLE[HEAP32[HEAP32[r51] + 36 >> 2]](r11); - r75 = HEAP32[r3]; - r79 = r59; - r80 = HEAP8[r17]; - r81 = r75, r82 = r81 >> 2; - r83 = HEAP32[r75 + 12 >> 2]; - r84 = HEAP32[r75 + 16 >> 2]; - } else { - r79 = HEAPU8[r57]; - r80 = r60; - r81 = r11, r82 = r81 >> 2; - r83 = r57; - r84 = r69; - } - r75 = r81 + 12 | 0; - r59 = r81 + 16 | 0; - r68 = (r83 | 0) == (r84 | 0); - if ((r79 << 24 >> 24 | 0) == (HEAP8[(r80 & 1) << 24 >> 24 == 0 ? r41 : HEAP32[r43 >> 2]] << 24 >> 24 | 0)) { - do { - if (r68) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r82] + 40 >> 2]](r81) | 0) == -1) { - r6 = 555; - break; - } - r85 = HEAP32[r75 >> 2]; - r86 = HEAP32[r59 >> 2]; - r6 = 552; - break; - } else { - r55 = r83 + 1 | 0; - HEAP32[r75 >> 2] = r55; - r85 = r55; - r86 = r84; - r6 = 552; - break; - } - } while (0); - do { - if (r6 == 552) { - r6 = 0; - if ((r85 | 0) != (r86 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r82] + 36 >> 2]](r81) | 0) == -1) { - r6 = 555; - break; - } else { - break; - } - } - } while (0); - if (r6 == 555) { - r6 = 0; - HEAP32[r3] = 0; - } - r75 = HEAPU8[r17]; - r64 = ((r75 & 1 | 0) == 0 ? r75 >>> 1 : HEAP32[r42]) >>> 0 > 1 ? r30 : r48; - r65 = r50; - break; - } - if (r68) { - r87 = FUNCTION_TABLE[HEAP32[HEAP32[r82] + 36 >> 2]](r81); - } else { - r87 = HEAPU8[r83]; - } - if ((r87 << 24 >> 24 | 0) != (HEAP8[(HEAP8[r38] & 1) << 24 >> 24 == 0 ? r8 : HEAP32[r40 >> 2]] << 24 >> 24 | 0)) { - r6 = 571; - break L522; - } - r75 = HEAP32[r3]; - r59 = (r75 + 12 | 0) >> 2; - r69 = HEAP32[r59]; - r57 = r75 + 16 | 0; - r60 = HEAP32[r57 >> 2]; - do { - if ((r69 | 0) == (r60 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r75 >> 2] + 40 >> 2]](r75) | 0) == -1) { - r6 = 569; - break; - } - r88 = HEAP32[r59]; - r89 = HEAP32[r57 >> 2]; - r6 = 566; - break; - } else { - r58 = r69 + 1 | 0; - HEAP32[r59] = r58; - r88 = r58; - r89 = r60; - r6 = 566; - break; - } - } while (0); - do { - if (r6 == 566) { - r6 = 0; - if ((r88 | 0) != (r89 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r75 >> 2] + 36 >> 2]](r75) | 0) == -1) { - r6 = 569; - break; - } else { - break; - } - } - } while (0); - if (r6 == 569) { - r6 = 0; - HEAP32[r3] = 0; - } - HEAP8[r7] = 1; - r75 = HEAPU8[r38]; - r64 = ((r75 & 1 | 0) == 0 ? r75 >>> 1 : HEAP32[r28]) >>> 0 > 1 ? r31 : r48; - r65 = r50; - break; - } else if ((r54 | 0) == 2) { - if (!((r48 | 0) != 0 | r49 >>> 0 < 2)) { - if (!(r44 | (r49 | 0) == 2 & r45)) { - r64 = 0; - r65 = r50; - break; - } - } - HEAP32[r33 >> 2] = 0; - if ((__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SD_SC_SC_RKT1_Rjb(r1, r2, r29, r5, r33) | 0) == (r29 | 0) | r47) { - r64 = r48; - r65 = r50; - break; - } else { - r6 = 576; - break L522; - } - } else if ((r54 | 0) == 4) { - r75 = 0; - r60 = r11, r59 = r60 >> 2; - r69 = r50; - while (1) { - r57 = HEAP32[r59 + 3]; - if ((r57 | 0) == (HEAP32[r59 + 4] | 0)) { - r90 = FUNCTION_TABLE[HEAP32[HEAP32[r59] + 36 >> 2]](r60); - } else { - r90 = HEAPU8[r57]; - } - r57 = r90 & 255; - r68 = r90 << 24 >> 24; - do { - if (r68 >>> 0 < 128) { - if ((HEAP16[HEAP32[r37] + (r68 << 1) >> 1] & 2048) << 16 >> 16 == 0) { - r6 = 586; - break; - } - r58 = HEAP32[r12]; - if ((r58 | 0) == (HEAP32[r16] | 0)) { - __ZNSt3__119__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r9, r10, r15); - r91 = HEAP32[r12]; - } else { - r91 = r58; - } - HEAP32[r12] = r91 + 1 | 0; - HEAP8[r91] = r57; - r92 = r75 + 1 | 0; - r93 = r69; - break; - } else { - r6 = 586; - } - } while (0); - if (r6 == 586) { - r6 = 0; - r57 = HEAPU8[r27]; - if (!((r75 | 0) != 0 & (((r57 & 1 | 0) == 0 ? r57 >>> 1 : HEAP32[r25 >> 2]) | 0) != 0 & (r68 | 0) == (r24 | 0))) { - r94 = r75; - r95 = r69; - break; - } - if ((r69 | 0) == (HEAP32[r22] | 0)) { - __ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r18, r19, r21); - } - r57 = HEAP32[r20]; - r58 = r57 + 4 | 0; - HEAP32[r20] = r58; - HEAP32[r57 >> 2] = r75; - r92 = 0; - r93 = r58; - } - r58 = HEAP32[r3]; - r57 = (r58 + 12 | 0) >> 2; - r55 = HEAP32[r57]; - r72 = r58 + 16 | 0; - r63 = HEAP32[r72 >> 2]; - do { - if ((r55 | 0) == (r63 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 40 >> 2]](r58) | 0) == -1) { - r6 = 599; - break; - } - r96 = HEAP32[r57]; - r97 = HEAP32[r72 >> 2]; - r6 = 595; - break; - } else { - r78 = r55 + 1 | 0; - HEAP32[r57] = r78; - r96 = r78; - r97 = r63; - r6 = 595; - break; - } - } while (0); - do { - if (r6 == 595) { - r6 = 0; - if ((r96 | 0) != (r97 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 36 >> 2]](r58) | 0) == -1) { - r6 = 599; - break; - } else { - break; - } - } - } while (0); - if (r6 == 599) { - r6 = 0; - HEAP32[r3] = 0; - } - r58 = HEAP32[r3]; - if ((r58 | 0) == 0 ^ r39) { - r75 = r92; - r60 = r58, r59 = r60 >> 2; - r69 = r93; - } else { - r94 = r92; - r95 = r93; - break; - } - } - if ((HEAP32[r35] | 0) == (r95 | 0) | (r94 | 0) == 0) { - r98 = r95; - } else { - if ((r95 | 0) == (HEAP32[r22] | 0)) { - __ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r18, r19, r21); - r99 = HEAP32[r20]; - } else { - r99 = r95; - } - r69 = r99 + 4 | 0; - HEAP32[r20] = r69; - HEAP32[r99 >> 2] = r94; - r98 = r69; - } - r69 = HEAP32[r32 >> 2]; - L672 : do { - if ((r69 | 0) > 0) { - r60 = HEAP32[r3], r59 = r60 >> 2; - if (!((r60 | 0) == 0 ^ r39)) { - r6 = 611; - break L522; - } - r75 = HEAP32[r59 + 3]; - if ((r75 | 0) == (HEAP32[r59 + 4] | 0)) { - r100 = FUNCTION_TABLE[HEAP32[HEAP32[r59] + 36 >> 2]](r60); - } else { - r100 = HEAPU8[r75]; - } - if ((r100 << 24 >> 24 | 0) != (r46 | 0)) { - r6 = 611; - break L522; - } - r75 = HEAP32[r3]; - r60 = (r75 + 12 | 0) >> 2; - r59 = HEAP32[r60]; - r58 = r75 + 16 | 0; - r63 = HEAP32[r58 >> 2]; - do { - if ((r59 | 0) == (r63 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r75 >> 2] + 40 >> 2]](r75) | 0) == -1) { - r6 = 620; - break; - } - r101 = HEAP32[r60]; - r102 = HEAP32[r58 >> 2]; - r6 = 617; - break; - } else { - r57 = r59 + 1 | 0; - HEAP32[r60] = r57; - r101 = r57; - r102 = r63; - r6 = 617; - break; - } - } while (0); - do { - if (r6 == 617) { - r6 = 0; - if ((r101 | 0) != (r102 | 0)) { - r103 = r69; - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r75 >> 2] + 36 >> 2]](r75) | 0) == -1) { - r6 = 620; - break; - } else { - r103 = r69; - break; - } - } - } while (0); - do { - if (r6 == 620) { - r6 = 0; - HEAP32[r3] = 0; - r103 = r69; - break; - } - } while (0); - while (1) { - r75 = HEAP32[r3], r63 = r75 >> 2; - if (!((r75 | 0) == 0 ^ r39)) { - r6 = 627; - break L522; - } - r60 = HEAP32[r63 + 3]; - if ((r60 | 0) == (HEAP32[r63 + 4] | 0)) { - r104 = FUNCTION_TABLE[HEAP32[HEAP32[r63] + 36 >> 2]](r75); - } else { - r104 = HEAPU8[r60]; - } - r60 = r104 << 24 >> 24; - if (r60 >>> 0 >= 128) { - r6 = 627; - break L522; - } - if ((HEAP16[HEAP32[r37] + (r60 << 1) >> 1] & 2048) << 16 >> 16 == 0) { - r6 = 627; - break L522; - } - if ((HEAP32[r12] | 0) == (HEAP32[r16] | 0)) { - __ZNSt3__119__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r9, r10, r15); - } - r60 = HEAP32[r3], r75 = r60 >> 2; - r63 = HEAP32[r75 + 3]; - if ((r63 | 0) == (HEAP32[r75 + 4] | 0)) { - r105 = FUNCTION_TABLE[HEAP32[HEAP32[r75] + 36 >> 2]](r60); - } else { - r105 = HEAPU8[r63]; - } - r63 = HEAP32[r12]; - HEAP32[r12] = r63 + 1 | 0; - HEAP8[r63] = r105 & 255; - r63 = r103 - 1 | 0; - HEAP32[r32 >> 2] = r63; - r60 = HEAP32[r3]; - r75 = (r60 + 12 | 0) >> 2; - r59 = HEAP32[r75]; - r58 = r60 + 16 | 0; - r57 = HEAP32[r58 >> 2]; - do { - if ((r59 | 0) == (r57 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r60 >> 2] + 40 >> 2]](r60) | 0) == -1) { - r6 = 642; - break; - } - r106 = HEAP32[r75]; - r107 = HEAP32[r58 >> 2]; - r6 = 638; - break; - } else { - r55 = r59 + 1 | 0; - HEAP32[r75] = r55; - r106 = r55; - r107 = r57; - r6 = 638; - break; - } - } while (0); - do { - if (r6 == 638) { - r6 = 0; - if ((r106 | 0) != (r107 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r60 >> 2] + 36 >> 2]](r60) | 0) == -1) { - r6 = 642; - break; - } else { - break; - } - } - } while (0); - if (r6 == 642) { - r6 = 0; - HEAP32[r3] = 0; - } - if ((r63 | 0) > 0) { - r103 = r63; - } else { - break L672; - } - } - } - } while (0); - if ((HEAP32[r12] | 0) == (HEAP32[r4 >> 2] | 0)) { - r6 = 644; - break L522; - } else { - r64 = r48; - r65 = r98; - break; - } - } else { - r64 = r48; - r65 = r50; - } - } while (0); - L720 : do { - if (r6 == 491) { - r6 = 0; - if ((r49 | 0) == 3) { - r52 = r48; - r53 = r50; - r6 = 646; - break L522; - } - r11 = HEAP32[r3]; - if ((r11 | 0) == 0 ^ r39) { - r108 = r11, r109 = r108 >> 2; - } else { - r64 = r48; - r65 = r50; - break; - } - while (1) { - r11 = HEAP32[r109 + 3]; - if ((r11 | 0) == (HEAP32[r109 + 4] | 0)) { - r110 = FUNCTION_TABLE[HEAP32[HEAP32[r109] + 36 >> 2]](r108); - } else { - r110 = HEAPU8[r11]; - } - r11 = r110 << 24 >> 24; - if (r11 >>> 0 >= 128) { - r64 = r48; - r65 = r50; - break L720; - } - if ((HEAP16[HEAP32[r37] + (r11 << 1) >> 1] & 8192) << 16 >> 16 == 0) { - r64 = r48; - r65 = r50; - break L720; - } - r11 = HEAP32[r3]; - r54 = (r11 + 12 | 0) >> 2; - r51 = HEAP32[r54]; - r69 = r11 + 16 | 0; - r60 = HEAP32[r69 >> 2]; - do { - if ((r51 | 0) == (r60 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 40 >> 2]](r11) | 0) == -1) { - r6 = 507; - break; - } - r111 = HEAP32[r54]; - r112 = HEAP32[r69 >> 2]; - r6 = 503; - break; - } else { - r57 = r51 + 1 | 0; - HEAP32[r54] = r57; - r111 = r57; - r112 = r60; - r6 = 503; - break; - } - } while (0); - do { - if (r6 == 503) { - r6 = 0; - if ((r111 | 0) != (r112 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 36 >> 2]](r11) | 0) == -1) { - r6 = 507; - break; - } else { - break; - } - } - } while (0); - if (r6 == 507) { - r6 = 0; - HEAP32[r3] = 0; - } - r11 = HEAP32[r3]; - if ((r11 | 0) == 0 ^ r39) { - r108 = r11, r109 = r108 >> 2; - } else { - r64 = r48; - r65 = r50; - break L720; - } - } - } - } while (0); - r11 = r49 + 1 | 0; - if (r11 >>> 0 < 4) { - r48 = r64; - r49 = r11; - r50 = r65; - } else { - r52 = r64; - r53 = r65; - r6 = 646; - break; - } - } - L744 : do { - if (r6 == 490) { - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } else if (r6 == 571) { - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } else if (r6 == 576) { - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } else if (r6 == 611) { - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } else if (r6 == 627) { - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } else if (r6 == 644) { - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } else if (r6 == 646) { - L752 : do { - if ((r52 | 0) != 0) { - r65 = r52; - r64 = r52 + 1 | 0; - r50 = r52 + 8 | 0; - r49 = r52 + 4 | 0; - r48 = 1; - while (1) { - r108 = HEAP8[r65]; - r109 = r108 & 255; - if ((r109 & 1 | 0) == 0) { - r114 = r109 >>> 1; - } else { - r114 = HEAP32[r49 >> 2]; - } - if (r48 >>> 0 >= r114 >>> 0) { - break L752; - } - r109 = HEAP32[r3], r112 = r109 >> 2; - if (!((r109 | 0) == 0 ^ r39)) { - break; - } - r111 = HEAP32[r112 + 3]; - if ((r111 | 0) == (HEAP32[r112 + 4] | 0)) { - r115 = FUNCTION_TABLE[HEAP32[HEAP32[r112] + 36 >> 2]](r109); - r116 = HEAP8[r65]; - } else { - r115 = HEAPU8[r111]; - r116 = r108; - } - if ((r116 & 1) << 24 >> 24 == 0) { - r117 = r64; - } else { - r117 = HEAP32[r50 >> 2]; - } - if ((r115 << 24 >> 24 | 0) != (HEAP8[r117 + r48 | 0] << 24 >> 24 | 0)) { - break; - } - r108 = r48 + 1 | 0; - r111 = HEAP32[r3]; - r109 = (r111 + 12 | 0) >> 2; - r112 = HEAP32[r109]; - r37 = r111 + 16 | 0; - r110 = HEAP32[r37 >> 2]; - do { - if ((r112 | 0) == (r110 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r111 >> 2] + 40 >> 2]](r111) | 0) == -1) { - break; - } - r118 = HEAP32[r109]; - r119 = HEAP32[r37 >> 2]; - r6 = 666; - break; - } else { - r98 = r112 + 1 | 0; - HEAP32[r109] = r98; - r118 = r98; - r119 = r110; - r6 = 666; - break; - } - } while (0); - if (r6 == 666) { - r6 = 0; - if ((r118 | 0) != (r119 | 0)) { - r48 = r108; - continue; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r111 >> 2] + 36 >> 2]](r111) | 0) != -1) { - r48 = r108; - continue; - } - } - HEAP32[r3] = 0; - r48 = r108; - } - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - break L744; - } - } while (0); - r48 = HEAP32[r35]; - if ((r48 | 0) == (r53 | 0)) { - r113 = 1; - break; - } - HEAP32[r34 >> 2] = 0; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r26, r48, r53, r34); - if ((HEAP32[r34 >> 2] | 0) == 0) { - r113 = 1; - break; - } - HEAP32[r13] = HEAP32[r13] | 4; - r113 = 0; - } - } while (0); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r31); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r30); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r26); - r26 = HEAP32[r35]; - HEAP32[r35] = 0; - if ((r26 | 0) == 0) { - STACKTOP = r14; - return r113; - } - FUNCTION_TABLE[HEAP32[r36 >> 2]](r26); - STACKTOP = r14; - return r113; -} -__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = r1; - r5 = r2; - r6 = HEAP8[r4]; - r7 = r6 & 255; - if ((r7 & 1 | 0) == 0) { - r8 = r7 >>> 1; - } else { - r8 = HEAP32[r1 + 4 >> 2]; - } - if ((r6 & 1) << 24 >> 24 == 0) { - r9 = 10; - r10 = r6; - } else { - r6 = HEAP32[r1 >> 2]; - r9 = (r6 & -2) - 1 | 0; - r10 = r6 & 255; - } - r6 = r3 - r5 | 0; - if ((r3 | 0) == (r2 | 0)) { - return; - } - if ((r9 - r8 | 0) >>> 0 < r6 >>> 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEjjjjjj(r1, r9, r8 + r6 - r9 | 0, r8, r8); - r11 = HEAP8[r4]; - } else { - r11 = r10; - } - if ((r11 & 1) << 24 >> 24 == 0) { - r12 = r1 + 1 | 0; - } else { - r12 = HEAP32[r1 + 8 >> 2]; - } - r11 = r3 + (r8 - r5) | 0; - r5 = r2; - r2 = r12 + r8 | 0; - while (1) { - HEAP8[r2] = HEAP8[r5]; - r10 = r5 + 1 | 0; - if ((r10 | 0) == (r3 | 0)) { - break; - } else { - r5 = r10; - r2 = r2 + 1 | 0; - } - } - HEAP8[r12 + r11 | 0] = 0; - r11 = r8 + r6 | 0; - if ((HEAP8[r4] & 1) << 24 >> 24 == 0) { - HEAP8[r4] = r11 << 1 & 255; - return; - } else { - HEAP32[r1 + 4 >> 2] = r11; - return; - } -} -__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_["X"] = 1; -function __ZNSt3__111__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) { - var r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r11 = STACKTOP; - STACKTOP = STACKTOP + 104 | 0; - r12 = r11; - r13 = r11 + 4; - r14 = r11 + 16; - r15 = r11 + 28; - r16 = r11 + 40; - r17 = r11 + 52; - r18 = r11 + 56; - r19 = r11 + 68; - r20 = r11 + 80; - r21 = r11 + 92; - if (r1) { - r1 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5274160); - r22 = r1; - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 44 >> 2]](r12, r22); - r23 = r3; - tempBigInt = HEAP32[r12 >> 2]; - HEAP8[r23] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r23 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r23 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r23 + 3 | 0] = tempBigInt & 255; - r23 = r1 >> 2; - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 32 >> 2]](r13, r22); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r9, r13); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r13); - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 28 >> 2]](r14, r22); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r8, r14); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r14); - r14 = r1; - HEAP8[r4] = FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 12 >> 2]](r22); - HEAP8[r5] = FUNCTION_TABLE[HEAP32[HEAP32[r14 >> 2] + 16 >> 2]](r22); - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 20 >> 2]](r15, r22); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r6, r15); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r15); - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 24 >> 2]](r16, r22); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r7, r16); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r16); - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 36 >> 2]](r22); - HEAP32[r10 >> 2] = r16; - STACKTOP = r11; - return; - } else { - r22 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5274168); - r2 = r22; - FUNCTION_TABLE[HEAP32[HEAP32[r22 >> 2] + 44 >> 2]](r17, r2); - r1 = r3; - tempBigInt = HEAP32[r17 >> 2]; - HEAP8[r1] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r1 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r1 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r1 + 3 | 0] = tempBigInt & 255; - r1 = r22 >> 2; - FUNCTION_TABLE[HEAP32[HEAP32[r1] + 32 >> 2]](r18, r2); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r9, r18); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - FUNCTION_TABLE[HEAP32[HEAP32[r1] + 28 >> 2]](r19, r2); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r8, r19); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r19); - r19 = r22; - HEAP8[r4] = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 12 >> 2]](r2); - HEAP8[r5] = FUNCTION_TABLE[HEAP32[HEAP32[r19 >> 2] + 16 >> 2]](r2); - FUNCTION_TABLE[HEAP32[HEAP32[r1] + 20 >> 2]](r20, r2); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r6, r20); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r20); - FUNCTION_TABLE[HEAP32[HEAP32[r1] + 24 >> 2]](r21, r2); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r7, r21); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r21); - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r22 >> 2] + 36 >> 2]](r2); - HEAP32[r10 >> 2] = r16; - STACKTOP = r11; - return; - } -} -__ZNSt3__111__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri["X"] = 1; -function __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SD_SC_SC_RKT1_Rjb(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45; - r6 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r8 = (r4 - r3 | 0) / 12 & -1; - r9 = r7 | 0; - do { - if (r8 >>> 0 > 100) { - r10 = _malloc(r8); - if ((r10 | 0) != 0) { - r11 = r10; - r12 = r10; - break; - } - __ZSt17__throw_bad_allocv(); - r11 = 0; - r12 = 0; - } else { - r11 = r9; - r12 = 0; - } - } while (0); - r9 = (r3 | 0) == (r4 | 0); - L835 : do { - if (r9) { - r13 = r8; - r14 = 0; - } else { - r10 = r8; - r15 = 0; - r16 = r11; - r17 = r3; - while (1) { - r18 = HEAPU8[r17]; - if ((r18 & 1 | 0) == 0) { - r19 = r18 >>> 1; - } else { - r19 = HEAP32[r17 + 4 >> 2]; - } - if ((r19 | 0) == 0) { - HEAP8[r16] = 2; - r20 = r15 + 1 | 0; - r21 = r10 - 1 | 0; - } else { - HEAP8[r16] = 1; - r20 = r15; - r21 = r10; - } - r18 = r17 + 12 | 0; - if ((r18 | 0) == (r4 | 0)) { - r13 = r21; - r14 = r20; - break L835; - } else { - r10 = r21; - r15 = r20; - r16 = r16 + 1 | 0; - r17 = r18; - } - } - } - } while (0); - r20 = (r1 | 0) >> 2; - r1 = HEAP32[r20]; - r21 = (r2 | 0) == 0; - L847 : do { - if ((r1 | 0) == 0 ^ r21) { - r2 = r13; - r19 = r14; - r8 = 0; - r17 = r1, r16 = r17 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r22 = r17; - break L847; - } - r15 = HEAP32[r16 + 3]; - if ((r15 | 0) == (HEAP32[r16 + 4] | 0)) { - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r16] + 36 >> 2]](r17); - } else { - r23 = HEAPU8[r15]; - } - r15 = r23 & 255; - r10 = r8 + 1 | 0; - L855 : do { - if (r9) { - r24 = r19; - r25 = r2; - r26 = r10; - } else { - r18 = r2; - r27 = r19; - r28 = r11; - r29 = 0; - r30 = r3; - while (1) { - do { - if (HEAP8[r28] << 24 >> 24 == 1) { - r31 = HEAP8[r30]; - if ((r31 & 1) << 24 >> 24 == 0) { - r32 = r30 + 1 | 0; - } else { - r32 = HEAP32[r30 + 8 >> 2]; - } - if (r15 << 24 >> 24 != HEAP8[r32 + r8 | 0] << 24 >> 24) { - HEAP8[r28] = 0; - r33 = r29; - r34 = r27; - r35 = r18 - 1 | 0; - break; - } - r36 = r31 & 255; - if ((r36 & 1 | 0) == 0) { - r37 = r36 >>> 1; - } else { - r37 = HEAP32[r30 + 4 >> 2]; - } - if ((r37 | 0) != (r10 | 0)) { - r33 = 1; - r34 = r27; - r35 = r18; - break; - } - HEAP8[r28] = 2; - r33 = 1; - r34 = r27 + 1 | 0; - r35 = r18 - 1 | 0; - } else { - r33 = r29; - r34 = r27; - r35 = r18; - } - } while (0); - r36 = r30 + 12 | 0; - if ((r36 | 0) == (r4 | 0)) { - break; - } - r18 = r35; - r27 = r34; - r28 = r28 + 1 | 0; - r29 = r33; - r30 = r36; - } - if ((r33 & 1) << 24 >> 24 == 0) { - r24 = r34; - r25 = r35; - r26 = r10; - break; - } - r30 = HEAP32[r20]; - r29 = (r30 + 12 | 0) >> 2; - r28 = HEAP32[r29]; - r27 = r30 + 16 | 0; - r18 = HEAP32[r27 >> 2]; - do { - if ((r28 | 0) == (r18 | 0)) { - if ((FUNCTION_TABLE[HEAP32[HEAP32[r30 >> 2] + 40 >> 2]](r30) | 0) == -1) { - r6 = 774; - break; - } - r38 = HEAP32[r29]; - r39 = HEAP32[r27 >> 2]; - r6 = 771; - break; - } else { - r36 = r28 + 1 | 0; - HEAP32[r29] = r36; - r38 = r36; - r39 = r18; - r6 = 771; - break; - } - } while (0); - do { - if (r6 == 771) { - r6 = 0; - if ((r38 | 0) != (r39 | 0)) { - break; - } - if ((FUNCTION_TABLE[HEAP32[HEAP32[r30 >> 2] + 36 >> 2]](r30) | 0) == -1) { - r6 = 774; - break; - } else { - break; - } - } - } while (0); - if (r6 == 774) { - r6 = 0; - HEAP32[r20] = 0; - } - if ((r34 + r35 | 0) >>> 0 < 2) { - r24 = r34; - r25 = r35; - r26 = r10; - break; - } else { - r40 = r34; - r41 = r11; - r42 = r3; - } - while (1) { - do { - if (HEAP8[r41] << 24 >> 24 == 2) { - r30 = HEAPU8[r42]; - if ((r30 & 1 | 0) == 0) { - r43 = r30 >>> 1; - } else { - r43 = HEAP32[r42 + 4 >> 2]; - } - if ((r43 | 0) == (r10 | 0)) { - r44 = r40; - break; - } - HEAP8[r41] = 0; - r44 = r40 - 1 | 0; - } else { - r44 = r40; - } - } while (0); - r30 = r42 + 12 | 0; - if ((r30 | 0) == (r4 | 0)) { - r24 = r44; - r25 = r35; - r26 = r10; - break L855; - } else { - r40 = r44; - r41 = r41 + 1 | 0; - r42 = r30; - } - } - } - } while (0); - r10 = HEAP32[r20]; - if ((r10 | 0) == 0 ^ r21) { - r2 = r25; - r19 = r24; - r8 = r26; - r17 = r10, r16 = r17 >> 2; - } else { - r22 = r10; - break L847; - } - } - } else { - r22 = r1; - } - } while (0); - if (!((r22 | 0) == 0 ^ r21)) { - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] | 2; - } - L903 : do { - if (r9) { - r6 = 790; - } else { - r21 = r3; - r22 = r11; - while (1) { - if (HEAP8[r22] << 24 >> 24 == 2) { - r45 = r21; - break L903; - } - r1 = r21 + 12 | 0; - if ((r1 | 0) == (r4 | 0)) { - r6 = 790; - break L903; - } - r21 = r1; - r22 = r22 + 1 | 0; - } - } - } while (0); - if (r6 == 790) { - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] | 4; - r45 = r4; - } - if ((r12 | 0) == 0) { - STACKTOP = r7; - return r45; - } - _free(r12); - STACKTOP = r7; - return r45; -} -__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SD_SC_SC_RKT1_Rjb["X"] = 1; -function __ZNSt3__121__throw_runtime_errorEPKc(r1) { - var r2; - r2 = ___cxa_allocate_exception(8); - __ZNSt13runtime_errorC1EPKc(r2, r1); - ___cxa_throw(r2, 5271220, 52); -} -function __ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r2 = STACKTOP; - STACKTOP = STACKTOP + 120 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r2; - r10 = r2 + 100; - r11 = r2 + 108; - r12 = r2 + 112; - r13 = r2 + 116; - r14 = (r10 | 0) >> 2; - HEAP32[r14] = r9 | 0; - r15 = r10 + 4 | 0; - HEAP32[r15 >> 2] = 534; - __ZNKSt3__18ios_base6getlocEv(r12, r6); - r16 = r12 | 0; - r17 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r16 >> 2], 5273668); - r18 = r17; - HEAP8[r13] = 0; - r19 = HEAP32[r4 >> 2]; - if (__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_(r3, r19, r5, r12, HEAP32[r6 + 4 >> 2], r7, r13, r18, r10, r11, r9 + 100 | 0)) { - r9 = r8; - if ((HEAP8[r9] & 1) << 24 >> 24 == 0) { - HEAP8[r8 + 1 | 0] = 0; - HEAP8[r9] = 0; - } else { - HEAP8[HEAP32[r8 + 8 >> 2]] = 0; - HEAP32[r8 + 4 >> 2] = 0; - } - r9 = r17; - if ((HEAP8[r13] & 1) << 24 >> 24 != 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(r8, FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 28 >> 2]](r18, 45)); - } - r13 = FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 28 >> 2]](r18, 48); - r18 = HEAP32[r11 >> 2]; - r11 = r18 - 1 | 0; - r9 = HEAP32[r14]; - while (1) { - if (r9 >>> 0 >= r11 >>> 0) { - break; - } - if (HEAP8[r9] << 24 >> 24 == r13 << 24 >> 24) { - r9 = r9 + 1 | 0; - } else { - break; - } - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_(r8, r9, r18); - } - r18 = HEAP32[r3 >> 2]; - if (!((r18 | 0) == 0 ^ (r19 | 0) == 0)) { - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] | 2; - } - HEAP32[r1 >> 2] = r18; - __ZNSt3__16localeD1Ev(HEAP32[r16 >> 2]); - r16 = HEAP32[r14]; - HEAP32[r14] = 0; - if ((r16 | 0) == 0) { - STACKTOP = r2; - return; - } - FUNCTION_TABLE[HEAP32[r15 >> 2]](r16); - STACKTOP = r2; - return; -} -__ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE["X"] = 1; -function __ZNSt3__119__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10; - r4 = (r1 + 4 | 0) >> 2; - r5 = (HEAP32[r4] | 0) != 534; - r6 = (r1 | 0) >> 2; - r1 = HEAP32[r6]; - r7 = r1; - r8 = HEAP32[r3 >> 2] - r7 | 0; - r9 = r8 >>> 0 < 2147483647 ? r8 << 1 : -1; - r8 = HEAP32[r2 >> 2] - r7 | 0; - r7 = _realloc(r5 ? r1 : 0, r9); - if ((r7 | 0) == 0) { - __ZSt17__throw_bad_allocv(); - } - do { - if (r5) { - HEAP32[r6] = r7; - r10 = r7; - } else { - r1 = HEAP32[r6]; - HEAP32[r6] = r7; - if ((r1 | 0) == 0) { - r10 = r7; - break; - } - FUNCTION_TABLE[HEAP32[r4]](r1); - r10 = HEAP32[r6]; - } - } while (0); - HEAP32[r4] = 270; - HEAP32[r2 >> 2] = r10 + r8 | 0; - HEAP32[r3 >> 2] = HEAP32[r6] + r9 | 0; - return; -} -function __ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init29() { - if (HEAP8[5274432] << 24 >> 24 != 0) { - return; - } - HEAP32[1318608] = 1; - HEAP32[1318609] = 0; - return; -} -function __ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = (r1 + 4 | 0) >> 2; - r5 = (HEAP32[r4] | 0) != 534; - r6 = (r1 | 0) >> 2; - r1 = HEAP32[r6]; - r7 = r1; - r8 = HEAP32[r3 >> 2] - r7 | 0; - r9 = r8 >>> 0 < 2147483647 ? r8 << 1 : -1; - r8 = HEAP32[r2 >> 2] - r7 >> 2; - if (r5) { - r10 = r1; - } else { - r10 = 0; - } - r1 = _realloc(r10, r9); - r10 = r1; - if ((r1 | 0) == 0) { - __ZSt17__throw_bad_allocv(); - } - do { - if (r5) { - HEAP32[r6] = r10; - r11 = r10; - } else { - r1 = HEAP32[r6]; - HEAP32[r6] = r10; - if ((r1 | 0) == 0) { - r11 = r10; - break; - } - FUNCTION_TABLE[HEAP32[r4]](r1); - r11 = HEAP32[r6]; - } - } while (0); - HEAP32[r4] = 270; - HEAP32[r2 >> 2] = (r8 << 2) + r11 | 0; - HEAP32[r3 >> 2] = (r9 >>> 2 << 2) + HEAP32[r6] | 0; - return; -} -__ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_["X"] = 1; -function __ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34; - r2 = STACKTOP; - STACKTOP = STACKTOP + 560 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r2; - r10 = r2 + 400; - r11 = r2 + 408; - r12 = r2 + 412; - r13 = r2 + 416; - r14 = r2 + 420; - r15 = (r10 | 0) >> 2; - HEAP32[r15] = r9 | 0; - r16 = r10 + 4 | 0; - HEAP32[r16 >> 2] = 534; - __ZNKSt3__18ios_base6getlocEv(r12, r6); - r17 = r12 | 0; - r18 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r17 >> 2], 5273660); - r19 = r18; - HEAP8[r13] = 0; - r20 = r4 | 0; - do { - if (__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_(r3, HEAP32[r20 >> 2], r5, r12, HEAP32[r6 + 4 >> 2], r7, r13, r19, r10, r11, r9 + 400 | 0)) { - r4 = r14 | 0; - FUNCTION_TABLE[HEAP32[HEAP32[r18 >> 2] + 48 >> 2]](r19, 5264196, 5264206, r4); - r21 = r2 + 460 | 0; - r22 = HEAP32[r11 >> 2]; - r23 = HEAP32[r15]; - r24 = r22 - r23 >> 2; - do { - if (r24 >>> 0 > 98) { - r25 = _malloc(r24 + 2 | 0); - if ((r25 | 0) != 0) { - r26 = r25; - r27 = r25; - break; - } - __ZSt17__throw_bad_allocv(); - r26 = 0; - r27 = 0; - } else { - r26 = r21; - r27 = 0; - } - } while (0); - if ((HEAP8[r13] & 1) << 24 >> 24 == 0) { - r28 = r26; - } else { - HEAP8[r26] = 45; - r28 = r26 + 1 | 0; - } - L986 : do { - if (r23 >>> 0 < r22 >>> 0) { - r24 = r14 + 160 | 0; - r25 = r14; - r29 = r28; - r30 = r23; - while (1) { - r31 = r4; - while (1) { - if ((r31 | 0) == (r24 | 0)) { - r32 = r24; - break; - } - if ((HEAP32[r31 >> 2] | 0) == (HEAP32[r30 >> 2] | 0)) { - r32 = r31; - break; - } else { - r31 = r31 + 4 | 0; - } - } - HEAP8[r29] = HEAP8[r32 - r25 + 21056784 >> 2 | 0]; - r31 = r30 + 4 | 0; - r33 = r29 + 1 | 0; - if (r31 >>> 0 < HEAP32[r11 >> 2] >>> 0) { - r29 = r33; - r30 = r31; - } else { - r34 = r33; - break L986; - } - } - } else { - r34 = r28; - } - } while (0); - HEAP8[r34] = 0; - if ((_sscanf(r21, 5248640, (tempInt = STACKTOP, STACKTOP = STACKTOP + 4 | 0, HEAP32[tempInt >> 2] = r8, tempInt)) | 0) != 1) { - __ZNSt3__121__throw_runtime_errorEPKc(5248516); - } - if ((r27 | 0) == 0) { - break; - } - _free(r27); - } - } while (0); - r27 = HEAP32[r3 >> 2]; - if (!((r27 | 0) == 0 ^ (HEAP32[r20 >> 2] | 0) == 0)) { - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] | 2; - } - HEAP32[r1 >> 2] = r27; - __ZNSt3__16localeD1Ev(HEAP32[r17 >> 2]); - r17 = HEAP32[r15]; - HEAP32[r15] = 0; - if ((r17 | 0) == 0) { - STACKTOP = r2; - return; - } - FUNCTION_TABLE[HEAP32[r16 >> 2]](r17); - STACKTOP = r2; - return; -} -__ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe["X"] = 1; -function __ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11) { - var r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76, r77, r78, r79, r80, r81, r82, r83, r84, r85, r86, r87, r88, r89, r90, r91, r92, r93, r94, r95, r96, r97, r98, r99, r100, r101, r102, r103, r104, r105, r106, r107, r108, r109, r110, r111, r112, r113, r114, r115, r116, r117, r118; - r12 = r10 >> 2; - r13 = r6 >> 2; - r6 = 0; - r14 = STACKTOP; - STACKTOP = STACKTOP + 444 | 0; - r15 = r14, r16 = r15 >> 2; - r17 = r14 + 4; - r18 = r14 + 404; - r19 = r14 + 412, r20 = r19 >> 2; - r21 = r14 + 416, r22 = r21 >> 2; - r23 = r14 + 420; - r24 = r14 + 424; - r25 = r14 + 428; - r26 = r14 + 432; - r27 = r26, r28 = r27 >> 2; - r29 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r30 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r31 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r32 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r33 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r34 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r16] = r11; - r11 = r17 | 0; - r35 = (r18 | 0) >> 2; - HEAP32[r35] = r11; - r36 = r18 + 4 | 0; - HEAP32[r36 >> 2] = 534; - HEAP32[r20] = r11; - HEAP32[r22] = r17 + 400 | 0; - HEAP32[r28] = 0; - HEAP32[r28 + 1] = 0; - HEAP32[r28 + 2] = 0; - r28 = r29 >> 2; - r17 = r30, r37 = r17 >> 2; - r38 = r31, r39 = r38 >> 2; - HEAP32[r28] = 0; - HEAP32[r28 + 1] = 0; - HEAP32[r28 + 2] = 0; - HEAP32[r37] = 0; - HEAP32[r37 + 1] = 0; - HEAP32[r37 + 2] = 0; - HEAP32[r39] = 0; - HEAP32[r39 + 1] = 0; - HEAP32[r39 + 2] = 0; - __ZNSt3__111__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri(r3, r4, r23, r24, r25, r26, r29, r30, r31, r32); - r4 = r9 | 0; - HEAP32[r12] = HEAP32[r4 >> 2]; - r3 = (r1 | 0) >> 2; - r39 = (r2 | 0) == 0; - r37 = r8 >> 2; - r28 = r31 + 4 | 0, r40 = r28 >> 2; - r41 = r31 + 8 | 0; - r42 = r30 + 4 | 0, r43 = r42 >> 2; - r44 = r30 + 8 | 0; - r45 = (r5 & 512 | 0) != 0; - r5 = r29 + 12 | 0; - r46 = HEAP8[r23 + 3 | 0] << 24 >> 24 != 0; - r47 = HEAP32[r24 >> 2]; - r24 = HEAP32[r25 >> 2]; - r25 = r26 + 4 | 0; - r48 = r45 ^ 1; - r49 = 0; - r50 = 0; - r51 = r11; - L1009 : while (1) { - r11 = HEAP32[r3], r52 = r11 >> 2; - if (!((r11 | 0) == 0 ^ r39)) { - r53 = r49; - r54 = r51; - r6 = 1063; - break; - } - r55 = HEAP8[r23 + r50 | 0] << 24 >> 24; - do { - if ((r55 | 0) == 0) { - r6 = 908; - } else if ((r55 | 0) == 1) { - if ((r50 | 0) == 3) { - r53 = r49; - r54 = r51; - r6 = 1063; - break L1009; - } - r56 = HEAP32[r52 + 3]; - if ((r56 | 0) == (HEAP32[r52 + 4] | 0)) { - r57 = FUNCTION_TABLE[HEAP32[HEAP32[r52] + 36 >> 2]](r11); - } else { - r57 = HEAP32[r56 >> 2]; - } - if (!FUNCTION_TABLE[HEAP32[HEAP32[r37] + 12 >> 2]](r8, 8192, r57)) { - r6 = 907; - break L1009; - } - r56 = HEAP32[r3]; - r58 = (r56 + 12 | 0) >> 2; - r59 = HEAP32[r58]; - r60 = r56 + 16 | 0; - if ((r59 | 0) == (HEAP32[r60 >> 2] | 0)) { - r61 = FUNCTION_TABLE[HEAP32[HEAP32[r56 >> 2] + 40 >> 2]](r56); - } else { - HEAP32[r58] = r59 + 4 | 0; - r61 = HEAP32[r59 >> 2]; - } - if ((r61 | 0) != -1) { - r59 = HEAP32[r58]; - if ((r59 | 0) == (HEAP32[r60 >> 2] | 0)) { - r62 = FUNCTION_TABLE[HEAP32[HEAP32[r56 >> 2] + 36 >> 2]](r56); - } else { - r62 = HEAP32[r59 >> 2]; - } - if ((r62 | 0) != -1) { - r6 = 908; - break; - } - } - HEAP32[r3] = 0; - r6 = 908; - break; - } else if ((r55 | 0) == 3) { - r59 = HEAP8[r17]; - r56 = r59 & 255; - r60 = (r56 & 1 | 0) == 0 ? r56 >>> 1 : HEAP32[r43]; - r56 = HEAP8[r38]; - r58 = r56 & 255; - r63 = (r58 & 1 | 0) == 0 ? r58 >>> 1 : HEAP32[r40]; - if ((r60 | 0) == (-r63 | 0)) { - r64 = r49; - r65 = r51; - break; - } - if ((r60 | 0) == 0) { - r60 = HEAP32[r52 + 3]; - if ((r60 | 0) == (HEAP32[r52 + 4] | 0)) { - r66 = FUNCTION_TABLE[HEAP32[HEAP32[r52] + 36 >> 2]](r11); - r67 = HEAP8[r38]; - } else { - r66 = HEAP32[r60 >> 2]; - r67 = r56; - } - if ((r66 | 0) != (HEAP32[((r67 & 1) << 24 >> 24 == 0 ? r28 : HEAP32[r41 >> 2]) >> 2] | 0)) { - r64 = r49; - r65 = r51; - break; - } - r56 = HEAP32[r3]; - r60 = (r56 + 12 | 0) >> 2; - r58 = HEAP32[r60]; - r68 = r56 + 16 | 0; - if ((r58 | 0) == (HEAP32[r68 >> 2] | 0)) { - r69 = FUNCTION_TABLE[HEAP32[HEAP32[r56 >> 2] + 40 >> 2]](r56); - } else { - HEAP32[r60] = r58 + 4 | 0; - r69 = HEAP32[r58 >> 2]; - } - do { - if ((r69 | 0) == -1) { - r6 = 957; - } else { - r58 = HEAP32[r60]; - if ((r58 | 0) == (HEAP32[r68 >> 2] | 0)) { - r70 = FUNCTION_TABLE[HEAP32[HEAP32[r56 >> 2] + 36 >> 2]](r56); - } else { - r70 = HEAP32[r58 >> 2]; - } - if ((r70 | 0) == -1) { - r6 = 957; - break; - } else { - break; - } - } - } while (0); - if (r6 == 957) { - r6 = 0; - HEAP32[r3] = 0; - } - HEAP8[r7] = 1; - r56 = HEAPU8[r38]; - r64 = ((r56 & 1 | 0) == 0 ? r56 >>> 1 : HEAP32[r40]) >>> 0 > 1 ? r31 : r49; - r65 = r51; - break; - } - r56 = HEAP32[r52 + 3]; - r68 = HEAP32[r52 + 4]; - r60 = (r56 | 0) == (r68 | 0); - if ((r63 | 0) == 0) { - if (r60) { - r71 = FUNCTION_TABLE[HEAP32[HEAP32[r52] + 36 >> 2]](r11); - r72 = HEAP8[r17]; - } else { - r71 = HEAP32[r56 >> 2]; - r72 = r59; - } - if ((r71 | 0) != (HEAP32[((r72 & 1) << 24 >> 24 == 0 ? r42 : HEAP32[r44 >> 2]) >> 2] | 0)) { - HEAP8[r7] = 1; - r64 = r49; - r65 = r51; - break; - } - r58 = HEAP32[r3]; - r73 = (r58 + 12 | 0) >> 2; - r74 = HEAP32[r73]; - r75 = r58 + 16 | 0; - if ((r74 | 0) == (HEAP32[r75 >> 2] | 0)) { - r76 = FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 40 >> 2]](r58); - } else { - HEAP32[r73] = r74 + 4 | 0; - r76 = HEAP32[r74 >> 2]; - } - do { - if ((r76 | 0) == -1) { - r6 = 941; - } else { - r74 = HEAP32[r73]; - if ((r74 | 0) == (HEAP32[r75 >> 2] | 0)) { - r77 = FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 36 >> 2]](r58); - } else { - r77 = HEAP32[r74 >> 2]; - } - if ((r77 | 0) == -1) { - r6 = 941; - break; - } else { - break; - } - } - } while (0); - if (r6 == 941) { - r6 = 0; - HEAP32[r3] = 0; - } - r58 = HEAPU8[r17]; - r64 = ((r58 & 1 | 0) == 0 ? r58 >>> 1 : HEAP32[r43]) >>> 0 > 1 ? r30 : r49; - r65 = r51; - break; - } - if (r60) { - r58 = FUNCTION_TABLE[HEAP32[HEAP32[r52] + 36 >> 2]](r11); - r75 = HEAP32[r3]; - r78 = r58; - r79 = HEAP8[r17]; - r80 = r75, r81 = r80 >> 2; - r82 = HEAP32[r75 + 12 >> 2]; - r83 = HEAP32[r75 + 16 >> 2]; - } else { - r78 = HEAP32[r56 >> 2]; - r79 = r59; - r80 = r11, r81 = r80 >> 2; - r82 = r56; - r83 = r68; - } - r75 = r80 + 12 | 0; - r58 = r80 + 16 | 0; - r73 = (r82 | 0) == (r83 | 0); - if ((r78 | 0) == (HEAP32[((r79 & 1) << 24 >> 24 == 0 ? r42 : HEAP32[r44 >> 2]) >> 2] | 0)) { - if (r73) { - r84 = FUNCTION_TABLE[HEAP32[HEAP32[r81] + 40 >> 2]](r80); - } else { - HEAP32[r75 >> 2] = r82 + 4 | 0; - r84 = HEAP32[r82 >> 2]; - } - do { - if ((r84 | 0) == -1) { - r6 = 972; - } else { - r63 = HEAP32[r75 >> 2]; - if ((r63 | 0) == (HEAP32[r58 >> 2] | 0)) { - r85 = FUNCTION_TABLE[HEAP32[HEAP32[r81] + 36 >> 2]](r80); - } else { - r85 = HEAP32[r63 >> 2]; - } - if ((r85 | 0) == -1) { - r6 = 972; - break; - } else { - break; - } - } - } while (0); - if (r6 == 972) { - r6 = 0; - HEAP32[r3] = 0; - } - r58 = HEAPU8[r17]; - r64 = ((r58 & 1 | 0) == 0 ? r58 >>> 1 : HEAP32[r43]) >>> 0 > 1 ? r30 : r49; - r65 = r51; - break; - } - if (r73) { - r86 = FUNCTION_TABLE[HEAP32[HEAP32[r81] + 36 >> 2]](r80); - } else { - r86 = HEAP32[r82 >> 2]; - } - if ((r86 | 0) != (HEAP32[((HEAP8[r38] & 1) << 24 >> 24 == 0 ? r28 : HEAP32[r41 >> 2]) >> 2] | 0)) { - r6 = 988; - break L1009; - } - r58 = HEAP32[r3]; - r75 = (r58 + 12 | 0) >> 2; - r68 = HEAP32[r75]; - r56 = r58 + 16 | 0; - if ((r68 | 0) == (HEAP32[r56 >> 2] | 0)) { - r87 = FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 40 >> 2]](r58); - } else { - HEAP32[r75] = r68 + 4 | 0; - r87 = HEAP32[r68 >> 2]; - } - do { - if ((r87 | 0) == -1) { - r6 = 986; - } else { - r68 = HEAP32[r75]; - if ((r68 | 0) == (HEAP32[r56 >> 2] | 0)) { - r88 = FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 36 >> 2]](r58); - } else { - r88 = HEAP32[r68 >> 2]; - } - if ((r88 | 0) == -1) { - r6 = 986; - break; - } else { - break; - } - } - } while (0); - if (r6 == 986) { - r6 = 0; - HEAP32[r3] = 0; - } - HEAP8[r7] = 1; - r58 = HEAPU8[r38]; - r64 = ((r58 & 1 | 0) == 0 ? r58 >>> 1 : HEAP32[r40]) >>> 0 > 1 ? r31 : r49; - r65 = r51; - break; - } else if ((r55 | 0) == 2) { - if (!((r49 | 0) != 0 | r50 >>> 0 < 2)) { - if (!(r45 | (r50 | 0) == 2 & r46)) { - r64 = 0; - r65 = r51; - break; - } - } - HEAP32[r33 >> 2] = 0; - if ((__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SD_SC_SC_RKT1_Rjb(r1, r2, r29, r5, r33) | 0) == (r29 | 0) | r48) { - r64 = r49; - r65 = r51; - break; - } else { - r6 = 993; - break L1009; - } - } else if ((r55 | 0) == 4) { - r58 = 0; - r56 = r11, r75 = r56 >> 2; - r73 = r51; - L1124 : while (1) { - r68 = HEAP32[r75 + 3]; - if ((r68 | 0) == (HEAP32[r75 + 4] | 0)) { - r89 = FUNCTION_TABLE[HEAP32[HEAP32[r75] + 36 >> 2]](r56); - } else { - r89 = HEAP32[r68 >> 2]; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r37] + 12 >> 2]](r8, 2048, r89)) { - r68 = HEAP32[r12]; - if ((r68 | 0) == (HEAP32[r16] | 0)) { - __ZNSt3__119__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r9, r10, r15); - r90 = HEAP32[r12]; - } else { - r90 = r68; - } - HEAP32[r12] = r90 + 4 | 0; - HEAP32[r90 >> 2] = r89; - r91 = r58 + 1 | 0; - r92 = r73; - } else { - r68 = HEAPU8[r27]; - if (!((r58 | 0) != 0 & (((r68 & 1 | 0) == 0 ? r68 >>> 1 : HEAP32[r25 >> 2]) | 0) != 0 & (r89 | 0) == (r24 | 0))) { - r93 = r58; - r94 = r73; - break; - } - if ((r73 | 0) == (HEAP32[r22] | 0)) { - __ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r18, r19, r21); - } - r68 = HEAP32[r20]; - r59 = r68 + 4 | 0; - HEAP32[r20] = r59; - HEAP32[r68 >> 2] = r58; - r91 = 0; - r92 = r59; - } - r59 = HEAP32[r3]; - r68 = (r59 + 12 | 0) >> 2; - r60 = HEAP32[r68]; - r63 = r59 + 16 | 0; - if ((r60 | 0) == (HEAP32[r63 >> 2] | 0)) { - r95 = FUNCTION_TABLE[HEAP32[HEAP32[r59 >> 2] + 40 >> 2]](r59); - } else { - HEAP32[r68] = r60 + 4 | 0; - r95 = HEAP32[r60 >> 2]; - } - do { - if ((r95 | 0) != -1) { - r60 = HEAP32[r68]; - if ((r60 | 0) == (HEAP32[r63 >> 2] | 0)) { - r96 = FUNCTION_TABLE[HEAP32[HEAP32[r59 >> 2] + 36 >> 2]](r59); - } else { - r96 = HEAP32[r60 >> 2]; - } - if ((r96 | 0) == -1) { - break; - } - r60 = HEAP32[r3]; - if ((r60 | 0) == 0 ^ r39) { - r58 = r91; - r56 = r60, r75 = r56 >> 2; - r73 = r92; - continue L1124; - } else { - r93 = r91; - r94 = r92; - break L1124; - } - } - } while (0); - HEAP32[r3] = 0; - if (r39) { - r93 = r91; - r94 = r92; - break; - } else { - r58 = r91; - r56 = 0, r75 = r56 >> 2; - r73 = r92; - } - } - if ((HEAP32[r35] | 0) == (r94 | 0) | (r93 | 0) == 0) { - r97 = r94; - } else { - if ((r94 | 0) == (HEAP32[r22] | 0)) { - __ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r18, r19, r21); - r98 = HEAP32[r20]; - } else { - r98 = r94; - } - r73 = r98 + 4 | 0; - HEAP32[r20] = r73; - HEAP32[r98 >> 2] = r93; - r97 = r73; - } - r73 = HEAP32[r32 >> 2]; - L1163 : do { - if ((r73 | 0) > 0) { - r56 = HEAP32[r3], r75 = r56 >> 2; - if (!((r56 | 0) == 0 ^ r39)) { - r6 = 1028; - break L1009; - } - r58 = HEAP32[r75 + 3]; - if ((r58 | 0) == (HEAP32[r75 + 4] | 0)) { - r99 = FUNCTION_TABLE[HEAP32[HEAP32[r75] + 36 >> 2]](r56); - } else { - r99 = HEAP32[r58 >> 2]; - } - if ((r99 | 0) != (r47 | 0)) { - r6 = 1028; - break L1009; - } - r58 = HEAP32[r3]; - r56 = (r58 + 12 | 0) >> 2; - r75 = HEAP32[r56]; - r59 = r58 + 16 | 0; - if ((r75 | 0) == (HEAP32[r59 >> 2] | 0)) { - r100 = FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 40 >> 2]](r58); - } else { - HEAP32[r56] = r75 + 4 | 0; - r100 = HEAP32[r75 >> 2]; - } - do { - if ((r100 | 0) == -1) { - r6 = 1037; - } else { - r75 = HEAP32[r56]; - if ((r75 | 0) == (HEAP32[r59 >> 2] | 0)) { - r101 = FUNCTION_TABLE[HEAP32[HEAP32[r58 >> 2] + 36 >> 2]](r58); - } else { - r101 = HEAP32[r75 >> 2]; - } - if ((r101 | 0) == -1) { - r6 = 1037; - break; - } else { - r102 = r73; - break; - } - } - } while (0); - do { - if (r6 == 1037) { - r6 = 0; - HEAP32[r3] = 0; - r102 = r73; - break; - } - } while (0); - while (1) { - r58 = HEAP32[r3], r59 = r58 >> 2; - if (!((r58 | 0) == 0 ^ r39)) { - r6 = 1044; - break L1009; - } - r56 = HEAP32[r59 + 3]; - if ((r56 | 0) == (HEAP32[r59 + 4] | 0)) { - r103 = FUNCTION_TABLE[HEAP32[HEAP32[r59] + 36 >> 2]](r58); - } else { - r103 = HEAP32[r56 >> 2]; - } - if (!FUNCTION_TABLE[HEAP32[HEAP32[r37] + 12 >> 2]](r8, 2048, r103)) { - r6 = 1044; - break L1009; - } - if ((HEAP32[r12] | 0) == (HEAP32[r16] | 0)) { - __ZNSt3__119__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r9, r10, r15); - } - r56 = HEAP32[r3], r58 = r56 >> 2; - r59 = HEAP32[r58 + 3]; - if ((r59 | 0) == (HEAP32[r58 + 4] | 0)) { - r104 = FUNCTION_TABLE[HEAP32[HEAP32[r58] + 36 >> 2]](r56); - } else { - r104 = HEAP32[r59 >> 2]; - } - r59 = HEAP32[r12]; - HEAP32[r12] = r59 + 4 | 0; - HEAP32[r59 >> 2] = r104; - r59 = r102 - 1 | 0; - HEAP32[r32 >> 2] = r59; - r56 = HEAP32[r3]; - r58 = (r56 + 12 | 0) >> 2; - r75 = HEAP32[r58]; - r63 = r56 + 16 | 0; - if ((r75 | 0) == (HEAP32[r63 >> 2] | 0)) { - r105 = FUNCTION_TABLE[HEAP32[HEAP32[r56 >> 2] + 40 >> 2]](r56); - } else { - HEAP32[r58] = r75 + 4 | 0; - r105 = HEAP32[r75 >> 2]; - } - do { - if ((r105 | 0) == -1) { - r6 = 1059; - } else { - r75 = HEAP32[r58]; - if ((r75 | 0) == (HEAP32[r63 >> 2] | 0)) { - r106 = FUNCTION_TABLE[HEAP32[HEAP32[r56 >> 2] + 36 >> 2]](r56); - } else { - r106 = HEAP32[r75 >> 2]; - } - if ((r106 | 0) == -1) { - r6 = 1059; - break; - } else { - break; - } - } - } while (0); - if (r6 == 1059) { - r6 = 0; - HEAP32[r3] = 0; - } - if ((r59 | 0) > 0) { - r102 = r59; - } else { - break L1163; - } - } - } - } while (0); - if ((HEAP32[r12] | 0) == (HEAP32[r4 >> 2] | 0)) { - r6 = 1061; - break L1009; - } else { - r64 = r49; - r65 = r97; - break; - } - } else { - r64 = r49; - r65 = r51; - } - } while (0); - L1213 : do { - if (r6 == 908) { - r6 = 0; - if ((r50 | 0) == 3) { - r53 = r49; - r54 = r51; - r6 = 1063; - break L1009; - } - r11 = HEAP32[r3]; - if ((r11 | 0) == 0 ^ r39) { - r107 = r11, r108 = r107 >> 2; - } else { - r64 = r49; - r65 = r51; - break; - } - L1216 : while (1) { - r11 = HEAP32[r108 + 3]; - if ((r11 | 0) == (HEAP32[r108 + 4] | 0)) { - r109 = FUNCTION_TABLE[HEAP32[HEAP32[r108] + 36 >> 2]](r107); - } else { - r109 = HEAP32[r11 >> 2]; - } - if (!FUNCTION_TABLE[HEAP32[HEAP32[r37] + 12 >> 2]](r8, 8192, r109)) { - r64 = r49; - r65 = r51; - break L1213; - } - r11 = HEAP32[r3]; - r55 = (r11 + 12 | 0) >> 2; - r52 = HEAP32[r55]; - r73 = r11 + 16 | 0; - if ((r52 | 0) == (HEAP32[r73 >> 2] | 0)) { - r110 = FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 40 >> 2]](r11); - } else { - HEAP32[r55] = r52 + 4 | 0; - r110 = HEAP32[r52 >> 2]; - } - do { - if ((r110 | 0) != -1) { - r52 = HEAP32[r55]; - if ((r52 | 0) == (HEAP32[r73 >> 2] | 0)) { - r111 = FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 36 >> 2]](r11); - } else { - r111 = HEAP32[r52 >> 2]; - } - if ((r111 | 0) == -1) { - break; - } - r52 = HEAP32[r3]; - if ((r52 | 0) == 0 ^ r39) { - r107 = r52, r108 = r107 >> 2; - continue L1216; - } else { - r64 = r49; - r65 = r51; - break L1213; - } - } - } while (0); - HEAP32[r3] = 0; - if (r39) { - r64 = r49; - r65 = r51; - break L1213; - } else { - r107 = 0, r108 = r107 >> 2; - } - } - } - } while (0); - r11 = r50 + 1 | 0; - if (r11 >>> 0 < 4) { - r49 = r64; - r50 = r11; - r51 = r65; - } else { - r53 = r64; - r54 = r65; - r6 = 1063; - break; - } - } - L1237 : do { - if (r6 == 907) { - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } else if (r6 == 1061) { - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } else if (r6 == 1063) { - L1241 : do { - if ((r53 | 0) != 0) { - r65 = r53; - r64 = r53 + 4 | 0; - r51 = r53 + 8 | 0; - r50 = 1; - while (1) { - r49 = HEAP8[r65]; - r107 = r49 & 255; - if ((r107 & 1 | 0) == 0) { - r113 = r107 >>> 1; - } else { - r113 = HEAP32[r64 >> 2]; - } - if (r50 >>> 0 >= r113 >>> 0) { - break L1241; - } - r107 = HEAP32[r3], r108 = r107 >> 2; - if (!((r107 | 0) == 0 ^ r39)) { - break; - } - r111 = HEAP32[r108 + 3]; - if ((r111 | 0) == (HEAP32[r108 + 4] | 0)) { - r114 = FUNCTION_TABLE[HEAP32[HEAP32[r108] + 36 >> 2]](r107); - r115 = HEAP8[r65]; - } else { - r114 = HEAP32[r111 >> 2]; - r115 = r49; - } - if ((r115 & 1) << 24 >> 24 == 0) { - r116 = r64; - } else { - r116 = HEAP32[r51 >> 2]; - } - if ((r114 | 0) != (HEAP32[r116 + (r50 << 2) >> 2] | 0)) { - break; - } - r49 = r50 + 1 | 0; - r111 = HEAP32[r3]; - r107 = (r111 + 12 | 0) >> 2; - r108 = HEAP32[r107]; - r110 = r111 + 16 | 0; - if ((r108 | 0) == (HEAP32[r110 >> 2] | 0)) { - r117 = FUNCTION_TABLE[HEAP32[HEAP32[r111 >> 2] + 40 >> 2]](r111); - } else { - HEAP32[r107] = r108 + 4 | 0; - r117 = HEAP32[r108 >> 2]; - } - if ((r117 | 0) != -1) { - r108 = HEAP32[r107]; - if ((r108 | 0) == (HEAP32[r110 >> 2] | 0)) { - r118 = FUNCTION_TABLE[HEAP32[HEAP32[r111 >> 2] + 36 >> 2]](r111); - } else { - r118 = HEAP32[r108 >> 2]; - } - if ((r118 | 0) != -1) { - r50 = r49; - continue; - } - } - HEAP32[r3] = 0; - r50 = r49; - } - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - break L1237; - } - } while (0); - r50 = HEAP32[r35]; - if ((r50 | 0) == (r54 | 0)) { - r112 = 1; - break; - } - HEAP32[r34 >> 2] = 0; - __ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj(r26, r50, r54, r34); - if ((HEAP32[r34 >> 2] | 0) == 0) { - r112 = 1; - break; - } - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } else if (r6 == 988) { - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } else if (r6 == 1028) { - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } else if (r6 == 1044) { - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } else if (r6 == 993) { - HEAP32[r13] = HEAP32[r13] | 4; - r112 = 0; - } - } while (0); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r31); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r30); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r26); - r26 = HEAP32[r35]; - HEAP32[r35] = 0; - if ((r26 | 0) == 0) { - STACKTOP = r14; - return r112; - } - FUNCTION_TABLE[HEAP32[r36 >> 2]](r26); - STACKTOP = r14; - return r112; -} -__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_["X"] = 1; -function __ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init30() { - if (HEAP8[5274424] << 24 >> 24 != 0) { - return; - } - HEAP32[1318606] = 1; - HEAP32[1318607] = 0; - return; -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r4 = r1; - r5 = r2; - r6 = HEAP8[r4]; - r7 = r6 & 255; - if ((r7 & 1 | 0) == 0) { - r8 = r7 >>> 1; - } else { - r8 = HEAP32[r1 + 4 >> 2]; - } - if ((r6 & 1) << 24 >> 24 == 0) { - r9 = 1; - r10 = r6; - } else { - r6 = HEAP32[r1 >> 2]; - r9 = (r6 & -2) - 1 | 0; - r10 = r6 & 255; - } - r6 = r3 - r5 >> 2; - if ((r6 | 0) == 0) { - return; - } - if ((r9 - r8 | 0) >>> 0 < r6 >>> 0) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEjjjjjj(r1, r9, r8 + r6 - r9 | 0, r8, r8); - r11 = HEAP8[r4]; - } else { - r11 = r10; - } - if ((r11 & 1) << 24 >> 24 == 0) { - r12 = r1 + 4 | 0; - } else { - r12 = HEAP32[r1 + 8 >> 2]; - } - r11 = (r8 << 2) + r12 | 0; - if ((r2 | 0) == (r3 | 0)) { - r13 = r11; - } else { - r10 = r8 + ((r3 - 4 + -r5 | 0) >>> 2) + 1 | 0; - r5 = r2; - r2 = r11; - while (1) { - HEAP32[r2 >> 2] = HEAP32[r5 >> 2]; - r11 = r5 + 4 | 0; - if ((r11 | 0) == (r3 | 0)) { - break; - } else { - r5 = r11; - r2 = r2 + 4 | 0; - } - } - r13 = (r10 << 2) + r12 | 0; - } - HEAP32[r13 >> 2] = 0; - r13 = r8 + r6 | 0; - if ((HEAP8[r4] & 1) << 24 >> 24 == 0) { - HEAP8[r4] = r13 << 1 & 255; - return; - } else { - HEAP32[r1 + 4 >> 2] = r13; - return; - } -} -__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_["X"] = 1; -function __ZNSt3__111__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) { - var r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23; - r11 = STACKTOP; - STACKTOP = STACKTOP + 104 | 0; - r12 = r11; - r13 = r11 + 4; - r14 = r11 + 16; - r15 = r11 + 28; - r16 = r11 + 40; - r17 = r11 + 52; - r18 = r11 + 56; - r19 = r11 + 68; - r20 = r11 + 80; - r21 = r11 + 92; - if (r1) { - r1 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5274144); - r22 = r1; - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 44 >> 2]](r12, r22); - r23 = r3; - tempBigInt = HEAP32[r12 >> 2]; - HEAP8[r23] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r23 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r23 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r23 + 3 | 0] = tempBigInt & 255; - r23 = r1 >> 2; - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 32 >> 2]](r13, r22); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r9, r13); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r13); - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 28 >> 2]](r14, r22); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r8, r14); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r14); - r14 = r1 >> 2; - HEAP32[r4 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r14] + 12 >> 2]](r22); - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r14] + 16 >> 2]](r22); - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 20 >> 2]](r15, r22); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r6, r15); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r15); - FUNCTION_TABLE[HEAP32[HEAP32[r23] + 24 >> 2]](r16, r22); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r7, r16); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r16); - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r14] + 36 >> 2]](r22); - HEAP32[r10 >> 2] = r16; - STACKTOP = r11; - return; - } else { - r22 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r2 >> 2], 5274152); - r2 = r22; - FUNCTION_TABLE[HEAP32[HEAP32[r22 >> 2] + 44 >> 2]](r17, r2); - r14 = r3; - tempBigInt = HEAP32[r17 >> 2]; - HEAP8[r14] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r14 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r14 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r14 + 3 | 0] = tempBigInt & 255; - r14 = r22 >> 2; - FUNCTION_TABLE[HEAP32[HEAP32[r14] + 32 >> 2]](r18, r2); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r9, r18); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r18); - FUNCTION_TABLE[HEAP32[HEAP32[r14] + 28 >> 2]](r19, r2); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r8, r19); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r19); - r19 = r22 >> 2; - HEAP32[r4 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 12 >> 2]](r2); - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 16 >> 2]](r2); - FUNCTION_TABLE[HEAP32[HEAP32[r22 >> 2] + 20 >> 2]](r20, r2); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r6, r20); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r20); - FUNCTION_TABLE[HEAP32[HEAP32[r14] + 24 >> 2]](r21, r2); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r7, r21); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r21); - r16 = FUNCTION_TABLE[HEAP32[HEAP32[r19] + 36 >> 2]](r2); - HEAP32[r10 >> 2] = r16; - STACKTOP = r11; - return; - } -} -__ZNSt3__111__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri["X"] = 1; -function __ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SD_SC_SC_RKT1_Rjb(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44; - r6 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r8 = (r4 - r3 | 0) / 12 & -1; - r9 = r7 | 0; - do { - if (r8 >>> 0 > 100) { - r10 = _malloc(r8); - if ((r10 | 0) != 0) { - r11 = r10; - r12 = r10; - break; - } - __ZSt17__throw_bad_allocv(); - r11 = 0; - r12 = 0; - } else { - r11 = r9; - r12 = 0; - } - } while (0); - r9 = (r3 | 0) == (r4 | 0); - L1338 : do { - if (r9) { - r13 = r8; - r14 = 0; - } else { - r10 = r8; - r15 = 0; - r16 = r11; - r17 = r3; - while (1) { - r18 = HEAPU8[r17]; - if ((r18 & 1 | 0) == 0) { - r19 = r18 >>> 1; - } else { - r19 = HEAP32[r17 + 4 >> 2]; - } - if ((r19 | 0) == 0) { - HEAP8[r16] = 2; - r20 = r15 + 1 | 0; - r21 = r10 - 1 | 0; - } else { - HEAP8[r16] = 1; - r20 = r15; - r21 = r10; - } - r18 = r17 + 12 | 0; - if ((r18 | 0) == (r4 | 0)) { - r13 = r21; - r14 = r20; - break L1338; - } else { - r10 = r21; - r15 = r20; - r16 = r16 + 1 | 0; - r17 = r18; - } - } - } - } while (0); - r20 = (r1 | 0) >> 2; - r1 = HEAP32[r20]; - r21 = (r2 | 0) == 0; - L1350 : do { - if ((r1 | 0) == 0 ^ r21) { - r2 = r13; - r19 = r14; - r8 = 0; - r17 = r1, r16 = r17 >> 2; - while (1) { - if ((r2 | 0) == 0) { - r22 = r17; - break L1350; - } - r15 = HEAP32[r16 + 3]; - if ((r15 | 0) == (HEAP32[r16 + 4] | 0)) { - r23 = FUNCTION_TABLE[HEAP32[HEAP32[r16] + 36 >> 2]](r17); - } else { - r23 = HEAP32[r15 >> 2]; - } - r15 = r8 + 1 | 0; - L1358 : do { - if (r9) { - r24 = r19; - r25 = r2; - r26 = r15; - } else { - r10 = r2; - r18 = r19; - r27 = r11; - r28 = 0; - r29 = r3; - while (1) { - do { - if (HEAP8[r27] << 24 >> 24 == 1) { - r30 = HEAP8[r29]; - if ((r30 & 1) << 24 >> 24 == 0) { - r31 = r29 + 4 | 0; - } else { - r31 = HEAP32[r29 + 8 >> 2]; - } - if ((r23 | 0) != (HEAP32[r31 + (r8 << 2) >> 2] | 0)) { - HEAP8[r27] = 0; - r32 = r28; - r33 = r18; - r34 = r10 - 1 | 0; - break; - } - r35 = r30 & 255; - if ((r35 & 1 | 0) == 0) { - r36 = r35 >>> 1; - } else { - r36 = HEAP32[r29 + 4 >> 2]; - } - if ((r36 | 0) != (r15 | 0)) { - r32 = 1; - r33 = r18; - r34 = r10; - break; - } - HEAP8[r27] = 2; - r32 = 1; - r33 = r18 + 1 | 0; - r34 = r10 - 1 | 0; - } else { - r32 = r28; - r33 = r18; - r34 = r10; - } - } while (0); - r35 = r29 + 12 | 0; - if ((r35 | 0) == (r4 | 0)) { - break; - } - r10 = r34; - r18 = r33; - r27 = r27 + 1 | 0; - r28 = r32; - r29 = r35; - } - if ((r32 & 1) << 24 >> 24 == 0) { - r24 = r33; - r25 = r34; - r26 = r15; - break; - } - r29 = HEAP32[r20]; - r28 = (r29 + 12 | 0) >> 2; - r27 = HEAP32[r28]; - r18 = r29 + 16 | 0; - if ((r27 | 0) == (HEAP32[r18 >> 2] | 0)) { - r37 = FUNCTION_TABLE[HEAP32[HEAP32[r29 >> 2] + 40 >> 2]](r29); - } else { - HEAP32[r28] = r27 + 4 | 0; - r37 = HEAP32[r27 >> 2]; - } - do { - if ((r37 | 0) == -1) { - r6 = 1199; - } else { - r27 = HEAP32[r28]; - if ((r27 | 0) == (HEAP32[r18 >> 2] | 0)) { - r38 = FUNCTION_TABLE[HEAP32[HEAP32[r29 >> 2] + 36 >> 2]](r29); - } else { - r38 = HEAP32[r27 >> 2]; - } - if ((r38 | 0) == -1) { - r6 = 1199; - break; - } else { - break; - } - } - } while (0); - if (r6 == 1199) { - r6 = 0; - HEAP32[r20] = 0; - } - if ((r33 + r34 | 0) >>> 0 < 2) { - r24 = r33; - r25 = r34; - r26 = r15; - break; - } else { - r39 = r33; - r40 = r11; - r41 = r3; - } - while (1) { - do { - if (HEAP8[r40] << 24 >> 24 == 2) { - r29 = HEAPU8[r41]; - if ((r29 & 1 | 0) == 0) { - r42 = r29 >>> 1; - } else { - r42 = HEAP32[r41 + 4 >> 2]; - } - if ((r42 | 0) == (r15 | 0)) { - r43 = r39; - break; - } - HEAP8[r40] = 0; - r43 = r39 - 1 | 0; - } else { - r43 = r39; - } - } while (0); - r29 = r41 + 12 | 0; - if ((r29 | 0) == (r4 | 0)) { - r24 = r43; - r25 = r34; - r26 = r15; - break L1358; - } else { - r39 = r43; - r40 = r40 + 1 | 0; - r41 = r29; - } - } - } - } while (0); - r15 = HEAP32[r20]; - if ((r15 | 0) == 0 ^ r21) { - r2 = r25; - r19 = r24; - r8 = r26; - r17 = r15, r16 = r17 >> 2; - } else { - r22 = r15; - break L1350; - } - } - } else { - r22 = r1; - } - } while (0); - if (!((r22 | 0) == 0 ^ r21)) { - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] | 2; - } - L1407 : do { - if (r9) { - r6 = 1215; - } else { - r21 = r3; - r22 = r11; - while (1) { - if (HEAP8[r22] << 24 >> 24 == 2) { - r44 = r21; - break L1407; - } - r1 = r21 + 12 | 0; - if ((r1 | 0) == (r4 | 0)) { - r6 = 1215; - break L1407; - } - r21 = r1; - r22 = r22 + 1 | 0; - } - } - } while (0); - if (r6 == 1215) { - HEAP32[r5 >> 2] = HEAP32[r5 >> 2] | 4; - r44 = r4; - } - if ((r12 | 0) == 0) { - STACKTOP = r7; - return r44; - } - _free(r12); - STACKTOP = r7; - return r44; -} -__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SD_SC_SC_RKT1_Rjb["X"] = 1; -function __ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r2 = STACKTOP; - STACKTOP = STACKTOP + 420 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r4; - r4 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r4 >> 2] = HEAP32[r9 >> 2]; - r9 = r2; - r10 = r2 + 400; - r11 = r2 + 408; - r12 = r2 + 412; - r13 = r2 + 416; - r14 = (r10 | 0) >> 2; - HEAP32[r14] = r9 | 0; - r15 = r10 + 4 | 0; - HEAP32[r15 >> 2] = 534; - __ZNKSt3__18ios_base6getlocEv(r12, r6); - r16 = r12 | 0; - r17 = __ZNKSt3__16locale9use_facetERNS0_2idE(HEAP32[r16 >> 2], 5273660); - r18 = r17; - HEAP8[r13] = 0; - r19 = HEAP32[r4 >> 2]; - if (__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_(r3, r19, r5, r12, HEAP32[r6 + 4 >> 2], r7, r13, r18, r10, r11, r9 + 400 | 0)) { - r9 = r8; - if ((HEAP8[r9] & 1) << 24 >> 24 == 0) { - HEAP32[r8 + 4 >> 2] = 0; - HEAP8[r9] = 0; - } else { - HEAP32[HEAP32[r8 + 8 >> 2] >> 2] = 0; - HEAP32[r8 + 4 >> 2] = 0; - } - r9 = r17; - if ((HEAP8[r13] & 1) << 24 >> 24 != 0) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(r8, FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 44 >> 2]](r18, 45)); - } - r13 = FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 44 >> 2]](r18, 48); - r18 = HEAP32[r11 >> 2]; - r11 = r18 - 4 | 0; - r9 = HEAP32[r14]; - while (1) { - if (r9 >>> 0 >= r11 >>> 0) { - break; - } - if ((HEAP32[r9 >> 2] | 0) == (r13 | 0)) { - r9 = r9 + 4 | 0; - } else { - break; - } - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_(r8, r9, r18); - } - r18 = HEAP32[r3 >> 2]; - if (!((r18 | 0) == 0 ^ (r19 | 0) == 0)) { - HEAP32[r7 >> 2] = HEAP32[r7 >> 2] | 2; - } - HEAP32[r1 >> 2] = r18; - __ZNSt3__16localeD1Ev(HEAP32[r16 >> 2]); - r16 = HEAP32[r14]; - HEAP32[r14] = 0; - if ((r16 | 0) == 0) { - STACKTOP = r2; - return; - } - FUNCTION_TABLE[HEAP32[r15 >> 2]](r16); - STACKTOP = r2; - return; -} -__ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE["X"] = 1; -function __ZNSt3__119__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11; - r4 = (r1 + 4 | 0) >> 2; - r5 = (HEAP32[r4] | 0) != 534; - r6 = (r1 | 0) >> 2; - r1 = HEAP32[r6]; - r7 = r1; - r8 = HEAP32[r3 >> 2] - r7 | 0; - r9 = r8 >>> 0 < 2147483647 ? r8 << 1 : -1; - r8 = HEAP32[r2 >> 2] - r7 >> 2; - if (r5) { - r10 = r1; - } else { - r10 = 0; - } - r1 = _realloc(r10, r9); - r10 = r1; - if ((r1 | 0) == 0) { - __ZSt17__throw_bad_allocv(); - } - do { - if (r5) { - HEAP32[r6] = r10; - r11 = r10; - } else { - r1 = HEAP32[r6]; - HEAP32[r6] = r10; - if ((r1 | 0) == 0) { - r11 = r10; - break; - } - FUNCTION_TABLE[HEAP32[r4]](r1); - r11 = HEAP32[r6]; - } - } while (0); - HEAP32[r4] = 270; - HEAP32[r2 >> 2] = (r8 << 2) + r11 | 0; - HEAP32[r3 >> 2] = (r9 >>> 2 << 2) + HEAP32[r6] | 0; - return; -} -__ZNSt3__119__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_["X"] = 1; -function __ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42; - r2 = STACKTOP; - STACKTOP = STACKTOP + 232 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 100, r9 = r8 >> 2; - r10 = r2 + 204; - r11 = r2 + 208; - r12 = r2 + 212; - r13 = r2 + 216; - r14 = r2 + 220; - r15 = r14 >> 2; - r16 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r17 = r16, r18 = r17 >> 2; - r19 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r20 = r19, r21 = r20 >> 2; - r22 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r23 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r24 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r25 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r26 = r2 | 0; - HEAP32[r9] = r26; - r27 = r2 + 104 | 0; - r28 = _snprintf(r26, 100, 5248324, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - do { - if (r28 >>> 0 > 99) { - r26 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), 5248324, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - r29 = HEAP32[r9]; - if ((r29 | 0) == 0) { - __ZSt17__throw_bad_allocv(); - r30 = HEAP32[r9]; - } else { - r30 = r29; - } - r29 = _malloc(r26); - if ((r29 | 0) != 0) { - r31 = r29; - r32 = r26; - r33 = r30; - r34 = r29; - break; - } - __ZSt17__throw_bad_allocv(); - r31 = 0; - r32 = r26; - r33 = r30; - r34 = 0; - } else { - r31 = r27; - r32 = r28; - r33 = 0; - r34 = 0; - } - } while (0); - __ZNKSt3__18ios_base6getlocEv(r10, r5); - r28 = HEAP32[r10 >> 2]; - r10 = __ZNKSt3__16locale9use_facetERNS0_2idE(r28, 5273668); - r27 = r10; - r30 = HEAP32[r9]; - FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 32 >> 2]](r27, r30, r30 + r32 | 0, r31); - if ((r32 | 0) == 0) { - r35 = 0; - } else { - r35 = HEAP8[HEAP32[r9]] << 24 >> 24 == 45; - } - HEAP32[r15] = 0; - HEAP32[r15 + 1] = 0; - HEAP32[r15 + 2] = 0; - HEAP32[r18] = 0; - HEAP32[r18 + 1] = 0; - HEAP32[r18 + 2] = 0; - HEAP32[r21] = 0; - HEAP32[r21 + 1] = 0; - HEAP32[r21 + 2] = 0; - __ZNSt3__111__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri(r4, r35, r28, r11, r12, r13, r14, r16, r19, r22); - r4 = r23 | 0; - r23 = HEAP32[r22 >> 2]; - if ((r32 | 0) > (r23 | 0)) { - r22 = HEAPU8[r20]; - if ((r22 & 1 | 0) == 0) { - r36 = r22 >>> 1; - } else { - r36 = HEAP32[r19 + 4 >> 2]; - } - r22 = HEAPU8[r17]; - if ((r22 & 1 | 0) == 0) { - r37 = r22 >>> 1; - } else { - r37 = HEAP32[r16 + 4 >> 2]; - } - r38 = (r32 - r23 << 1 | 1) + r36 + r37 | 0; - } else { - r37 = HEAPU8[r20]; - if ((r37 & 1 | 0) == 0) { - r39 = r37 >>> 1; - } else { - r39 = HEAP32[r19 + 4 >> 2]; - } - r37 = HEAPU8[r17]; - if ((r37 & 1 | 0) == 0) { - r40 = r37 >>> 1; - } else { - r40 = HEAP32[r16 + 4 >> 2]; - } - r38 = r40 + (r39 + 2) | 0; - } - r39 = r38 + r23 | 0; - do { - if (r39 >>> 0 > 100) { - r38 = _malloc(r39); - if ((r38 | 0) != 0) { - r41 = r38; - r42 = r38; - break; - } - __ZSt17__throw_bad_allocv(); - r41 = 0; - r42 = 0; - } else { - r41 = r4; - r42 = 0; - } - } while (0); - __ZNSt3__111__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i(r41, r24, r25, HEAP32[r5 + 4 >> 2], r31, r31 + r32 | 0, r27, r35, r11, HEAP8[r12], HEAP8[r13], r14, r16, r19, r23); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r41, HEAP32[r24 >> 2], HEAP32[r25 >> 2], r5, r6); - if ((r42 | 0) != 0) { - _free(r42); - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r19); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r16); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r14); - __ZNSt3__16localeD1Ev(r28); - if ((r34 | 0) != 0) { - _free(r34); - } - if ((r33 | 0) == 0) { - STACKTOP = r2; - return; - } - _free(r33); - STACKTOP = r2; - return; -} -__ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce["X"] = 1; -function __ZNSt3__111__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) { - var r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30; - r11 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r12 = r11; - r13 = r12; - r14 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r15 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r16 = r15; - r17 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r18 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r19 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r20 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r21 = r20; - r22 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r23 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r24 = r23; - r25 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r26 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r27 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - if (r1) { - r1 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5274160), r28 = r1 >> 2; - r29 = r1; - r30 = HEAP32[r28]; - if (r2) { - FUNCTION_TABLE[HEAP32[r30 + 44 >> 2]](r13, r29); - r13 = r4; - tempBigInt = HEAP32[r12 >> 2]; - HEAP8[r13] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r13 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r13 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r13 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r28] + 32 >> 2]](r14, r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r9, r14); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r14); - } else { - FUNCTION_TABLE[HEAP32[r30 + 40 >> 2]](r16, r29); - r16 = r4; - tempBigInt = HEAP32[r15 >> 2]; - HEAP8[r16] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r16 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r16 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r16 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r28] + 28 >> 2]](r17, r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r9, r17); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r17); - } - r17 = r1; - HEAP8[r5] = FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 12 >> 2]](r29); - HEAP8[r6] = FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 16 >> 2]](r29); - r17 = r1; - FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 20 >> 2]](r18, r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r7, r18); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - FUNCTION_TABLE[HEAP32[HEAP32[r17 >> 2] + 24 >> 2]](r19, r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r8, r19); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r19); - r19 = FUNCTION_TABLE[HEAP32[HEAP32[r28] + 36 >> 2]](r29); - HEAP32[r10 >> 2] = r19; - STACKTOP = r11; - return; - } else { - r29 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5274168), r3 = r29 >> 2; - r28 = r29; - r17 = HEAP32[r3]; - if (r2) { - FUNCTION_TABLE[HEAP32[r17 + 44 >> 2]](r21, r28); - r21 = r4; - tempBigInt = HEAP32[r20 >> 2]; - HEAP8[r21] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r21 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r21 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r21 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r3] + 32 >> 2]](r22, r28); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r9, r22); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r22); - } else { - FUNCTION_TABLE[HEAP32[r17 + 40 >> 2]](r24, r28); - r24 = r4; - tempBigInt = HEAP32[r23 >> 2]; - HEAP8[r24] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r24 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r24 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r24 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r3] + 28 >> 2]](r25, r28); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r9, r25); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r25); - } - r25 = r29; - HEAP8[r5] = FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 12 >> 2]](r28); - HEAP8[r6] = FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 16 >> 2]](r28); - r25 = r29; - FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 20 >> 2]](r26, r28); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r7, r26); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r26); - FUNCTION_TABLE[HEAP32[HEAP32[r25 >> 2] + 24 >> 2]](r27, r28); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r8, r27); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r27); - r19 = FUNCTION_TABLE[HEAP32[HEAP32[r3] + 36 >> 2]](r28); - HEAP32[r10 >> 2] = r19; - STACKTOP = r11; - return; - } -} -__ZNSt3__111__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri["X"] = 1; -function __ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev(r1) { - return; -} -function ___cxx_global_var_init32() { - if (HEAP8[5274416] << 24 >> 24 != 0) { - return; - } - HEAP32[1318604] = 1; - HEAP32[1318605] = 0; - return; -} -function __ZNSt3__111__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15) { - var r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72, r73, r74, r75, r76; - r16 = r3 >> 2; - r3 = 0; - HEAP32[r16] = r1; - r17 = r7 >> 2; - r18 = r14; - r19 = r14 + 1 | 0; - r20 = r14 + 8 | 0; - r21 = (r14 + 4 | 0) >> 2; - r14 = r13; - r22 = (r4 & 512 | 0) == 0; - r23 = r13 + 1 | 0; - r24 = r13 + 4 | 0; - r25 = r13 + 8 | 0; - r13 = r7 + 8 | 0; - r26 = (r15 | 0) > 0; - r27 = r12; - r28 = r12 + 1 | 0; - r29 = (r12 + 8 | 0) >> 2; - r30 = r12 + 4 | 0; - r12 = -r15 | 0; - r31 = r5; - r5 = 0; - while (1) { - r32 = HEAP8[r9 + r5 | 0] << 24 >> 24; - L1543 : do { - if ((r32 | 0) == 3) { - r33 = HEAP8[r18]; - r34 = r33 & 255; - if ((r34 & 1 | 0) == 0) { - r35 = r34 >>> 1; - } else { - r35 = HEAP32[r21]; - } - if ((r35 | 0) == 0) { - r36 = r31; - break; - } - if ((r33 & 1) << 24 >> 24 == 0) { - r37 = r19; - } else { - r37 = HEAP32[r20 >> 2]; - } - r33 = HEAP8[r37]; - r34 = HEAP32[r16]; - HEAP32[r16] = r34 + 1 | 0; - HEAP8[r34] = r33; - r36 = r31; - } else if ((r32 | 0) == 1) { - HEAP32[r2 >> 2] = HEAP32[r16]; - r33 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 28 >> 2]](r7, 32); - r34 = HEAP32[r16]; - HEAP32[r16] = r34 + 1 | 0; - HEAP8[r34] = r33; - r36 = r31; - } else if ((r32 | 0) == 0) { - HEAP32[r2 >> 2] = HEAP32[r16]; - r36 = r31; - } else if ((r32 | 0) == 2) { - r33 = HEAP8[r14]; - r34 = r33 & 255; - r38 = (r34 & 1 | 0) == 0; - if (r38) { - r39 = r34 >>> 1; - } else { - r39 = HEAP32[r24 >> 2]; - } - if ((r39 | 0) == 0 | r22) { - r36 = r31; - break; - } - if ((r33 & 1) << 24 >> 24 == 0) { - r40 = r23; - } else { - r40 = HEAP32[r25 >> 2]; - } - if (r38) { - r41 = r34 >>> 1; - } else { - r41 = HEAP32[r24 >> 2]; - } - r34 = r40 + r41 | 0; - r38 = HEAP32[r16]; - L1568 : do { - if ((r40 | 0) == (r34 | 0)) { - r42 = r38; - } else { - r33 = r40; - r43 = r38; - while (1) { - HEAP8[r43] = HEAP8[r33]; - r44 = r33 + 1 | 0; - r45 = r43 + 1 | 0; - if ((r44 | 0) == (r34 | 0)) { - r42 = r45; - break L1568; - } else { - r33 = r44; - r43 = r45; - } - } - } - } while (0); - HEAP32[r16] = r42; - r36 = r31; - } else if ((r32 | 0) == 4) { - r34 = HEAP32[r16]; - r38 = r8 ? r31 + 1 | 0 : r31; - r43 = r38; - while (1) { - if (r43 >>> 0 >= r6 >>> 0) { - break; - } - r33 = HEAP8[r43]; - if (r33 << 24 >> 24 <= -1) { - break; - } - if ((HEAP16[HEAP32[r13 >> 2] + (r33 << 24 >> 24 << 1) >> 1] & 2048) << 16 >> 16 == 0) { - break; - } else { - r43 = r43 + 1 | 0; - } - } - r33 = r43; - if (r26) { - do { - if (r43 >>> 0 > r38 >>> 0) { - r45 = r38 + -r33 | 0; - r44 = r45 >>> 0 < r12 >>> 0 ? r12 : r45; - r45 = r44 + r15 | 0; - r46 = r43; - r47 = r15; - r48 = r34; - while (1) { - r49 = r46 - 1 | 0; - r50 = HEAP8[r49]; - HEAP32[r16] = r48 + 1 | 0; - HEAP8[r48] = r50; - r50 = r47 - 1 | 0; - r51 = (r50 | 0) > 0; - if (!(r49 >>> 0 > r38 >>> 0 & r51)) { - break; - } - r46 = r49; - r47 = r50; - r48 = HEAP32[r16]; - } - r48 = r43 + r44 | 0; - if (r51) { - r52 = r45; - r53 = r48; - r3 = 1382; - break; - } else { - r54 = 0; - r55 = r45; - r56 = r48; - break; - } - } else { - r52 = r15; - r53 = r43; - r3 = 1382; - } - } while (0); - if (r3 == 1382) { - r3 = 0; - r54 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 28 >> 2]](r7, 48); - r55 = r52; - r56 = r53; - } - r33 = HEAP32[r16]; - HEAP32[r16] = r33 + 1 | 0; - L1589 : do { - if ((r55 | 0) > 0) { - r48 = r55; - r47 = r33; - while (1) { - HEAP8[r47] = r54; - r46 = r48 - 1 | 0; - r50 = HEAP32[r16]; - HEAP32[r16] = r50 + 1 | 0; - if ((r46 | 0) > 0) { - r48 = r46; - r47 = r50; - } else { - r57 = r50; - break L1589; - } - } - } else { - r57 = r33; - } - } while (0); - HEAP8[r57] = r10; - r58 = r56; - } else { - r58 = r43; - } - L1594 : do { - if ((r58 | 0) == (r38 | 0)) { - r33 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 28 >> 2]](r7, 48); - r47 = HEAP32[r16]; - HEAP32[r16] = r47 + 1 | 0; - HEAP8[r47] = r33; - } else { - r33 = HEAP8[r27]; - r47 = r33 & 255; - if ((r47 & 1 | 0) == 0) { - r59 = r47 >>> 1; - } else { - r59 = HEAP32[r30 >> 2]; - } - do { - if ((r59 | 0) == 0) { - r60 = r58; - r61 = 0; - r62 = 0; - r63 = -1; - } else { - if ((r33 & 1) << 24 >> 24 == 0) { - r64 = r28; - } else { - r64 = HEAP32[r29]; - } - r60 = r58; - r61 = 0; - r62 = 0; - r63 = HEAP8[r64] << 24 >> 24; - break; - } - } while (0); - while (1) { - do { - if ((r61 | 0) == (r63 | 0)) { - r33 = HEAP32[r16]; - HEAP32[r16] = r33 + 1 | 0; - HEAP8[r33] = r11; - r33 = r62 + 1 | 0; - r47 = HEAP8[r27]; - r48 = r47 & 255; - if ((r48 & 1 | 0) == 0) { - r65 = r48 >>> 1; - } else { - r65 = HEAP32[r30 >> 2]; - } - if (r33 >>> 0 >= r65 >>> 0) { - r66 = r63; - r67 = r33; - r68 = 0; - break; - } - r48 = (r47 & 1) << 24 >> 24 == 0; - if (r48) { - r69 = r28; - } else { - r69 = HEAP32[r29]; - } - if (HEAP8[r69 + r33 | 0] << 24 >> 24 == 127) { - r66 = -1; - r67 = r33; - r68 = 0; - break; - } - if (r48) { - r70 = r28; - } else { - r70 = HEAP32[r29]; - } - r66 = HEAP8[r70 + r33 | 0] << 24 >> 24; - r67 = r33; - r68 = 0; - } else { - r66 = r63; - r67 = r62; - r68 = r61; - } - } while (0); - r33 = r60 - 1 | 0; - r48 = HEAP8[r33]; - r47 = HEAP32[r16]; - HEAP32[r16] = r47 + 1 | 0; - HEAP8[r47] = r48; - if ((r33 | 0) == (r38 | 0)) { - break L1594; - } else { - r60 = r33; - r61 = r68 + 1 | 0; - r62 = r67; - r63 = r66; - } - } - } - } while (0); - r43 = HEAP32[r16]; - if ((r34 | 0) == (r43 | 0)) { - r36 = r38; - break; - } - r33 = r43 - 1 | 0; - if (r34 >>> 0 < r33 >>> 0) { - r71 = r34; - r72 = r33; - } else { - r36 = r38; - break; - } - while (1) { - r33 = HEAP8[r71]; - HEAP8[r71] = HEAP8[r72]; - HEAP8[r72] = r33; - r33 = r71 + 1 | 0; - r43 = r72 - 1 | 0; - if (r33 >>> 0 < r43 >>> 0) { - r71 = r33; - r72 = r43; - } else { - r36 = r38; - break L1543; - } - } - } else { - r36 = r31; - } - } while (0); - r32 = r5 + 1 | 0; - if ((r32 | 0) == 4) { - break; - } else { - r31 = r36; - r5 = r32; - } - } - r5 = HEAP8[r18]; - r18 = r5 & 255; - r36 = (r18 & 1 | 0) == 0; - if (r36) { - r73 = r18 >>> 1; - } else { - r73 = HEAP32[r21]; - } - if (r73 >>> 0 > 1) { - if ((r5 & 1) << 24 >> 24 == 0) { - r74 = r19; - } else { - r74 = HEAP32[r20 >> 2]; - } - if (r36) { - r75 = r18 >>> 1; - } else { - r75 = HEAP32[r21]; - } - r21 = r74 + r75 | 0; - r75 = HEAP32[r16]; - r18 = r74 + 1 | 0; - L1642 : do { - if ((r18 | 0) == (r21 | 0)) { - r76 = r75; - } else { - r74 = r75; - r36 = r18; - while (1) { - HEAP8[r74] = HEAP8[r36]; - r20 = r74 + 1 | 0; - r19 = r36 + 1 | 0; - if ((r19 | 0) == (r21 | 0)) { - r76 = r20; - break L1642; - } else { - r74 = r20; - r36 = r19; - } - } - } - } while (0); - HEAP32[r16] = r76; - } - r76 = r4 & 176; - if ((r76 | 0) == 32) { - HEAP32[r2 >> 2] = HEAP32[r16]; - return; - } else if ((r76 | 0) == 16) { - return; - } else { - HEAP32[r2 >> 2] = r1; - return; - } -} -__ZNSt3__111__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i["X"] = 1; -function __ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43; - r2 = r7 >> 2; - r8 = STACKTOP; - STACKTOP = STACKTOP + 28 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - r10 = r8 + 4; - r11 = r8 + 8; - r12 = r8 + 12; - r13 = r8 + 16; - r14 = r13 >> 2; - r15 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r16 = r15, r17 = r16 >> 2; - r18 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r19 = r18, r20 = r19 >> 2; - r21 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r22 = STACKTOP; - STACKTOP = STACKTOP + 100 | 0; - r23 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r24 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r25 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r25, 5273668); - r26 = r9; - r27 = r7; - r28 = r7; - r7 = HEAP8[r28]; - r29 = r7 & 255; - if ((r29 & 1 | 0) == 0) { - r30 = r29 >>> 1; - } else { - r30 = HEAP32[r2 + 1]; - } - if ((r30 | 0) == 0) { - r31 = 0; - } else { - if ((r7 & 1) << 24 >> 24 == 0) { - r32 = r27 + 1 | 0; - } else { - r32 = HEAP32[r2 + 2]; - } - r31 = HEAP8[r32] << 24 >> 24 == FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 28 >> 2]](r26, 45) << 24 >> 24; - } - HEAP32[r14] = 0; - HEAP32[r14 + 1] = 0; - HEAP32[r14 + 2] = 0; - HEAP32[r17] = 0; - HEAP32[r17 + 1] = 0; - HEAP32[r17 + 2] = 0; - HEAP32[r20] = 0; - HEAP32[r20 + 1] = 0; - HEAP32[r20 + 2] = 0; - __ZNSt3__111__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri(r4, r31, r25, r10, r11, r12, r13, r15, r18, r21); - r4 = r22 | 0; - r22 = HEAPU8[r28]; - r20 = (r22 & 1 | 0) == 0; - if (r20) { - r33 = r22 >>> 1; - } else { - r33 = HEAP32[r2 + 1]; - } - r17 = HEAP32[r21 >> 2]; - if (r33 >>> 0 > r17 >>> 0) { - if (r20) { - r34 = r22 >>> 1; - } else { - r34 = HEAP32[r2 + 1]; - } - r22 = HEAPU8[r19]; - if ((r22 & 1 | 0) == 0) { - r35 = r22 >>> 1; - } else { - r35 = HEAP32[r18 + 4 >> 2]; - } - r22 = HEAPU8[r16]; - if ((r22 & 1 | 0) == 0) { - r36 = r22 >>> 1; - } else { - r36 = HEAP32[r15 + 4 >> 2]; - } - r37 = (r34 - r17 << 1 | 1) + r35 + r36 | 0; - } else { - r36 = HEAPU8[r19]; - if ((r36 & 1 | 0) == 0) { - r38 = r36 >>> 1; - } else { - r38 = HEAP32[r18 + 4 >> 2]; - } - r36 = HEAPU8[r16]; - if ((r36 & 1 | 0) == 0) { - r39 = r36 >>> 1; - } else { - r39 = HEAP32[r15 + 4 >> 2]; - } - r37 = r39 + (r38 + 2) | 0; - } - r38 = r37 + r17 | 0; - do { - if (r38 >>> 0 > 100) { - r37 = _malloc(r38); - if ((r37 | 0) != 0) { - r40 = r37; - r41 = r37; - break; - } - __ZSt17__throw_bad_allocv(); - r40 = 0; - r41 = 0; - } else { - r40 = r4; - r41 = 0; - } - } while (0); - r4 = HEAP8[r28]; - if ((r4 & 1) << 24 >> 24 == 0) { - r42 = r27 + 1 | 0; - } else { - r42 = HEAP32[r2 + 2]; - } - r27 = r4 & 255; - if ((r27 & 1 | 0) == 0) { - r43 = r27 >>> 1; - } else { - r43 = HEAP32[r2 + 1]; - } - __ZNSt3__111__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i(r40, r23, r24, HEAP32[r5 + 4 >> 2], r42, r42 + r43 | 0, r26, r31, r10, HEAP8[r11], HEAP8[r12], r13, r15, r18, r17); - __ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r40, HEAP32[r23 >> 2], HEAP32[r24 >> 2], r5, r6); - if ((r41 | 0) == 0) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r15); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r13); - __ZNSt3__16localeD1Ev(r25); - STACKTOP = r8; - return; - } - _free(r41); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r15); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r13); - __ZNSt3__16localeD1Ev(r25); - STACKTOP = r8; - return; -} -__ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE["X"] = 1; -function __ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43; - r2 = STACKTOP; - STACKTOP = STACKTOP + 532 | 0; - r8 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r8 >> 2]; - r8 = r2 + 100, r9 = r8 >> 2; - r10 = r2 + 504; - r11 = r2 + 508; - r12 = r2 + 512; - r13 = r2 + 516; - r14 = r2 + 520; - r15 = r14 >> 2; - r16 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r17 = r16, r18 = r17 >> 2; - r19 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r20 = r19, r21 = r20 >> 2; - r22 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r23 = STACKTOP; - STACKTOP = STACKTOP + 400 | 0; - r24 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r25 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r26 = r2 | 0; - HEAP32[r9] = r26; - r27 = r2 + 104 | 0; - r28 = _snprintf(r26, 100, 5248324, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - do { - if (r28 >>> 0 > 99) { - r26 = __ZNSt3__112__asprintf_lEPPcPvPKcz(r8, __ZNSt3__16__clocEv(), 5248324, (tempInt = STACKTOP, STACKTOP = STACKTOP + 8 | 0, HEAPF64[tempDoublePtr >> 3] = r7, HEAP32[tempInt >> 2] = HEAP32[tempDoublePtr >> 2], HEAP32[tempInt + 4 >> 2] = HEAP32[tempDoublePtr + 4 >> 2], tempInt)); - r29 = HEAP32[r9]; - if ((r29 | 0) == 0) { - __ZSt17__throw_bad_allocv(); - r30 = HEAP32[r9]; - } else { - r30 = r29; - } - r29 = _malloc(r26 << 2); - r31 = r29; - if ((r29 | 0) != 0) { - r32 = r31; - r33 = r26; - r34 = r30; - r35 = r31; - break; - } - __ZSt17__throw_bad_allocv(); - r32 = r31; - r33 = r26; - r34 = r30; - r35 = r31; - } else { - r32 = r27; - r33 = r28; - r34 = 0; - r35 = 0; - } - } while (0); - __ZNKSt3__18ios_base6getlocEv(r10, r5); - r28 = HEAP32[r10 >> 2]; - r10 = __ZNKSt3__16locale9use_facetERNS0_2idE(r28, 5273660); - r27 = r10; - r30 = HEAP32[r9]; - FUNCTION_TABLE[HEAP32[HEAP32[r10 >> 2] + 48 >> 2]](r27, r30, r30 + r33 | 0, r32); - if ((r33 | 0) == 0) { - r36 = 0; - } else { - r36 = HEAP8[HEAP32[r9]] << 24 >> 24 == 45; - } - HEAP32[r15] = 0; - HEAP32[r15 + 1] = 0; - HEAP32[r15 + 2] = 0; - HEAP32[r18] = 0; - HEAP32[r18 + 1] = 0; - HEAP32[r18 + 2] = 0; - HEAP32[r21] = 0; - HEAP32[r21 + 1] = 0; - HEAP32[r21 + 2] = 0; - __ZNSt3__111__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri(r4, r36, r28, r11, r12, r13, r14, r16, r19, r22); - r4 = r23 | 0; - r23 = HEAP32[r22 >> 2]; - if ((r33 | 0) > (r23 | 0)) { - r22 = HEAPU8[r20]; - if ((r22 & 1 | 0) == 0) { - r37 = r22 >>> 1; - } else { - r37 = HEAP32[r19 + 4 >> 2]; - } - r22 = HEAPU8[r17]; - if ((r22 & 1 | 0) == 0) { - r38 = r22 >>> 1; - } else { - r38 = HEAP32[r16 + 4 >> 2]; - } - r39 = (r33 - r23 << 1 | 1) + r37 + r38 | 0; - } else { - r38 = HEAPU8[r20]; - if ((r38 & 1 | 0) == 0) { - r40 = r38 >>> 1; - } else { - r40 = HEAP32[r19 + 4 >> 2]; - } - r38 = HEAPU8[r17]; - if ((r38 & 1 | 0) == 0) { - r41 = r38 >>> 1; - } else { - r41 = HEAP32[r16 + 4 >> 2]; - } - r39 = r41 + (r40 + 2) | 0; - } - r40 = r39 + r23 | 0; - do { - if (r40 >>> 0 > 100) { - r39 = _malloc(r40 << 2); - r41 = r39; - if ((r39 | 0) != 0) { - r42 = r41; - r43 = r41; - break; - } - __ZSt17__throw_bad_allocv(); - r42 = r41; - r43 = r41; - } else { - r42 = r4; - r43 = 0; - } - } while (0); - __ZNSt3__111__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i(r42, r24, r25, HEAP32[r5 + 4 >> 2], r32, (r33 << 2) + r32 | 0, r27, r36, r11, HEAP32[r12 >> 2], HEAP32[r13 >> 2], r14, r16, r19, r23); - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r42, HEAP32[r24 >> 2], HEAP32[r25 >> 2], r5, r6); - if ((r43 | 0) != 0) { - _free(r43); - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r19); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r16); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r14); - __ZNSt3__16localeD1Ev(r28); - if ((r35 | 0) != 0) { - _free(r35); - } - if ((r34 | 0) == 0) { - STACKTOP = r2; - return; - } - _free(r34); - STACKTOP = r2; - return; -} -__ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe["X"] = 1; -function __ZNSt3__111__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10) { - var r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30; - r11 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r12 = r11; - r13 = r12; - r14 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r15 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r16 = r15; - r17 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r18 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r19 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r20 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r21 = r20; - r22 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r23 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r24 = r23; - r25 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r26 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r27 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - if (r1) { - r1 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5274144), r28 = r1 >> 2; - r29 = r1; - r30 = HEAP32[r28]; - if (r2) { - FUNCTION_TABLE[HEAP32[r30 + 44 >> 2]](r13, r29); - r13 = r4; - tempBigInt = HEAP32[r12 >> 2]; - HEAP8[r13] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r13 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r13 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r13 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r28] + 32 >> 2]](r14, r29); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r9, r14); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r14); - } else { - FUNCTION_TABLE[HEAP32[r30 + 40 >> 2]](r16, r29); - r16 = r4; - tempBigInt = HEAP32[r15 >> 2]; - HEAP8[r16] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r16 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r16 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r16 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r28] + 28 >> 2]](r17, r29); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r9, r17); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r17); - } - r17 = r1 >> 2; - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 12 >> 2]](r29); - HEAP32[r6 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 16 >> 2]](r29); - FUNCTION_TABLE[HEAP32[HEAP32[r28] + 20 >> 2]](r18, r29); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r7, r18); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - FUNCTION_TABLE[HEAP32[HEAP32[r28] + 24 >> 2]](r19, r29); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r8, r19); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r19); - r19 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 36 >> 2]](r29); - HEAP32[r10 >> 2] = r19; - STACKTOP = r11; - return; - } else { - r29 = __ZNKSt3__16locale9use_facetERNS0_2idE(r3, 5274152), r3 = r29 >> 2; - r17 = r29; - r28 = HEAP32[r3]; - if (r2) { - FUNCTION_TABLE[HEAP32[r28 + 44 >> 2]](r21, r17); - r21 = r4; - tempBigInt = HEAP32[r20 >> 2]; - HEAP8[r21] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r21 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r21 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r21 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r3] + 32 >> 2]](r22, r17); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r9, r22); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r22); - } else { - FUNCTION_TABLE[HEAP32[r28 + 40 >> 2]](r24, r17); - r24 = r4; - tempBigInt = HEAP32[r23 >> 2]; - HEAP8[r24] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r24 + 1 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r24 + 2 | 0] = tempBigInt & 255; - tempBigInt = tempBigInt >> 8; - HEAP8[r24 + 3 | 0] = tempBigInt & 255; - FUNCTION_TABLE[HEAP32[HEAP32[r3] + 28 >> 2]](r25, r17); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r9, r25); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r25); - } - r25 = r29 >> 2; - HEAP32[r5 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r25] + 12 >> 2]](r17); - HEAP32[r6 >> 2] = FUNCTION_TABLE[HEAP32[HEAP32[r25] + 16 >> 2]](r17); - FUNCTION_TABLE[HEAP32[HEAP32[r3] + 20 >> 2]](r26, r17); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_(r7, r26); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r26); - FUNCTION_TABLE[HEAP32[HEAP32[r3] + 24 >> 2]](r27, r17); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_(r8, r27); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r27); - r19 = FUNCTION_TABLE[HEAP32[HEAP32[r25] + 36 >> 2]](r17); - HEAP32[r10 >> 2] = r19; - STACKTOP = r11; - return; - } -} -__ZNSt3__111__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri["X"] = 1; -function __ZNSt3__18messagesIcED1Ev(r1) { - return; -} -function ___cxx_global_var_init33() { - if (HEAP8[5274488] << 24 >> 24 != 0) { - return; - } - HEAP32[1318622] = 1; - HEAP32[1318623] = 0; - return; -} -function __ZNSt3__111__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15) { - var r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43, r44, r45, r46, r47, r48, r49, r50, r51, r52, r53, r54, r55, r56, r57, r58, r59, r60, r61, r62, r63, r64, r65, r66, r67, r68, r69, r70, r71, r72; - r16 = r3 >> 2; - r3 = 0; - HEAP32[r16] = r1; - r17 = r7 >> 2; - r18 = r14; - r19 = r14 + 4 | 0, r20 = r19 >> 2; - r21 = r14 + 8 | 0; - r14 = r13; - r22 = (r4 & 512 | 0) == 0; - r23 = r13 + 4 | 0; - r24 = r13 + 8 | 0; - r13 = r7; - r25 = (r15 | 0) > 0; - r26 = r12; - r27 = r12 + 1 | 0; - r28 = (r12 + 8 | 0) >> 2; - r29 = r12 + 4 | 0; - r12 = r5; - r5 = 0; - while (1) { - r30 = HEAP8[r9 + r5 | 0] << 24 >> 24; - L1799 : do { - if ((r30 | 0) == 0) { - HEAP32[r2 >> 2] = HEAP32[r16]; - r31 = r12; - } else if ((r30 | 0) == 1) { - HEAP32[r2 >> 2] = HEAP32[r16]; - r32 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 44 >> 2]](r7, 32); - r33 = HEAP32[r16]; - HEAP32[r16] = r33 + 4 | 0; - HEAP32[r33 >> 2] = r32; - r31 = r12; - } else if ((r30 | 0) == 3) { - r32 = HEAP8[r18]; - r33 = r32 & 255; - if ((r33 & 1 | 0) == 0) { - r34 = r33 >>> 1; - } else { - r34 = HEAP32[r20]; - } - if ((r34 | 0) == 0) { - r31 = r12; - break; - } - if ((r32 & 1) << 24 >> 24 == 0) { - r35 = r19; - } else { - r35 = HEAP32[r21 >> 2]; - } - r32 = HEAP32[r35 >> 2]; - r33 = HEAP32[r16]; - HEAP32[r16] = r33 + 4 | 0; - HEAP32[r33 >> 2] = r32; - r31 = r12; - } else if ((r30 | 0) == 2) { - r32 = HEAP8[r14]; - r33 = r32 & 255; - r36 = (r33 & 1 | 0) == 0; - if (r36) { - r37 = r33 >>> 1; - } else { - r37 = HEAP32[r23 >> 2]; - } - if ((r37 | 0) == 0 | r22) { - r31 = r12; - break; - } - if ((r32 & 1) << 24 >> 24 == 0) { - r38 = r23; - } else { - r38 = HEAP32[r24 >> 2]; - } - if (r36) { - r39 = r33 >>> 1; - } else { - r39 = HEAP32[r23 >> 2]; - } - r33 = (r39 << 2) + r38 | 0; - r36 = HEAP32[r16]; - if ((r38 | 0) == (r33 | 0)) { - r40 = r36; - } else { - r32 = ((r39 - 1 << 2) + r38 + -r38 | 0) >>> 2; - r41 = r38; - r42 = r36; - while (1) { - HEAP32[r42 >> 2] = HEAP32[r41 >> 2]; - r43 = r41 + 4 | 0; - if ((r43 | 0) == (r33 | 0)) { - break; - } - r41 = r43; - r42 = r42 + 4 | 0; - } - r40 = (r32 + 1 << 2) + r36 | 0; - } - HEAP32[r16] = r40; - r31 = r12; - } else if ((r30 | 0) == 4) { - r42 = HEAP32[r16]; - r41 = r8 ? r12 + 4 | 0 : r12; - r33 = r41; - while (1) { - if (r33 >>> 0 >= r6 >>> 0) { - break; - } - if (FUNCTION_TABLE[HEAP32[HEAP32[r13 >> 2] + 12 >> 2]](r7, 2048, HEAP32[r33 >> 2])) { - r33 = r33 + 4 | 0; - } else { - break; - } - } - if (r25) { - do { - if (r33 >>> 0 > r41 >>> 0) { - r36 = r33; - r32 = r15; - while (1) { - r44 = r36 - 4 | 0; - r43 = HEAP32[r44 >> 2]; - r45 = HEAP32[r16]; - HEAP32[r16] = r45 + 4 | 0; - HEAP32[r45 >> 2] = r43; - r46 = r32 - 1 | 0; - r47 = (r46 | 0) > 0; - if (r44 >>> 0 > r41 >>> 0 & r47) { - r36 = r44; - r32 = r46; - } else { - break; - } - } - if (r47) { - r48 = r46; - r49 = r44; - r3 = 1609; - break; - } - r32 = HEAP32[r16]; - HEAP32[r16] = r32 + 4 | 0; - r50 = r32; - r51 = r44; - break; - } else { - r48 = r15; - r49 = r33; - r3 = 1609; - } - } while (0); - L1843 : do { - if (r3 == 1609) { - r3 = 0; - r32 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 44 >> 2]](r7, 48); - r36 = HEAP32[r16]; - HEAP32[r16] = r36 + 4 | 0; - if ((r48 | 0) > 0) { - r52 = r48; - r53 = r36; - } else { - r50 = r36; - r51 = r49; - break; - } - while (1) { - HEAP32[r53 >> 2] = r32; - r36 = r52 - 1 | 0; - r43 = HEAP32[r16]; - HEAP32[r16] = r43 + 4 | 0; - if ((r36 | 0) > 0) { - r52 = r36; - r53 = r43; - } else { - r50 = r43; - r51 = r49; - break L1843; - } - } - } - } while (0); - HEAP32[r50 >> 2] = r10; - r54 = r51; - } else { - r54 = r33; - } - L1849 : do { - if ((r54 | 0) == (r41 | 0)) { - r32 = FUNCTION_TABLE[HEAP32[HEAP32[r17] + 44 >> 2]](r7, 48); - r43 = HEAP32[r16]; - HEAP32[r16] = r43 + 4 | 0; - HEAP32[r43 >> 2] = r32; - } else { - r32 = HEAP8[r26]; - r43 = r32 & 255; - if ((r43 & 1 | 0) == 0) { - r55 = r43 >>> 1; - } else { - r55 = HEAP32[r29 >> 2]; - } - do { - if ((r55 | 0) == 0) { - r56 = r54; - r57 = 0; - r58 = 0; - r59 = -1; - } else { - if ((r32 & 1) << 24 >> 24 == 0) { - r60 = r27; - } else { - r60 = HEAP32[r28]; - } - r56 = r54; - r57 = 0; - r58 = 0; - r59 = HEAP8[r60] << 24 >> 24; - break; - } - } while (0); - while (1) { - do { - if ((r57 | 0) == (r59 | 0)) { - r32 = HEAP32[r16]; - HEAP32[r16] = r32 + 4 | 0; - HEAP32[r32 >> 2] = r11; - r32 = r58 + 1 | 0; - r43 = HEAP8[r26]; - r36 = r43 & 255; - if ((r36 & 1 | 0) == 0) { - r61 = r36 >>> 1; - } else { - r61 = HEAP32[r29 >> 2]; - } - if (r32 >>> 0 >= r61 >>> 0) { - r62 = r59; - r63 = r32; - r64 = 0; - break; - } - r36 = (r43 & 1) << 24 >> 24 == 0; - if (r36) { - r65 = r27; - } else { - r65 = HEAP32[r28]; - } - if (HEAP8[r65 + r32 | 0] << 24 >> 24 == 127) { - r62 = -1; - r63 = r32; - r64 = 0; - break; - } - if (r36) { - r66 = r27; - } else { - r66 = HEAP32[r28]; - } - r62 = HEAP8[r66 + r32 | 0] << 24 >> 24; - r63 = r32; - r64 = 0; - } else { - r62 = r59; - r63 = r58; - r64 = r57; - } - } while (0); - r32 = r56 - 4 | 0; - r36 = HEAP32[r32 >> 2]; - r43 = HEAP32[r16]; - HEAP32[r16] = r43 + 4 | 0; - HEAP32[r43 >> 2] = r36; - if ((r32 | 0) == (r41 | 0)) { - break L1849; - } else { - r56 = r32; - r57 = r64 + 1 | 0; - r58 = r63; - r59 = r62; - } - } - } - } while (0); - r33 = HEAP32[r16]; - if ((r42 | 0) == (r33 | 0)) { - r31 = r41; - break; - } - r32 = r33 - 4 | 0; - if (r42 >>> 0 < r32 >>> 0) { - r67 = r42; - r68 = r32; - } else { - r31 = r41; - break; - } - while (1) { - r32 = HEAP32[r67 >> 2]; - HEAP32[r67 >> 2] = HEAP32[r68 >> 2]; - HEAP32[r68 >> 2] = r32; - r32 = r67 + 4 | 0; - r33 = r68 - 4 | 0; - if (r32 >>> 0 < r33 >>> 0) { - r67 = r32; - r68 = r33; - } else { - r31 = r41; - break L1799; - } - } - } else { - r31 = r12; - } - } while (0); - r30 = r5 + 1 | 0; - if ((r30 | 0) == 4) { - break; - } else { - r12 = r31; - r5 = r30; - } - } - r5 = HEAP8[r18]; - r18 = r5 & 255; - r31 = (r18 & 1 | 0) == 0; - if (r31) { - r69 = r18 >>> 1; - } else { - r69 = HEAP32[r20]; - } - if (r69 >>> 0 > 1) { - if ((r5 & 1) << 24 >> 24 == 0) { - r70 = r19; - } else { - r70 = HEAP32[r21 >> 2]; - } - if (r31) { - r71 = r18 >>> 1; - } else { - r71 = HEAP32[r20]; - } - r20 = (r71 << 2) + r70 | 0; - r18 = HEAP32[r16]; - r31 = r70 + 4 | 0; - if ((r31 | 0) == (r20 | 0)) { - r72 = r18; - } else { - r21 = (((r71 - 2 << 2) + r70 + -r70 | 0) >>> 2) + 1 | 0; - r70 = r18; - r71 = r31; - while (1) { - HEAP32[r70 >> 2] = HEAP32[r71 >> 2]; - r31 = r71 + 4 | 0; - if ((r31 | 0) == (r20 | 0)) { - break; - } else { - r70 = r70 + 4 | 0; - r71 = r31; - } - } - r72 = (r21 << 2) + r18 | 0; - } - HEAP32[r16] = r72; - } - r72 = r4 & 176; - if ((r72 | 0) == 32) { - HEAP32[r2 >> 2] = HEAP32[r16]; - return; - } else if ((r72 | 0) == 16) { - return; - } else { - HEAP32[r2 >> 2] = r1; - return; - } -} -__ZNSt3__111__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i["X"] = 1; -function __ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE(r1, r2, r3, r4, r5, r6, r7) { - var r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40, r41, r42, r43; - r2 = r7 >> 2; - r8 = STACKTOP; - STACKTOP = STACKTOP + 28 | 0; - r9 = r3; - r3 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r3 >> 2] = HEAP32[r9 >> 2]; - r9 = r8; - r10 = r8 + 4; - r11 = r8 + 8; - r12 = r8 + 12; - r13 = r8 + 16; - r14 = r13 >> 2; - r15 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r16 = r15, r17 = r16 >> 2; - r18 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r19 = r18, r20 = r19 >> 2; - r21 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r22 = STACKTOP; - STACKTOP = STACKTOP + 400 | 0; - r23 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - r24 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - __ZNKSt3__18ios_base6getlocEv(r9, r5); - r25 = HEAP32[r9 >> 2]; - r9 = __ZNKSt3__16locale9use_facetERNS0_2idE(r25, 5273660); - r26 = r9; - r27 = r7; - r28 = HEAP8[r27]; - r29 = r28 & 255; - if ((r29 & 1 | 0) == 0) { - r30 = r29 >>> 1; - } else { - r30 = HEAP32[r2 + 1]; - } - if ((r30 | 0) == 0) { - r31 = 0; - } else { - if ((r28 & 1) << 24 >> 24 == 0) { - r32 = r7 + 4 | 0; - } else { - r32 = HEAP32[r2 + 2]; - } - r31 = (HEAP32[r32 >> 2] | 0) == (FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 44 >> 2]](r26, 45) | 0); - } - HEAP32[r14] = 0; - HEAP32[r14 + 1] = 0; - HEAP32[r14 + 2] = 0; - HEAP32[r17] = 0; - HEAP32[r17 + 1] = 0; - HEAP32[r17 + 2] = 0; - HEAP32[r20] = 0; - HEAP32[r20 + 1] = 0; - HEAP32[r20 + 2] = 0; - __ZNSt3__111__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri(r4, r31, r25, r10, r11, r12, r13, r15, r18, r21); - r4 = r22 | 0; - r22 = HEAPU8[r27]; - r20 = (r22 & 1 | 0) == 0; - if (r20) { - r33 = r22 >>> 1; - } else { - r33 = HEAP32[r2 + 1]; - } - r17 = HEAP32[r21 >> 2]; - if (r33 >>> 0 > r17 >>> 0) { - if (r20) { - r34 = r22 >>> 1; - } else { - r34 = HEAP32[r2 + 1]; - } - r22 = HEAPU8[r19]; - if ((r22 & 1 | 0) == 0) { - r35 = r22 >>> 1; - } else { - r35 = HEAP32[r18 + 4 >> 2]; - } - r22 = HEAPU8[r16]; - if ((r22 & 1 | 0) == 0) { - r36 = r22 >>> 1; - } else { - r36 = HEAP32[r15 + 4 >> 2]; - } - r37 = (r34 - r17 << 1 | 1) + r35 + r36 | 0; - } else { - r36 = HEAPU8[r19]; - if ((r36 & 1 | 0) == 0) { - r38 = r36 >>> 1; - } else { - r38 = HEAP32[r18 + 4 >> 2]; - } - r36 = HEAPU8[r16]; - if ((r36 & 1 | 0) == 0) { - r39 = r36 >>> 1; - } else { - r39 = HEAP32[r15 + 4 >> 2]; - } - r37 = r39 + (r38 + 2) | 0; - } - r38 = r37 + r17 | 0; - do { - if (r38 >>> 0 > 100) { - r37 = _malloc(r38 << 2); - r39 = r37; - if ((r37 | 0) != 0) { - r40 = r39; - r41 = r39; - break; - } - __ZSt17__throw_bad_allocv(); - r40 = r39; - r41 = r39; - } else { - r40 = r4; - r41 = 0; - } - } while (0); - r4 = HEAP8[r27]; - if ((r4 & 1) << 24 >> 24 == 0) { - r42 = r7 + 4 | 0; - } else { - r42 = HEAP32[r2 + 2]; - } - r7 = r4 & 255; - if ((r7 & 1 | 0) == 0) { - r43 = r7 >>> 1; - } else { - r43 = HEAP32[r2 + 1]; - } - __ZNSt3__111__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i(r40, r23, r24, HEAP32[r5 + 4 >> 2], r42, (r43 << 2) + r42 | 0, r26, r31, r10, HEAP32[r11 >> 2], HEAP32[r12 >> 2], r13, r15, r18, r17); - __ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_(r1, HEAP32[r3 >> 2], r40, HEAP32[r23 >> 2], HEAP32[r24 >> 2], r5, r6); - if ((r41 | 0) == 0) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r18); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r15); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r13); - __ZNSt3__16localeD1Ev(r25); - STACKTOP = r8; - return; - } - _free(r41); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r18); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(r15); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r13); - __ZNSt3__16localeD1Ev(r25); - STACKTOP = r8; - return; -} -__ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE["X"] = 1; -function __ZNSt3__18messagesIcED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__18messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE(r1, r2, r3) { - var r4; - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r4 = r2 + 1 | 0; - } else { - r4 = HEAP32[r2 + 8 >> 2]; - } - r2 = __Z7catopenPKci(r4, 200); - return r2 >>> (((r2 | 0) != -1 & 1) >>> 0); -} -function __ZNSt3__18messagesIwED1Ev(r1) { - return; -} -function __ZNSt3__116__narrow_to_utf8ILj32EED1Ev(r1) { - return; -} -function __ZNSt3__117__widen_from_utf8ILj32EED1Ev(r1) { - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7collateIcEEiEERT_T0_() { - HEAP32[1315988] = 0; - HEAP32[1315987] = 5265576; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7collateIwEEiEERT_T0_() { - HEAP32[1315986] = 0; - HEAP32[1315985] = 5265540; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_5ctypeIwEEiEERT_T0_() { - HEAP32[1316036] = 0; - HEAP32[1316035] = 5265868; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIcc10_mbstate_tEEiEERT_T0_() { - HEAP32[1315993] = 0; - HEAP32[1315992] = 5265664; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIDsc10_mbstate_tEEiEERT_T0_() { - HEAP32[1315995] = 0; - HEAP32[1315994] = 5265716; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIDic10_mbstate_tEEiEERT_T0_() { - HEAP32[1315997] = 0; - HEAP32[1315996] = 5265768; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_() { - HEAP32[1315984] = 0; - HEAP32[1315983] = 5265472; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_() { - HEAP32[1315982] = 0; - HEAP32[1315981] = 5265404; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_() { - HEAP32[1315980] = 0; - HEAP32[1315979] = 5265348; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_() { - HEAP32[1315978] = 0; - HEAP32[1315977] = 5265292; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEiEERT_T0_() { - HEAP32[1316048] = 0; - HEAP32[1316047] = 5267064; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEiEERT_T0_() { - HEAP32[1316046] = 0; - HEAP32[1316045] = 5267004; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEiEERT_T0_() { - HEAP32[1316044] = 0; - HEAP32[1316043] = 5266944; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEiEERT_T0_() { - HEAP32[1316042] = 0; - HEAP32[1316041] = 5266884; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_() { - HEAP32[1315947] = 0; - HEAP32[1315946] = 5264824; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_() { - HEAP32[1315945] = 0; - HEAP32[1315944] = 5264792; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_() { - HEAP32[1315943] = 0; - HEAP32[1315942] = 5264760; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_() { - HEAP32[1315941] = 0; - HEAP32[1315940] = 5264728; - return; -} -function ___cxx_global_var_init34() { - if (HEAP8[5274480] << 24 >> 24 != 0) { - return; - } - HEAP32[1318620] = 1; - HEAP32[1318621] = 0; - return; -} -function __ZNKSt3__18messagesIcE6do_getEiiiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18; - r2 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r8 = r7; - r9 = r8, r10 = r9 >> 2; - HEAP32[r10] = 0; - HEAP32[r10 + 1] = 0; - HEAP32[r10 + 2] = 0; - r10 = r1 >> 2; - r11 = HEAP8[r6]; - if ((r11 & 1) << 24 >> 24 == 0) { - r12 = r6 + 1 | 0; - } else { - r12 = HEAP32[r6 + 8 >> 2]; - } - r13 = r11 & 255; - if ((r13 & 1 | 0) == 0) { - r14 = r13 >>> 1; - } else { - r14 = HEAP32[r6 + 4 >> 2]; - } - r6 = r12 + r14 | 0; - do { - if (r12 >>> 0 < r6 >>> 0) { - r14 = r12; - while (1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(r8, HEAP8[r14]); - r13 = r14 + 1 | 0; - if (r13 >>> 0 < r6 >>> 0) { - r14 = r13; - } else { - break; - } - } - r14 = (r3 | 0) == -1 ? -1 : r3 << 1; - if ((HEAP8[r9] & 1) << 24 >> 24 == 0) { - r15 = r14; - r2 = 1758; - break; - } - r16 = HEAP32[r8 + 8 >> 2]; - r17 = r14; - break; - } else { - r15 = (r3 | 0) == -1 ? -1 : r3 << 1; - r2 = 1758; - break; - } - } while (0); - if (r2 == 1758) { - r16 = r8 + 1 | 0; - r17 = r15; - } - r15 = __Z7catgetsP8_nl_catdiiPKc(r17, r4, r5, r16); - HEAP32[r10] = 0; - HEAP32[r10 + 1] = 0; - HEAP32[r10 + 2] = 0; - r10 = _strlen(r15); - r16 = r15 + r10 | 0; - if ((r10 | 0) > 0) { - r18 = r15; - } else { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r8); - STACKTOP = r7; - return; - } - while (1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(r1, HEAP8[r18]); - r15 = r18 + 1 | 0; - if (r15 >>> 0 < r16 >>> 0) { - r18 = r15; - } else { - break; - } - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r8); - STACKTOP = r7; - return; -} -__ZNKSt3__18messagesIcE6do_getEiiiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE["X"] = 1; -function __ZNKSt3__18messagesIcE8do_closeEi(r1, r2) { - __Z8catcloseP8_nl_catd((r2 | 0) == -1 ? -1 : r2 << 1); - return; -} -function __ZNSt3__18messagesIwED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__18messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE(r1, r2, r3) { - var r4; - if ((HEAP8[r2] & 1) << 24 >> 24 == 0) { - r4 = r2 + 1 | 0; - } else { - r4 = HEAP32[r2 + 8 >> 2]; - } - r2 = __Z7catopenPKci(r4, 200); - return r2 >>> (((r2 | 0) != -1 & 1) >>> 0); -} -function __ZNKSt3__18messagesIwE6do_getEiiiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35; - r2 = 0; - r7 = STACKTOP; - STACKTOP = STACKTOP + 204 | 0; - r8 = r7; - r9 = r7 + 8; - r10 = r7 + 40; - r11 = r7 + 44, r12 = r11 >> 2; - r13 = r7 + 48; - r14 = r7 + 56; - r15 = r7 + 184; - r16 = r7 + 188, r17 = r16 >> 2; - r18 = r7 + 192; - r19 = r18, r20 = r19 >> 2; - r21 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r22 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - HEAP32[r20] = 0; - HEAP32[r20 + 1] = 0; - HEAP32[r20 + 2] = 0; - r20 = r1 >> 2; - r23 = r21 | 0; - HEAP32[r21 + 4 >> 2] = 0; - HEAP32[r21 >> 2] = 5266212; - r24 = HEAP8[r6]; - if ((r24 & 1) << 24 >> 24 == 0) { - r25 = r6 + 4 | 0; - } else { - r25 = HEAP32[r6 + 8 >> 2]; - } - r26 = r24 & 255; - if ((r26 & 1 | 0) == 0) { - r27 = r26 >>> 1; - } else { - r27 = HEAP32[r6 + 4 >> 2]; - } - r6 = (r27 << 2) + r25 | 0; - do { - if (r25 >>> 0 < r6 >>> 0) { - r27 = r21; - r26 = r9 | 0; - r24 = r9 + 32 | 0; - r28 = r25; - r29 = 5266212; - while (1) { - HEAP32[r12] = r28; - r30 = (FUNCTION_TABLE[HEAP32[r29 + 12 >> 2]](r23, r8, r28, r6, r11, r26, r24, r10) | 0) == 2; - if (r30 | (HEAP32[r12] | 0) == (r28 | 0)) { - __ZNSt3__121__throw_runtime_errorEPKc(5244792); - } - L2053 : do { - if (r26 >>> 0 < HEAP32[r10 >> 2] >>> 0) { - r31 = r26; - while (1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc(r18, HEAP8[r31]); - r32 = r31 + 1 | 0; - if (r32 >>> 0 < HEAP32[r10 >> 2] >>> 0) { - r31 = r32; - } else { - break L2053; - } - } - } - } while (0); - r31 = HEAP32[r12]; - if (r31 >>> 0 >= r6 >>> 0 | r30) { - break; - } - r28 = r31; - r29 = HEAP32[r27 >> 2]; - } - r27 = (r3 | 0) == -1 ? -1 : r3 << 1; - if ((HEAP8[r19] & 1) << 24 >> 24 == 0) { - r33 = r27; - r2 = 1797; - break; - } - r34 = HEAP32[r18 + 8 >> 2]; - r35 = r27; - break; - } else { - r33 = (r3 | 0) == -1 ? -1 : r3 << 1; - r2 = 1797; - break; - } - } while (0); - if (r2 == 1797) { - r34 = r18 + 1 | 0; - r35 = r33; - } - r33 = __Z7catgetsP8_nl_catdiiPKc(r35, r4, r5, r34); - HEAP32[r20] = 0; - HEAP32[r20 + 1] = 0; - HEAP32[r20 + 2] = 0; - r20 = r22 | 0; - HEAP32[r22 + 4 >> 2] = 0; - HEAP32[r22 >> 2] = 5266160; - r34 = _strlen(r33); - r5 = r33 + r34 | 0; - if ((r34 | 0) < 1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - STACKTOP = r7; - return; - } - r34 = r22; - r22 = r5; - r4 = r14 | 0; - r35 = r14 + 128 | 0; - r14 = r33; - r33 = 5266160; - while (1) { - HEAP32[r17] = r14; - r2 = (FUNCTION_TABLE[HEAP32[r33 + 16 >> 2]](r20, r13, r14, (r22 - r14 | 0) > 32 ? r14 + 32 | 0 : r5, r16, r4, r35, r15) | 0) == 2; - if (r2 | (HEAP32[r17] | 0) == (r14 | 0)) { - __ZNSt3__121__throw_runtime_errorEPKc(5244792); - } - L2075 : do { - if (r4 >>> 0 < HEAP32[r15 >> 2] >>> 0) { - r3 = r4; - while (1) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw(r1, HEAP32[r3 >> 2]); - r19 = r3 + 4 | 0; - if (r19 >>> 0 < HEAP32[r15 >> 2] >>> 0) { - r3 = r19; - } else { - break L2075; - } - } - } - } while (0); - r3 = HEAP32[r17]; - if (r3 >>> 0 >= r5 >>> 0 | r2) { - break; - } - r14 = r3; - r33 = HEAP32[r34 >> 2]; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r18); - STACKTOP = r7; - return; -} -__ZNKSt3__18messagesIwE6do_getEiiiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE["X"] = 1; -function __ZNKSt3__18messagesIwE8do_closeEi(r1, r2) { - __Z8catcloseP8_nl_catd((r2 | 0) == -1 ? -1 : r2 << 1); - return; -} -function __ZNSt3__17codecvtIwc10_mbstate_tED2Ev(r1) { - var r2; - HEAP32[r1 >> 2] = 5265612; - r2 = HEAP32[r1 + 8 >> 2]; - if ((r2 | 0) == 0) { - return; - } - _freelocale(r2); - return; -} -function __ZNSt3__16locale5__impC1Ej() { - __ZNSt3__16locale5__impC2Ej(); - return; -} -function __ZNSt3__16locale5__impC2Ej() { - HEAP32[1315999] = 0; - HEAP32[1315998] = 5265844; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(5264e3, 5250472, 1); - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEEC1Ej(); - HEAP32[1316004] = HEAP32[1316003]; - __ZNSt3__112_GLOBAL__N_14makeINS_7collateIcEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7collateIcEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7collateIwEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7collateIwEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_5ctypeIcEEPtbiEERT_T0_T1_T2_(); - __ZNSt3__16locale5__imp7installINS_5ctypeIcEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_5ctypeIwEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_5ctypeIwEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIcc10_mbstate_tEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7codecvtIcc10_mbstate_tEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIwc10_mbstate_tEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7codecvtIwc10_mbstate_tEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIDsc10_mbstate_tEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7codecvtIDsc10_mbstate_tEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIDic10_mbstate_tEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7codecvtIDic10_mbstate_tEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8numpunctIcEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8numpunctIcEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8numpunctIwEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8numpunctIwEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8messagesIcEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8messagesIcEEEEvPT_(); - __ZNSt3__112_GLOBAL__N_14makeINS_8messagesIwEEiEERT_T0_(); - __ZNSt3__16locale5__imp7installINS_8messagesIwEEEEvPT_(); - return; -} -__ZNSt3__16locale5__impC2Ej["X"] = 1; -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEEC1Ej() { - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEEC2Ej(); - return; -} -function __ZNSt3__16locale5__imp7installINS_7collateIcEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263948, __ZNSt3__16locale2id5__getEv(5273364)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7collateIwEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263940, __ZNSt3__16locale2id5__getEv(5273356)); - return; -} -function __ZNSt3__16locale5__imp7installINS_5ctypeIcEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5264148, __ZNSt3__16locale2id5__getEv(5273668)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_5ctypeIcEEPtbiEERT_T0_T1_T2_() { - __ZNSt3__15ctypeIcEC1EPKtbj(); - return; -} -function __ZNSt3__16locale5__imp7installINS_5ctypeIwEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5264140, __ZNSt3__16locale2id5__getEv(5273660)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7codecvtIcc10_mbstate_tEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263968, __ZNSt3__16locale2id5__getEv(5273380)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7codecvtIwc10_mbstate_tEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263956, __ZNSt3__16locale2id5__getEv(5273372)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIwc10_mbstate_tEEiEERT_T0_() { - __ZNSt3__17codecvtIwc10_mbstate_tEC1Ej(); - return; -} -function __ZNSt3__16locale5__imp7installINS_7codecvtIDsc10_mbstate_tEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263976, __ZNSt3__16locale2id5__getEv(5273388)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7codecvtIDic10_mbstate_tEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263984, __ZNSt3__16locale2id5__getEv(5273396)); - return; -} -function __ZNSt3__16locale5__imp7installINS_8numpunctIcEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263868, __ZNSt3__16locale2id5__getEv(5273300)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8numpunctIcEEiEERT_T0_() { - __ZNSt3__18numpunctIcEC1Ej(); - return; -} -function __ZNSt3__16locale5__imp7installINS_8numpunctIwEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263840, __ZNSt3__16locale2id5__getEv(5273292)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8numpunctIwEEiEERT_T0_() { - __ZNSt3__18numpunctIwEC1Ej(); - return; -} -function __ZNSt3__16locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263932, __ZNSt3__16locale2id5__getEv(5273348)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263924, __ZNSt3__16locale2id5__getEv(5273340)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263916, __ZNSt3__16locale2id5__getEv(5273332)); - return; -} -function __ZNSt3__16locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263908, __ZNSt3__16locale2id5__getEv(5273324)); - return; -} -function __ZNSt3__16locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5264188, __ZNSt3__16locale2id5__getEv(5274168)); - return; -} -function __ZNSt3__16locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5264180, __ZNSt3__16locale2id5__getEv(5274160)); - return; -} -function __ZNSt3__16locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5264172, __ZNSt3__16locale2id5__getEv(5274152)); - return; -} -function __ZNSt3__16locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5264164, __ZNSt3__16locale2id5__getEv(5274144)); - return; -} -function __ZNSt3__16locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263784, __ZNSt3__16locale2id5__getEv(5273252)); - return; -} -function __ZNSt3__16locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263776, __ZNSt3__16locale2id5__getEv(5273244)); - return; -} -function __ZNSt3__16locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263768, __ZNSt3__16locale2id5__getEv(5273236)); - return; -} -function __ZNSt3__16locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263760, __ZNSt3__16locale2id5__getEv(5273228)); - return; -} -function __ZNSt3__16locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263828, __ZNSt3__16locale2id5__getEv(5273284)); - return; -} -function __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv() { - var r1; - r1 = ___cxa_allocate_exception(8); - __ZNSt11logic_errorC2EPKc(r1, 5247680); - HEAP32[r1 >> 2] = 5264680; - ___cxa_throw(r1, 5271232, 84); -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8messagesIcEEiEERT_T0_() { - HEAP32[1315976] = 0; - HEAP32[1315975] = 5265212; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8messagesIwEEiEERT_T0_() { - HEAP32[1315974] = 0; - HEAP32[1315973] = 5265176; - return; -} -function __ZNSt3__16locale5facetD1Ev(r1) { - return; -} -function __ZNSt3__15ctypeIwED1Ev(r1) { - return; -} -function __ZNKSt3__15ctypeIcE8do_widenEc(r1, r2) { - return r2; -} -function __ZNKSt3__15ctypeIwE8do_widenEc(r1, r2) { - return r2 << 24 >> 24; -} -function __ZNKSt3__15ctypeIwE9do_narrowEwc(r1, r2, r3) { - return r2 >>> 0 < 128 ? r2 & 255 : r3; -} -function __ZNKSt3__15ctypeIcE9do_narrowEcc(r1, r2, r3) { - return r2 << 24 >> 24 > -1 ? r2 : r3; -} -function __ZNKSt3__16locale5__imp9has_facetEl(r1, r2, r3) { - var r4; - if (r2 - r1 >> 2 >>> 0 <= r3 >>> 0) { - r4 = 0; - return r4; - } - r4 = (HEAP32[r1 + (r3 << 2) >> 2] | 0) != 0; - return r4; -} -function __ZNSt3__16locale2id6__initEv(r1) { - HEAP32[r1 + 4 >> 2] = (tempValue = HEAP32[1318351], HEAP32[1318351] = tempValue + 1, tempValue) + 1 | 0; - return; -} -function __ZNKSt3__15ctypeIwE8do_widenEPKcS3_Pw(r1, r2, r3, r4) { - var r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - r5 = r2; - return r5; - } else { - r6 = r2; - r7 = r4; - } - while (1) { - HEAP32[r7 >> 2] = HEAP8[r6] << 24 >> 24; - r4 = r6 + 1 | 0; - if ((r4 | 0) == (r3 | 0)) { - r5 = r3; - break; - } else { - r6 = r4; - r7 = r7 + 4 | 0; - } - } - return r5; -} -function __ZNKSt3__15ctypeIwE9do_narrowEPKwS3_cPc(r1, r2, r3, r4, r5) { - var r6, r7, r8; - if ((r2 | 0) == (r3 | 0)) { - r6 = r2; - return r6; - } - r1 = ((r3 - 4 + -r2 | 0) >>> 2) + 1 | 0; - r7 = r2; - r8 = r5; - while (1) { - r5 = HEAP32[r7 >> 2]; - HEAP8[r8] = r5 >>> 0 < 128 ? r5 & 255 : r4; - r5 = r7 + 4 | 0; - if ((r5 | 0) == (r3 | 0)) { - break; - } else { - r7 = r5; - r8 = r8 + 1 | 0; - } - } - r6 = (r1 << 2) + r2 | 0; - return r6; -} -function __ZNKSt3__15ctypeIcE8do_widenEPKcS3_Pc(r1, r2, r3, r4) { - var r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - r5 = r2; - return r5; - } else { - r6 = r2; - r7 = r4; - } - while (1) { - HEAP8[r7] = HEAP8[r6]; - r4 = r6 + 1 | 0; - if ((r4 | 0) == (r3 | 0)) { - r5 = r3; - break; - } else { - r6 = r4; - r7 = r7 + 1 | 0; - } - } - return r5; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_() { - HEAP32[1315958] = 0; - HEAP32[1315957] = 5265820; - __ZNSt3__120__time_get_c_storageIcEC2Ev(); - HEAP32[1315957] = 5265e3; - HEAP32[1315959] = 5265048; - return; -} -function __ZNSt3__16locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263816, __ZNSt3__16locale2id5__getEv(5273276)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_() { - HEAP32[1315955] = 0; - HEAP32[1315954] = 5265820; - __ZNSt3__120__time_get_c_storageIwEC2Ev(); - HEAP32[1315954] = 5264912; - HEAP32[1315956] = 5264960; - return; -} -function __ZNSt3__16locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263804, __ZNSt3__16locale2id5__getEv(5273268)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_() { - HEAP32[1315952] = 0; - HEAP32[1315951] = 5265820; - HEAP32[1315953] = __ZNSt3__16__clocEv(); - HEAP32[1315951] = 5264884; - return; -} -function __ZNSt3__16locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263792, __ZNSt3__16locale2id5__getEv(5273260)); - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_() { - HEAP32[1315949] = 0; - HEAP32[1315948] = 5265820; - HEAP32[1315950] = __ZNSt3__16__clocEv(); - HEAP32[1315948] = 5264856; - return; -} -function __ZNSt3__16locale5__imp7installINS_8messagesIcEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263900, __ZNSt3__16locale2id5__getEv(5273316)); - return; -} -function __ZNSt3__16locale5__imp7installINS_8messagesIwEEEEvPT_() { - __ZNSt3__16locale5__imp7installEPNS0_5facetEl(5263892, __ZNSt3__16locale2id5__getEv(5273308)); - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED1Ev(r1) { - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED2Ev(r1); - return; -} -function __ZNSt3__16locale7classicEv() { - do { - if (HEAP8[5274280] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274280) | 0) == 0) { - break; - } - __ZNSt3__16locale5__imp12make_classicEv(); - HEAP32[1315935] = 5263744; - } - } while (0); - return HEAP32[1315935]; -} -function __ZNSt3__16locale5__imp7installEPNS0_5facetEl(r1, r2) { - var r3, r4, r5, r6; - __ZNSt3__114__shared_count12__add_sharedEv(r1 | 0); - r3 = HEAP32[1316003]; - if (HEAP32[1316004] - r3 >> 2 >>> 0 > r2 >>> 0) { - r4 = r3; - } else { - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE6resizeEj(r2 + 1 | 0); - r4 = HEAP32[1316003]; - } - r3 = HEAP32[r4 + (r2 << 2) >> 2]; - if ((r3 | 0) == 0) { - r5 = r4; - r6 = (r2 << 2) + r5 | 0; - HEAP32[r6 >> 2] = r1; - return; - } - __ZNSt3__114__shared_count16__release_sharedEv(r3 | 0); - r5 = HEAP32[1316003]; - r6 = (r2 << 2) + r5 | 0; - HEAP32[r6 >> 2] = r1; - return; -} -function __ZNSt3__16locale5__impD0Ev(r1) { - __ZNSt3__16locale5__impD1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__16locale5__impD1Ev(r1) { - __ZNSt3__16locale5__impD2Ev(r1); - return; -} -function __ZNSt3__16locale5__impD2Ev(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12; - HEAP32[r1 >> 2] = 5265844; - r2 = r1 + 20 | 0; - r3 = r1 + 24 | 0; - r4 = HEAP32[r3 >> 2]; - r5 = r2 | 0; - r6 = HEAP32[r5 >> 2]; - L2214 : do { - if ((r4 | 0) != (r6 | 0)) { - r7 = 0; - r8 = r6; - r9 = r4; - while (1) { - r10 = HEAP32[r8 + (r7 << 2) >> 2]; - if ((r10 | 0) == 0) { - r11 = r9; - r12 = r8; - } else { - __ZNSt3__114__shared_count16__release_sharedEv(r10 | 0); - r11 = HEAP32[r3 >> 2]; - r12 = HEAP32[r5 >> 2]; - } - r10 = r7 + 1 | 0; - if (r10 >>> 0 < r11 - r12 >> 2 >>> 0) { - r7 = r10; - r8 = r12; - r9 = r11; - } else { - break L2214; - } - } - } - } while (0); - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED1Ev(r2); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1 + 8 | 0); - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE6resizeEj(r1) { - var r2, r3; - r2 = HEAP32[1316003]; - r3 = HEAP32[1316004] - r2 >> 2; - if (r3 >>> 0 < r1 >>> 0) { - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE8__appendEj(r1 - r3 | 0); - return; - } - if (r3 >>> 0 <= r1 >>> 0) { - return; - } - HEAP32[1316004] = (r1 << 2) + r2 | 0; - return; -} -function __ZNSt3__16locale5__imp12make_classicEv() { - __ZNSt3__112_GLOBAL__N_14makeINS_6locale5__impEiEERT_T0_(); - HEAP32[1315936] = 5263992; - return; -} -function __ZNSt3__112_GLOBAL__N_14makeINS_6locale5__impEiEERT_T0_() { - __ZNSt3__16locale5__impC1Ej(); - return; -} -function __ZNSt3__16locale5__imp11make_globalEv() { - __ZNSt3__16localeC1ERKS0_(5263748, HEAP32[__ZNSt3__16locale7classicEv() >> 2]); - return; -} -function __ZNSt3__16localeC1ERKS0_(r1, r2) { - __ZNSt3__16localeC2ERKS0_(r1, r2); - return; -} -function __ZNSt3__16locale8__globalEv() { - do { - if (HEAP8[5274272] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274272) | 0) == 0) { - break; - } - __ZNSt3__16locale5__imp11make_globalEv(); - HEAP32[1315934] = 5263748; - } - } while (0); - return HEAP32[1315934]; -} -function __ZNSt3__16localeC1Ev(r1) { - __ZNSt3__16localeC2Ev(r1); - return; -} -function __ZNSt3__16localeC2ERKS0_(r1, r2) { - HEAP32[r1 >> 2] = r2; - __ZNSt3__114__shared_count12__add_sharedEv(r2 | 0); - return; -} -function __ZNSt3__16localeD2Ev(r1) { - __ZNSt3__114__shared_count16__release_sharedEv(r1 | 0); - return; -} -function __ZNSt3__16locale2id5__getEv(r1) { - var r2, r3, r4, r5, r6; - r2 = STACKTOP; - STACKTOP = STACKTOP + 24 | 0; - r3 = r2 + 12; - __ZNSt3__112_GLOBAL__N_111__fake_bindC1EMNS_6locale2idEFvvEPS3_(r3, r1); - r4 = r1 | 0; - if ((HEAP32[r4 >> 2] | 0) != -1) { - r5 = r3 >> 2; - r3 = r2, r6 = r3 >> 2; - HEAP32[r6] = HEAP32[r5]; - HEAP32[r6 + 1] = HEAP32[r5 + 1]; - HEAP32[r6 + 2] = HEAP32[r5 + 2]; - __ZNSt3__111__call_onceERVmPvPFvS2_E(r4, r3); - } - STACKTOP = r2; - return HEAP32[r1 + 4 >> 2] - 1 | 0; -} -function __ZNKSt3__16locale9use_facetERNS0_2idE(r1, r2) { - var r3; - r3 = __ZNSt3__16locale2id5__getEv(r2); - return __ZNKSt3__16locale5__imp9use_facetEl(HEAP32[r1 + 20 >> 2], HEAP32[r1 + 24 >> 2], r3); -} -function __ZNSt3__16locale5facetD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__112_GLOBAL__N_111__fake_bindC1EMNS_6locale2idEFvvEPS3_(r1, r2) { - __ZNSt3__112_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_(r1, r2); - return; -} -function __ZNSt3__15ctypeIwED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__15ctypeIwE5do_isEtw(r1, r2, r3) { - var r4; - if (r3 >>> 0 >= 128) { - r4 = 0; - return r4; - } - r4 = (HEAP16[__ZNSt3__15ctypeIcE13classic_tableEv() + (r3 << 1) >> 1] & r2) << 16 >> 16 != 0; - return r4; -} -function __ZNKSt3__15ctypeIwE5do_isEPKwS3_Pt(r1, r2, r3, r4) { - var r5, r6, r7, r8; - if ((r2 | 0) == (r3 | 0)) { - r5 = r2; - return r5; - } - r1 = ((r3 - 4 + -r2 | 0) >>> 2) + 1 | 0; - r6 = r2; - r7 = r4; - while (1) { - r4 = HEAP32[r6 >> 2]; - if (r4 >>> 0 < 128) { - r8 = HEAP16[__ZNSt3__15ctypeIcE13classic_tableEv() + (r4 << 1) >> 1]; - } else { - r8 = 0; - } - HEAP16[r7 >> 1] = r8; - r4 = r6 + 4 | 0; - if ((r4 | 0) == (r3 | 0)) { - break; - } else { - r6 = r4; - r7 = r7 + 2 | 0; - } - } - r5 = (r1 << 2) + r2 | 0; - return r5; -} -function __ZNKSt3__15ctypeIwE10do_scan_isEtPKwS3_(r1, r2, r3, r4) { - var r5, r6; - L2268 : do { - if ((r3 | 0) == (r4 | 0)) { - r5 = r3; - } else { - r1 = r3; - while (1) { - r6 = HEAP32[r1 >> 2]; - if (r6 >>> 0 < 128) { - if ((HEAP16[__ZNSt3__15ctypeIcE13classic_tableEv() + (r6 << 1) >> 1] & r2) << 16 >> 16 != 0) { - r5 = r1; - break L2268; - } - } - r6 = r1 + 4 | 0; - if ((r6 | 0) == (r4 | 0)) { - r5 = r4; - break L2268; - } else { - r1 = r6; - } - } - } - } while (0); - return r5; -} -function __ZNKSt3__15ctypeIwE11do_scan_notEtPKwS3_(r1, r2, r3, r4) { - var r5; - r1 = r3; - while (1) { - if ((r1 | 0) == (r4 | 0)) { - r5 = r4; - break; - } - r3 = HEAP32[r1 >> 2]; - if (r3 >>> 0 >= 128) { - r5 = r1; - break; - } - if ((HEAP16[__ZNSt3__15ctypeIcE13classic_tableEv() + (r3 << 1) >> 1] & r2) << 16 >> 16 == 0) { - r5 = r1; - break; - } else { - r1 = r1 + 4 | 0; - } - } - return r5; -} -function __ZNKSt3__15ctypeIwE10do_toupperEw(r1, r2) { - var r3; - if (r2 >>> 0 >= 128) { - r3 = r2; - return r3; - } - r3 = HEAP32[__ZNSt3__15ctypeIcE21__classic_upper_tableEv() + (r2 << 2) >> 2]; - return r3; -} -function __ZNKSt3__15ctypeIwE10do_toupperEPwPKw(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - r4 = r2; - return r4; - } - r1 = ((r3 - 4 + -r2 | 0) >>> 2) + 1 | 0; - r5 = r2; - while (1) { - r6 = HEAP32[r5 >> 2]; - if (r6 >>> 0 < 128) { - r7 = HEAP32[__ZNSt3__15ctypeIcE21__classic_upper_tableEv() + (r6 << 2) >> 2]; - } else { - r7 = r6; - } - HEAP32[r5 >> 2] = r7; - r6 = r5 + 4 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r5 = r6; - } - } - r4 = (r1 << 2) + r2 | 0; - return r4; -} -function __ZNKSt3__15ctypeIwE10do_tolowerEw(r1, r2) { - var r3; - if (r2 >>> 0 >= 128) { - r3 = r2; - return r3; - } - r3 = HEAP32[__ZNSt3__15ctypeIcE21__classic_lower_tableEv() + (r2 << 2) >> 2]; - return r3; -} -function __ZNKSt3__15ctypeIwE10do_tolowerEPwPKw(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r2 | 0) == (r3 | 0)) { - r4 = r2; - return r4; - } - r1 = ((r3 - 4 + -r2 | 0) >>> 2) + 1 | 0; - r5 = r2; - while (1) { - r6 = HEAP32[r5 >> 2]; - if (r6 >>> 0 < 128) { - r7 = HEAP32[__ZNSt3__15ctypeIcE21__classic_lower_tableEv() + (r6 << 2) >> 2]; - } else { - r7 = r6; - } - HEAP32[r5 >> 2] = r7; - r6 = r5 + 4 | 0; - if ((r6 | 0) == (r3 | 0)) { - break; - } else { - r5 = r6; - } - } - r4 = (r1 << 2) + r2 | 0; - return r4; -} -function __ZNSt3__15ctypeIcEC1EPKtbj() { - __ZNSt3__15ctypeIcEC2EPKtbj(); - return; -} -function __ZNSt3__15ctypeIcEC2EPKtbj() { - HEAP32[1316038] = 0; - HEAP32[1316037] = 5265940; - HEAP32[1316039] = 0; - HEAP8[5264160] = 0; - HEAP32[1316039] = __ZNSt3__15ctypeIcE13classic_tableEv(); - return; -} -function __ZNSt3__15ctypeIcED0Ev(r1) { - __ZNSt3__15ctypeIcED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__15ctypeIcED1Ev(r1) { - __ZNSt3__15ctypeIcED2Ev(r1); - return; -} -function __ZNSt3__15ctypeIcED2Ev(r1) { - var r2; - HEAP32[r1 >> 2] = 5265940; - r2 = HEAP32[r1 + 8 >> 2]; - if ((r2 | 0) == 0) { - return; - } - if ((HEAP8[r1 + 12 | 0] & 1) << 24 >> 24 == 0) { - return; - } - __ZdaPv(r2); - return; -} -function __ZNKSt3__15ctypeIcE10do_toupperEc(r1, r2) { - var r3; - r1 = r2 << 24 >> 24; - if (r2 << 24 >> 24 > -1) { - r3 = HEAP32[__ZNSt3__15ctypeIcE21__classic_upper_tableEv() + (r1 << 2) >> 2]; - } else { - r3 = r1; - } - return r3 & 255; -} -function __ZNKSt3__15ctypeIcE10do_toupperEPcPKc(r1, r2, r3) { - var r4, r5, r6; - if ((r2 | 0) == (r3 | 0)) { - r4 = r2; - return r4; - } else { - r5 = r2; - } - while (1) { - r2 = HEAP8[r5]; - r1 = r2 << 24 >> 24; - if (r2 << 24 >> 24 > -1) { - r6 = HEAP32[__ZNSt3__15ctypeIcE21__classic_upper_tableEv() + (r1 << 2) >> 2]; - } else { - r6 = r1; - } - HEAP8[r5] = r6 & 255; - r1 = r5 + 1 | 0; - if ((r1 | 0) == (r3 | 0)) { - r4 = r3; - break; - } else { - r5 = r1; - } - } - return r4; -} -function __ZNKSt3__15ctypeIcE10do_tolowerEc(r1, r2) { - var r3; - r1 = r2 << 24 >> 24; - if (r2 << 24 >> 24 > -1) { - r3 = HEAP32[__ZNSt3__15ctypeIcE21__classic_lower_tableEv() + (r1 << 2) >> 2]; - } else { - r3 = r1; - } - return r3 & 255; -} -function __ZNKSt3__15ctypeIcE10do_tolowerEPcPKc(r1, r2, r3) { - var r4, r5, r6; - if ((r2 | 0) == (r3 | 0)) { - r4 = r2; - return r4; - } else { - r5 = r2; - } - while (1) { - r2 = HEAP8[r5]; - r1 = r2 << 24 >> 24; - if (r2 << 24 >> 24 > -1) { - r6 = HEAP32[__ZNSt3__15ctypeIcE21__classic_lower_tableEv() + (r1 << 2) >> 2]; - } else { - r6 = r1; - } - HEAP8[r5] = r6 & 255; - r1 = r5 + 1 | 0; - if ((r1 | 0) == (r3 | 0)) { - r4 = r3; - break; - } else { - r5 = r1; - } - } - return r4; -} -function __ZNKSt3__16locale5__imp9use_facetEl(r1, r2, r3) { - if (__ZNKSt3__16locale5__imp9has_facetEl(r1, r2, r3)) { - return HEAP32[r1 + (r3 << 2) >> 2]; - } else { - r3 = ___cxa_allocate_exception(4); - __ZNSt8bad_castC1Ev(r3); - ___cxa_throw(r3, 5271208, 452); - } -} -function __ZNSt3__16localeC2Ev(r1) { - var r2; - r2 = HEAP32[__ZNSt3__16locale8__globalEv() >> 2]; - HEAP32[r1 >> 2] = r2; - __ZNSt3__114__shared_count12__add_sharedEv(r2 | 0); - return; -} -function __ZNSt3__16locale5facet16__on_zero_sharedEv(r1) { - if ((r1 | 0) == 0) { - return; - } - FUNCTION_TABLE[HEAP32[HEAP32[r1 >> 2] + 4 >> 2]](r1); - return; -} -function __ZNSt3__15ctypeIcE13classic_tableEv() { - return HEAP32[___ctype_b_loc() >> 2]; -} -function __ZNSt3__15ctypeIcE21__classic_upper_tableEv() { - return HEAP32[___ctype_toupper_loc() >> 2]; -} -function __ZNSt3__15ctypeIcE21__classic_lower_tableEv() { - return HEAP32[___ctype_tolower_loc() >> 2]; -} -function __ZNSt3__17codecvtIcc10_mbstate_tED1Ev(r1) { - return; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - HEAP32[r5 >> 2] = r3; - HEAP32[r8 >> 2] = r6; - return 3; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - HEAP32[r5 >> 2] = r3; - HEAP32[r8 >> 2] = r6; - return 3; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_(r1, r2, r3, r4, r5) { - HEAP32[r5 >> 2] = r3; - return 3; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE11do_encodingEv(r1) { - return 1; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE16do_always_noconvEv(r1) { - return 1; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE13do_max_lengthEv(r1) { - return 1; -} -function __ZNSt3__17codecvtIwc10_mbstate_tEC2Ej() { - HEAP32[1315990] = 0; - HEAP32[1315989] = 5265612; - HEAP32[1315991] = 0; - return; -} -function __ZNKSt3__17codecvtIwc10_mbstate_tE16do_always_noconvEv(r1) { - return 0; -} -function __ZNKSt3__17codecvtIcc10_mbstate_tE9do_lengthERS1_PKcS5_j(r1, r2, r3, r4, r5) { - r2 = r4 - r3 | 0; - return r2 >>> 0 < r5 >>> 0 ? r2 : r5; -} -function __ZNKSt3__15ctypeIcE9do_narrowEPKcS3_cPc(r1, r2, r3, r4, r5) { - var r6, r7, r8; - if ((r2 | 0) == (r3 | 0)) { - r6 = r2; - return r6; - } else { - r7 = r2; - r8 = r5; - } - while (1) { - r5 = HEAP8[r7]; - HEAP8[r8] = r5 << 24 >> 24 > -1 ? r5 : r4; - r5 = r7 + 1 | 0; - if ((r5 | 0) == (r3 | 0)) { - r6 = r3; - break; - } else { - r7 = r5; - r8 = r8 + 1 | 0; - } - } - return r6; -} -function __ZNSt3__17codecvtIcc10_mbstate_tED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__17codecvtIwc10_mbstate_tEC1Ej() { - __ZNSt3__17codecvtIwc10_mbstate_tEC2Ej(); - return; -} -function __ZNSt3__17codecvtIwc10_mbstate_tED0Ev(r1) { - __ZNSt3__17codecvtIwc10_mbstate_tED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__17codecvtIwc10_mbstate_tED1Ev(r1) { - __ZNSt3__17codecvtIwc10_mbstate_tED2Ev(r1); - return; -} -function __ZNKSt3__17codecvtIwc10_mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35; - r9 = r8 >> 2; - r8 = r5 >> 2; - r10 = 0; - r11 = STACKTOP; - STACKTOP = STACKTOP + 12 | 0; - r12 = r11; - r13 = r11 + 8; - r14 = r3; - while (1) { - if ((r14 | 0) == (r4 | 0)) { - r15 = r4; - break; - } - if ((HEAP32[r14 >> 2] | 0) == 0) { - r15 = r14; - break; - } else { - r14 = r14 + 4 | 0; - } - } - HEAP32[r9] = r6; - HEAP32[r8] = r3; - L2394 : do { - if ((r3 | 0) == (r4 | 0) | (r6 | 0) == (r7 | 0)) { - r16 = r3; - } else { - r14 = r2; - r17 = r12; - r18 = r7; - r19 = (r1 + 8 | 0) >> 2; - r20 = r13 | 0; - r21 = r6; - r22 = r3; - r23 = r15; - while (1) { - r24 = HEAP32[r14 + 4 >> 2]; - HEAP32[r17 >> 2] = HEAP32[r14 >> 2]; - HEAP32[r17 + 4 >> 2] = r24; - r24 = _uselocale(HEAP32[r19]); - r25 = _wcsnrtombs(r21, r5, r23 - r22 >> 2, r18 - r21 | 0, r2); - if ((r24 | 0) != 0) { - _uselocale(r24); - } - if ((r25 | 0) == 0) { - r26 = 1; - r10 = 2162; - break; - } else if ((r25 | 0) == -1) { - r10 = 2124; - break; - } - r24 = HEAP32[r9] + r25 | 0; - HEAP32[r9] = r24; - if ((r24 | 0) == (r7 | 0)) { - r10 = 2157; - break; - } - if ((r23 | 0) == (r4 | 0)) { - r27 = r4; - r28 = r24; - r29 = HEAP32[r8]; - } else { - r24 = _uselocale(HEAP32[r19]); - r25 = _wcrtomb(r20, 0, r2); - if ((r24 | 0) != 0) { - _uselocale(r24); - } - if ((r25 | 0) == -1) { - r26 = 2; - r10 = 2161; - break; - } - r24 = HEAP32[r9]; - if (r25 >>> 0 > (r18 - r24 | 0) >>> 0) { - r26 = 1; - r10 = 2160; - break; - } - L2413 : do { - if ((r25 | 0) != 0) { - r30 = r25; - r31 = r20; - r32 = r24; - while (1) { - r33 = HEAP8[r31]; - HEAP32[r9] = r32 + 1 | 0; - HEAP8[r32] = r33; - r33 = r30 - 1 | 0; - if ((r33 | 0) == 0) { - break L2413; - } - r30 = r33; - r31 = r31 + 1 | 0; - r32 = HEAP32[r9]; - } - } - } while (0); - r24 = HEAP32[r8] + 4 | 0; - HEAP32[r8] = r24; - r25 = r24; - while (1) { - if ((r25 | 0) == (r4 | 0)) { - r34 = r4; - break; - } - if ((HEAP32[r25 >> 2] | 0) == 0) { - r34 = r25; - break; - } else { - r25 = r25 + 4 | 0; - } - } - r27 = r34; - r28 = HEAP32[r9]; - r29 = r24; - } - if ((r29 | 0) == (r4 | 0) | (r28 | 0) == (r7 | 0)) { - r16 = r29; - break L2394; - } else { - r21 = r28; - r22 = r29; - r23 = r27; - } - } - if (r10 == 2160) { - STACKTOP = r11; - return r26; - } else if (r10 == 2161) { - STACKTOP = r11; - return r26; - } else if (r10 == 2162) { - STACKTOP = r11; - return r26; - } else if (r10 == 2124) { - HEAP32[r9] = r21; - L2428 : do { - if ((r22 | 0) == (HEAP32[r8] | 0)) { - r35 = r22; - } else { - r23 = r22; - r20 = r21; - while (1) { - r18 = HEAP32[r23 >> 2]; - r17 = _uselocale(HEAP32[r19]); - r14 = _wcrtomb(r20, r18, r12); - if ((r17 | 0) != 0) { - _uselocale(r17); - } - if ((r14 | 0) == -1) { - r35 = r23; - break L2428; - } - r17 = HEAP32[r9] + r14 | 0; - HEAP32[r9] = r17; - r14 = r23 + 4 | 0; - if ((r14 | 0) == (HEAP32[r8] | 0)) { - r35 = r14; - break L2428; - } else { - r23 = r14; - r20 = r17; - } - } - } - } while (0); - HEAP32[r8] = r35; - r26 = 2; - STACKTOP = r11; - return r26; - } else if (r10 == 2157) { - r16 = HEAP32[r8]; - break; - } - } - } while (0); - r26 = (r16 | 0) != (r4 | 0) & 1; - STACKTOP = r11; - return r26; -} -__ZNKSt3__17codecvtIwc10_mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_["X"] = 1; -function __ZNKSt3__17codecvtIwc10_mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33; - r9 = r8 >> 2; - r8 = r5 >> 2; - r10 = 0; - r11 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r12 = r11; - r13 = r3; - while (1) { - if ((r13 | 0) == (r4 | 0)) { - r14 = r4; - break; - } - if (HEAP8[r13] << 24 >> 24 == 0) { - r14 = r13; - break; - } else { - r13 = r13 + 1 | 0; - } - } - HEAP32[r9] = r6; - HEAP32[r8] = r3; - L2446 : do { - if ((r3 | 0) == (r4 | 0) | (r6 | 0) == (r7 | 0)) { - r15 = r3; - } else { - r13 = r2; - r16 = r12; - r17 = r7; - r18 = (r1 + 8 | 0) >> 2; - r19 = r6; - r20 = r3; - r21 = r14; - while (1) { - r22 = HEAP32[r13 + 4 >> 2]; - HEAP32[r16 >> 2] = HEAP32[r13 >> 2]; - HEAP32[r16 + 4 >> 2] = r22; - r23 = r21; - r22 = _uselocale(HEAP32[r18]); - r24 = _mbsnrtowcs(r19, r5, r23 - r20 | 0, r17 - r19 >> 2, r2); - if ((r22 | 0) != 0) { - _uselocale(r22); - } - if ((r24 | 0) == 0) { - r25 = 2; - r10 = 2219; - break; - } else if ((r24 | 0) == -1) { - r10 = 2179; - break; - } - r22 = (r24 << 2) + HEAP32[r9] | 0; - HEAP32[r9] = r22; - if ((r22 | 0) == (r7 | 0)) { - r10 = 2211; - break; - } - r24 = HEAP32[r8]; - if ((r21 | 0) == (r4 | 0)) { - r26 = r4; - r27 = r22; - r28 = r24; - } else { - r29 = _uselocale(HEAP32[r18]); - r30 = _mbrtowc(r22, r24, 1, r2); - if ((r29 | 0) != 0) { - _uselocale(r29); - } - if ((r30 | 0) != 0) { - r25 = 2; - r10 = 2218; - break; - } - HEAP32[r9] = HEAP32[r9] + 4 | 0; - r30 = HEAP32[r8] + 1 | 0; - HEAP32[r8] = r30; - r29 = r30; - while (1) { - if ((r29 | 0) == (r4 | 0)) { - r31 = r4; - break; - } - if (HEAP8[r29] << 24 >> 24 == 0) { - r31 = r29; - break; - } else { - r29 = r29 + 1 | 0; - } - } - r26 = r31; - r27 = HEAP32[r9]; - r28 = r30; - } - if ((r28 | 0) == (r4 | 0) | (r27 | 0) == (r7 | 0)) { - r15 = r28; - break L2446; - } else { - r19 = r27; - r20 = r28; - r21 = r26; - } - } - if (r10 == 2218) { - STACKTOP = r11; - return r25; - } else if (r10 == 2219) { - STACKTOP = r11; - return r25; - } else if (r10 == 2211) { - r15 = HEAP32[r8]; - break; - } else if (r10 == 2179) { - HEAP32[r9] = r19; - L2473 : do { - if ((r20 | 0) == (HEAP32[r8] | 0)) { - r32 = r20; - } else { - r21 = r19; - r17 = r20; - while (1) { - r16 = _uselocale(HEAP32[r18]); - r13 = _mbrtowc(r21, r17, r23 - r17 | 0, r12); - if ((r16 | 0) != 0) { - _uselocale(r16); - } - if ((r13 | 0) == -1) { - r10 = 2190; - break; - } else if ((r13 | 0) == -2) { - r10 = 2191; - break; - } else if ((r13 | 0) == 0) { - r33 = r17 + 1 | 0; - } else { - r33 = r17 + r13 | 0; - } - r13 = HEAP32[r9] + 4 | 0; - HEAP32[r9] = r13; - if ((r33 | 0) == (HEAP32[r8] | 0)) { - r32 = r33; - break L2473; - } else { - r21 = r13; - r17 = r33; - } - } - if (r10 == 2190) { - HEAP32[r8] = r17; - r25 = 2; - STACKTOP = r11; - return r25; - } else if (r10 == 2191) { - HEAP32[r8] = r17; - r25 = 1; - STACKTOP = r11; - return r25; - } - } - } while (0); - HEAP32[r8] = r32; - r25 = (r32 | 0) != (r4 | 0) & 1; - STACKTOP = r11; - return r25; - } - } - } while (0); - r25 = (r15 | 0) != (r4 | 0) & 1; - STACKTOP = r11; - return r25; -} -__ZNKSt3__17codecvtIwc10_mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_["X"] = 1; -function __ZNKSt3__17codecvtIwc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11; - r6 = STACKTOP; - STACKTOP = STACKTOP + 4 | 0; - HEAP32[r5 >> 2] = r3; - r3 = r6 | 0; - r7 = _uselocale(HEAP32[r1 + 8 >> 2]); - r1 = _wcrtomb(r3, 0, r2); - if ((r7 | 0) != 0) { - _uselocale(r7); - } - L2498 : do { - if ((r1 | 0) == -1 | (r1 | 0) == 0) { - r8 = 2; - } else { - r7 = r1 - 1 | 0; - r2 = HEAP32[r5 >> 2]; - if (r7 >>> 0 > (r4 - r2 | 0) >>> 0) { - r8 = 1; - break; - } - if ((r7 | 0) == 0) { - r8 = 0; - break; - } else { - r9 = r7; - r10 = r3; - r11 = r2; - } - while (1) { - r2 = HEAP8[r10]; - HEAP32[r5 >> 2] = r11 + 1 | 0; - HEAP8[r11] = r2; - r2 = r9 - 1 | 0; - if ((r2 | 0) == 0) { - r8 = 0; - break L2498; - } - r9 = r2; - r10 = r10 + 1 | 0; - r11 = HEAP32[r5 >> 2]; - } - } - } while (0); - STACKTOP = r6; - return r8; -} -__ZNKSt3__17codecvtIwc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_["X"] = 1; -function __ZNKSt3__17codecvtIwc10_mbstate_tE11do_encodingEv(r1) { - var r2, r3, r4, r5, r6; - r2 = r1 + 8 | 0; - r1 = _uselocale(HEAP32[r2 >> 2]); - r3 = _mbtowc(0, 0, 1); - if ((r1 | 0) != 0) { - _uselocale(r1); - } - if ((r3 | 0) != 0) { - r4 = -1; - return r4; - } - r3 = HEAP32[r2 >> 2]; - if ((r3 | 0) == 0) { - r4 = 1; - return r4; - } - r4 = _uselocale(r3); - r3 = ___locale_mb_cur_max(); - if ((r4 | 0) == 0) { - r5 = (r3 | 0) == 1; - r6 = r5 & 1; - return r6; - } - _uselocale(r4); - r5 = (r3 | 0) == 1; - r6 = r5 & 1; - return r6; -} -__ZNKSt3__17codecvtIwc10_mbstate_tE11do_encodingEv["X"] = 1; -function __ZNKSt3__17codecvtIwc10_mbstate_tE9do_lengthERS1_PKcS5_j(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14; - r6 = 0; - if ((r5 | 0) == 0 | (r3 | 0) == (r4 | 0)) { - r7 = 0; - return r7; - } - r8 = r4; - r9 = r1 + 8 | 0; - r1 = r3; - r3 = 0; - r10 = 0; - while (1) { - r11 = _uselocale(HEAP32[r9 >> 2]); - r12 = _mbrlen(r1, r8 - r1 | 0, r2); - if ((r11 | 0) != 0) { - _uselocale(r11); - } - if ((r12 | 0) == 0) { - r13 = 1; - r14 = r1 + 1 | 0; - } else if ((r12 | 0) == -1 | (r12 | 0) == -2) { - r7 = r3; - r6 = 2275; - break; - } else { - r13 = r12; - r14 = r1 + r12 | 0; - } - r12 = r13 + r3 | 0; - r11 = r10 + 1 | 0; - if (r11 >>> 0 >= r5 >>> 0 | (r14 | 0) == (r4 | 0)) { - r7 = r12; - r6 = 2276; - break; - } else { - r1 = r14; - r3 = r12; - r10 = r11; - } - } - if (r6 == 2275) { - return r7; - } else if (r6 == 2276) { - return r7; - } -} -function __ZNSt3__17codecvtIDsc10_mbstate_tED1Ev(r1) { - return; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_(r1, r2, r3, r4, r5) { - HEAP32[r5 >> 2] = r3; - return 3; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE11do_encodingEv(r1) { - return 0; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE16do_always_noconvEv(r1) { - return 0; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE13do_max_lengthEv(r1) { - return 4; -} -function __ZNSt3__17codecvtIDic10_mbstate_tED1Ev(r1) { - return; -} -function __ZNSt3__1L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14; - r9 = r6 >> 2; - r6 = r3 >> 2; - r3 = 0; - HEAP32[r6] = r1; - HEAP32[r9] = r4; - do { - if ((r8 & 2 | 0) != 0) { - if ((r5 - r4 | 0) < 3) { - r10 = 1; - return r10; - } else { - HEAP32[r9] = r4 + 1 | 0; - HEAP8[r4] = -17; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = -69; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = -65; - break; - } - } - } while (0); - r4 = r2; - r8 = HEAP32[r6]; - if (r8 >>> 0 >= r2 >>> 0) { - r10 = 0; - return r10; - } - r1 = r5; - r5 = r8; - L2556 : while (1) { - r8 = HEAP16[r5 >> 1]; - r11 = r8 & 65535; - if (r11 >>> 0 > r7 >>> 0) { - r10 = 2; - r3 = 2318; - break; - } - do { - if ((r8 & 65535) < 128) { - r12 = HEAP32[r9]; - if ((r1 - r12 | 0) < 1) { - r10 = 1; - r3 = 2314; - break L2556; - } - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = r8 & 255; - } else { - if ((r8 & 65535) < 2048) { - r12 = HEAP32[r9]; - if ((r1 - r12 | 0) < 2) { - r10 = 1; - r3 = 2321; - break L2556; - } - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 >>> 6 | 192) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 & 63 | 128) & 255; - break; - } - if ((r8 & 65535) < 55296) { - r12 = HEAP32[r9]; - if ((r1 - r12 | 0) < 3) { - r10 = 1; - r3 = 2316; - break L2556; - } - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 >>> 12 | 224) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 >>> 6 & 63 | 128) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 & 63 | 128) & 255; - break; - } - if ((r8 & 65535) >= 56320) { - if ((r8 & 65535) < 57344) { - r10 = 2; - r3 = 2320; - break L2556; - } - r12 = HEAP32[r9]; - if ((r1 - r12 | 0) < 3) { - r10 = 1; - r3 = 2313; - break L2556; - } - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 >>> 12 | 224) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 >>> 6 & 63 | 128) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 & 63 | 128) & 255; - break; - } - if ((r4 - r5 | 0) < 4) { - r10 = 1; - r3 = 2315; - break L2556; - } - r12 = r5 + 2 | 0; - r13 = HEAPU16[r12 >> 1]; - if ((r13 & 64512 | 0) != 56320) { - r10 = 2; - r3 = 2319; - break L2556; - } - if ((r1 - HEAP32[r9] | 0) < 4) { - r10 = 1; - r3 = 2317; - break L2556; - } - r14 = r11 & 960; - if (((r14 << 10) + 65536 | r11 << 10 & 64512 | r13 & 1023) >>> 0 > r7 >>> 0) { - r10 = 2; - r3 = 2322; - break L2556; - } - HEAP32[r6] = r12; - r12 = (r14 >>> 6) + 1 | 0; - r14 = HEAP32[r9]; - HEAP32[r9] = r14 + 1 | 0; - HEAP8[r14] = (r12 >>> 2 | 240) & 255; - r14 = HEAP32[r9]; - HEAP32[r9] = r14 + 1 | 0; - HEAP8[r14] = (r11 >>> 2 & 15 | r12 << 4 & 48 | 128) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r11 << 4 & 48 | r13 >>> 6 & 15 | 128) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r13 & 63 | 128) & 255; - } - } while (0); - r11 = HEAP32[r6] + 2 | 0; - HEAP32[r6] = r11; - if (r11 >>> 0 < r2 >>> 0) { - r5 = r11; - } else { - r10 = 0; - r3 = 2311; - break; - } - } - if (r3 == 2311) { - return r10; - } else if (r3 == 2313) { - return r10; - } else if (r3 == 2314) { - return r10; - } else if (r3 == 2315) { - return r10; - } else if (r3 == 2320) { - return r10; - } else if (r3 == 2321) { - return r10; - } else if (r3 == 2322) { - return r10; - } else if (r3 == 2316) { - return r10; - } else if (r3 == 2317) { - return r10; - } else if (r3 == 2318) { - return r10; - } else if (r3 == 2319) { - return r10; - } -} -__ZNSt3__1L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE["X"] = 1; -function __ZNSt3__1L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22; - r9 = r6 >> 2; - r6 = r3 >> 2; - r3 = 0; - HEAP32[r6] = r1; - HEAP32[r9] = r4; - r4 = HEAP32[r6]; - do { - if ((r8 & 4 | 0) == 0) { - r10 = r4; - } else { - if ((r2 - r4 | 0) <= 2) { - r10 = r4; - break; - } - if (HEAP8[r4] << 24 >> 24 != -17) { - r10 = r4; - break; - } - if (HEAP8[r4 + 1 | 0] << 24 >> 24 != -69) { - r10 = r4; - break; - } - if (HEAP8[r4 + 2 | 0] << 24 >> 24 != -65) { - r10 = r4; - break; - } - r1 = r4 + 3 | 0; - HEAP32[r6] = r1; - r10 = r1; - } - } while (0); - L2601 : do { - if (r10 >>> 0 < r2 >>> 0) { - r4 = r2; - r8 = r5; - r1 = HEAP32[r9], r11 = r1 >> 1; - r12 = r10; - L2603 : while (1) { - if (r1 >>> 0 >= r5 >>> 0) { - r13 = r12; - break L2601; - } - r14 = HEAP8[r12]; - r15 = r14 & 255; - if (r15 >>> 0 > r7 >>> 0) { - r16 = 2; - r3 = 2365; - break; - } - do { - if (r14 << 24 >> 24 > -1) { - HEAP16[r11] = r14 & 255; - HEAP32[r6] = HEAP32[r6] + 1 | 0; - } else { - if ((r14 & 255) < 194) { - r16 = 2; - r3 = 2377; - break L2603; - } - if ((r14 & 255) < 224) { - if ((r4 - r12 | 0) < 2) { - r16 = 1; - r3 = 2378; - break L2603; - } - r17 = HEAPU8[r12 + 1 | 0]; - if ((r17 & 192 | 0) != 128) { - r16 = 2; - r3 = 2379; - break L2603; - } - r18 = r17 & 63 | r15 << 6 & 1984; - if (r18 >>> 0 > r7 >>> 0) { - r16 = 2; - r3 = 2380; - break L2603; - } - HEAP16[r11] = r18 & 65535; - HEAP32[r6] = HEAP32[r6] + 2 | 0; - break; - } - if ((r14 & 255) < 240) { - if ((r4 - r12 | 0) < 3) { - r16 = 1; - r3 = 2381; - break L2603; - } - r18 = HEAP8[r12 + 1 | 0]; - r17 = HEAP8[r12 + 2 | 0]; - if ((r15 | 0) == 224) { - if ((r18 & -32) << 24 >> 24 != -96) { - r16 = 2; - r3 = 2382; - break L2603; - } - } else if ((r15 | 0) == 237) { - if ((r18 & -32) << 24 >> 24 != -128) { - r16 = 2; - r3 = 2383; - break L2603; - } - } else { - if ((r18 & -64) << 24 >> 24 != -128) { - r16 = 2; - r3 = 2384; - break L2603; - } - } - r19 = r17 & 255; - if ((r19 & 192 | 0) != 128) { - r16 = 2; - r3 = 2374; - break L2603; - } - r17 = (r18 & 255) << 6 & 4032 | r15 << 12 | r19 & 63; - if ((r17 & 65535) >>> 0 > r7 >>> 0) { - r16 = 2; - r3 = 2367; - break L2603; - } - HEAP16[r11] = r17 & 65535; - HEAP32[r6] = HEAP32[r6] + 3 | 0; - break; - } - if ((r14 & 255) >= 245) { - r16 = 2; - r3 = 2366; - break L2603; - } - if ((r4 - r12 | 0) < 4) { - r16 = 1; - r3 = 2376; - break L2603; - } - r17 = HEAP8[r12 + 1 | 0]; - r19 = HEAP8[r12 + 2 | 0]; - r18 = HEAP8[r12 + 3 | 0]; - if ((r15 | 0) == 240) { - if ((r17 + 112 & 255) >= 48) { - r16 = 2; - r3 = 2369; - break L2603; - } - } else if ((r15 | 0) == 244) { - if ((r17 & -16) << 24 >> 24 != -128) { - r16 = 2; - r3 = 2370; - break L2603; - } - } else { - if ((r17 & -64) << 24 >> 24 != -128) { - r16 = 2; - r3 = 2375; - break L2603; - } - } - r20 = r19 & 255; - if ((r20 & 192 | 0) != 128) { - r16 = 2; - r3 = 2364; - break L2603; - } - r19 = r18 & 255; - if ((r19 & 192 | 0) != 128) { - r16 = 2; - r3 = 2373; - break L2603; - } - if ((r8 - r1 | 0) < 4) { - r16 = 1; - r3 = 2371; - break L2603; - } - r18 = r15 & 7; - r21 = r17 & 255; - r17 = r20 << 6; - r22 = r19 & 63; - if ((r21 << 12 & 258048 | r18 << 18 | r17 & 4032 | r22) >>> 0 > r7 >>> 0) { - r16 = 2; - r3 = 2372; - break L2603; - } - HEAP16[r11] = (r21 << 2 & 60 | r20 >>> 4 & 3 | ((r21 >>> 4 & 3 | r18 << 2) << 6) + 16320 | 55296) & 65535; - r18 = HEAP32[r9] + 2 | 0; - HEAP32[r9] = r18; - HEAP16[r18 >> 1] = (r22 | r17 & 960 | 56320) & 65535; - HEAP32[r6] = HEAP32[r6] + 4 | 0; - } - } while (0); - r15 = HEAP32[r9] + 2 | 0; - HEAP32[r9] = r15; - r14 = HEAP32[r6]; - if (r14 >>> 0 < r2 >>> 0) { - r1 = r15, r11 = r1 >> 1; - r12 = r14; - } else { - r13 = r14; - break L2601; - } - } - if (r3 == 2379) { - return r16; - } else if (r3 == 2380) { - return r16; - } else if (r3 == 2381) { - return r16; - } else if (r3 == 2382) { - return r16; - } else if (r3 == 2383) { - return r16; - } else if (r3 == 2384) { - return r16; - } else if (r3 == 2372) { - return r16; - } else if (r3 == 2373) { - return r16; - } else if (r3 == 2374) { - return r16; - } else if (r3 == 2375) { - return r16; - } else if (r3 == 2376) { - return r16; - } else if (r3 == 2377) { - return r16; - } else if (r3 == 2378) { - return r16; - } else if (r3 == 2364) { - return r16; - } else if (r3 == 2365) { - return r16; - } else if (r3 == 2366) { - return r16; - } else if (r3 == 2367) { - return r16; - } else if (r3 == 2369) { - return r16; - } else if (r3 == 2370) { - return r16; - } else if (r3 == 2371) { - return r16; - } - } else { - r13 = r10; - } - } while (0); - r16 = r13 >>> 0 < r2 >>> 0 & 1; - return r16; -} -__ZNSt3__1L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE["X"] = 1; -function __ZNSt3__1L20utf8_to_utf16_lengthEPKhS1_jmNS_12codecvt_modeE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r6 = 0; - do { - if ((r5 & 4 | 0) == 0) { - r7 = r1; - } else { - if ((r2 - r1 | 0) <= 2) { - r7 = r1; - break; - } - if (HEAP8[r1] << 24 >> 24 != -17) { - r7 = r1; - break; - } - if (HEAP8[r1 + 1 | 0] << 24 >> 24 != -69) { - r7 = r1; - break; - } - r7 = HEAP8[r1 + 2 | 0] << 24 >> 24 == -65 ? r1 + 3 | 0 : r1; - } - } while (0); - L2670 : do { - if (r7 >>> 0 < r2 >>> 0 & (r3 | 0) != 0) { - r5 = r2; - r8 = 0; - r9 = r7; - L2672 : while (1) { - r10 = HEAP8[r9]; - r11 = r10 & 255; - if (r11 >>> 0 > r4 >>> 0) { - r12 = r9; - break L2670; - } - do { - if (r10 << 24 >> 24 > -1) { - r13 = r9 + 1 | 0; - r14 = r8; - } else { - if ((r10 & 255) < 194) { - r12 = r9; - break L2670; - } - if ((r10 & 255) < 224) { - if ((r5 - r9 | 0) < 2) { - r12 = r9; - break L2670; - } - r15 = HEAPU8[r9 + 1 | 0]; - if ((r15 & 192 | 0) != 128) { - r12 = r9; - break L2670; - } - if ((r15 & 63 | r11 << 6 & 1984) >>> 0 > r4 >>> 0) { - r12 = r9; - break L2670; - } - r13 = r9 + 2 | 0; - r14 = r8; - break; - } - if ((r10 & 255) < 240) { - r16 = r9; - if ((r5 - r16 | 0) < 3) { - r12 = r9; - break L2670; - } - r15 = HEAPU8[r9 + 1 | 0]; - r17 = HEAPU8[r9 + 2 | 0]; - r18 = r15 << 6 & 4032 | r11 << 12 & 61440 | r17 & 63; - if ((r11 | 0) == 224) { - if ((r15 & 224 | 0) != 160) { - r6 = 2405; - break L2672; - } - } else if ((r11 | 0) == 237) { - if ((r15 & 224 | 0) != 128) { - r6 = 2407; - break L2672; - } - } else { - if ((r15 & 192 | 0) != 128) { - r6 = 2409; - break L2672; - } - } - if ((r17 & 192 | 0) != 128 | r18 >>> 0 > r4 >>> 0) { - r12 = r9; - break L2670; - } - r13 = r9 + 3 | 0; - r14 = r8; - break; - } - if ((r10 & 255) >= 245) { - r12 = r9; - break L2670; - } - r19 = r9; - if ((r5 - r19 | 0) < 4) { - r12 = r9; - break L2670; - } - if ((r3 - r8 | 0) >>> 0 < 2) { - r12 = r9; - break L2670; - } - r18 = HEAP8[r9 + 1 | 0]; - r17 = HEAP8[r9 + 2 | 0]; - r15 = HEAP8[r9 + 3 | 0]; - if ((r11 | 0) == 240) { - if ((r18 + 112 & 255) >= 48) { - r6 = 2417; - break L2672; - } - } else if ((r11 | 0) == 244) { - if ((r18 & -16) << 24 >> 24 != -128) { - r6 = 2419; - break L2672; - } - } else { - if ((r18 & -64) << 24 >> 24 != -128) { - r6 = 2421; - break L2672; - } - } - r20 = r17 & 255; - if ((r20 & 192 | 0) != 128) { - r12 = r9; - break L2670; - } - r17 = r15 & 255; - if ((r17 & 192 | 0) != 128) { - r12 = r9; - break L2670; - } - if (((r18 & 255) << 12 & 258048 | r11 << 18 & 1835008 | r20 << 6 & 4032 | r17 & 63) >>> 0 > r4 >>> 0) { - r12 = r9; - break L2670; - } - r13 = r9 + 4 | 0; - r14 = r8 + 1 | 0; - } - } while (0); - r11 = r14 + 1 | 0; - if (r13 >>> 0 < r2 >>> 0 & r11 >>> 0 < r3 >>> 0) { - r8 = r11; - r9 = r13; - } else { - r12 = r13; - break L2670; - } - } - if (r6 == 2405) { - r21 = r16 - r1 | 0; - return r21; - } else if (r6 == 2407) { - r21 = r16 - r1 | 0; - return r21; - } else if (r6 == 2409) { - r21 = r16 - r1 | 0; - return r21; - } else if (r6 == 2417) { - r21 = r19 - r1 | 0; - return r21; - } else if (r6 == 2419) { - r21 = r19 - r1 | 0; - return r21; - } else if (r6 == 2421) { - r21 = r19 - r1 | 0; - return r21; - } - } else { - r12 = r7; - } - } while (0); - r21 = r12 - r1 | 0; - return r21; -} -__ZNSt3__1L20utf8_to_utf16_lengthEPKhS1_jmNS_12codecvt_modeE["X"] = 1; -function __ZNSt3__17codecvtIDsc10_mbstate_tED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r1 = r2; - r9 = r2 + 4; - HEAP32[r1 >> 2] = r3; - HEAP32[r9 >> 2] = r6; - r10 = __ZNSt3__1L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(r3, r4, r1, r6, r7, r9, 1114111, 0); - HEAP32[r5 >> 2] = (HEAP32[r1 >> 2] - r3 >> 1 << 1) + r3 | 0; - HEAP32[r8 >> 2] = r6 + (HEAP32[r9 >> 2] - r6) | 0; - STACKTOP = r2; - return r10; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r1 = r2; - r9 = r2 + 4; - HEAP32[r1 >> 2] = r3; - HEAP32[r9 >> 2] = r6; - r10 = __ZNSt3__1L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE(r3, r4, r1, r6, r7, r9, 1114111, 0); - HEAP32[r5 >> 2] = r3 + (HEAP32[r1 >> 2] - r3) | 0; - HEAP32[r8 >> 2] = (HEAP32[r9 >> 2] - r6 >> 1 << 1) + r6 | 0; - STACKTOP = r2; - return r10; -} -function __ZNKSt3__17codecvtIDsc10_mbstate_tE9do_lengthERS1_PKcS5_j(r1, r2, r3, r4, r5) { - return __ZNSt3__1L20utf8_to_utf16_lengthEPKhS1_jmNS_12codecvt_modeE(r3, r4, r5, 1114111, 0); -} -function __ZNSt3__17codecvtIDic10_mbstate_tED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r1 = r2; - r9 = r2 + 4; - HEAP32[r1 >> 2] = r3; - HEAP32[r9 >> 2] = r6; - r10 = __ZNSt3__1L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(r3, r4, r1, r6, r7, r9, 1114111, 0); - HEAP32[r5 >> 2] = (HEAP32[r1 >> 2] - r3 >> 2 << 2) + r3 | 0; - HEAP32[r8 >> 2] = r6 + (HEAP32[r9 >> 2] - r6) | 0; - STACKTOP = r2; - return r10; -} -function __ZNKSt3__17codecvtIwc10_mbstate_tE13do_max_lengthEv(r1) { - var r2, r3, r4; - r2 = HEAP32[r1 + 8 >> 2]; - do { - if ((r2 | 0) == 0) { - r3 = 1; - } else { - r1 = _uselocale(r2); - r4 = ___locale_mb_cur_max(); - if ((r1 | 0) == 0) { - r3 = r4; - break; - } - _uselocale(r1); - r3 = r4; - } - } while (0); - return r3; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE10do_unshiftERS1_PcS4_RS4_(r1, r2, r3, r4, r5) { - HEAP32[r5 >> 2] = r3; - return 3; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE11do_encodingEv(r1) { - return 0; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE16do_always_noconvEv(r1) { - return 0; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE13do_max_lengthEv(r1) { - return 4; -} -function __ZNSt3__1L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12; - r9 = r6 >> 2; - r6 = 0; - HEAP32[r3 >> 2] = r1; - HEAP32[r9] = r4; - do { - if ((r8 & 2 | 0) != 0) { - if ((r5 - r4 | 0) < 3) { - r10 = 1; - return r10; - } else { - HEAP32[r9] = r4 + 1 | 0; - HEAP8[r4] = -17; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = -69; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = -65; - break; - } - } - } while (0); - r4 = HEAP32[r3 >> 2]; - if (r4 >>> 0 >= r2 >>> 0) { - r10 = 0; - return r10; - } - r8 = r5; - r5 = r4; - L2749 : while (1) { - r4 = HEAP32[r5 >> 2]; - if ((r4 & -2048 | 0) == 55296 | r4 >>> 0 > r7 >>> 0) { - r10 = 2; - r6 = 2483; - break; - } - do { - if (r4 >>> 0 < 128) { - r1 = HEAP32[r9]; - if ((r8 - r1 | 0) < 1) { - r10 = 1; - r6 = 2482; - break L2749; - } - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = r4 & 255; - } else { - if (r4 >>> 0 < 2048) { - r1 = HEAP32[r9]; - if ((r8 - r1 | 0) < 2) { - r10 = 1; - r6 = 2481; - break L2749; - } - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 >>> 6 | 192) & 255; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 & 63 | 128) & 255; - break; - } - r1 = HEAP32[r9]; - r11 = r8 - r1 | 0; - if (r4 >>> 0 < 65536) { - if ((r11 | 0) < 3) { - r10 = 1; - r6 = 2478; - break L2749; - } - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 >>> 12 | 224) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r4 >>> 6 & 63 | 128) & 255; - r12 = HEAP32[r9]; - HEAP32[r9] = r12 + 1 | 0; - HEAP8[r12] = (r4 & 63 | 128) & 255; - break; - } else { - if ((r11 | 0) < 4) { - r10 = 1; - r6 = 2484; - break L2749; - } - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 >>> 18 | 240) & 255; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 >>> 12 & 63 | 128) & 255; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 >>> 6 & 63 | 128) & 255; - r1 = HEAP32[r9]; - HEAP32[r9] = r1 + 1 | 0; - HEAP8[r1] = (r4 & 63 | 128) & 255; - break; - } - } - } while (0); - r4 = HEAP32[r3 >> 2] + 4 | 0; - HEAP32[r3 >> 2] = r4; - if (r4 >>> 0 < r2 >>> 0) { - r5 = r4; - } else { - r10 = 0; - r6 = 2480; - break; - } - } - if (r6 == 2481) { - return r10; - } else if (r6 == 2483) { - return r10; - } else if (r6 == 2484) { - return r10; - } else if (r6 == 2482) { - return r10; - } else if (r6 == 2480) { - return r10; - } else if (r6 == 2478) { - return r10; - } -} -__ZNSt3__1L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE["X"] = 1; -function __ZNSt3__1L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - r9 = r3 >> 2; - r3 = 0; - HEAP32[r9] = r1; - HEAP32[r6 >> 2] = r4; - r4 = HEAP32[r9]; - do { - if ((r8 & 4 | 0) == 0) { - r10 = r4; - } else { - if ((r2 - r4 | 0) <= 2) { - r10 = r4; - break; - } - if (HEAP8[r4] << 24 >> 24 != -17) { - r10 = r4; - break; - } - if (HEAP8[r4 + 1 | 0] << 24 >> 24 != -69) { - r10 = r4; - break; - } - if (HEAP8[r4 + 2 | 0] << 24 >> 24 != -65) { - r10 = r4; - break; - } - r1 = r4 + 3 | 0; - HEAP32[r9] = r1; - r10 = r1; - } - } while (0); - L2781 : do { - if (r10 >>> 0 < r2 >>> 0) { - r4 = r2; - r8 = HEAP32[r6 >> 2], r1 = r8 >> 2; - r11 = r10; - L2783 : while (1) { - if (r8 >>> 0 >= r5 >>> 0) { - r12 = r11; - break L2781; - } - r13 = HEAP8[r11]; - r14 = r13 & 255; - do { - if (r13 << 24 >> 24 > -1) { - if (r14 >>> 0 > r7 >>> 0) { - r15 = 2; - r3 = 2540; - break L2783; - } - HEAP32[r1] = r14; - HEAP32[r9] = HEAP32[r9] + 1 | 0; - } else { - if ((r13 & 255) < 194) { - r15 = 2; - r3 = 2535; - break L2783; - } - if ((r13 & 255) < 224) { - if ((r4 - r11 | 0) < 2) { - r15 = 1; - r3 = 2532; - break L2783; - } - r16 = HEAPU8[r11 + 1 | 0]; - if ((r16 & 192 | 0) != 128) { - r15 = 2; - r3 = 2526; - break L2783; - } - r17 = r16 & 63 | r14 << 6 & 1984; - if (r17 >>> 0 > r7 >>> 0) { - r15 = 2; - r3 = 2527; - break L2783; - } - HEAP32[r1] = r17; - HEAP32[r9] = HEAP32[r9] + 2 | 0; - break; - } - if ((r13 & 255) < 240) { - if ((r4 - r11 | 0) < 3) { - r15 = 1; - r3 = 2529; - break L2783; - } - r17 = HEAP8[r11 + 1 | 0]; - r16 = HEAP8[r11 + 2 | 0]; - if ((r14 | 0) == 224) { - if ((r17 & -32) << 24 >> 24 != -96) { - r15 = 2; - r3 = 2539; - break L2783; - } - } else if ((r14 | 0) == 237) { - if ((r17 & -32) << 24 >> 24 != -128) { - r15 = 2; - r3 = 2543; - break L2783; - } - } else { - if ((r17 & -64) << 24 >> 24 != -128) { - r15 = 2; - r3 = 2541; - break L2783; - } - } - r18 = r16 & 255; - if ((r18 & 192 | 0) != 128) { - r15 = 2; - r3 = 2531; - break L2783; - } - r16 = (r17 & 255) << 6 & 4032 | r14 << 12 & 61440 | r18 & 63; - if (r16 >>> 0 > r7 >>> 0) { - r15 = 2; - r3 = 2536; - break L2783; - } - HEAP32[r1] = r16; - HEAP32[r9] = HEAP32[r9] + 3 | 0; - break; - } - if ((r13 & 255) >= 245) { - r15 = 2; - r3 = 2542; - break L2783; - } - if ((r4 - r11 | 0) < 4) { - r15 = 1; - r3 = 2537; - break L2783; - } - r16 = HEAP8[r11 + 1 | 0]; - r18 = HEAP8[r11 + 2 | 0]; - r17 = HEAP8[r11 + 3 | 0]; - if ((r14 | 0) == 244) { - if ((r16 & -16) << 24 >> 24 != -128) { - r15 = 2; - r3 = 2533; - break L2783; - } - } else if ((r14 | 0) == 240) { - if ((r16 + 112 & 255) >= 48) { - r15 = 2; - r3 = 2538; - break L2783; - } - } else { - if ((r16 & -64) << 24 >> 24 != -128) { - r15 = 2; - r3 = 2528; - break L2783; - } - } - r19 = r18 & 255; - if ((r19 & 192 | 0) != 128) { - r15 = 2; - r3 = 2530; - break L2783; - } - r18 = r17 & 255; - if ((r18 & 192 | 0) != 128) { - r15 = 2; - r3 = 2534; - break L2783; - } - r17 = (r16 & 255) << 12 & 258048 | r14 << 18 & 1835008 | r19 << 6 & 4032 | r18 & 63; - if (r17 >>> 0 > r7 >>> 0) { - r15 = 2; - r3 = 2525; - break L2783; - } - HEAP32[r1] = r17; - HEAP32[r9] = HEAP32[r9] + 4 | 0; - } - } while (0); - r14 = HEAP32[r6 >> 2] + 4 | 0; - HEAP32[r6 >> 2] = r14; - r13 = HEAP32[r9]; - if (r13 >>> 0 < r2 >>> 0) { - r8 = r14, r1 = r8 >> 2; - r11 = r13; - } else { - r12 = r13; - break L2781; - } - } - if (r3 == 2538) { - return r15; - } else if (r3 == 2539) { - return r15; - } else if (r3 == 2540) { - return r15; - } else if (r3 == 2541) { - return r15; - } else if (r3 == 2542) { - return r15; - } else if (r3 == 2543) { - return r15; - } else if (r3 == 2531) { - return r15; - } else if (r3 == 2532) { - return r15; - } else if (r3 == 2533) { - return r15; - } else if (r3 == 2534) { - return r15; - } else if (r3 == 2535) { - return r15; - } else if (r3 == 2536) { - return r15; - } else if (r3 == 2537) { - return r15; - } else if (r3 == 2525) { - return r15; - } else if (r3 == 2526) { - return r15; - } else if (r3 == 2527) { - return r15; - } else if (r3 == 2528) { - return r15; - } else if (r3 == 2529) { - return r15; - } else if (r3 == 2530) { - return r15; - } - } else { - r12 = r10; - } - } while (0); - r15 = r12 >>> 0 < r2 >>> 0 & 1; - return r15; -} -__ZNSt3__1L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE["X"] = 1; -function __ZNSt3__1L19utf8_to_ucs4_lengthEPKhS1_jmNS_12codecvt_modeE(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20; - r6 = 0; - do { - if ((r5 & 4 | 0) == 0) { - r7 = r1; - } else { - if ((r2 - r1 | 0) <= 2) { - r7 = r1; - break; - } - if (HEAP8[r1] << 24 >> 24 != -17) { - r7 = r1; - break; - } - if (HEAP8[r1 + 1 | 0] << 24 >> 24 != -69) { - r7 = r1; - break; - } - r7 = HEAP8[r1 + 2 | 0] << 24 >> 24 == -65 ? r1 + 3 | 0 : r1; - } - } while (0); - L2848 : do { - if (r7 >>> 0 < r2 >>> 0 & (r3 | 0) != 0) { - r5 = r2; - r8 = 1; - r9 = r7; - L2850 : while (1) { - r10 = HEAP8[r9]; - r11 = r10 & 255; - do { - if (r10 << 24 >> 24 > -1) { - if (r11 >>> 0 > r4 >>> 0) { - r12 = r9; - break L2848; - } - r13 = r9 + 1 | 0; - } else { - if ((r10 & 255) < 194) { - r12 = r9; - break L2848; - } - if ((r10 & 255) < 224) { - if ((r5 - r9 | 0) < 2) { - r12 = r9; - break L2848; - } - r14 = HEAPU8[r9 + 1 | 0]; - if ((r14 & 192 | 0) != 128) { - r12 = r9; - break L2848; - } - if ((r14 & 63 | r11 << 6 & 1984) >>> 0 > r4 >>> 0) { - r12 = r9; - break L2848; - } - r13 = r9 + 2 | 0; - break; - } - if ((r10 & 255) < 240) { - r15 = r9; - if ((r5 - r15 | 0) < 3) { - r12 = r9; - break L2848; - } - r14 = HEAP8[r9 + 1 | 0]; - r16 = HEAP8[r9 + 2 | 0]; - if ((r11 | 0) == 237) { - if ((r14 & -32) << 24 >> 24 != -128) { - r6 = 2567; - break L2850; - } - } else if ((r11 | 0) == 224) { - if ((r14 & -32) << 24 >> 24 != -96) { - r6 = 2565; - break L2850; - } - } else { - if ((r14 & -64) << 24 >> 24 != -128) { - r6 = 2569; - break L2850; - } - } - r17 = r16 & 255; - if ((r17 & 192 | 0) != 128) { - r12 = r9; - break L2848; - } - if (((r14 & 255) << 6 & 4032 | r11 << 12 & 61440 | r17 & 63) >>> 0 > r4 >>> 0) { - r12 = r9; - break L2848; - } - r13 = r9 + 3 | 0; - break; - } - if ((r10 & 255) >= 245) { - r12 = r9; - break L2848; - } - r18 = r9; - if ((r5 - r18 | 0) < 4) { - r12 = r9; - break L2848; - } - r17 = HEAP8[r9 + 1 | 0]; - r14 = HEAP8[r9 + 2 | 0]; - r16 = HEAP8[r9 + 3 | 0]; - if ((r11 | 0) == 240) { - if ((r17 + 112 & 255) >= 48) { - r6 = 2577; - break L2850; - } - } else if ((r11 | 0) == 244) { - if ((r17 & -16) << 24 >> 24 != -128) { - r6 = 2579; - break L2850; - } - } else { - if ((r17 & -64) << 24 >> 24 != -128) { - r6 = 2581; - break L2850; - } - } - r19 = r14 & 255; - if ((r19 & 192 | 0) != 128) { - r12 = r9; - break L2848; - } - r14 = r16 & 255; - if ((r14 & 192 | 0) != 128) { - r12 = r9; - break L2848; - } - if (((r17 & 255) << 12 & 258048 | r11 << 18 & 1835008 | r19 << 6 & 4032 | r14 & 63) >>> 0 > r4 >>> 0) { - r12 = r9; - break L2848; - } - r13 = r9 + 4 | 0; - } - } while (0); - if (!(r13 >>> 0 < r2 >>> 0 & r8 >>> 0 < r3 >>> 0)) { - r12 = r13; - break L2848; - } - r8 = r8 + 1 | 0; - r9 = r13; - } - if (r6 == 2565) { - r20 = r15 - r1 | 0; - return r20; - } else if (r6 == 2567) { - r20 = r15 - r1 | 0; - return r20; - } else if (r6 == 2569) { - r20 = r15 - r1 | 0; - return r20; - } else if (r6 == 2577) { - r20 = r18 - r1 | 0; - return r20; - } else if (r6 == 2579) { - r20 = r18 - r1 | 0; - return r20; - } else if (r6 == 2581) { - r20 = r18 - r1 | 0; - return r20; - } - } else { - r12 = r7; - } - } while (0); - r20 = r12 - r1 | 0; - return r20; -} -__ZNSt3__1L19utf8_to_ucs4_lengthEPKhS1_jmNS_12codecvt_modeE["X"] = 1; -function __ZNKSt3__18numpunctIcE16do_decimal_pointEv(r1) { - return HEAP8[r1 + 8 | 0]; -} -function __ZNKSt3__18numpunctIwE16do_decimal_pointEv(r1) { - return HEAP32[r1 + 8 >> 2]; -} -function __ZNKSt3__18numpunctIcE16do_thousands_sepEv(r1) { - return HEAP8[r1 + 9 | 0]; -} -function __ZNKSt3__18numpunctIwE16do_thousands_sepEv(r1) { - return HEAP32[r1 + 12 >> 2]; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_(r1, r2, r3, r4, r5, r6, r7, r8) { - var r9, r10; - r2 = STACKTOP; - STACKTOP = STACKTOP + 8 | 0; - r1 = r2; - r9 = r2 + 4; - HEAP32[r1 >> 2] = r3; - HEAP32[r9 >> 2] = r6; - r10 = __ZNSt3__1L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE(r3, r4, r1, r6, r7, r9, 1114111, 0); - HEAP32[r5 >> 2] = r3 + (HEAP32[r1 >> 2] - r3) | 0; - HEAP32[r8 >> 2] = (HEAP32[r9 >> 2] - r6 >> 2 << 2) + r6 | 0; - STACKTOP = r2; - return r10; -} -function __ZNKSt3__17codecvtIDic10_mbstate_tE9do_lengthERS1_PKcS5_j(r1, r2, r3, r4, r5) { - return __ZNSt3__1L19utf8_to_ucs4_lengthEPKhS1_jmNS_12codecvt_modeE(r3, r4, r5, 1114111, 0); -} -function __ZNSt3__116__narrow_to_utf8ILj32EED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__117__widen_from_utf8ILj32EED0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt3__18numpunctIcEC1Ej() { - __ZNSt3__18numpunctIcEC2Ej(); - return; -} -function __ZNSt3__18numpunctIcEC2Ej() { - HEAP32[1315968] = 0; - HEAP32[1315967] = 5265132; - HEAP8[5263876] = 46; - HEAP8[5263877] = 44; - HEAP32[1315970] = 0; - HEAP32[1315971] = 0; - HEAP32[1315972] = 0; - return; -} -function __ZNSt3__18numpunctIwEC1Ej() { - __ZNSt3__18numpunctIwEC2Ej(); - return; -} -function __ZNSt3__18numpunctIwEC2Ej() { - HEAP32[1315961] = 0; - HEAP32[1315960] = 5265088; - HEAP32[1315962] = 46; - HEAP32[1315963] = 44; - HEAP32[1315964] = 0; - HEAP32[1315965] = 0; - HEAP32[1315966] = 0; - return; -} -function __ZNSt3__18numpunctIcED0Ev(r1) { - __ZNSt3__18numpunctIcED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__18numpunctIcED1Ev(r1) { - __ZNSt3__18numpunctIcED2Ev(r1); - return; -} -function __ZNSt3__18numpunctIcED2Ev(r1) { - HEAP32[r1 >> 2] = 5265132; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1 + 12 | 0); - return; -} -function __ZNSt3__18numpunctIwED0Ev(r1) { - __ZNSt3__18numpunctIwED1Ev(r1); - __ZdlPv(r1); - return; -} -function __ZNSt3__18numpunctIwED1Ev(r1) { - __ZNSt3__18numpunctIwED2Ev(r1); - return; -} -function __ZNSt3__18numpunctIwED2Ev(r1) { - HEAP32[r1 >> 2] = 5265088; - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(r1 + 16 | 0); - return; -} -function __ZNKSt3__18numpunctIcE11do_groupingEv(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_(r1, r2 + 12 | 0); - return; -} -function __ZNKSt3__18numpunctIwE11do_groupingEv(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_(r1, r2 + 16 | 0); - return; -} -function __ZNKSt3__18numpunctIcE11do_truenameEv(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r1, 5245868, 4); - return; -} -function __ZNKSt3__18numpunctIwE11do_truenameEv(r1, r2) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(r1, 5245812, _wcslen(5245812)); - return; -} -function __ZNKSt3__18numpunctIcE12do_falsenameEv(r1, r2) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(r1, 5245776, 5); - return; -} -function __ZNKSt3__18numpunctIwE12do_falsenameEv(r1, r2) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(r1, 5245708, _wcslen(5245708)); - return; -} -function __ZNKSt3__120__time_get_c_storageIcE7__weeksEv(r1) { - do { - if (HEAP8[5274368] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274368) | 0) == 0) { - break; - } - __ZNSt3__1L10init_weeksEv(); - HEAP32[1316136] = 5263280; - } - } while (0); - return HEAP32[1316136]; -} -function __ZNSt3__1L10init_weeksEv() { - var r1, r2; - do { - if (HEAP8[5274256] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274256) | 0) == 0) { - break; - } - for (r1 = 1315820, r2 = r1 + 42; r1 < r2; r1++) { - HEAP32[r1] = 0; - } - _atexit(544, 0, ___dso_handle); - } - } while (0); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263280, 5250896); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263292, 5250888); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263304, 5250880); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263316, 5250868); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263328, 5250856); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263340, 5250848); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263352, 5250724); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263364, 5250668); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263376, 5250664); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263388, 5250648); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263400, 5250608); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263412, 5250596); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263424, 5250592); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263436, 5250588); - return; -} -function __ZNKSt3__120__time_get_c_storageIwE7__weeksEv(r1) { - do { - if (HEAP8[5274312] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274312) | 0) == 0) { - break; - } - __ZNSt3__1L11init_wweeksEv(); - HEAP32[1316121] = 5262536; - } - } while (0); - return HEAP32[1316121]; -} -function __ZNSt3__1L11init_wweeksEv() { - var r1, r2; - do { - if (HEAP8[5274232] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274232) | 0) == 0) { - break; - } - for (r1 = 1315634, r2 = r1 + 42; r1 < r2; r1++) { - HEAP32[r1] = 0; - } - _atexit(276, 0, ___dso_handle); - } - } while (0); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262536, 5251728); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262548, 5251596); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262560, 5251484); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262572, 5251388); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262584, 5251352); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262596, 5251284); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262608, 5251248); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262620, 5251232); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262632, 5251216); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262644, 5251200); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262656, 5251184); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262668, 5251068); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262680, 5250996); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262692, 5250964); - return; -} -function __ZNKSt3__120__time_get_c_storageIcE8__monthsEv(r1) { - do { - if (HEAP8[5274360] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274360) | 0) == 0) { - break; - } - __ZNSt3__1L11init_monthsEv(); - HEAP32[1316135] = 5262992; - } - } while (0); - return HEAP32[1316135]; -} -function __ZNSt3__1L11init_monthsEv() { - var r1, r2; - do { - if (HEAP8[5274248] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274248) | 0) == 0) { - break; - } - for (r1 = 1315748, r2 = r1 + 72; r1 < r2; r1++) { - HEAP32[r1] = 0; - } - _atexit(492, 0, ___dso_handle); - } - } while (0); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5262992, 5252400); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263004, 5252344); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263016, 5252336); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263028, 5252328); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263040, 5252208); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263052, 5252136); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263064, 5252092); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263076, 5252084); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263088, 5252028); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263100, 5251984); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263112, 5251972); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263124, 5251944); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263136, 5251940); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263148, 5251936); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263160, 5251920); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263172, 5251916); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263184, 5252208); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263196, 5251836); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263208, 5251832); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263220, 5251812); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263232, 5251768); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263244, 5251764); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263256, 5251760); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263268, 5251756); - return; -} -function __ZNKSt3__120__time_get_c_storageIwE8__monthsEv(r1) { - do { - if (HEAP8[5274304] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274304) | 0) == 0) { - break; - } - __ZNSt3__1L12init_wmonthsEv(); - HEAP32[1316120] = 5262248; - } - } while (0); - return HEAP32[1316120]; -} -function __ZNSt3__1L12init_wmonthsEv() { - var r1, r2; - do { - if (HEAP8[5274224] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274224) | 0) == 0) { - break; - } - for (r1 = 1315562, r2 = r1 + 72; r1 < r2; r1++) { - HEAP32[r1] = 0; - } - _atexit(540, 0, ___dso_handle); - } - } while (0); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262248, 5243964); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262260, 5243864); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262272, 5243652); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262284, 5243596); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262296, 5252928); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262308, 5243576); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262320, 5243480); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262332, 5243452); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262344, 5243404); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262356, 5243348); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262368, 5243164); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262380, 5243128); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262392, 5243064); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262404, 5243024); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262416, 5242952); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262428, 5242936); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262440, 5252928); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262452, 5252912); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262464, 5252896); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262476, 5252784); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262488, 5252712); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262500, 5252696); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262512, 5252472); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262524, 5252424); - return; -} -function __ZNKSt3__120__time_get_c_storageIcE7__am_pmEv(r1) { - do { - if (HEAP8[5274376] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274376) | 0) == 0) { - break; - } - __ZNSt3__1L10init_am_pmEv(); - HEAP32[1316137] = 5263448; - } - } while (0); - return HEAP32[1316137]; -} -function __ZNSt3__1L10init_am_pmEv() { - var r1, r2; - do { - if (HEAP8[5274264] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274264) | 0) == 0) { - break; - } - for (r1 = 1315862, r2 = r1 + 72; r1 < r2; r1++) { - HEAP32[r1] = 0; - } - _atexit(542, 0, ___dso_handle); - } - } while (0); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263448, 5244320); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc(5263460, 5244152); - return; -} -function __ZNKSt3__120__time_get_c_storageIwE7__am_pmEv(r1) { - do { - if (HEAP8[5274320] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274320) | 0) == 0) { - break; - } - __ZNSt3__1L11init_wam_pmEv(); - HEAP32[1316122] = 5262704; - } - } while (0); - return HEAP32[1316122]; -} -function __ZNSt3__1L11init_wam_pmEv() { - var r1, r2; - do { - if (HEAP8[5274240] << 24 >> 24 == 0) { - if ((___cxa_guard_acquire(5274240) | 0) == 0) { - break; - } - for (r1 = 1315676, r2 = r1 + 72; r1 < r2; r1++) { - HEAP32[r1] = 0; - } - _atexit(850, 0, ___dso_handle); - } - } while (0); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262704, 5244396); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw(5262716, 5244368); - return; -} -function __ZNKSt3__120__time_get_c_storageIcE3__xEv(r1) { - if (HEAP8[5274384] << 24 >> 24 != 0) { - return 5264552; - } - if ((___cxa_guard_acquire(5274384) | 0) == 0) { - return 5264552; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(5264552, 5245564, 8); - _atexit(888, 5264552, ___dso_handle); - return 5264552; -} -function __ZNKSt3__120__time_get_c_storageIwE3__xEv(r1) { - if (HEAP8[5274328] << 24 >> 24 != 0) { - return 5264492; - } - if ((___cxa_guard_acquire(5274328) | 0) == 0) { - return 5264492; - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(5264492, 5245500, _wcslen(5245500)); - _atexit(622, 5264492, ___dso_handle); - return 5264492; -} -function __ZNKSt3__120__time_get_c_storageIcE3__XEv(r1) { - if (HEAP8[5274408] << 24 >> 24 != 0) { - return 5264588; - } - if ((___cxa_guard_acquire(5274408) | 0) == 0) { - return 5264588; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(5264588, 5245488, 8); - _atexit(888, 5264588, ___dso_handle); - return 5264588; -} -function __ZNKSt3__120__time_get_c_storageIwE3__XEv(r1) { - if (HEAP8[5274352] << 24 >> 24 != 0) { - return 5264528; - } - if ((___cxa_guard_acquire(5274352) | 0) == 0) { - return 5264528; - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(5264528, 5245412, _wcslen(5245412)); - _atexit(622, 5264528, ___dso_handle); - return 5264528; -} -function __ZNKSt3__120__time_get_c_storageIcE3__cEv(r1) { - if (HEAP8[5274400] << 24 >> 24 != 0) { - return 5264576; - } - if ((___cxa_guard_acquire(5274400) | 0) == 0) { - return 5264576; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(5264576, 5245164, 20); - _atexit(888, 5264576, ___dso_handle); - return 5264576; -} -function __ZNK10__cxxabiv116__shim_type_info5noop1Ev(r1) { - return; -} -function __ZNK10__cxxabiv116__shim_type_info5noop2Ev(r1) { - return; -} -function __ZN10__cxxabiv123__fundamental_type_infoD1Ev(r1) { - return; -} -function __ZN10__cxxabiv117__class_type_infoD1Ev(r1) { - return; -} -function __ZN10__cxxabiv120__si_class_type_infoD1Ev(r1) { - return; -} -function __ZN10__cxxabiv121__vmi_class_type_infoD1Ev(r1) { - return; -} -function __ZN10__cxxabiv119__pointer_type_infoD1Ev(r1) { - return; -} -function __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1, r2) { - return (r1 | 0) == (r2 | 0); -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj(r1) { - var r2, r3, r4, r5; - r2 = r1; - r1 = HEAP32[1316004]; - while (1) { - if ((r1 | 0) == 0) { - r3 = 0; - } else { - HEAP32[r1 >> 2] = 0; - r3 = HEAP32[1316004]; - } - r4 = r3 + 4 | 0; - HEAP32[1316004] = r4; - r5 = r2 - 1 | 0; - if ((r5 | 0) == 0) { - break; - } else { - r2 = r5; - r1 = r4; - } - } - return; -} -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj(r1, r2) { - var r3, r4, r5, r6; - r3 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r3]; - while (1) { - if ((r2 | 0) == 0) { - r4 = 0; - } else { - HEAP32[r2 >> 2] = 0; - r4 = HEAP32[r3]; - } - r5 = r4 + 4 | 0; - HEAP32[r3] = r5; - r6 = r1 - 1 | 0; - if ((r6 | 0) == 0) { - break; - } else { - r1 = r6; - r2 = r5; - } - } - return; -} -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r1, r2, r3) { - var r4, r5, r6, r7; - if ((r3 | 0) == (r2 | 0)) { - return; - } - r4 = (r1 + 8 | 0) >> 2; - r1 = r2; - r2 = HEAP32[r4]; - while (1) { - if ((r2 | 0) == 0) { - r5 = 0; - } else { - HEAP32[r2 >> 2] = HEAP32[r1 >> 2]; - r5 = HEAP32[r4]; - } - r6 = r5 + 4 | 0; - HEAP32[r4] = r6; - r7 = r1 + 4 | 0; - if ((r7 | 0) == (r3 | 0)) { - break; - } else { - r1 = r7; - r2 = r6; - } - } - return; -} -function __ZNSt3__112_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_(r1, r2) { - HEAP32[r1 >> 2] = r2; - r2 = r1 + 4 | 0; - HEAP32[r2 >> 2] = 34; - HEAP32[r2 + 4 >> 2] = 0; - return; -} -function __ZNKSt3__120__time_get_c_storageIwE3__cEv(r1) { - if (HEAP8[5274344] << 24 >> 24 != 0) { - return 5264516; - } - if ((___cxa_guard_acquire(5274344) | 0) == 0) { - return 5264516; - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(5264516, 5244980, _wcslen(5244980)); - _atexit(622, 5264516, ___dso_handle); - return 5264516; -} -function __ZNKSt3__120__time_get_c_storageIcE3__rEv(r1) { - if (HEAP8[5274392] << 24 >> 24 != 0) { - return 5264564; - } - if ((___cxa_guard_acquire(5274392) | 0) == 0) { - return 5264564; - } - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj(5264564, 5244968, 11); - _atexit(888, 5264564, ___dso_handle); - return 5264564; -} -function __ZNKSt3__120__time_get_c_storageIwE3__rEv(r1) { - if (HEAP8[5274336] << 24 >> 24 != 0) { - return 5264504; - } - if ((___cxa_guard_acquire(5274336) | 0) == 0) { - return 5264504; - } - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj(5264504, 5244848, _wcslen(5244848)); - _atexit(622, 5264504, ___dso_handle); - return 5264504; -} -function __ZNSt3__117__call_once_proxyINS_12_GLOBAL__N_111__fake_bindEEEvPv(r1) { - var r2; - r2 = r1 + 4 | 0; - __ZNKSt3__112_GLOBAL__N_111__fake_bindclEv(HEAP32[r1 >> 2], HEAP32[r2 >> 2], HEAP32[r2 + 4 >> 2]); - return; -} -function __ZNKSt3__112_GLOBAL__N_111__fake_bindclEv(r1, r2, r3) { - var r4; - r4 = r1 + r3 | 0; - r3 = r4; - r1 = r2; - if ((r1 & 1 | 0) == 0) { - r2 = r1; - FUNCTION_TABLE[r2](r3); - return; - } else { - r2 = HEAP32[HEAP32[r4 >> 2] + (r1 - 1) >> 2]; - FUNCTION_TABLE[r2](r3); - return; - } -} -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC1EjjS6_(r1, r2, r3, r4) { - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC2EjjS6_(r1, r2, r3, r4); - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r1) { - var r2, r3, r4, r5, r6, r7; - r2 = HEAP32[1316004]; - r3 = HEAP32[1316003]; - L71 : do { - if (r3 >>> 0 < r2 >>> 0) { - r4 = r2; - while (1) { - r5 = r4 - 4 | 0; - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE10push_frontERKS3_(r1, r5); - r6 = HEAP32[1316003]; - if (r6 >>> 0 < r5 >>> 0) { - r4 = r5; - } else { - r7 = r6; - break L71; - } - } - } else { - r7 = r3; - } - } while (0); - r3 = (r1 + 4 | 0) >> 2; - HEAP32[1316003] = HEAP32[r3]; - HEAP32[r3] = r7; - r7 = r1 + 8 | 0; - r2 = HEAP32[1316004]; - HEAP32[1316004] = HEAP32[r7 >> 2]; - HEAP32[r7 >> 2] = r2; - r2 = r1 + 12 | 0; - r7 = HEAP32[1316005]; - HEAP32[1316005] = HEAP32[r2 >> 2]; - HEAP32[r2 >> 2] = r7; - HEAP32[r1 >> 2] = HEAP32[r3]; - return; -} -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED1Ev(r1) { - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED2Ev(r1); - return; -} -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED2Ev(r1) { - var r2, r3; - HEAP32[r1 + 8 >> 2] = HEAP32[r1 + 4 >> 2]; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - r3 = HEAP32[r1 + 16 >> 2]; - if ((r2 | 0) == (r3 | 0)) { - HEAP8[r3 + 112 | 0] = 0; - return; - } else { - __ZdlPv(r2); - return; - } -} -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE10push_frontERKS3_(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r3 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r4 = r3; - r5 = (r1 + 4 | 0) >> 2; - r6 = HEAP32[r5]; - r7 = (r1 | 0) >> 2; - do { - if ((r6 | 0) == (HEAP32[r7] | 0)) { - r8 = (r1 + 8 | 0) >> 2; - r9 = HEAP32[r8]; - r10 = (r1 + 12 | 0) >> 2; - r11 = HEAP32[r10]; - r12 = r11; - if (r9 >>> 0 < r11 >>> 0) { - r11 = r9; - r13 = (r12 - r11 + 4 >> 2 | 0) / 2 & -1; - r14 = r11 - r6 | 0; - r11 = (r13 - (r14 >> 2) << 2) + r9 | 0; - _memmove(r11, r6, r14, 4, 0); - HEAP32[r5] = r11; - HEAP32[r8] = (r13 << 2) + HEAP32[r8] | 0; - r15 = r11; - break; - } else { - r11 = r12 - r6 >> 1; - r12 = (r11 | 0) == 0 ? 1 : r11; - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC1EjjS6_(r4, r12, (r12 + 3 | 0) >>> 2, HEAP32[r1 + 16 >> 2]); - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_(r4, HEAP32[r5], HEAP32[r8]); - r12 = r4 | 0; - r11 = HEAP32[r7]; - HEAP32[r7] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 4 | 0; - r12 = HEAP32[r5]; - HEAP32[r5] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - r12 = r4 + 8 | 0; - r11 = HEAP32[r8]; - HEAP32[r8] = HEAP32[r12 >> 2]; - HEAP32[r12 >> 2] = r11; - r11 = r4 + 12 | 0; - r12 = HEAP32[r10]; - HEAP32[r10] = HEAP32[r11 >> 2]; - HEAP32[r11 >> 2] = r12; - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED1Ev(r4); - r15 = HEAP32[r5]; - break; - } - } else { - r15 = r6; - } - } while (0); - r6 = r15 - 4 | 0; - if ((r6 | 0) == 0) { - r16 = r15; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; - } - HEAP32[r6 >> 2] = HEAP32[r2 >> 2]; - r16 = HEAP32[r5]; - r17 = r16 - 4 | 0; - HEAP32[r5] = r17; - STACKTOP = r3; - return; -} -__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE10push_frontERKS3_["X"] = 1; -function __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC2EjjS6_(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = r1 + 12 | 0; - HEAP32[r5 >> 2] = 0; - HEAP32[r1 + 16 >> 2] = r4; - do { - if ((r2 | 0) == 0) { - r6 = 0; - } else { - r7 = r4 + 112 | 0; - if ((HEAP8[r7] & 1) << 24 >> 24 == 0 & r2 >>> 0 < 29) { - HEAP8[r7] = 1; - r6 = r4; - break; - } else { - r6 = __Znwj(r2 << 2); - break; - } - } - } while (0); - HEAP32[r1 >> 2] = r6; - r4 = (r3 << 2) + r6 | 0; - HEAP32[r1 + 8 >> 2] = r4; - HEAP32[r1 + 4 >> 2] = r4; - HEAP32[r5 >> 2] = (r2 << 2) + r6 | 0; - return; -} -function __ZNSt3__112_GLOBAL__N_17releaseclEPNS_6locale5facetE(r1) { - __ZNSt3__114__shared_count16__release_sharedEv(r1 | 0); - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE8allocateEj() { - var r1; - if ((HEAP8[5264136] & 1) << 24 >> 24 == 0) { - HEAP8[5264136] = 1; - r1 = 5264024; - } else { - r1 = __Znwj(112); - } - HEAP32[1316004] = r1; - HEAP32[1316003] = r1; - HEAP32[1316005] = r1 + 112 | 0; - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEEC2Ej() { - HEAP32[1316003] = 0; - HEAP32[1316004] = 0; - HEAP32[1316005] = 0; - HEAP8[5264136] = 0; - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE8allocateEj(); - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj(28); - return; -} -function __ZNSt3__113__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED2Ev(r1) { - var r2; - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - return; - } - HEAP32[r1 + 4 >> 2] = r2; - if ((r2 | 0) == (r1 + 12 | 0)) { - HEAP8[r1 + 124 | 0] = 0; - return; - } else { - __ZdlPv(r2); - return; - } -} -function ___cxx_global_array_dtor(r1) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262980); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262968); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262956); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262944); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262932); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262920); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262908); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262896); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262884); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262872); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262860); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262848); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262836); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262824); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262812); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262800); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262788); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262776); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262764); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262752); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262740); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262728); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262716); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262704); - return; -} -function ___cxx_global_array_dtor80(r1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263724); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263712); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263700); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263688); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263676); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263664); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263652); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263640); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263628); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263616); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263604); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263592); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263580); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263568); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263556); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263544); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263532); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263520); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263508); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263496); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263484); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263472); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263460); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263448); - return; -} -function ___cxx_global_array_dtor83(r1) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262524); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262512); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262500); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262488); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262476); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262464); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262452); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262440); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262428); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262416); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262404); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262392); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262380); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262368); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262356); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262344); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262332); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262320); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262308); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262296); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262284); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262272); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262260); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262248); - return; -} -function ___cxx_global_array_dtor108(r1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263268); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263256); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263244); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263232); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263220); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263208); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263196); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263184); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263172); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263160); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263148); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263136); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263124); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263112); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263100); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263088); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263076); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263064); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263052); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263040); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263028); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263016); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263004); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5262992); - return; -} -function ___cxx_global_array_dtor132(r1) { - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262692); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262680); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262668); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262656); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262644); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262632); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262620); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262608); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262596); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262584); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262572); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262560); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262548); - __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev(5262536); - return; -} -function ___cxx_global_array_dtor147(r1) { - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263436); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263424); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263412); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263400); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263388); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263376); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263364); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263352); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263340); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263328); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263316); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263304); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263292); - __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev(5263280); - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED2Ev(r1) { - __ZNSt3__113__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED2Ev(r1 | 0); - return; -} -function __GLOBAL__I_a291() { - ___cxx_global_var_init270(); - ___cxx_global_var_init1271(); - ___cxx_global_var_init2272(); - ___cxx_global_var_init3275(); - ___cxx_global_var_init4276(); - ___cxx_global_var_init9277(); - ___cxx_global_var_init10278(); - ___cxx_global_var_init151068(); - ___cxx_global_var_init20(); - ___cxx_global_var_init21(); - ___cxx_global_var_init22(); - ___cxx_global_var_init23(); - ___cxx_global_var_init24(); - ___cxx_global_var_init251069(); - ___cxx_global_var_init26(); - ___cxx_global_var_init29(); - ___cxx_global_var_init30(); - ___cxx_global_var_init32(); - ___cxx_global_var_init33(); - ___cxx_global_var_init34(); - return; -} -function __ZN10__cxxabiv123__fundamental_type_infoD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZN10__cxxabiv117__class_type_infoD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZN10__cxxabiv120__si_class_type_infoD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZN10__cxxabiv121__vmi_class_type_infoD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZN10__cxxabiv119__pointer_type_infoD0Ev(r1) { - __ZdlPv(r1); - return; -} -function __ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv(r1, r2, r3) { - return __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, r2 | 0); -} -function __ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = r2; - r5 = r3 - r4 | 0; - r6 = r5 >> 2; - if (r6 >>> 0 > 1073741822) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r6 >>> 0 < 2) { - HEAP8[r1] = r5 >>> 1 & 255; - r7 = r1 + 4 | 0; - } else { - r5 = r6 + 4 & -4; - r8 = __Znwj(r5 << 2); - HEAP32[r1 + 8 >> 2] = r8; - HEAP32[r1 >> 2] = r5 | 1; - HEAP32[r1 + 4 >> 2] = r6; - r7 = r8; - } - if ((r2 | 0) == (r3 | 0)) { - r9 = r7; - HEAP32[r9 >> 2] = 0; - return; - } - r8 = ((r3 - 4 + -r4 | 0) >>> 2) + 1 | 0; - r4 = r7; - r6 = r2; - while (1) { - HEAP32[r4 >> 2] = HEAP32[r6 >> 2]; - r2 = r6 + 4 | 0; - if ((r2 | 0) == (r3 | 0)) { - break; - } else { - r4 = r4 + 4 | 0; - r6 = r2; - } - } - r9 = (r8 << 2) + r7 | 0; - HEAP32[r9 >> 2] = 0; - return; -} -__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_["X"] = 1; -function __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9; - r4 = r2; - r5 = r3 - r4 | 0; - if ((r5 | 0) == -1) { - __ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv(); - } - if (r5 >>> 0 < 11) { - HEAP8[r1] = r5 << 1 & 255; - r6 = r1 + 1 | 0; - } else { - r7 = r5 + 16 & -16; - r8 = __Znwj(r7); - HEAP32[r1 + 8 >> 2] = r8; - HEAP32[r1 >> 2] = r7 | 1; - HEAP32[r1 + 4 >> 2] = r5; - r6 = r8; - } - if ((r2 | 0) == (r3 | 0)) { - r9 = r6; - HEAP8[r9] = 0; - return; - } - r8 = r3 + -r4 | 0; - r4 = r6; - r5 = r2; - while (1) { - HEAP8[r4] = HEAP8[r5]; - r2 = r5 + 1 | 0; - if ((r2 | 0) == (r3 | 0)) { - break; - } else { - r4 = r4 + 1 | 0; - r5 = r2; - } - } - r9 = r6 + r8 | 0; - HEAP8[r9] = 0; - return; -} -function __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE8__appendEj(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9; - r2 = STACKTOP; - STACKTOP = STACKTOP + 20 | 0; - r3 = r2; - r4 = HEAP32[1316005]; - r5 = HEAP32[1316004]; - if (r4 - r5 >> 2 >>> 0 >= r1 >>> 0) { - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj(r1); - STACKTOP = r2; - return; - } - r6 = HEAP32[1316003]; - r7 = r5 - r6 >> 2; - r5 = r7 + r1 | 0; - if (r5 >>> 0 > 1073741823) { - __ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv(); - } - r8 = r4 - r6 | 0; - if (r8 >> 2 >>> 0 > 536870910) { - r9 = 1073741823; - } else { - r6 = r8 >> 1; - r9 = r6 >>> 0 < r5 >>> 0 ? r5 : r6; - } - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC1EjjS6_(r3, r9, r7, 5264024); - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj(r3, r1); - __ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE(r3); - __ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED1Ev(r3); - STACKTOP = r2; - return; -} -function __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(r1, r2, r3) { - var r4, r5; - r4 = r1 + 16 | 0; - r5 = HEAP32[r4 >> 2]; - if ((r5 | 0) == 0) { - HEAP32[r4 >> 2] = r2; - HEAP32[r1 + 24 >> 2] = r3; - HEAP32[r1 + 36 >> 2] = 1; - return; - } - if ((r5 | 0) != (r2 | 0)) { - r2 = r1 + 36 | 0; - HEAP32[r2 >> 2] = HEAP32[r2 >> 2] + 1 | 0; - HEAP32[r1 + 24 >> 2] = 2; - HEAP8[r1 + 54 | 0] = 1; - return; - } - r2 = r1 + 24 | 0; - if ((HEAP32[r2 >> 2] | 0) != 2) { - return; - } - HEAP32[r2 >> 2] = r3; - return; -} -function __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = r1 >> 2; - HEAP8[r1 + 53 | 0] = 1; - if ((HEAP32[r5 + 1] | 0) != (r3 | 0)) { - return; - } - HEAP8[r1 + 52 | 0] = 1; - r3 = r1 + 16 | 0; - r6 = HEAP32[r3 >> 2]; - if ((r6 | 0) == 0) { - HEAP32[r3 >> 2] = r2; - HEAP32[r5 + 6] = r4; - HEAP32[r5 + 9] = 1; - if (!((HEAP32[r5 + 12] | 0) == 1 & (r4 | 0) == 1)) { - return; - } - HEAP8[r1 + 54 | 0] = 1; - return; - } - if ((r6 | 0) != (r2 | 0)) { - r2 = r1 + 36 | 0; - HEAP32[r2 >> 2] = HEAP32[r2 >> 2] + 1 | 0; - HEAP8[r1 + 54 | 0] = 1; - return; - } - r2 = r1 + 24 | 0; - r6 = HEAP32[r2 >> 2]; - if ((r6 | 0) == 2) { - HEAP32[r2 >> 2] = r4; - r7 = r4; - } else { - r7 = r6; - } - if (!((HEAP32[r5 + 12] | 0) == 1 & (r7 | 0) == 1)) { - return; - } - HEAP8[r1 + 54 | 0] = 1; - return; -} -__ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i["X"] = 1; -function __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(r1, r2, r3) { - if ((HEAP32[r1 + 4 >> 2] | 0) != (r2 | 0)) { - return; - } - r2 = r1 + 28 | 0; - if ((HEAP32[r2 >> 2] | 0) == 1) { - return; - } - HEAP32[r2 >> 2] = r3; - return; -} -function __ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12; - r4 = STACKTOP; - STACKTOP = STACKTOP + 56 | 0; - r5 = r4, r6 = r5 >> 2; - do { - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, r2 | 0)) { - r7 = 1; - } else { - if ((r2 | 0) == 0) { - r7 = 0; - break; - } - r8 = ___dynamic_cast(r2, 5272848, 5272836); - r9 = r8; - if ((r8 | 0) == 0) { - r7 = 0; - break; - } - r10 = r5; - for (r11 = r10 >> 2, r12 = r11 + 14; r11 < r12; r11++) { - HEAP32[r11] = 0; - } - HEAP32[r6] = r9; - HEAP32[r6 + 2] = r1; - HEAP32[r6 + 3] = -1; - HEAP32[r6 + 12] = 1; - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 28 >> 2]](r9, r5, HEAP32[r3 >> 2], 1); - if ((HEAP32[r6 + 6] | 0) != 1) { - r7 = 0; - break; - } - HEAP32[r3 >> 2] = HEAP32[r6 + 4]; - r7 = 1; - } - } while (0); - STACKTOP = r4; - return r7; -} -function __ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(r1, r2, r3, r4) { - if (!__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, HEAP32[r2 + 8 >> 2] | 0)) { - return; - } - __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(r2, r3, r4); - return; -} -function __ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(r1, r2, r3, r4) { - var r5; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, HEAP32[r2 + 8 >> 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(r2, r3, r4); - return; - } else { - r5 = HEAP32[r1 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r5 >> 2] + 28 >> 2]](r5, r2, r3, r4); - return; - } -} -function __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(r1, r2, r3, r4) { - var r5, r6, r7; - r5 = HEAP32[r1 + 4 >> 2]; - r6 = r5 >> 8; - if ((r5 & 1 | 0) == 0) { - r7 = r6; - } else { - r7 = HEAP32[HEAP32[r3 >> 2] + r6 >> 2]; - } - r6 = HEAP32[r1 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r6 >> 2] + 28 >> 2]](r6, r2, r3 + r7 | 0, (r5 & 2 | 0) != 0 ? r4 : 2); - return; -} -function __ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(r1, r2, r3, r4) { - var r5, r6, r7, r8; - r5 = 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, HEAP32[r2 + 8 >> 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi(r2, r3, r4); - return; - } - r6 = HEAP32[r1 + 12 >> 2]; - r7 = (r6 << 3) + r1 + 16 | 0; - __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(r1 + 16 | 0, r2, r3, r4); - if ((r6 | 0) <= 1) { - return; - } - r6 = r2 + 54 | 0; - r8 = r1 + 24 | 0; - while (1) { - __ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi(r8, r2, r3, r4); - if ((HEAP8[r6] & 1) << 24 >> 24 != 0) { - r5 = 222; - break; - } - r1 = r8 + 8 | 0; - if (r1 >>> 0 < r7 >>> 0) { - r8 = r1; - } else { - r5 = 221; - break; - } - } - if (r5 == 221) { - return; - } else if (r5 == 222) { - return; - } -} -function __ZNK10__cxxabiv117__pbase_type_info9can_catchEPKNS_16__shim_type_infoERPv(r1, r2) { - var r3, r4; - r3 = r2 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, r3)) { - r4 = 1; - return r4; - } - r4 = __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r3, 5271280); - return r4; -} -function __ZNK10__cxxabiv119__pointer_type_info9can_catchEPKNS_16__shim_type_infoERPv(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13; - r4 = STACKTOP; - STACKTOP = STACKTOP + 56 | 0; - r5 = r4, r6 = r5 >> 2; - HEAP32[r3 >> 2] = HEAP32[HEAP32[r3 >> 2] >> 2]; - do { - if (__ZNK10__cxxabiv117__pbase_type_info9can_catchEPKNS_16__shim_type_infoERPv(r1 | 0, r2)) { - r7 = 1; - } else { - if ((r2 | 0) == 0) { - r7 = 0; - break; - } - r8 = ___dynamic_cast(r2, 5272848, 5272812); - if ((r8 | 0) == 0) { - r7 = 0; - break; - } - if ((HEAP32[r8 + 8 >> 2] & (HEAP32[r1 + 8 >> 2] ^ -1) | 0) != 0) { - r7 = 0; - break; - } - r9 = HEAP32[r1 + 12 >> 2]; - r10 = r9 | 0; - r11 = r8 + 12 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r10, HEAP32[r11 >> 2] | 0)) { - r7 = 1; - break; - } - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r10, 5271172)) { - r7 = 1; - break; - } - if ((r9 | 0) == 0) { - r7 = 0; - break; - } - r10 = ___dynamic_cast(r9, 5272848, 5272836); - r9 = r10; - if ((r10 | 0) == 0) { - r7 = 0; - break; - } - r10 = HEAP32[r11 >> 2]; - if ((r10 | 0) == 0) { - r7 = 0; - break; - } - r11 = ___dynamic_cast(r10, 5272848, 5272836); - r10 = r11; - if ((r11 | 0) == 0) { - r7 = 0; - break; - } - r8 = r5; - for (r12 = r8 >> 2, r13 = r12 + 14; r12 < r13; r12++) { - HEAP32[r12] = 0; - } - HEAP32[r6] = r10; - HEAP32[r6 + 2] = r9; - HEAP32[r6 + 3] = -1; - HEAP32[r6 + 12] = 1; - FUNCTION_TABLE[HEAP32[HEAP32[r11 >> 2] + 28 >> 2]](r10, r5, HEAP32[r3 >> 2], 1); - if ((HEAP32[r6 + 6] | 0) != 1) { - r7 = 0; - break; - } - HEAP32[r3 >> 2] = HEAP32[r6 + 4]; - r7 = 1; - } - } while (0); - STACKTOP = r4; - return r7; -} -__ZNK10__cxxabiv119__pointer_type_info9can_catchEPKNS_16__shim_type_infoERPv["X"] = 1; -function ___dynamic_cast(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - r4 = STACKTOP; - STACKTOP = STACKTOP + 56 | 0; - r5 = r4, r6 = r5 >> 2; - r7 = HEAP32[r1 >> 2]; - r8 = r1 + HEAP32[r7 - 8 >> 2] | 0; - r9 = HEAP32[r7 - 4 >> 2]; - r7 = r9; - HEAP32[r6] = r3; - HEAP32[r6 + 1] = r1; - HEAP32[r6 + 2] = r2; - HEAP32[r6 + 3] = -1; - r2 = r5 + 16 | 0; - r1 = r5 + 20 | 0; - r10 = r5 + 24 | 0; - r11 = r5 + 28 | 0; - r12 = r5 + 32 | 0; - r13 = r5 + 40 | 0; - r14 = __ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r9, r3 | 0); - r3 = r2; - for (r15 = r3 >> 2, r16 = r15 + 9; r15 < r16; r15++) { - HEAP32[r15] = 0; - } - HEAP16[r3 + 36 >> 1] = 0; - HEAP8[r3 + 38 | 0] = 0; - if (r14) { - HEAP32[r6 + 12] = 1; - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 20 >> 2]](r7, r5, r8, r8, 1, 0); - STACKTOP = r4; - return (HEAP32[r10 >> 2] | 0) == 1 ? r8 : 0; - } - FUNCTION_TABLE[HEAP32[HEAP32[r9 >> 2] + 24 >> 2]](r7, r5, r8, 1, 0); - r8 = HEAP32[r6 + 9]; - if ((r8 | 0) == 1) { - do { - if ((HEAP32[r10 >> 2] | 0) != 1) { - if ((HEAP32[r13 >> 2] | 0) != 0) { - r17 = 0; - STACKTOP = r4; - return r17; - } - if ((HEAP32[r11 >> 2] | 0) != 1) { - r17 = 0; - STACKTOP = r4; - return r17; - } - if ((HEAP32[r12 >> 2] | 0) == 1) { - break; - } else { - r17 = 0; - } - STACKTOP = r4; - return r17; - } - } while (0); - r17 = HEAP32[r2 >> 2]; - STACKTOP = r4; - return r17; - } else if ((r8 | 0) == 0) { - if ((HEAP32[r13 >> 2] | 0) != 1) { - r17 = 0; - STACKTOP = r4; - return r17; - } - if ((HEAP32[r11 >> 2] | 0) != 1) { - r17 = 0; - STACKTOP = r4; - return r17; - } - r17 = (HEAP32[r12 >> 2] | 0) == 1 ? HEAP32[r1 >> 2] : 0; - STACKTOP = r4; - return r17; - } else { - r17 = 0; - STACKTOP = r4; - return r17; - } -} -___dynamic_cast["X"] = 1; -function __ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26; - r6 = r2 >> 2; - r7 = 0; - r8 = r1 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r8, HEAP32[r6 + 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(r2, r3, r4); - return; - } - if (!__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r8, HEAP32[r6] | 0)) { - r8 = HEAP32[r1 + 12 >> 2]; - r9 = (r8 << 3) + r1 + 16 | 0; - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r1 + 16 | 0, r2, r3, r4, r5); - r10 = r1 + 24 | 0; - if ((r8 | 0) <= 1) { - return; - } - r8 = HEAP32[r1 + 8 >> 2]; - do { - if ((r8 & 2 | 0) == 0) { - r11 = (r2 + 36 | 0) >> 2; - if ((HEAP32[r11] | 0) == 1) { - break; - } - if ((r8 & 1 | 0) == 0) { - r12 = r2 + 54 | 0; - r13 = r10; - while (1) { - if ((HEAP8[r12] & 1) << 24 >> 24 != 0) { - r7 = 314; - break; - } - if ((HEAP32[r11] | 0) == 1) { - r7 = 315; - break; - } - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r13, r2, r3, r4, r5); - r14 = r13 + 8 | 0; - if (r14 >>> 0 < r9 >>> 0) { - r13 = r14; - } else { - r7 = 316; - break; - } - } - if (r7 == 314) { - return; - } else if (r7 == 315) { - return; - } else if (r7 == 316) { - return; - } - } - r13 = r2 + 24 | 0; - r12 = r2 + 54 | 0; - r14 = r10; - while (1) { - if ((HEAP8[r12] & 1) << 24 >> 24 != 0) { - r7 = 311; - break; - } - if ((HEAP32[r11] | 0) == 1) { - if ((HEAP32[r13 >> 2] | 0) == 1) { - r7 = 312; - break; - } - } - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r14, r2, r3, r4, r5); - r15 = r14 + 8 | 0; - if (r15 >>> 0 < r9 >>> 0) { - r14 = r15; - } else { - r7 = 313; - break; - } - } - if (r7 == 311) { - return; - } else if (r7 == 312) { - return; - } else if (r7 == 313) { - return; - } - } - } while (0); - r8 = r2 + 54 | 0; - r14 = r10; - while (1) { - if ((HEAP8[r8] & 1) << 24 >> 24 != 0) { - r7 = 309; - break; - } - __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r14, r2, r3, r4, r5); - r10 = r14 + 8 | 0; - if (r10 >>> 0 < r9 >>> 0) { - r14 = r10; - } else { - r7 = 310; - break; - } - } - if (r7 == 309) { - return; - } else if (r7 == 310) { - return; - } - } - do { - if ((HEAP32[r6 + 4] | 0) != (r3 | 0)) { - r14 = r2 + 20 | 0; - if ((HEAP32[r14 >> 2] | 0) == (r3 | 0)) { - break; - } - HEAP32[r6 + 8] = r4; - r9 = (r2 + 44 | 0) >> 2; - if ((HEAP32[r9] | 0) == 4) { - return; - } - r8 = HEAP32[r1 + 12 >> 2]; - r10 = (r8 << 3) + r1 + 16 | 0; - L349 : do { - if ((r8 | 0) > 0) { - r13 = r2 + 52 | 0; - r11 = r2 + 53 | 0; - r12 = r2 + 54 | 0; - r15 = r1 + 8 | 0; - r16 = r2 + 24 | 0; - r17 = 0; - r18 = r1 + 16 | 0; - r19 = 0; - L351 : while (1) { - HEAP8[r13] = 0; - HEAP8[r11] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r18, r2, r3, r3, 1, r5); - if ((HEAP8[r12] & 1) << 24 >> 24 != 0) { - r20 = r19; - r21 = r17; - break; - } - do { - if ((HEAP8[r11] & 1) << 24 >> 24 == 0) { - r22 = r19; - r23 = r17; - } else { - if ((HEAP8[r13] & 1) << 24 >> 24 == 0) { - if ((HEAP32[r15 >> 2] & 1 | 0) == 0) { - r20 = 1; - r21 = r17; - break L351; - } else { - r22 = 1; - r23 = r17; - break; - } - } - if ((HEAP32[r16 >> 2] | 0) == 1) { - break L349; - } - if ((HEAP32[r15 >> 2] & 2 | 0) == 0) { - break L349; - } else { - r22 = 1; - r23 = 1; - } - } - } while (0); - r24 = r18 + 8 | 0; - if (r24 >>> 0 < r10 >>> 0) { - r17 = r23; - r18 = r24; - r19 = r22; - } else { - r20 = r22; - r21 = r23; - break; - } - } - if ((r21 & 1) << 24 >> 24 == 0) { - r25 = r20; - r7 = 279; - break; - } else { - r26 = r20; - r7 = 282; - break; - } - } else { - r25 = 0; - r7 = 279; - } - } while (0); - do { - if (r7 == 279) { - HEAP32[r14 >> 2] = r3; - r10 = r2 + 40 | 0; - HEAP32[r10 >> 2] = HEAP32[r10 >> 2] + 1 | 0; - if ((HEAP32[r6 + 9] | 0) != 1) { - r26 = r25; - r7 = 282; - break; - } - if ((HEAP32[r6 + 6] | 0) != 2) { - r26 = r25; - r7 = 282; - break; - } - HEAP8[r2 + 54 | 0] = 1; - r26 = r25; - r7 = 282; - break; - } - } while (0); - do { - if (r7 == 282) { - if ((r26 & 1) << 24 >> 24 != 0) { - break; - } - HEAP32[r9] = 4; - return; - } - } while (0); - HEAP32[r9] = 3; - return; - } - } while (0); - if ((r4 | 0) != 1) { - return; - } - HEAP32[r6 + 8] = 1; - return; -} -__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib["X"] = 1; -function __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9; - r7 = HEAP32[r1 + 4 >> 2]; - r8 = r7 >> 8; - if ((r7 & 1 | 0) == 0) { - r9 = r8; - } else { - r9 = HEAP32[HEAP32[r4 >> 2] + r8 >> 2]; - } - r8 = HEAP32[r1 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 20 >> 2]](r8, r2, r3, r4 + r9 | 0, (r7 & 2 | 0) != 0 ? r5 : 2, r6); - return; -} -function __ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r1, r2, r3, r4, r5) { - var r6, r7, r8; - r6 = HEAP32[r1 + 4 >> 2]; - r7 = r6 >> 8; - if ((r6 & 1 | 0) == 0) { - r8 = r7; - } else { - r8 = HEAP32[HEAP32[r3 >> 2] + r7 >> 2]; - } - r7 = HEAP32[r1 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 24 >> 2]](r7, r2, r3 + r8 | 0, (r6 & 2 | 0) != 0 ? r4 : 2, r5); - return; -} -function __ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r1, r2, r3, r4, r5) { - var r6, r7, r8, r9, r10, r11, r12, r13; - r6 = r2 >> 2; - r7 = 0; - r8 = r1 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r8, HEAP32[r6 + 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(r2, r3, r4); - return; - } - if (!__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r8, HEAP32[r6] | 0)) { - r8 = HEAP32[r1 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r8 >> 2] + 24 >> 2]](r8, r2, r3, r4, r5); - return; - } - do { - if ((HEAP32[r6 + 4] | 0) != (r3 | 0)) { - r8 = r2 + 20 | 0; - if ((HEAP32[r8 >> 2] | 0) == (r3 | 0)) { - break; - } - HEAP32[r6 + 8] = r4; - r9 = (r2 + 44 | 0) >> 2; - if ((HEAP32[r9] | 0) == 4) { - return; - } - r10 = r2 + 52 | 0; - HEAP8[r10] = 0; - r11 = r2 + 53 | 0; - HEAP8[r11] = 0; - r12 = HEAP32[r1 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r12 >> 2] + 20 >> 2]](r12, r2, r3, r3, 1, r5); - do { - if ((HEAP8[r11] & 1) << 24 >> 24 == 0) { - r13 = 0; - r7 = 333; - } else { - if ((HEAP8[r10] & 1) << 24 >> 24 == 0) { - r13 = 1; - r7 = 333; - break; - } else { - break; - } - } - } while (0); - L402 : do { - if (r7 == 333) { - HEAP32[r8 >> 2] = r3; - r10 = r2 + 40 | 0; - HEAP32[r10 >> 2] = HEAP32[r10 >> 2] + 1 | 0; - do { - if ((HEAP32[r6 + 9] | 0) == 1) { - if ((HEAP32[r6 + 6] | 0) != 2) { - r7 = 336; - break; - } - HEAP8[r2 + 54 | 0] = 1; - if (r13) { - break L402; - } else { - break; - } - } else { - r7 = 336; - } - } while (0); - if (r7 == 336) { - if (r13) { - break; - } - } - HEAP32[r9] = 4; - return; - } - } while (0); - HEAP32[r9] = 3; - return; - } - } while (0); - if ((r4 | 0) != 1) { - return; - } - HEAP32[r6 + 8] = 1; - return; -} -__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib["X"] = 1; -function __ZNSt8bad_castD1Ev(r1) { - return; -} -function __ZNKSt8bad_cast4whatEv(r1) { - return 5252408; -} -function __ZNSt8bad_castC2Ev(r1) { - HEAP32[r1 >> 2] = 5264632; - return; -} -function __ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib(r1, r2, r3, r4, r5) { - var r6; - r5 = r2 >> 2; - r6 = r1 | 0; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r6, HEAP32[r5 + 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi(r2, r3, r4); - return; - } - if (!__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r6, HEAP32[r5] | 0)) { - return; - } - do { - if ((HEAP32[r5 + 4] | 0) != (r3 | 0)) { - r6 = r2 + 20 | 0; - if ((HEAP32[r6 >> 2] | 0) == (r3 | 0)) { - break; - } - HEAP32[r5 + 8] = r4; - HEAP32[r6 >> 2] = r3; - r6 = r2 + 40 | 0; - HEAP32[r6 >> 2] = HEAP32[r6 >> 2] + 1 | 0; - do { - if ((HEAP32[r5 + 9] | 0) == 1) { - if ((HEAP32[r5 + 6] | 0) != 2) { - break; - } - HEAP8[r2 + 54 | 0] = 1; - } - } while (0); - HEAP32[r5 + 11] = 4; - return; - } - } while (0); - if ((r4 | 0) != 1) { - return; - } - HEAP32[r5 + 8] = 1; - return; -} -function __ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r1, r2, r3, r4, r5, r6) { - var r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, HEAP32[r2 + 8 >> 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(r2, r3, r4, r5); - return; - } - r7 = r2 + 52 | 0; - r8 = HEAP8[r7] & 1; - r9 = r2 + 53 | 0; - r10 = HEAP8[r9] & 1; - r11 = HEAP32[r1 + 12 >> 2]; - r12 = (r11 << 3) + r1 + 16 | 0; - HEAP8[r7] = 0; - HEAP8[r9] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r1 + 16 | 0, r2, r3, r4, r5, r6); - L447 : do { - if ((r11 | 0) > 1) { - r13 = r2 + 24 | 0; - r14 = r1 + 8 | 0; - r15 = r2 + 54 | 0; - r16 = r1 + 24 | 0; - while (1) { - if ((HEAP8[r15] & 1) << 24 >> 24 != 0) { - break L447; - } - do { - if ((HEAP8[r7] & 1) << 24 >> 24 == 0) { - if ((HEAP8[r9] & 1) << 24 >> 24 == 0) { - break; - } - if ((HEAP32[r14 >> 2] & 1 | 0) == 0) { - break L447; - } - } else { - if ((HEAP32[r13 >> 2] | 0) == 1) { - break L447; - } - if ((HEAP32[r14 >> 2] & 2 | 0) == 0) { - break L447; - } - } - } while (0); - HEAP8[r7] = 0; - HEAP8[r9] = 0; - __ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r16, r2, r3, r4, r5, r6); - r17 = r16 + 8 | 0; - if (r17 >>> 0 < r12 >>> 0) { - r16 = r17; - } else { - break L447; - } - } - } - } while (0); - HEAP8[r7] = r8; - HEAP8[r9] = r10; - return; -} -__ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib["X"] = 1; -function __ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r1, r2, r3, r4, r5, r6) { - var r7; - if (__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, HEAP32[r2 + 8 >> 2] | 0)) { - __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(r2, r3, r4, r5); - return; - } else { - r7 = HEAP32[r1 + 8 >> 2]; - FUNCTION_TABLE[HEAP32[HEAP32[r7 >> 2] + 20 >> 2]](r7, r2, r3, r4, r5, r6); - return; - } -} -function __ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib(r1, r2, r3, r4, r5, r6) { - if (!__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b(r1 | 0, HEAP32[r2 + 8 >> 2] | 0)) { - return; - } - __ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i(r2, r3, r4, r5); - return; -} -function __ZNSt8bad_castC1Ev(r1) { - __ZNSt8bad_castC2Ev(r1); - return; -} -function __ZNSt8bad_castD0Ev(r1) { - __ZdlPv(r1); - return; -} -function _malloc(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19; - do { - if (r1 >>> 0 < 245) { - if (r1 >>> 0 < 11) { - r2 = 16; - } else { - r2 = r1 + 11 & -8; - } - r3 = r2 >>> 3; - r4 = HEAP32[1313261]; - r5 = r4 >>> (r3 >>> 0); - if ((r5 & 3 | 0) != 0) { - r6 = (r5 & 1 ^ 1) + r3 | 0; - r7 = r6 << 1; - r8 = (r7 << 2) + 5253084 | 0; - r9 = (r7 + 2 << 2) + 5253084 | 0; - r7 = HEAP32[r9 >> 2]; - r10 = r7 + 8 | 0; - r11 = HEAP32[r10 >> 2]; - do { - if ((r8 | 0) == (r11 | 0)) { - HEAP32[1313261] = r4 & (1 << r6 ^ -1); - } else { - if (r11 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r9 >> 2] = r11; - HEAP32[r11 + 12 >> 2] = r8; - break; - } - } - } while (0); - r8 = r6 << 3; - HEAP32[r7 + 4 >> 2] = r8 | 3; - r11 = r7 + (r8 | 4) | 0; - HEAP32[r11 >> 2] = HEAP32[r11 >> 2] | 1; - r12 = r10; - return r12; - } - if (r2 >>> 0 <= HEAP32[1313263] >>> 0) { - r13 = r2; - break; - } - if ((r5 | 0) == 0) { - if ((HEAP32[1313262] | 0) == 0) { - r13 = r2; - break; - } - r11 = _tmalloc_small(r2); - if ((r11 | 0) == 0) { - r13 = r2; - break; - } else { - r12 = r11; - } - return r12; - } - r11 = 2 << r3; - r8 = r5 << r3 & (r11 | -r11); - r11 = (r8 & -r8) - 1 | 0; - r8 = r11 >>> 12 & 16; - r9 = r11 >>> (r8 >>> 0); - r11 = r9 >>> 5 & 8; - r14 = r9 >>> (r11 >>> 0); - r9 = r14 >>> 2 & 4; - r15 = r14 >>> (r9 >>> 0); - r14 = r15 >>> 1 & 2; - r16 = r15 >>> (r14 >>> 0); - r15 = r16 >>> 1 & 1; - r17 = (r11 | r8 | r9 | r14 | r15) + (r16 >>> (r15 >>> 0)) | 0; - r15 = r17 << 1; - r16 = (r15 << 2) + 5253084 | 0; - r14 = (r15 + 2 << 2) + 5253084 | 0; - r15 = HEAP32[r14 >> 2]; - r9 = r15 + 8 | 0; - r8 = HEAP32[r9 >> 2]; - do { - if ((r16 | 0) == (r8 | 0)) { - HEAP32[1313261] = r4 & (1 << r17 ^ -1); - } else { - if (r8 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r14 >> 2] = r8; - HEAP32[r8 + 12 >> 2] = r16; - break; - } - } - } while (0); - r16 = r17 << 3; - r8 = r16 - r2 | 0; - HEAP32[r15 + 4 >> 2] = r2 | 3; - r14 = r15; - r4 = r14 + r2 | 0; - HEAP32[r14 + (r2 | 4) >> 2] = r8 | 1; - HEAP32[r14 + r16 >> 2] = r8; - r16 = HEAP32[1313263]; - if ((r16 | 0) != 0) { - r14 = HEAP32[1313266]; - r3 = r16 >>> 3; - r16 = r3 << 1; - r5 = (r16 << 2) + 5253084 | 0; - r10 = HEAP32[1313261]; - r7 = 1 << r3; - do { - if ((r10 & r7 | 0) == 0) { - HEAP32[1313261] = r10 | r7; - r18 = r5; - r19 = (r16 + 2 << 2) + 5253084 | 0; - } else { - r3 = (r16 + 2 << 2) + 5253084 | 0; - r6 = HEAP32[r3 >> 2]; - if (r6 >>> 0 >= HEAP32[1313265] >>> 0) { - r18 = r6; - r19 = r3; - break; - } - _abort(); - } - } while (0); - HEAP32[r19 >> 2] = r14; - HEAP32[r18 + 12 >> 2] = r14; - HEAP32[r14 + 8 >> 2] = r18; - HEAP32[r14 + 12 >> 2] = r5; - } - HEAP32[1313263] = r8; - HEAP32[1313266] = r4; - r12 = r9; - return r12; - } else { - if (r1 >>> 0 > 4294967231) { - r13 = -1; - break; - } - r16 = r1 + 11 & -8; - if ((HEAP32[1313262] | 0) == 0) { - r13 = r16; - break; - } - r7 = _tmalloc_large(r16); - if ((r7 | 0) == 0) { - r13 = r16; - break; - } else { - r12 = r7; - } - return r12; - } - } while (0); - r1 = HEAP32[1313263]; - if (r13 >>> 0 > r1 >>> 0) { - r18 = HEAP32[1313264]; - if (r13 >>> 0 < r18 >>> 0) { - r19 = r18 - r13 | 0; - HEAP32[1313264] = r19; - r18 = HEAP32[1313267]; - r2 = r18; - HEAP32[1313267] = r2 + r13 | 0; - HEAP32[r13 + (r2 + 4) >> 2] = r19 | 1; - HEAP32[r18 + 4 >> 2] = r13 | 3; - r12 = r18 + 8 | 0; - return r12; - } else { - r12 = _sys_alloc(r13); - return r12; - } - } else { - r18 = r1 - r13 | 0; - r19 = HEAP32[1313266]; - if (r18 >>> 0 > 15) { - r2 = r19; - HEAP32[1313266] = r2 + r13 | 0; - HEAP32[1313263] = r18; - HEAP32[r13 + (r2 + 4) >> 2] = r18 | 1; - HEAP32[r2 + r1 >> 2] = r18; - HEAP32[r19 + 4 >> 2] = r13 | 3; - } else { - HEAP32[1313263] = 0; - HEAP32[1313266] = 0; - HEAP32[r19 + 4 >> 2] = r1 | 3; - r13 = r1 + (r19 + 4) | 0; - HEAP32[r13 >> 2] = HEAP32[r13 >> 2] | 1; - } - r12 = r19 + 8 | 0; - return r12; - } -} -_malloc["X"] = 1; -function _tmalloc_small(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21; - r2 = HEAP32[1313262]; - r3 = (r2 & -r2) - 1 | 0; - r2 = r3 >>> 12 & 16; - r4 = r3 >>> (r2 >>> 0); - r3 = r4 >>> 5 & 8; - r5 = r4 >>> (r3 >>> 0); - r4 = r5 >>> 2 & 4; - r6 = r5 >>> (r4 >>> 0); - r5 = r6 >>> 1 & 2; - r7 = r6 >>> (r5 >>> 0); - r6 = r7 >>> 1 & 1; - r8 = HEAP32[((r3 | r2 | r4 | r5 | r6) + (r7 >>> (r6 >>> 0)) << 2) + 5253348 >> 2]; - r6 = r8; - r7 = r8, r5 = r7 >> 2; - r4 = (HEAP32[r8 + 4 >> 2] & -8) - r1 | 0; - while (1) { - r8 = HEAP32[r6 + 16 >> 2]; - if ((r8 | 0) == 0) { - r2 = HEAP32[r6 + 20 >> 2]; - if ((r2 | 0) == 0) { - break; - } else { - r9 = r2; - } - } else { - r9 = r8; - } - r8 = (HEAP32[r9 + 4 >> 2] & -8) - r1 | 0; - r2 = r8 >>> 0 < r4 >>> 0; - r6 = r9; - r7 = r2 ? r9 : r7, r5 = r7 >> 2; - r4 = r2 ? r8 : r4; - } - r9 = r7; - r6 = HEAP32[1313265]; - if (r9 >>> 0 < r6 >>> 0) { - _abort(); - } - r8 = r9 + r1 | 0; - r2 = r8; - if (r9 >>> 0 >= r8 >>> 0) { - _abort(); - } - r8 = HEAP32[r5 + 6]; - r3 = HEAP32[r5 + 3]; - L543 : do { - if ((r3 | 0) == (r7 | 0)) { - r10 = r7 + 20 | 0; - r11 = HEAP32[r10 >> 2]; - do { - if ((r11 | 0) == 0) { - r12 = r7 + 16 | 0; - r13 = HEAP32[r12 >> 2]; - if ((r13 | 0) == 0) { - r14 = 0, r15 = r14 >> 2; - break L543; - } else { - r16 = r13; - r17 = r12; - break; - } - } else { - r16 = r11; - r17 = r10; - } - } while (0); - while (1) { - r10 = r16 + 20 | 0; - r11 = HEAP32[r10 >> 2]; - if ((r11 | 0) != 0) { - r16 = r11; - r17 = r10; - continue; - } - r10 = r16 + 16 | 0; - r11 = HEAP32[r10 >> 2]; - if ((r11 | 0) == 0) { - break; - } else { - r16 = r11; - r17 = r10; - } - } - if (r17 >>> 0 < r6 >>> 0) { - _abort(); - } else { - HEAP32[r17 >> 2] = 0; - r14 = r16, r15 = r14 >> 2; - break; - } - } else { - r10 = HEAP32[r5 + 2]; - if (r10 >>> 0 < r6 >>> 0) { - _abort(); - } else { - HEAP32[r10 + 12 >> 2] = r3; - HEAP32[r3 + 8 >> 2] = r10; - r14 = r3, r15 = r14 >> 2; - break; - } - } - } while (0); - L559 : do { - if ((r8 | 0) != 0) { - r3 = r7 + 28 | 0; - r6 = (HEAP32[r3 >> 2] << 2) + 5253348 | 0; - do { - if ((r7 | 0) == (HEAP32[r6 >> 2] | 0)) { - HEAP32[r6 >> 2] = r14; - if ((r14 | 0) != 0) { - break; - } - HEAP32[1313262] = HEAP32[1313262] & (1 << HEAP32[r3 >> 2] ^ -1); - break L559; - } else { - if (r8 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - r16 = r8 + 16 | 0; - if ((HEAP32[r16 >> 2] | 0) == (r7 | 0)) { - HEAP32[r16 >> 2] = r14; - } else { - HEAP32[r8 + 20 >> 2] = r14; - } - if ((r14 | 0) == 0) { - break L559; - } - } - } while (0); - if (r14 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r15 + 6] = r8; - r3 = HEAP32[r5 + 4]; - do { - if ((r3 | 0) != 0) { - if (r3 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r15 + 4] = r3; - HEAP32[r3 + 24 >> 2] = r14; - break; - } - } - } while (0); - r3 = HEAP32[r5 + 5]; - if ((r3 | 0) == 0) { - break; - } - if (r3 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r15 + 5] = r3; - HEAP32[r3 + 24 >> 2] = r14; - break; - } - } - } while (0); - if (r4 >>> 0 < 16) { - r14 = r4 + r1 | 0; - HEAP32[r5 + 1] = r14 | 3; - r15 = r14 + (r9 + 4) | 0; - HEAP32[r15 >> 2] = HEAP32[r15 >> 2] | 1; - r18 = r7 + 8 | 0; - r19 = r18; - return r19; - } - HEAP32[r5 + 1] = r1 | 3; - HEAP32[r1 + (r9 + 4) >> 2] = r4 | 1; - HEAP32[r9 + r4 + r1 >> 2] = r4; - r1 = HEAP32[1313263]; - if ((r1 | 0) != 0) { - r9 = HEAP32[1313266]; - r5 = r1 >>> 3; - r1 = r5 << 1; - r15 = (r1 << 2) + 5253084 | 0; - r14 = HEAP32[1313261]; - r8 = 1 << r5; - do { - if ((r14 & r8 | 0) == 0) { - HEAP32[1313261] = r14 | r8; - r20 = r15; - r21 = (r1 + 2 << 2) + 5253084 | 0; - } else { - r5 = (r1 + 2 << 2) + 5253084 | 0; - r3 = HEAP32[r5 >> 2]; - if (r3 >>> 0 >= HEAP32[1313265] >>> 0) { - r20 = r3; - r21 = r5; - break; - } - _abort(); - } - } while (0); - HEAP32[r21 >> 2] = r9; - HEAP32[r20 + 12 >> 2] = r9; - HEAP32[r9 + 8 >> 2] = r20; - HEAP32[r9 + 12 >> 2] = r15; - } - HEAP32[1313263] = r4; - HEAP32[1313266] = r2; - r18 = r7 + 8 | 0; - r19 = r18; - return r19; -} -_tmalloc_small["X"] = 1; -function _sys_alloc(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22; - r2 = 0; - if ((HEAP32[1310728] | 0) == 0) { - _init_mparams(); - } - L604 : do { - if ((HEAP32[1313371] & 4 | 0) == 0) { - r3 = HEAP32[1313267]; - do { - if ((r3 | 0) == 0) { - r2 = 498; - } else { - r4 = _segment_holding(r3); - if ((r4 | 0) == 0) { - r2 = 498; - break; - } - r5 = HEAP32[1310730]; - r6 = r1 + 47 - HEAP32[1313264] + r5 & -r5; - if (r6 >>> 0 >= 2147483647) { - r7 = 0; - break; - } - r5 = _sbrk(r6); - r8 = (r5 | 0) == (HEAP32[r4 >> 2] + HEAP32[r4 + 4 >> 2] | 0); - r9 = r8 ? r5 : -1; - r10 = r8 ? r6 : 0; - r11 = r5; - r12 = r6; - r2 = 505; - break; - } - } while (0); - do { - if (r2 == 498) { - r3 = _sbrk(0); - if ((r3 | 0) == -1) { - r7 = 0; - break; - } - r6 = HEAP32[1310730]; - r5 = r6 + (r1 + 47) & -r6; - r6 = r3; - r8 = HEAP32[1310729]; - r4 = r8 - 1 | 0; - if ((r4 & r6 | 0) == 0) { - r13 = r5; - } else { - r13 = r5 - r6 + (r4 + r6 & -r8) | 0; - } - if (r13 >>> 0 >= 2147483647) { - r7 = 0; - break; - } - r8 = _sbrk(r13); - r6 = (r8 | 0) == (r3 | 0); - r9 = r6 ? r3 : -1; - r10 = r6 ? r13 : 0; - r11 = r8; - r12 = r13; - r2 = 505; - break; - } - } while (0); - L617 : do { - if (r2 == 505) { - r8 = -r12 | 0; - if ((r9 | 0) != -1) { - r14 = r10; - r15 = r9; - r2 = 518; - break L604; - } - do { - if ((r11 | 0) != -1 & r12 >>> 0 < 2147483647) { - if (r12 >>> 0 >= (r1 + 48 | 0) >>> 0) { - r16 = r12; - break; - } - r6 = HEAP32[1310730]; - r3 = r1 + 47 - r12 + r6 & -r6; - if (r3 >>> 0 >= 2147483647) { - r16 = r12; - break; - } - if ((_sbrk(r3) | 0) == -1) { - _sbrk(r8); - r7 = r10; - break L617; - } else { - r16 = r3 + r12 | 0; - break; - } - } else { - r16 = r12; - } - } while (0); - if ((r11 | 0) != -1) { - r14 = r16; - r15 = r11; - r2 = 518; - break L604; - } - HEAP32[1313371] = HEAP32[1313371] | 4; - r17 = r10; - r2 = 515; - break L604; - } - } while (0); - HEAP32[1313371] = HEAP32[1313371] | 4; - r17 = r7; - r2 = 515; - break; - } else { - r17 = 0; - r2 = 515; - } - } while (0); - do { - if (r2 == 515) { - r7 = HEAP32[1310730]; - r10 = r7 + (r1 + 47) & -r7; - if (r10 >>> 0 >= 2147483647) { - break; - } - r7 = _sbrk(r10); - r10 = _sbrk(0); - if (!((r10 | 0) != -1 & (r7 | 0) != -1 & r7 >>> 0 < r10 >>> 0)) { - break; - } - r11 = r10 - r7 | 0; - r10 = r11 >>> 0 > (r1 + 40 | 0) >>> 0; - r16 = r10 ? r7 : -1; - if ((r16 | 0) == -1) { - break; - } else { - r14 = r10 ? r11 : r17; - r15 = r16; - r2 = 518; - break; - } - } - } while (0); - do { - if (r2 == 518) { - r17 = HEAP32[1313369] + r14 | 0; - HEAP32[1313369] = r17; - if (r17 >>> 0 > HEAP32[1313370] >>> 0) { - HEAP32[1313370] = r17; - } - r17 = HEAP32[1313267]; - L639 : do { - if ((r17 | 0) == 0) { - r16 = HEAP32[1313265]; - if ((r16 | 0) == 0 | r15 >>> 0 < r16 >>> 0) { - HEAP32[1313265] = r15; - } - HEAP32[1313372] = r15; - HEAP32[1313373] = r14; - HEAP32[1313375] = 0; - HEAP32[1313270] = HEAP32[1310728]; - HEAP32[1313269] = -1; - _init_bins(); - _init_top(r15, r14 - 40 | 0); - } else { - r16 = 5253488, r11 = r16 >> 2; - while (1) { - r18 = HEAP32[r11]; - r19 = r16 + 4 | 0; - r20 = HEAP32[r19 >> 2]; - if ((r15 | 0) == (r18 + r20 | 0)) { - r2 = 526; - break; - } - r10 = HEAP32[r11 + 2]; - if ((r10 | 0) == 0) { - break; - } else { - r16 = r10, r11 = r16 >> 2; - } - } - do { - if (r2 == 526) { - if ((HEAP32[r11 + 3] & 8 | 0) != 0) { - break; - } - r16 = r17; - if (!(r16 >>> 0 >= r18 >>> 0 & r16 >>> 0 < r15 >>> 0)) { - break; - } - HEAP32[r19 >> 2] = r20 + r14 | 0; - _init_top(HEAP32[1313267], HEAP32[1313264] + r14 | 0); - break L639; - } - } while (0); - if (r15 >>> 0 < HEAP32[1313265] >>> 0) { - HEAP32[1313265] = r15; - } - r11 = r15 + r14 | 0; - r16 = 5253488; - while (1) { - r21 = r16 | 0; - if ((HEAP32[r21 >> 2] | 0) == (r11 | 0)) { - r2 = 534; - break; - } - r10 = HEAP32[r16 + 8 >> 2]; - if ((r10 | 0) == 0) { - break; - } else { - r16 = r10; - } - } - do { - if (r2 == 534) { - if ((HEAP32[r16 + 12 >> 2] & 8 | 0) != 0) { - break; - } - HEAP32[r21 >> 2] = r15; - r10 = r16 + 4 | 0; - HEAP32[r10 >> 2] = HEAP32[r10 >> 2] + r14 | 0; - r22 = _prepend_alloc(r15, r11, r1); - return r22; - } - } while (0); - _add_segment(r15, r14); - } - } while (0); - r17 = HEAP32[1313264]; - if (r17 >>> 0 <= r1 >>> 0) { - break; - } - r11 = r17 - r1 | 0; - HEAP32[1313264] = r11; - r17 = HEAP32[1313267]; - r16 = r17; - HEAP32[1313267] = r16 + r1 | 0; - HEAP32[r1 + (r16 + 4) >> 2] = r11 | 1; - HEAP32[r17 + 4 >> 2] = r1 | 3; - r22 = r17 + 8 | 0; - return r22; - } - } while (0); - HEAP32[___errno_location() >> 2] = 12; - r22 = 0; - return r22; -} -_sys_alloc["X"] = 1; -function _tmalloc_large(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36; - r2 = r1 >> 2; - r3 = 0; - r4 = -r1 | 0; - r5 = r1 >>> 8; - do { - if ((r5 | 0) == 0) { - r6 = 0; - } else { - if (r1 >>> 0 > 16777215) { - r6 = 31; - break; - } - r7 = (r5 + 1048320 | 0) >>> 16 & 8; - r8 = r5 << r7; - r9 = (r8 + 520192 | 0) >>> 16 & 4; - r10 = r8 << r9; - r8 = (r10 + 245760 | 0) >>> 16 & 2; - r11 = 14 - (r9 | r7 | r8) + (r10 << r8 >>> 15) | 0; - r6 = r1 >>> ((r11 + 7 | 0) >>> 0) & 1 | r11 << 1; - } - } while (0); - r5 = HEAP32[(r6 << 2) + 5253348 >> 2]; - L673 : do { - if ((r5 | 0) == 0) { - r12 = 0; - r13 = r4; - r14 = 0; - } else { - if ((r6 | 0) == 31) { - r15 = 0; - } else { - r15 = 25 - (r6 >>> 1) | 0; - } - r11 = 0; - r8 = r4; - r10 = r5, r7 = r10 >> 2; - r9 = r1 << r15; - r16 = 0; - while (1) { - r17 = HEAP32[r7 + 1] & -8; - r18 = r17 - r1 | 0; - if (r18 >>> 0 < r8 >>> 0) { - if ((r17 | 0) == (r1 | 0)) { - r12 = r10; - r13 = r18; - r14 = r10; - break L673; - } else { - r19 = r10; - r20 = r18; - } - } else { - r19 = r11; - r20 = r8; - } - r18 = HEAP32[r7 + 5]; - r17 = HEAP32[((r9 >>> 31 << 2) + 16 >> 2) + r7]; - r21 = (r18 | 0) == 0 | (r18 | 0) == (r17 | 0) ? r16 : r18; - if ((r17 | 0) == 0) { - r12 = r19; - r13 = r20; - r14 = r21; - break L673; - } else { - r11 = r19; - r8 = r20; - r10 = r17, r7 = r10 >> 2; - r9 = r9 << 1; - r16 = r21; - } - } - } - } while (0); - do { - if ((r14 | 0) == 0 & (r12 | 0) == 0) { - r20 = 2 << r6; - r19 = HEAP32[1313262] & (r20 | -r20); - if ((r19 | 0) == 0) { - r22 = 0; - return r22; - } else { - r20 = (r19 & -r19) - 1 | 0; - r19 = r20 >>> 12 & 16; - r15 = r20 >>> (r19 >>> 0); - r20 = r15 >>> 5 & 8; - r5 = r15 >>> (r20 >>> 0); - r15 = r5 >>> 2 & 4; - r4 = r5 >>> (r15 >>> 0); - r5 = r4 >>> 1 & 2; - r16 = r4 >>> (r5 >>> 0); - r4 = r16 >>> 1 & 1; - r23 = HEAP32[((r20 | r19 | r15 | r5 | r4) + (r16 >>> (r4 >>> 0)) << 2) + 5253348 >> 2]; - break; - } - } else { - r23 = r14; - } - } while (0); - L690 : do { - if ((r23 | 0) == 0) { - r24 = r13; - r25 = r12, r26 = r25 >> 2; - } else { - r14 = r23, r6 = r14 >> 2; - r4 = r13; - r16 = r12; - while (1) { - r5 = (HEAP32[r6 + 1] & -8) - r1 | 0; - r15 = r5 >>> 0 < r4 >>> 0; - r19 = r15 ? r5 : r4; - r5 = r15 ? r14 : r16; - r15 = HEAP32[r6 + 4]; - if ((r15 | 0) != 0) { - r14 = r15, r6 = r14 >> 2; - r4 = r19; - r16 = r5; - continue; - } - r15 = HEAP32[r6 + 5]; - if ((r15 | 0) == 0) { - r24 = r19; - r25 = r5, r26 = r25 >> 2; - break L690; - } else { - r14 = r15, r6 = r14 >> 2; - r4 = r19; - r16 = r5; - } - } - } - } while (0); - if ((r25 | 0) == 0) { - r22 = 0; - return r22; - } - if (r24 >>> 0 >= (HEAP32[1313263] - r1 | 0) >>> 0) { - r22 = 0; - return r22; - } - r12 = r25, r13 = r12 >> 2; - r23 = HEAP32[1313265]; - if (r12 >>> 0 < r23 >>> 0) { - _abort(); - } - r16 = r12 + r1 | 0; - r4 = r16; - if (r12 >>> 0 >= r16 >>> 0) { - _abort(); - } - r14 = HEAP32[r26 + 6]; - r6 = HEAP32[r26 + 3]; - L707 : do { - if ((r6 | 0) == (r25 | 0)) { - r5 = r25 + 20 | 0; - r19 = HEAP32[r5 >> 2]; - do { - if ((r19 | 0) == 0) { - r15 = r25 + 16 | 0; - r20 = HEAP32[r15 >> 2]; - if ((r20 | 0) == 0) { - r27 = 0, r28 = r27 >> 2; - break L707; - } else { - r29 = r20; - r30 = r15; - break; - } - } else { - r29 = r19; - r30 = r5; - } - } while (0); - while (1) { - r5 = r29 + 20 | 0; - r19 = HEAP32[r5 >> 2]; - if ((r19 | 0) != 0) { - r29 = r19; - r30 = r5; - continue; - } - r5 = r29 + 16 | 0; - r19 = HEAP32[r5 >> 2]; - if ((r19 | 0) == 0) { - break; - } else { - r29 = r19; - r30 = r5; - } - } - if (r30 >>> 0 < r23 >>> 0) { - _abort(); - } else { - HEAP32[r30 >> 2] = 0; - r27 = r29, r28 = r27 >> 2; - break; - } - } else { - r5 = HEAP32[r26 + 2]; - if (r5 >>> 0 < r23 >>> 0) { - _abort(); - } else { - HEAP32[r5 + 12 >> 2] = r6; - HEAP32[r6 + 8 >> 2] = r5; - r27 = r6, r28 = r27 >> 2; - break; - } - } - } while (0); - L723 : do { - if ((r14 | 0) == 0) { - r31 = r25; - } else { - r6 = r25 + 28 | 0; - r23 = (HEAP32[r6 >> 2] << 2) + 5253348 | 0; - do { - if ((r25 | 0) == (HEAP32[r23 >> 2] | 0)) { - HEAP32[r23 >> 2] = r27; - if ((r27 | 0) != 0) { - break; - } - HEAP32[1313262] = HEAP32[1313262] & (1 << HEAP32[r6 >> 2] ^ -1); - r31 = r25; - break L723; - } else { - if (r14 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - r29 = r14 + 16 | 0; - if ((HEAP32[r29 >> 2] | 0) == (r25 | 0)) { - HEAP32[r29 >> 2] = r27; - } else { - HEAP32[r14 + 20 >> 2] = r27; - } - if ((r27 | 0) == 0) { - r31 = r25; - break L723; - } - } - } while (0); - if (r27 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r28 + 6] = r14; - r6 = HEAP32[r26 + 4]; - do { - if ((r6 | 0) != 0) { - if (r6 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r28 + 4] = r6; - HEAP32[r6 + 24 >> 2] = r27; - break; - } - } - } while (0); - r6 = HEAP32[r26 + 5]; - if ((r6 | 0) == 0) { - r31 = r25; - break; - } - if (r6 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r28 + 5] = r6; - HEAP32[r6 + 24 >> 2] = r27; - r31 = r25; - break; - } - } - } while (0); - do { - if (r24 >>> 0 < 16) { - r25 = r24 + r1 | 0; - HEAP32[r31 + 4 >> 2] = r25 | 3; - r27 = r25 + (r12 + 4) | 0; - HEAP32[r27 >> 2] = HEAP32[r27 >> 2] | 1; - } else { - HEAP32[r31 + 4 >> 2] = r1 | 3; - HEAP32[r2 + (r13 + 1)] = r24 | 1; - HEAP32[(r24 >> 2) + r13 + r2] = r24; - r27 = r24 >>> 3; - if (r24 >>> 0 < 256) { - r25 = r27 << 1; - r28 = (r25 << 2) + 5253084 | 0; - r26 = HEAP32[1313261]; - r14 = 1 << r27; - do { - if ((r26 & r14 | 0) == 0) { - HEAP32[1313261] = r26 | r14; - r32 = r28; - r33 = (r25 + 2 << 2) + 5253084 | 0; - } else { - r27 = (r25 + 2 << 2) + 5253084 | 0; - r6 = HEAP32[r27 >> 2]; - if (r6 >>> 0 >= HEAP32[1313265] >>> 0) { - r32 = r6; - r33 = r27; - break; - } - _abort(); - } - } while (0); - HEAP32[r33 >> 2] = r4; - HEAP32[r32 + 12 >> 2] = r4; - HEAP32[r2 + (r13 + 2)] = r32; - HEAP32[r2 + (r13 + 3)] = r28; - break; - } - r25 = r16; - r14 = r24 >>> 8; - do { - if ((r14 | 0) == 0) { - r34 = 0; - } else { - if (r24 >>> 0 > 16777215) { - r34 = 31; - break; - } - r26 = (r14 + 1048320 | 0) >>> 16 & 8; - r27 = r14 << r26; - r6 = (r27 + 520192 | 0) >>> 16 & 4; - r23 = r27 << r6; - r27 = (r23 + 245760 | 0) >>> 16 & 2; - r29 = 14 - (r6 | r26 | r27) + (r23 << r27 >>> 15) | 0; - r34 = r24 >>> ((r29 + 7 | 0) >>> 0) & 1 | r29 << 1; - } - } while (0); - r14 = (r34 << 2) + 5253348 | 0; - HEAP32[r2 + (r13 + 7)] = r34; - HEAP32[r2 + (r13 + 5)] = 0; - HEAP32[r2 + (r13 + 4)] = 0; - r28 = HEAP32[1313262]; - r29 = 1 << r34; - if ((r28 & r29 | 0) == 0) { - HEAP32[1313262] = r28 | r29; - HEAP32[r14 >> 2] = r25; - HEAP32[r2 + (r13 + 6)] = r14; - HEAP32[r2 + (r13 + 3)] = r25; - HEAP32[r2 + (r13 + 2)] = r25; - break; - } - if ((r34 | 0) == 31) { - r35 = 0; - } else { - r35 = 25 - (r34 >>> 1) | 0; - } - r29 = r24 << r35; - r28 = HEAP32[r14 >> 2]; - while (1) { - if ((HEAP32[r28 + 4 >> 2] & -8 | 0) == (r24 | 0)) { - break; - } - r36 = (r29 >>> 31 << 2) + r28 + 16 | 0; - r14 = HEAP32[r36 >> 2]; - if ((r14 | 0) == 0) { - r3 = 613; - break; - } else { - r29 = r29 << 1; - r28 = r14; - } - } - if (r3 == 613) { - if (r36 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r36 >> 2] = r25; - HEAP32[r2 + (r13 + 6)] = r28; - HEAP32[r2 + (r13 + 3)] = r25; - HEAP32[r2 + (r13 + 2)] = r25; - break; - } - } - r29 = r28 + 8 | 0; - r14 = HEAP32[r29 >> 2]; - r27 = HEAP32[1313265]; - if (r28 >>> 0 < r27 >>> 0) { - _abort(); - } - if (r14 >>> 0 < r27 >>> 0) { - _abort(); - } else { - HEAP32[r14 + 12 >> 2] = r25; - HEAP32[r29 >> 2] = r25; - HEAP32[r2 + (r13 + 2)] = r14; - HEAP32[r2 + (r13 + 3)] = r28; - HEAP32[r2 + (r13 + 6)] = 0; - break; - } - } - } while (0); - r22 = r31 + 8 | 0; - return r22; -} -_tmalloc_large["X"] = 1; -function _release_unused_segments() { - var r1, r2; - r1 = 5253496; - while (1) { - r2 = HEAP32[r1 >> 2]; - if ((r2 | 0) == 0) { - break; - } else { - r1 = r2 + 8 | 0; - } - } - HEAP32[1313269] = -1; - return; -} -function _sys_trim() { - var r1, r2, r3, r4, r5, r6, r7; - if ((HEAP32[1310728] | 0) == 0) { - _init_mparams(); - } - r1 = HEAP32[1313267]; - if ((r1 | 0) == 0) { - return; - } - r2 = HEAP32[1313264]; - do { - if (r2 >>> 0 > 40) { - r3 = HEAP32[1310730]; - r4 = Math.imul(Math.floor(((r2 - 41 + r3 | 0) >>> 0) / (r3 >>> 0)) - 1 | 0, r3); - r5 = _segment_holding(r1); - if ((HEAP32[r5 + 12 >> 2] & 8 | 0) != 0) { - break; - } - r6 = _sbrk(0); - r7 = (r5 + 4 | 0) >> 2; - if ((r6 | 0) != (HEAP32[r5 >> 2] + HEAP32[r7] | 0)) { - break; - } - r5 = _sbrk(-(r4 >>> 0 > 2147483646 ? -2147483648 - r3 | 0 : r4) | 0); - r4 = _sbrk(0); - if (!((r5 | 0) != -1 & r4 >>> 0 < r6 >>> 0)) { - break; - } - r5 = r6 - r4 | 0; - if ((r6 | 0) == (r4 | 0)) { - break; - } - HEAP32[r7] = HEAP32[r7] - r5 | 0; - HEAP32[1313369] = HEAP32[1313369] - r5 | 0; - _init_top(HEAP32[1313267], HEAP32[1313264] - r5 | 0); - return; - } - } while (0); - if (HEAP32[1313264] >>> 0 <= HEAP32[1313268] >>> 0) { - return; - } - HEAP32[1313268] = -1; - return; -} -_sys_trim["X"] = 1; -function _free(r1) { - var r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40; - r2 = r1 >> 2; - r3 = 0; - if ((r1 | 0) == 0) { - return; - } - r4 = r1 - 8 | 0; - r5 = r4; - r6 = HEAP32[1313265]; - if (r4 >>> 0 < r6 >>> 0) { - _abort(); - } - r7 = HEAP32[r1 - 4 >> 2]; - r8 = r7 & 3; - if ((r8 | 0) == 1) { - _abort(); - } - r9 = r7 & -8, r10 = r9 >> 2; - r11 = r1 + (r9 - 8) | 0; - r12 = r11; - L822 : do { - if ((r7 & 1 | 0) == 0) { - r13 = HEAP32[r4 >> 2]; - if ((r8 | 0) == 0) { - return; - } - r14 = -8 - r13 | 0, r15 = r14 >> 2; - r16 = r1 + r14 | 0; - r17 = r16; - r18 = r13 + r9 | 0; - if (r16 >>> 0 < r6 >>> 0) { - _abort(); - } - if ((r17 | 0) == (HEAP32[1313266] | 0)) { - r19 = (r1 + (r9 - 4) | 0) >> 2; - if ((HEAP32[r19] & 3 | 0) != 3) { - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break; - } - HEAP32[1313263] = r18; - HEAP32[r19] = HEAP32[r19] & -2; - HEAP32[r15 + (r2 + 1)] = r18 | 1; - HEAP32[r11 >> 2] = r18; - return; - } - r19 = r13 >>> 3; - if (r13 >>> 0 < 256) { - r13 = HEAP32[r15 + (r2 + 2)]; - r23 = HEAP32[r15 + (r2 + 3)]; - if ((r13 | 0) == (r23 | 0)) { - HEAP32[1313261] = HEAP32[1313261] & (1 << r19 ^ -1); - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break; - } - r24 = (r19 << 3) + 5253084 | 0; - if ((r13 | 0) != (r24 | 0) & r13 >>> 0 < r6 >>> 0) { - _abort(); - } - if ((r23 | 0) == (r24 | 0) | r23 >>> 0 >= r6 >>> 0) { - HEAP32[r13 + 12 >> 2] = r23; - HEAP32[r23 + 8 >> 2] = r13; - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break; - } else { - _abort(); - } - } - r13 = r16; - r16 = HEAP32[r15 + (r2 + 6)]; - r23 = HEAP32[r15 + (r2 + 3)]; - L847 : do { - if ((r23 | 0) == (r13 | 0)) { - r24 = r14 + (r1 + 20) | 0; - r19 = HEAP32[r24 >> 2]; - do { - if ((r19 | 0) == 0) { - r25 = r14 + (r1 + 16) | 0; - r26 = HEAP32[r25 >> 2]; - if ((r26 | 0) == 0) { - r27 = 0, r28 = r27 >> 2; - break L847; - } else { - r29 = r26; - r30 = r25; - break; - } - } else { - r29 = r19; - r30 = r24; - } - } while (0); - while (1) { - r24 = r29 + 20 | 0; - r19 = HEAP32[r24 >> 2]; - if ((r19 | 0) != 0) { - r29 = r19; - r30 = r24; - continue; - } - r24 = r29 + 16 | 0; - r19 = HEAP32[r24 >> 2]; - if ((r19 | 0) == 0) { - break; - } else { - r29 = r19; - r30 = r24; - } - } - if (r30 >>> 0 < r6 >>> 0) { - _abort(); - } else { - HEAP32[r30 >> 2] = 0; - r27 = r29, r28 = r27 >> 2; - break; - } - } else { - r24 = HEAP32[r15 + (r2 + 2)]; - if (r24 >>> 0 < r6 >>> 0) { - _abort(); - } else { - HEAP32[r24 + 12 >> 2] = r23; - HEAP32[r23 + 8 >> 2] = r24; - r27 = r23, r28 = r27 >> 2; - break; - } - } - } while (0); - if ((r16 | 0) == 0) { - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break; - } - r23 = r14 + (r1 + 28) | 0; - r24 = (HEAP32[r23 >> 2] << 2) + 5253348 | 0; - do { - if ((r13 | 0) == (HEAP32[r24 >> 2] | 0)) { - HEAP32[r24 >> 2] = r27; - if ((r27 | 0) != 0) { - break; - } - HEAP32[1313262] = HEAP32[1313262] & (1 << HEAP32[r23 >> 2] ^ -1); - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break L822; - } else { - if (r16 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - r19 = r16 + 16 | 0; - if ((HEAP32[r19 >> 2] | 0) == (r13 | 0)) { - HEAP32[r19 >> 2] = r27; - } else { - HEAP32[r16 + 20 >> 2] = r27; - } - if ((r27 | 0) == 0) { - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break L822; - } - } - } while (0); - if (r27 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r28 + 6] = r16; - r13 = HEAP32[r15 + (r2 + 4)]; - do { - if ((r13 | 0) != 0) { - if (r13 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r28 + 4] = r13; - HEAP32[r13 + 24 >> 2] = r27; - break; - } - } - } while (0); - r13 = HEAP32[r15 + (r2 + 5)]; - if ((r13 | 0) == 0) { - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break; - } - if (r13 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r28 + 5] = r13; - HEAP32[r13 + 24 >> 2] = r27; - r20 = r17, r21 = r20 >> 2; - r22 = r18; - break; - } - } else { - r20 = r5, r21 = r20 >> 2; - r22 = r9; - } - } while (0); - r5 = r20, r27 = r5 >> 2; - if (r5 >>> 0 >= r11 >>> 0) { - _abort(); - } - r5 = r1 + (r9 - 4) | 0; - r28 = HEAP32[r5 >> 2]; - if ((r28 & 1 | 0) == 0) { - _abort(); - } - do { - if ((r28 & 2 | 0) == 0) { - if ((r12 | 0) == (HEAP32[1313267] | 0)) { - r6 = HEAP32[1313264] + r22 | 0; - HEAP32[1313264] = r6; - HEAP32[1313267] = r20; - HEAP32[r21 + 1] = r6 | 1; - if ((r20 | 0) == (HEAP32[1313266] | 0)) { - HEAP32[1313266] = 0; - HEAP32[1313263] = 0; - } - if (r6 >>> 0 <= HEAP32[1313268] >>> 0) { - return; - } - _sys_trim(); - return; - } - if ((r12 | 0) == (HEAP32[1313266] | 0)) { - r6 = HEAP32[1313263] + r22 | 0; - HEAP32[1313263] = r6; - HEAP32[1313266] = r20; - HEAP32[r21 + 1] = r6 | 1; - HEAP32[(r6 >> 2) + r27] = r6; - return; - } - r6 = (r28 & -8) + r22 | 0; - r29 = r28 >>> 3; - L912 : do { - if (r28 >>> 0 < 256) { - r30 = HEAP32[r2 + r10]; - r8 = HEAP32[((r9 | 4) >> 2) + r2]; - if ((r30 | 0) == (r8 | 0)) { - HEAP32[1313261] = HEAP32[1313261] & (1 << r29 ^ -1); - break; - } - r4 = (r29 << 3) + 5253084 | 0; - do { - if ((r30 | 0) != (r4 | 0)) { - if (r30 >>> 0 >= HEAP32[1313265] >>> 0) { - break; - } - _abort(); - } - } while (0); - do { - if ((r8 | 0) != (r4 | 0)) { - if (r8 >>> 0 >= HEAP32[1313265] >>> 0) { - break; - } - _abort(); - } - } while (0); - HEAP32[r30 + 12 >> 2] = r8; - HEAP32[r8 + 8 >> 2] = r30; - } else { - r4 = r11; - r7 = HEAP32[r10 + (r2 + 4)]; - r13 = HEAP32[((r9 | 4) >> 2) + r2]; - L914 : do { - if ((r13 | 0) == (r4 | 0)) { - r16 = r9 + (r1 + 12) | 0; - r23 = HEAP32[r16 >> 2]; - do { - if ((r23 | 0) == 0) { - r24 = r9 + (r1 + 8) | 0; - r14 = HEAP32[r24 >> 2]; - if ((r14 | 0) == 0) { - r31 = 0, r32 = r31 >> 2; - break L914; - } else { - r33 = r14; - r34 = r24; - break; - } - } else { - r33 = r23; - r34 = r16; - } - } while (0); - while (1) { - r16 = r33 + 20 | 0; - r23 = HEAP32[r16 >> 2]; - if ((r23 | 0) != 0) { - r33 = r23; - r34 = r16; - continue; - } - r16 = r33 + 16 | 0; - r23 = HEAP32[r16 >> 2]; - if ((r23 | 0) == 0) { - break; - } else { - r33 = r23; - r34 = r16; - } - } - if (r34 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r34 >> 2] = 0; - r31 = r33, r32 = r31 >> 2; - break; - } - } else { - r16 = HEAP32[r2 + r10]; - if (r16 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r16 + 12 >> 2] = r13; - HEAP32[r13 + 8 >> 2] = r16; - r31 = r13, r32 = r31 >> 2; - break; - } - } - } while (0); - if ((r7 | 0) == 0) { - break; - } - r13 = r9 + (r1 + 20) | 0; - r30 = (HEAP32[r13 >> 2] << 2) + 5253348 | 0; - do { - if ((r4 | 0) == (HEAP32[r30 >> 2] | 0)) { - HEAP32[r30 >> 2] = r31; - if ((r31 | 0) != 0) { - break; - } - HEAP32[1313262] = HEAP32[1313262] & (1 << HEAP32[r13 >> 2] ^ -1); - break L912; - } else { - if (r7 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - r8 = r7 + 16 | 0; - if ((HEAP32[r8 >> 2] | 0) == (r4 | 0)) { - HEAP32[r8 >> 2] = r31; - } else { - HEAP32[r7 + 20 >> 2] = r31; - } - if ((r31 | 0) == 0) { - break L912; - } - } - } while (0); - if (r31 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r32 + 6] = r7; - r4 = HEAP32[r10 + (r2 + 2)]; - do { - if ((r4 | 0) != 0) { - if (r4 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r32 + 4] = r4; - HEAP32[r4 + 24 >> 2] = r31; - break; - } - } - } while (0); - r4 = HEAP32[r10 + (r2 + 3)]; - if ((r4 | 0) == 0) { - break; - } - if (r4 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r32 + 5] = r4; - HEAP32[r4 + 24 >> 2] = r31; - break; - } - } - } while (0); - HEAP32[r21 + 1] = r6 | 1; - HEAP32[(r6 >> 2) + r27] = r6; - if ((r20 | 0) != (HEAP32[1313266] | 0)) { - r35 = r6; - break; - } - HEAP32[1313263] = r6; - return; - } else { - HEAP32[r5 >> 2] = r28 & -2; - HEAP32[r21 + 1] = r22 | 1; - HEAP32[(r22 >> 2) + r27] = r22; - r35 = r22; - } - } while (0); - r22 = r35 >>> 3; - if (r35 >>> 0 < 256) { - r27 = r22 << 1; - r28 = (r27 << 2) + 5253084 | 0; - r5 = HEAP32[1313261]; - r31 = 1 << r22; - do { - if ((r5 & r31 | 0) == 0) { - HEAP32[1313261] = r5 | r31; - r36 = r28; - r37 = (r27 + 2 << 2) + 5253084 | 0; - } else { - r22 = (r27 + 2 << 2) + 5253084 | 0; - r32 = HEAP32[r22 >> 2]; - if (r32 >>> 0 >= HEAP32[1313265] >>> 0) { - r36 = r32; - r37 = r22; - break; - } - _abort(); - } - } while (0); - HEAP32[r37 >> 2] = r20; - HEAP32[r36 + 12 >> 2] = r20; - HEAP32[r21 + 2] = r36; - HEAP32[r21 + 3] = r28; - return; - } - r28 = r20; - r36 = r35 >>> 8; - do { - if ((r36 | 0) == 0) { - r38 = 0; - } else { - if (r35 >>> 0 > 16777215) { - r38 = 31; - break; - } - r37 = (r36 + 1048320 | 0) >>> 16 & 8; - r27 = r36 << r37; - r31 = (r27 + 520192 | 0) >>> 16 & 4; - r5 = r27 << r31; - r27 = (r5 + 245760 | 0) >>> 16 & 2; - r22 = 14 - (r31 | r37 | r27) + (r5 << r27 >>> 15) | 0; - r38 = r35 >>> ((r22 + 7 | 0) >>> 0) & 1 | r22 << 1; - } - } while (0); - r36 = (r38 << 2) + 5253348 | 0; - HEAP32[r21 + 7] = r38; - HEAP32[r21 + 5] = 0; - HEAP32[r21 + 4] = 0; - r22 = HEAP32[1313262]; - r27 = 1 << r38; - do { - if ((r22 & r27 | 0) == 0) { - HEAP32[1313262] = r22 | r27; - HEAP32[r36 >> 2] = r28; - HEAP32[r21 + 6] = r36; - HEAP32[r21 + 3] = r20; - HEAP32[r21 + 2] = r20; - } else { - if ((r38 | 0) == 31) { - r39 = 0; - } else { - r39 = 25 - (r38 >>> 1) | 0; - } - r5 = r35 << r39; - r37 = HEAP32[r36 >> 2]; - while (1) { - if ((HEAP32[r37 + 4 >> 2] & -8 | 0) == (r35 | 0)) { - break; - } - r40 = (r5 >>> 31 << 2) + r37 + 16 | 0; - r31 = HEAP32[r40 >> 2]; - if ((r31 | 0) == 0) { - r3 = 766; - break; - } else { - r5 = r5 << 1; - r37 = r31; - } - } - if (r3 == 766) { - if (r40 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r40 >> 2] = r28; - HEAP32[r21 + 6] = r37; - HEAP32[r21 + 3] = r20; - HEAP32[r21 + 2] = r20; - break; - } - } - r5 = r37 + 8 | 0; - r6 = HEAP32[r5 >> 2]; - r31 = HEAP32[1313265]; - if (r37 >>> 0 < r31 >>> 0) { - _abort(); - } - if (r6 >>> 0 < r31 >>> 0) { - _abort(); - } else { - HEAP32[r6 + 12 >> 2] = r28; - HEAP32[r5 >> 2] = r28; - HEAP32[r21 + 2] = r6; - HEAP32[r21 + 3] = r37; - HEAP32[r21 + 6] = 0; - break; - } - } - } while (0); - r21 = HEAP32[1313269] - 1 | 0; - HEAP32[1313269] = r21; - if ((r21 | 0) != 0) { - return; - } - _release_unused_segments(); - return; -} -_free["X"] = 1; -function _mmap_resize(r1, r2) { - var r3, r4; - r3 = HEAP32[r1 + 4 >> 2] & -8; - do { - if (r2 >>> 0 < 256) { - r4 = 0; - } else { - if (r3 >>> 0 >= (r2 + 4 | 0) >>> 0) { - if ((r3 - r2 | 0) >>> 0 <= HEAP32[1310730] << 1 >>> 0) { - r4 = r1; - break; - } - } - r4 = 0; - } - } while (0); - return r4; -} -function _segment_holding(r1) { - var r2, r3, r4, r5, r6; - r2 = 0; - r3 = 5253488, r4 = r3 >> 2; - while (1) { - r5 = HEAP32[r4]; - if (r5 >>> 0 <= r1 >>> 0) { - if ((r5 + HEAP32[r4 + 1] | 0) >>> 0 > r1 >>> 0) { - r6 = r3; - r2 = 808; - break; - } - } - r5 = HEAP32[r4 + 2]; - if ((r5 | 0) == 0) { - r6 = 0; - r2 = 809; - break; - } else { - r3 = r5, r4 = r3 >> 2; - } - } - if (r2 == 808) { - return r6; - } else if (r2 == 809) { - return r6; - } -} -function _init_top(r1, r2) { - var r3, r4, r5; - r3 = r1; - r4 = r1 + 8 | 0; - if ((r4 & 7 | 0) == 0) { - r5 = 0; - } else { - r5 = -r4 & 7; - } - r4 = r2 - r5 | 0; - HEAP32[1313267] = r3 + r5 | 0; - HEAP32[1313264] = r4; - HEAP32[r5 + (r3 + 4) >> 2] = r4 | 1; - HEAP32[r2 + (r3 + 4) >> 2] = 40; - HEAP32[1313268] = HEAP32[1310732]; - return; -} -function _init_bins() { - var r1, r2, r3; - r1 = 0; - while (1) { - r2 = r1 << 1; - r3 = (r2 << 2) + 5253084 | 0; - HEAP32[(r2 + 3 << 2) + 5253084 >> 2] = r3; - HEAP32[(r2 + 2 << 2) + 5253084 >> 2] = r3; - r3 = r1 + 1 | 0; - if ((r3 | 0) == 32) { - break; - } else { - r1 = r3; - } - } - return; -} -function _realloc(r1, r2) { - var r3; - if ((r1 | 0) == 0) { - r3 = _malloc(r2); - } else { - r3 = _internal_realloc(r1, r2); - } - return r3; -} -Module["_realloc"] = _realloc; -function _internal_realloc(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r3 = 0; - if (r2 >>> 0 > 4294967231) { - HEAP32[___errno_location() >> 2] = 12; - r4 = 0; - return r4; - } - r5 = r1 - 8 | 0; - r6 = r5; - r7 = (r1 - 4 | 0) >> 2; - r8 = HEAP32[r7]; - r9 = r8 & -8; - r10 = r9 - 8 | 0; - r11 = r1 + r10 | 0; - if (r5 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - r5 = r8 & 3; - if (!((r5 | 0) != 1 & (r10 | 0) > -8)) { - _abort(); - } - r10 = (r1 + (r9 - 4) | 0) >> 2; - if ((HEAP32[r10] & 1 | 0) == 0) { - _abort(); - } - if (r2 >>> 0 < 11) { - r12 = 16; - } else { - r12 = r2 + 11 & -8; - } - do { - if ((r5 | 0) == 0) { - r13 = _mmap_resize(r6, r12); - r14 = 0; - r3 = 836; - break; - } else { - if (r9 >>> 0 >= r12 >>> 0) { - r15 = r9 - r12 | 0; - if (r15 >>> 0 <= 15) { - r13 = r6; - r14 = 0; - r3 = 836; - break; - } - HEAP32[r7] = r12 | r8 & 1 | 2; - HEAP32[r1 + (r12 - 4) >> 2] = r15 | 3; - HEAP32[r10] = HEAP32[r10] | 1; - r13 = r6; - r14 = r1 + r12 | 0; - r3 = 836; - break; - } - if ((r11 | 0) != (HEAP32[1313267] | 0)) { - break; - } - r15 = HEAP32[1313264] + r9 | 0; - if (r15 >>> 0 <= r12 >>> 0) { - break; - } - r16 = r15 - r12 | 0; - HEAP32[r7] = r12 | r8 & 1 | 2; - HEAP32[r1 + (r12 - 4) >> 2] = r16 | 1; - HEAP32[1313267] = r1 + (r12 - 8) | 0; - HEAP32[1313264] = r16; - r13 = r6; - r14 = 0; - r3 = 836; - break; - } - } while (0); - do { - if (r3 == 836) { - if ((r13 | 0) == 0) { - break; - } - if ((r14 | 0) != 0) { - _free(r14); - } - r4 = r13 + 8 | 0; - return r4; - } - } while (0); - r13 = _malloc(r2); - if ((r13 | 0) == 0) { - r4 = 0; - return r4; - } - r14 = r9 - ((HEAP32[r7] & 3 | 0) == 0 ? 8 : 4) | 0; - _memcpy(r13, r1, r14 >>> 0 < r2 >>> 0 ? r14 : r2); - _free(r1); - r4 = r13; - return r4; -} -_internal_realloc["X"] = 1; -function _init_mparams() { - var r1; - if ((HEAP32[1310728] | 0) != 0) { - return; - } - r1 = _sysconf(8); - if ((r1 - 1 & r1 | 0) != 0) { - _abort(); - } - HEAP32[1310730] = r1; - HEAP32[1310729] = r1; - HEAP32[1310731] = -1; - HEAP32[1310732] = 2097152; - HEAP32[1310733] = 0; - HEAP32[1313371] = 0; - HEAP32[1310728] = _time(0) & -16 ^ 1431655768; - return; -} -function _prepend_alloc(r1, r2, r3) { - var r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20, r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39, r40; - r4 = r2 >> 2; - r5 = r1 >> 2; - r6 = 0; - r7 = r1 + 8 | 0; - if ((r7 & 7 | 0) == 0) { - r8 = 0; - } else { - r8 = -r7 & 7; - } - r7 = r2 + 8 | 0; - if ((r7 & 7 | 0) == 0) { - r9 = 0, r10 = r9 >> 2; - } else { - r9 = -r7 & 7, r10 = r9 >> 2; - } - r7 = r2 + r9 | 0; - r11 = r7; - r12 = r8 + r3 | 0, r13 = r12 >> 2; - r14 = r1 + r12 | 0; - r12 = r14; - r15 = r7 - (r1 + r8) - r3 | 0; - HEAP32[(r8 + 4 >> 2) + r5] = r3 | 3; - if ((r11 | 0) == (HEAP32[1313267] | 0)) { - r3 = HEAP32[1313264] + r15 | 0; - HEAP32[1313264] = r3; - HEAP32[1313267] = r12; - HEAP32[r13 + (r5 + 1)] = r3 | 1; - r16 = r8 | 8; - r17 = r1 + r16 | 0; - return r17; - } - if ((r11 | 0) == (HEAP32[1313266] | 0)) { - r3 = HEAP32[1313263] + r15 | 0; - HEAP32[1313263] = r3; - HEAP32[1313266] = r12; - HEAP32[r13 + (r5 + 1)] = r3 | 1; - HEAP32[(r3 >> 2) + r5 + r13] = r3; - r16 = r8 | 8; - r17 = r1 + r16 | 0; - return r17; - } - r3 = HEAP32[r10 + (r4 + 1)]; - if ((r3 & 3 | 0) == 1) { - r18 = r3 & -8; - r19 = r3 >>> 3; - L1104 : do { - if (r3 >>> 0 < 256) { - r20 = HEAP32[((r9 | 8) >> 2) + r4]; - r21 = HEAP32[r10 + (r4 + 3)]; - if ((r20 | 0) == (r21 | 0)) { - HEAP32[1313261] = HEAP32[1313261] & (1 << r19 ^ -1); - break; - } - r22 = (r19 << 3) + 5253084 | 0; - do { - if ((r20 | 0) != (r22 | 0)) { - if (r20 >>> 0 >= HEAP32[1313265] >>> 0) { - break; - } - _abort(); - } - } while (0); - do { - if ((r21 | 0) != (r22 | 0)) { - if (r21 >>> 0 >= HEAP32[1313265] >>> 0) { - break; - } - _abort(); - } - } while (0); - HEAP32[r20 + 12 >> 2] = r21; - HEAP32[r21 + 8 >> 2] = r20; - } else { - r22 = r7; - r23 = HEAP32[((r9 | 24) >> 2) + r4]; - r24 = HEAP32[r10 + (r4 + 3)]; - L1118 : do { - if ((r24 | 0) == (r22 | 0)) { - r25 = r9 | 16; - r26 = r25 + (r2 + 4) | 0; - r27 = HEAP32[r26 >> 2]; - do { - if ((r27 | 0) == 0) { - r28 = r2 + r25 | 0; - r29 = HEAP32[r28 >> 2]; - if ((r29 | 0) == 0) { - r30 = 0, r31 = r30 >> 2; - break L1118; - } else { - r32 = r29; - r33 = r28; - break; - } - } else { - r32 = r27; - r33 = r26; - } - } while (0); - while (1) { - r26 = r32 + 20 | 0; - r27 = HEAP32[r26 >> 2]; - if ((r27 | 0) != 0) { - r32 = r27; - r33 = r26; - continue; - } - r26 = r32 + 16 | 0; - r27 = HEAP32[r26 >> 2]; - if ((r27 | 0) == 0) { - break; - } else { - r32 = r27; - r33 = r26; - } - } - if (r33 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r33 >> 2] = 0; - r30 = r32, r31 = r30 >> 2; - break; - } - } else { - r26 = HEAP32[((r9 | 8) >> 2) + r4]; - if (r26 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r26 + 12 >> 2] = r24; - HEAP32[r24 + 8 >> 2] = r26; - r30 = r24, r31 = r30 >> 2; - break; - } - } - } while (0); - if ((r23 | 0) == 0) { - break; - } - r24 = r9 + (r2 + 28) | 0; - r20 = (HEAP32[r24 >> 2] << 2) + 5253348 | 0; - do { - if ((r22 | 0) == (HEAP32[r20 >> 2] | 0)) { - HEAP32[r20 >> 2] = r30; - if ((r30 | 0) != 0) { - break; - } - HEAP32[1313262] = HEAP32[1313262] & (1 << HEAP32[r24 >> 2] ^ -1); - break L1104; - } else { - if (r23 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - r21 = r23 + 16 | 0; - if ((HEAP32[r21 >> 2] | 0) == (r22 | 0)) { - HEAP32[r21 >> 2] = r30; - } else { - HEAP32[r23 + 20 >> 2] = r30; - } - if ((r30 | 0) == 0) { - break L1104; - } - } - } while (0); - if (r30 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r31 + 6] = r23; - r22 = r9 | 16; - r24 = HEAP32[(r22 >> 2) + r4]; - do { - if ((r24 | 0) != 0) { - if (r24 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r31 + 4] = r24; - HEAP32[r24 + 24 >> 2] = r30; - break; - } - } - } while (0); - r24 = HEAP32[(r22 + 4 >> 2) + r4]; - if ((r24 | 0) == 0) { - break; - } - if (r24 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } else { - HEAP32[r31 + 5] = r24; - HEAP32[r24 + 24 >> 2] = r30; - break; - } - } - } while (0); - r34 = r2 + (r18 | r9) | 0; - r35 = r18 + r15 | 0; - } else { - r34 = r11; - r35 = r15; - } - r15 = r34 + 4 | 0; - HEAP32[r15 >> 2] = HEAP32[r15 >> 2] & -2; - HEAP32[r13 + (r5 + 1)] = r35 | 1; - HEAP32[(r35 >> 2) + r5 + r13] = r35; - r15 = r35 >>> 3; - if (r35 >>> 0 < 256) { - r34 = r15 << 1; - r11 = (r34 << 2) + 5253084 | 0; - r18 = HEAP32[1313261]; - r9 = 1 << r15; - do { - if ((r18 & r9 | 0) == 0) { - HEAP32[1313261] = r18 | r9; - r36 = r11; - r37 = (r34 + 2 << 2) + 5253084 | 0; - } else { - r15 = (r34 + 2 << 2) + 5253084 | 0; - r2 = HEAP32[r15 >> 2]; - if (r2 >>> 0 >= HEAP32[1313265] >>> 0) { - r36 = r2; - r37 = r15; - break; - } - _abort(); - } - } while (0); - HEAP32[r37 >> 2] = r12; - HEAP32[r36 + 12 >> 2] = r12; - HEAP32[r13 + (r5 + 2)] = r36; - HEAP32[r13 + (r5 + 3)] = r11; - r16 = r8 | 8; - r17 = r1 + r16 | 0; - return r17; - } - r11 = r14; - r14 = r35 >>> 8; - do { - if ((r14 | 0) == 0) { - r38 = 0; - } else { - if (r35 >>> 0 > 16777215) { - r38 = 31; - break; - } - r36 = (r14 + 1048320 | 0) >>> 16 & 8; - r12 = r14 << r36; - r37 = (r12 + 520192 | 0) >>> 16 & 4; - r34 = r12 << r37; - r12 = (r34 + 245760 | 0) >>> 16 & 2; - r9 = 14 - (r37 | r36 | r12) + (r34 << r12 >>> 15) | 0; - r38 = r35 >>> ((r9 + 7 | 0) >>> 0) & 1 | r9 << 1; - } - } while (0); - r14 = (r38 << 2) + 5253348 | 0; - HEAP32[r13 + (r5 + 7)] = r38; - HEAP32[r13 + (r5 + 5)] = 0; - HEAP32[r13 + (r5 + 4)] = 0; - r9 = HEAP32[1313262]; - r12 = 1 << r38; - if ((r9 & r12 | 0) == 0) { - HEAP32[1313262] = r9 | r12; - HEAP32[r14 >> 2] = r11; - HEAP32[r13 + (r5 + 6)] = r14; - HEAP32[r13 + (r5 + 3)] = r11; - HEAP32[r13 + (r5 + 2)] = r11; - r16 = r8 | 8; - r17 = r1 + r16 | 0; - return r17; - } - if ((r38 | 0) == 31) { - r39 = 0; - } else { - r39 = 25 - (r38 >>> 1) | 0; - } - r38 = r35 << r39; - r39 = HEAP32[r14 >> 2]; - while (1) { - if ((HEAP32[r39 + 4 >> 2] & -8 | 0) == (r35 | 0)) { - break; - } - r40 = (r38 >>> 31 << 2) + r39 + 16 | 0; - r14 = HEAP32[r40 >> 2]; - if ((r14 | 0) == 0) { - r6 = 923; - break; - } else { - r38 = r38 << 1; - r39 = r14; - } - } - if (r6 == 923) { - if (r40 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r40 >> 2] = r11; - HEAP32[r13 + (r5 + 6)] = r39; - HEAP32[r13 + (r5 + 3)] = r11; - HEAP32[r13 + (r5 + 2)] = r11; - r16 = r8 | 8; - r17 = r1 + r16 | 0; - return r17; - } - r40 = r39 + 8 | 0; - r6 = HEAP32[r40 >> 2]; - r38 = HEAP32[1313265]; - if (r39 >>> 0 < r38 >>> 0) { - _abort(); - } - if (r6 >>> 0 < r38 >>> 0) { - _abort(); - } - HEAP32[r6 + 12 >> 2] = r11; - HEAP32[r40 >> 2] = r11; - HEAP32[r13 + (r5 + 2)] = r6; - HEAP32[r13 + (r5 + 3)] = r39; - HEAP32[r13 + (r5 + 6)] = 0; - r16 = r8 | 8; - r17 = r1 + r16 | 0; - return r17; -} -_prepend_alloc["X"] = 1; -function __ZNSt9bad_allocD1Ev(r1) { - return; -} -function __ZNKSt9bad_alloc4whatEv(r1) { - return 5248344; -} -function __ZSt15get_new_handlerv() { - return tempValue = HEAP32[1318555], HEAP32[1318555] = tempValue, tempValue; -} -function __ZNSt9bad_allocC2Ev(r1) { - HEAP32[r1 >> 2] = 5264608; - return; -} -function __ZNSt9bad_allocC1Ev(r1) { - __ZNSt9bad_allocC2Ev(r1); - return; -} -function __ZdlPv(r1) { - if ((r1 | 0) == 0) { - return; - } - _free(r1); - return; -} -function __ZdaPv(r1) { - __ZdlPv(r1); - return; -} -function __ZNSt9bad_allocD0Ev(r1) { - __ZdlPv(r1); - return; -} -function _add_segment(r1, r2) { - var r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16; - r3 = 0; - r4 = HEAP32[1313267], r5 = r4 >> 2; - r6 = r4; - r7 = _segment_holding(r6); - r8 = HEAP32[r7 >> 2]; - r9 = HEAP32[r7 + 4 >> 2]; - r7 = r8 + r9 | 0; - r10 = r8 + (r9 - 39) | 0; - if ((r10 & 7 | 0) == 0) { - r11 = 0; - } else { - r11 = -r10 & 7; - } - r10 = r8 + (r9 - 47) + r11 | 0; - r11 = r10 >>> 0 < (r4 + 16 | 0) >>> 0 ? r6 : r10; - r10 = r11 + 8 | 0, r9 = r10 >> 2; - _init_top(r1, r2 - 40 | 0); - HEAP32[r11 + 4 >> 2] = 27; - HEAP32[r9] = HEAP32[1313372]; - HEAP32[r9 + 1] = HEAP32[1313373]; - HEAP32[r9 + 2] = HEAP32[1313374]; - HEAP32[r9 + 3] = HEAP32[1313375]; - HEAP32[1313372] = r1; - HEAP32[1313373] = r2; - HEAP32[1313375] = 0; - HEAP32[1313374] = r10; - r10 = r11 + 28 | 0; - HEAP32[r10 >> 2] = 7; - L1215 : do { - if ((r11 + 32 | 0) >>> 0 < r7 >>> 0) { - r2 = r10; - while (1) { - r1 = r2 + 4 | 0; - HEAP32[r1 >> 2] = 7; - if ((r2 + 8 | 0) >>> 0 < r7 >>> 0) { - r2 = r1; - } else { - break L1215; - } - } - } - } while (0); - if ((r11 | 0) == (r6 | 0)) { - return; - } - r7 = r11 - r4 | 0; - r11 = r7 + (r6 + 4) | 0; - HEAP32[r11 >> 2] = HEAP32[r11 >> 2] & -2; - HEAP32[r5 + 1] = r7 | 1; - HEAP32[r6 + r7 >> 2] = r7; - r6 = r7 >>> 3; - if (r7 >>> 0 < 256) { - r11 = r6 << 1; - r10 = (r11 << 2) + 5253084 | 0; - r2 = HEAP32[1313261]; - r1 = 1 << r6; - do { - if ((r2 & r1 | 0) == 0) { - HEAP32[1313261] = r2 | r1; - r12 = r10; - r13 = (r11 + 2 << 2) + 5253084 | 0; - } else { - r6 = (r11 + 2 << 2) + 5253084 | 0; - r9 = HEAP32[r6 >> 2]; - if (r9 >>> 0 >= HEAP32[1313265] >>> 0) { - r12 = r9; - r13 = r6; - break; - } - _abort(); - } - } while (0); - HEAP32[r13 >> 2] = r4; - HEAP32[r12 + 12 >> 2] = r4; - HEAP32[r5 + 2] = r12; - HEAP32[r5 + 3] = r10; - return; - } - r10 = r4; - r12 = r7 >>> 8; - do { - if ((r12 | 0) == 0) { - r14 = 0; - } else { - if (r7 >>> 0 > 16777215) { - r14 = 31; - break; - } - r13 = (r12 + 1048320 | 0) >>> 16 & 8; - r11 = r12 << r13; - r1 = (r11 + 520192 | 0) >>> 16 & 4; - r2 = r11 << r1; - r11 = (r2 + 245760 | 0) >>> 16 & 2; - r6 = 14 - (r1 | r13 | r11) + (r2 << r11 >>> 15) | 0; - r14 = r7 >>> ((r6 + 7 | 0) >>> 0) & 1 | r6 << 1; - } - } while (0); - r12 = (r14 << 2) + 5253348 | 0; - HEAP32[r5 + 7] = r14; - HEAP32[r5 + 5] = 0; - HEAP32[r5 + 4] = 0; - r6 = HEAP32[1313262]; - r11 = 1 << r14; - if ((r6 & r11 | 0) == 0) { - HEAP32[1313262] = r6 | r11; - HEAP32[r12 >> 2] = r10; - HEAP32[r5 + 6] = r12; - HEAP32[r5 + 3] = r4; - HEAP32[r5 + 2] = r4; - return; - } - if ((r14 | 0) == 31) { - r15 = 0; - } else { - r15 = 25 - (r14 >>> 1) | 0; - } - r14 = r7 << r15; - r15 = HEAP32[r12 >> 2]; - while (1) { - if ((HEAP32[r15 + 4 >> 2] & -8 | 0) == (r7 | 0)) { - break; - } - r16 = (r14 >>> 31 << 2) + r15 + 16 | 0; - r12 = HEAP32[r16 >> 2]; - if ((r12 | 0) == 0) { - r3 = 974; - break; - } else { - r14 = r14 << 1; - r15 = r12; - } - } - if (r3 == 974) { - if (r16 >>> 0 < HEAP32[1313265] >>> 0) { - _abort(); - } - HEAP32[r16 >> 2] = r10; - HEAP32[r5 + 6] = r15; - HEAP32[r5 + 3] = r4; - HEAP32[r5 + 2] = r4; - return; - } - r4 = r15 + 8 | 0; - r16 = HEAP32[r4 >> 2]; - r3 = HEAP32[1313265]; - if (r15 >>> 0 < r3 >>> 0) { - _abort(); - } - if (r16 >>> 0 < r3 >>> 0) { - _abort(); - } - HEAP32[r16 + 12 >> 2] = r10; - HEAP32[r4 >> 2] = r10; - HEAP32[r5 + 2] = r16; - HEAP32[r5 + 3] = r15; - HEAP32[r5 + 6] = 0; - return; -} -_add_segment["X"] = 1; -function __Znwj(r1) { - var r2, r3, r4; - r2 = 0; - r3 = (r1 | 0) == 0 ? 1 : r1; - while (1) { - r4 = _malloc(r3); - if ((r4 | 0) != 0) { - r2 = 998; - break; - } - r1 = __ZSt15get_new_handlerv(); - if ((r1 | 0) == 0) { - break; - } - FUNCTION_TABLE[r1](); - } - if (r2 == 998) { - return r4; - } - r4 = ___cxa_allocate_exception(4); - __ZNSt9bad_allocC1Ev(r4); - ___cxa_throw(r4, 5271196, 420); -} -function __Znaj(r1) { - return __Znwj(r1); -} -function __ZSt17__throw_bad_allocv() { - var r1; - r1 = ___cxa_allocate_exception(4); - __ZNSt9bad_allocC1Ev(r1); - ___cxa_throw(r1, 5271196, 420); -} - - - - - -// TODO: strip out parts of this we do not need - -//======= begin closure i64 code ======= - -// Copyright 2009 The Closure Library Authors. All Rights Reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS-IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -/** - * @fileoverview Defines a Long class for representing a 64-bit two's-complement - * integer value, which faithfully simulates the behavior of a Java "long". This - * implementation is derived from LongLib in GWT. - * - */ - -var i64Math = (function() { // Emscripten wrapper - var goog = { math: {} }; - - - /** - * Constructs a 64-bit two's-complement integer, given its low and high 32-bit - * values as *signed* integers. See the from* functions below for more - * convenient ways of constructing Longs. - * - * The internal representation of a long is the two given signed, 32-bit values. - * We use 32-bit pieces because these are the size of integers on which - * Javascript performs bit-operations. For operations like addition and - * multiplication, we split each number into 16-bit pieces, which can easily be - * multiplied within Javascript's floating-point representation without overflow - * or change in sign. - * - * In the algorithms below, we frequently reduce the negative case to the - * positive case by negating the input(s) and then post-processing the result. - * Note that we must ALWAYS check specially whether those values are MIN_VALUE - * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as - * a positive number, it overflows back into a negative). Not handling this - * case would often result in infinite recursion. - * - * @param {number} low The low (signed) 32 bits of the long. - * @param {number} high The high (signed) 32 bits of the long. - * @constructor - */ - goog.math.Long = function(low, high) { - /** - * @type {number} - * @private - */ - this.low_ = low | 0; // force into 32 signed bits. - - /** - * @type {number} - * @private - */ - this.high_ = high | 0; // force into 32 signed bits. - }; - - - // NOTE: Common constant values ZERO, ONE, NEG_ONE, etc. are defined below the - // from* methods on which they depend. - - - /** - * A cache of the Long representations of small integer values. - * @type {!Object} - * @private - */ - goog.math.Long.IntCache_ = {}; - - - /** - * Returns a Long representing the given (32-bit) integer value. - * @param {number} value The 32-bit integer in question. - * @return {!goog.math.Long} The corresponding Long value. - */ - goog.math.Long.fromInt = function(value) { - if (-128 <= value && value < 128) { - var cachedObj = goog.math.Long.IntCache_[value]; - if (cachedObj) { - return cachedObj; - } - } - - var obj = new goog.math.Long(value | 0, value < 0 ? -1 : 0); - if (-128 <= value && value < 128) { - goog.math.Long.IntCache_[value] = obj; - } - return obj; - }; - - - /** - * Returns a Long representing the given value, provided that it is a finite - * number. Otherwise, zero is returned. - * @param {number} value The number in question. - * @return {!goog.math.Long} The corresponding Long value. - */ - goog.math.Long.fromNumber = function(value) { - if (isNaN(value) || !isFinite(value)) { - return goog.math.Long.ZERO; - } else if (value <= -goog.math.Long.TWO_PWR_63_DBL_) { - return goog.math.Long.MIN_VALUE; - } else if (value + 1 >= goog.math.Long.TWO_PWR_63_DBL_) { - return goog.math.Long.MAX_VALUE; - } else if (value < 0) { - return goog.math.Long.fromNumber(-value).negate(); - } else { - return new goog.math.Long( - (value % goog.math.Long.TWO_PWR_32_DBL_) | 0, - (value / goog.math.Long.TWO_PWR_32_DBL_) | 0); - } - }; - - - /** - * Returns a Long representing the 64-bit integer that comes by concatenating - * the given high and low bits. Each is assumed to use 32 bits. - * @param {number} lowBits The low 32-bits. - * @param {number} highBits The high 32-bits. - * @return {!goog.math.Long} The corresponding Long value. - */ - goog.math.Long.fromBits = function(lowBits, highBits) { - return new goog.math.Long(lowBits, highBits); - }; - - - /** - * Returns a Long representation of the given string, written using the given - * radix. - * @param {string} str The textual representation of the Long. - * @param {number=} opt_radix The radix in which the text is written. - * @return {!goog.math.Long} The corresponding Long value. - */ - goog.math.Long.fromString = function(str, opt_radix) { - if (str.length == 0) { - throw Error('number format error: empty string'); - } - - var radix = opt_radix || 10; - if (radix < 2 || 36 < radix) { - throw Error('radix out of range: ' + radix); - } - - if (str.charAt(0) == '-') { - return goog.math.Long.fromString(str.substring(1), radix).negate(); - } else if (str.indexOf('-') >= 0) { - throw Error('number format error: interior "-" character: ' + str); - } - - // Do several (8) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - var radixToPower = goog.math.Long.fromNumber(Math.pow(radix, 8)); - - var result = goog.math.Long.ZERO; - for (var i = 0; i < str.length; i += 8) { - var size = Math.min(8, str.length - i); - var value = parseInt(str.substring(i, i + size), radix); - if (size < 8) { - var power = goog.math.Long.fromNumber(Math.pow(radix, size)); - result = result.multiply(power).add(goog.math.Long.fromNumber(value)); - } else { - result = result.multiply(radixToPower); - result = result.add(goog.math.Long.fromNumber(value)); - } - } - return result; - }; - - - // NOTE: the compiler should inline these constant values below and then remove - // these variables, so there should be no runtime penalty for these. - - - /** - * Number used repeated below in calculations. This must appear before the - * first call to any from* function below. - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_16_DBL_ = 1 << 16; - - - /** - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_24_DBL_ = 1 << 24; - - - /** - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_32_DBL_ = - goog.math.Long.TWO_PWR_16_DBL_ * goog.math.Long.TWO_PWR_16_DBL_; - - - /** - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_31_DBL_ = - goog.math.Long.TWO_PWR_32_DBL_ / 2; - - - /** - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_48_DBL_ = - goog.math.Long.TWO_PWR_32_DBL_ * goog.math.Long.TWO_PWR_16_DBL_; - - - /** - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_64_DBL_ = - goog.math.Long.TWO_PWR_32_DBL_ * goog.math.Long.TWO_PWR_32_DBL_; - - - /** - * @type {number} - * @private - */ - goog.math.Long.TWO_PWR_63_DBL_ = - goog.math.Long.TWO_PWR_64_DBL_ / 2; - - - /** @type {!goog.math.Long} */ - goog.math.Long.ZERO = goog.math.Long.fromInt(0); - - - /** @type {!goog.math.Long} */ - goog.math.Long.ONE = goog.math.Long.fromInt(1); - - - /** @type {!goog.math.Long} */ - goog.math.Long.NEG_ONE = goog.math.Long.fromInt(-1); - - - /** @type {!goog.math.Long} */ - goog.math.Long.MAX_VALUE = - goog.math.Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0); - - - /** @type {!goog.math.Long} */ - goog.math.Long.MIN_VALUE = goog.math.Long.fromBits(0, 0x80000000 | 0); - - - /** - * @type {!goog.math.Long} - * @private - */ - goog.math.Long.TWO_PWR_24_ = goog.math.Long.fromInt(1 << 24); - - - /** @return {number} The value, assuming it is a 32-bit integer. */ - goog.math.Long.prototype.toInt = function() { - return this.low_; - }; - - - /** @return {number} The closest floating-point representation to this value. */ - goog.math.Long.prototype.toNumber = function() { - return this.high_ * goog.math.Long.TWO_PWR_32_DBL_ + - this.getLowBitsUnsigned(); - }; - - - /** - * @param {number=} opt_radix The radix in which the text should be written. - * @return {string} The textual representation of this value. - */ - goog.math.Long.prototype.toString = function(opt_radix) { - var radix = opt_radix || 10; - if (radix < 2 || 36 < radix) { - throw Error('radix out of range: ' + radix); - } - - if (this.isZero()) { - return '0'; - } - - if (this.isNegative()) { - if (this.equals(goog.math.Long.MIN_VALUE)) { - // We need to change the Long value before it can be negated, so we remove - // the bottom-most digit in this base and then recurse to do the rest. - var radixLong = goog.math.Long.fromNumber(radix); - var div = this.div(radixLong); - var rem = div.multiply(radixLong).subtract(this); - return div.toString(radix) + rem.toInt().toString(radix); - } else { - return '-' + this.negate().toString(radix); - } - } - - // Do several (6) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - var radixToPower = goog.math.Long.fromNumber(Math.pow(radix, 6)); - - var rem = this; - var result = ''; - while (true) { - var remDiv = rem.div(radixToPower); - var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt(); - var digits = intval.toString(radix); - - rem = remDiv; - if (rem.isZero()) { - return digits + result; - } else { - while (digits.length < 6) { - digits = '0' + digits; - } - result = '' + digits + result; - } - } - }; - - - /** @return {number} The high 32-bits as a signed value. */ - goog.math.Long.prototype.getHighBits = function() { - return this.high_; - }; - - - /** @return {number} The low 32-bits as a signed value. */ - goog.math.Long.prototype.getLowBits = function() { - return this.low_; - }; - - - /** @return {number} The low 32-bits as an unsigned value. */ - goog.math.Long.prototype.getLowBitsUnsigned = function() { - return (this.low_ >= 0) ? - this.low_ : goog.math.Long.TWO_PWR_32_DBL_ + this.low_; - }; - - - /** - * @return {number} Returns the number of bits needed to represent the absolute - * value of this Long. - */ - goog.math.Long.prototype.getNumBitsAbs = function() { - if (this.isNegative()) { - if (this.equals(goog.math.Long.MIN_VALUE)) { - return 64; - } else { - return this.negate().getNumBitsAbs(); - } - } else { - var val = this.high_ != 0 ? this.high_ : this.low_; - for (var bit = 31; bit > 0; bit--) { - if ((val & (1 << bit)) != 0) { - break; - } - } - return this.high_ != 0 ? bit + 33 : bit + 1; - } - }; - - - /** @return {boolean} Whether this value is zero. */ - goog.math.Long.prototype.isZero = function() { - return this.high_ == 0 && this.low_ == 0; - }; - - - /** @return {boolean} Whether this value is negative. */ - goog.math.Long.prototype.isNegative = function() { - return this.high_ < 0; - }; - - - /** @return {boolean} Whether this value is odd. */ - goog.math.Long.prototype.isOdd = function() { - return (this.low_ & 1) == 1; - }; - - - /** - * @param {goog.math.Long} other Long to compare against. - * @return {boolean} Whether this Long equals the other. - */ - goog.math.Long.prototype.equals = function(other) { - return (this.high_ == other.high_) && (this.low_ == other.low_); - }; - - - /** - * @param {goog.math.Long} other Long to compare against. - * @return {boolean} Whether this Long does not equal the other. - */ - goog.math.Long.prototype.notEquals = function(other) { - return (this.high_ != other.high_) || (this.low_ != other.low_); - }; - - - /** - * @param {goog.math.Long} other Long to compare against. - * @return {boolean} Whether this Long is less than the other. - */ - goog.math.Long.prototype.lessThan = function(other) { - return this.compare(other) < 0; - }; - - - /** - * @param {goog.math.Long} other Long to compare against. - * @return {boolean} Whether this Long is less than or equal to the other. - */ - goog.math.Long.prototype.lessThanOrEqual = function(other) { - return this.compare(other) <= 0; - }; - - - /** - * @param {goog.math.Long} other Long to compare against. - * @return {boolean} Whether this Long is greater than the other. - */ - goog.math.Long.prototype.greaterThan = function(other) { - return this.compare(other) > 0; - }; - - - /** - * @param {goog.math.Long} other Long to compare against. - * @return {boolean} Whether this Long is greater than or equal to the other. - */ - goog.math.Long.prototype.greaterThanOrEqual = function(other) { - return this.compare(other) >= 0; - }; - - - /** - * Compares this Long with the given one. - * @param {goog.math.Long} other Long to compare against. - * @return {number} 0 if they are the same, 1 if the this is greater, and -1 - * if the given one is greater. - */ - goog.math.Long.prototype.compare = function(other) { - if (this.equals(other)) { - return 0; - } - - var thisNeg = this.isNegative(); - var otherNeg = other.isNegative(); - if (thisNeg && !otherNeg) { - return -1; - } - if (!thisNeg && otherNeg) { - return 1; - } - - // at this point, the signs are the same, so subtraction will not overflow - if (this.subtract(other).isNegative()) { - return -1; - } else { - return 1; - } - }; - - - /** @return {!goog.math.Long} The negation of this value. */ - goog.math.Long.prototype.negate = function() { - if (this.equals(goog.math.Long.MIN_VALUE)) { - return goog.math.Long.MIN_VALUE; - } else { - return this.not().add(goog.math.Long.ONE); - } - }; - - - /** - * Returns the sum of this and the given Long. - * @param {goog.math.Long} other Long to add to this one. - * @return {!goog.math.Long} The sum of this and the given Long. - */ - goog.math.Long.prototype.add = function(other) { - // Divide each number into 4 chunks of 16 bits, and then sum the chunks. - - var a48 = this.high_ >>> 16; - var a32 = this.high_ & 0xFFFF; - var a16 = this.low_ >>> 16; - var a00 = this.low_ & 0xFFFF; - - var b48 = other.high_ >>> 16; - var b32 = other.high_ & 0xFFFF; - var b16 = other.low_ >>> 16; - var b00 = other.low_ & 0xFFFF; - - var c48 = 0, c32 = 0, c16 = 0, c00 = 0; - c00 += a00 + b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 + b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 + b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 + b48; - c48 &= 0xFFFF; - return goog.math.Long.fromBits((c16 << 16) | c00, (c48 << 16) | c32); - }; - - - /** - * Returns the difference of this and the given Long. - * @param {goog.math.Long} other Long to subtract from this. - * @return {!goog.math.Long} The difference of this and the given Long. - */ - goog.math.Long.prototype.subtract = function(other) { - return this.add(other.negate()); - }; - - - /** - * Returns the product of this and the given long. - * @param {goog.math.Long} other Long to multiply with this. - * @return {!goog.math.Long} The product of this and the other. - */ - goog.math.Long.prototype.multiply = function(other) { - if (this.isZero()) { - return goog.math.Long.ZERO; - } else if (other.isZero()) { - return goog.math.Long.ZERO; - } - - if (this.equals(goog.math.Long.MIN_VALUE)) { - return other.isOdd() ? goog.math.Long.MIN_VALUE : goog.math.Long.ZERO; - } else if (other.equals(goog.math.Long.MIN_VALUE)) { - return this.isOdd() ? goog.math.Long.MIN_VALUE : goog.math.Long.ZERO; - } - - if (this.isNegative()) { - if (other.isNegative()) { - return this.negate().multiply(other.negate()); - } else { - return this.negate().multiply(other).negate(); - } - } else if (other.isNegative()) { - return this.multiply(other.negate()).negate(); - } - - // If both longs are small, use float multiplication - if (this.lessThan(goog.math.Long.TWO_PWR_24_) && - other.lessThan(goog.math.Long.TWO_PWR_24_)) { - return goog.math.Long.fromNumber(this.toNumber() * other.toNumber()); - } - - // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. - // We can skip products that would overflow. - - var a48 = this.high_ >>> 16; - var a32 = this.high_ & 0xFFFF; - var a16 = this.low_ >>> 16; - var a00 = this.low_ & 0xFFFF; - - var b48 = other.high_ >>> 16; - var b32 = other.high_ & 0xFFFF; - var b16 = other.low_ >>> 16; - var b00 = other.low_ & 0xFFFF; - - var c48 = 0, c32 = 0, c16 = 0, c00 = 0; - c00 += a00 * b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 * b00; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c16 += a00 * b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 * b00; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a16 * b16; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a00 * b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; - c48 &= 0xFFFF; - return goog.math.Long.fromBits((c16 << 16) | c00, (c48 << 16) | c32); - }; - - - /** - * Returns this Long divided by the given one. - * @param {goog.math.Long} other Long by which to divide. - * @return {!goog.math.Long} This Long divided by the given one. - */ - goog.math.Long.prototype.div = function(other) { - if (other.isZero()) { - throw Error('division by zero'); - } else if (this.isZero()) { - return goog.math.Long.ZERO; - } - - if (this.equals(goog.math.Long.MIN_VALUE)) { - if (other.equals(goog.math.Long.ONE) || - other.equals(goog.math.Long.NEG_ONE)) { - return goog.math.Long.MIN_VALUE; // recall that -MIN_VALUE == MIN_VALUE - } else if (other.equals(goog.math.Long.MIN_VALUE)) { - return goog.math.Long.ONE; - } else { - // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. - var halfThis = this.shiftRight(1); - var approx = halfThis.div(other).shiftLeft(1); - if (approx.equals(goog.math.Long.ZERO)) { - return other.isNegative() ? goog.math.Long.ONE : goog.math.Long.NEG_ONE; - } else { - var rem = this.subtract(other.multiply(approx)); - var result = approx.add(rem.div(other)); - return result; - } - } - } else if (other.equals(goog.math.Long.MIN_VALUE)) { - return goog.math.Long.ZERO; - } - - if (this.isNegative()) { - if (other.isNegative()) { - return this.negate().div(other.negate()); - } else { - return this.negate().div(other).negate(); - } - } else if (other.isNegative()) { - return this.div(other.negate()).negate(); - } - - // Repeat the following until the remainder is less than other: find a - // floating-point that approximates remainder / other *from below*, add this - // into the result, and subtract it from the remainder. It is critical that - // the approximate value is less than or equal to the real value so that the - // remainder never becomes negative. - var res = goog.math.Long.ZERO; - var rem = this; - while (rem.greaterThanOrEqual(other)) { - // Approximate the result of division. This may be a little greater or - // smaller than the actual value. - var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber())); - - // We will tweak the approximate result by changing it in the 48-th digit or - // the smallest non-fractional digit, whichever is larger. - var log2 = Math.ceil(Math.log(approx) / Math.LN2); - var delta = (log2 <= 48) ? 1 : Math.pow(2, log2 - 48); - - // Decrease the approximation until it is smaller than the remainder. Note - // that if it is too large, the product overflows and is negative. - var approxRes = goog.math.Long.fromNumber(approx); - var approxRem = approxRes.multiply(other); - while (approxRem.isNegative() || approxRem.greaterThan(rem)) { - approx -= delta; - approxRes = goog.math.Long.fromNumber(approx); - approxRem = approxRes.multiply(other); - } - - // We know the answer can't be zero... and actually, zero would cause - // infinite recursion since we would make no progress. - if (approxRes.isZero()) { - approxRes = goog.math.Long.ONE; - } - - res = res.add(approxRes); - rem = rem.subtract(approxRem); - } - return res; - }; - - - /** - * Returns this Long modulo the given one. - * @param {goog.math.Long} other Long by which to mod. - * @return {!goog.math.Long} This Long modulo the given one. - */ - goog.math.Long.prototype.modulo = function(other) { - return this.subtract(this.div(other).multiply(other)); - }; - - - /** @return {!goog.math.Long} The bitwise-NOT of this value. */ - goog.math.Long.prototype.not = function() { - return goog.math.Long.fromBits(~this.low_, ~this.high_); - }; - - - /** - * Returns the bitwise-AND of this Long and the given one. - * @param {goog.math.Long} other The Long with which to AND. - * @return {!goog.math.Long} The bitwise-AND of this and the other. - */ - goog.math.Long.prototype.and = function(other) { - return goog.math.Long.fromBits(this.low_ & other.low_, - this.high_ & other.high_); - }; - - - /** - * Returns the bitwise-OR of this Long and the given one. - * @param {goog.math.Long} other The Long with which to OR. - * @return {!goog.math.Long} The bitwise-OR of this and the other. - */ - goog.math.Long.prototype.or = function(other) { - return goog.math.Long.fromBits(this.low_ | other.low_, - this.high_ | other.high_); - }; - - - /** - * Returns the bitwise-XOR of this Long and the given one. - * @param {goog.math.Long} other The Long with which to XOR. - * @return {!goog.math.Long} The bitwise-XOR of this and the other. - */ - goog.math.Long.prototype.xor = function(other) { - return goog.math.Long.fromBits(this.low_ ^ other.low_, - this.high_ ^ other.high_); - }; - - - /** - * Returns this Long with bits shifted to the left by the given amount. - * @param {number} numBits The number of bits by which to shift. - * @return {!goog.math.Long} This shifted to the left by the given amount. - */ - goog.math.Long.prototype.shiftLeft = function(numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var low = this.low_; - if (numBits < 32) { - var high = this.high_; - return goog.math.Long.fromBits( - low << numBits, - (high << numBits) | (low >>> (32 - numBits))); - } else { - return goog.math.Long.fromBits(0, low << (numBits - 32)); - } - } - }; - - - /** - * Returns this Long with bits shifted to the right by the given amount. - * @param {number} numBits The number of bits by which to shift. - * @return {!goog.math.Long} This shifted to the right by the given amount. - */ - goog.math.Long.prototype.shiftRight = function(numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var high = this.high_; - if (numBits < 32) { - var low = this.low_; - return goog.math.Long.fromBits( - (low >>> numBits) | (high << (32 - numBits)), - high >> numBits); - } else { - return goog.math.Long.fromBits( - high >> (numBits - 32), - high >= 0 ? 0 : -1); - } - } - }; - - - /** - * Returns this Long with bits shifted to the right by the given amount, with - * the new top bits matching the current sign bit. - * @param {number} numBits The number of bits by which to shift. - * @return {!goog.math.Long} This shifted to the right by the given amount, with - * zeros placed into the new leading bits. - */ - goog.math.Long.prototype.shiftRightUnsigned = function(numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var high = this.high_; - if (numBits < 32) { - var low = this.low_; - return goog.math.Long.fromBits( - (low >>> numBits) | (high << (32 - numBits)), - high >>> numBits); - } else if (numBits == 32) { - return goog.math.Long.fromBits(high, 0); - } else { - return goog.math.Long.fromBits(high >>> (numBits - 32), 0); - } - } - }; - - //======= begin jsbn ======= - - var navigator = { appName: 'Modern Browser' }; // polyfill a little - - // Copyright (c) 2005 Tom Wu - // All Rights Reserved. - // http://www-cs-students.stanford.edu/~tjw/jsbn/ - - /* - * Copyright (c) 2003-2005 Tom Wu - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, - * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY - * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - * - * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, - * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER - * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF - * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT - * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * In addition, the following condition applies: - * - * All redistributions must retain an intact copy of this copyright notice - * and disclaimer. - */ - - // Basic JavaScript BN library - subset useful for RSA encryption. - - // Bits per digit - var dbits; - - // JavaScript engine analysis - var canary = 0xdeadbeefcafe; - var j_lm = ((canary&0xffffff)==0xefcafe); - - // (public) Constructor - function BigInteger(a,b,c) { - if(a != null) - if("number" == typeof a) this.fromNumber(a,b,c); - else if(b == null && "string" != typeof a) this.fromString(a,256); - else this.fromString(a,b); - } - - // return new, unset BigInteger - function nbi() { return new BigInteger(null); } - - // am: Compute w_j += (x*this_i), propagate carries, - // c is initial carry, returns final carry. - // c < 3*dvalue, x < 2*dvalue, this_i < dvalue - // We need to select the fastest one that works in this environment. - - // am1: use a single mult and divide to get the high bits, - // max digit bits should be 26 because - // max internal value = 2*dvalue^2-2*dvalue (< 2^53) - function am1(i,x,w,j,c,n) { - while(--n >= 0) { - var v = x*this[i++]+w[j]+c; - c = Math.floor(v/0x4000000); - w[j++] = v&0x3ffffff; - } - return c; - } - // am2 avoids a big mult-and-extract completely. - // Max digit bits should be <= 30 because we do bitwise ops - // on values up to 2*hdvalue^2-hdvalue-1 (< 2^31) - function am2(i,x,w,j,c,n) { - var xl = x&0x7fff, xh = x>>15; - while(--n >= 0) { - var l = this[i]&0x7fff; - var h = this[i++]>>15; - var m = xh*l+h*xl; - l = xl*l+((m&0x7fff)<<15)+w[j]+(c&0x3fffffff); - c = (l>>>30)+(m>>>15)+xh*h+(c>>>30); - w[j++] = l&0x3fffffff; - } - return c; - } - // Alternately, set max digit bits to 28 since some - // browsers slow down when dealing with 32-bit numbers. - function am3(i,x,w,j,c,n) { - var xl = x&0x3fff, xh = x>>14; - while(--n >= 0) { - var l = this[i]&0x3fff; - var h = this[i++]>>14; - var m = xh*l+h*xl; - l = xl*l+((m&0x3fff)<<14)+w[j]+c; - c = (l>>28)+(m>>14)+xh*h; - w[j++] = l&0xfffffff; - } - return c; - } - if(j_lm && (navigator.appName == "Microsoft Internet Explorer")) { - BigInteger.prototype.am = am2; - dbits = 30; - } - else if(j_lm && (navigator.appName != "Netscape")) { - BigInteger.prototype.am = am1; - dbits = 26; - } - else { // Mozilla/Netscape seems to prefer am3 - BigInteger.prototype.am = am3; - dbits = 28; - } - - BigInteger.prototype.DB = dbits; - BigInteger.prototype.DM = ((1<= 0; --i) r[i] = this[i]; - r.t = this.t; - r.s = this.s; - } - - // (protected) set from integer value x, -DV <= x < DV - function bnpFromInt(x) { - this.t = 1; - this.s = (x<0)?-1:0; - if(x > 0) this[0] = x; - else if(x < -1) this[0] = x+DV; - else this.t = 0; - } - - // return bigint initialized to value - function nbv(i) { var r = nbi(); r.fromInt(i); return r; } - - // (protected) set from string and radix - function bnpFromString(s,b) { - var k; - if(b == 16) k = 4; - else if(b == 8) k = 3; - else if(b == 256) k = 8; // byte array - else if(b == 2) k = 1; - else if(b == 32) k = 5; - else if(b == 4) k = 2; - else { this.fromRadix(s,b); return; } - this.t = 0; - this.s = 0; - var i = s.length, mi = false, sh = 0; - while(--i >= 0) { - var x = (k==8)?s[i]&0xff:intAt(s,i); - if(x < 0) { - if(s.charAt(i) == "-") mi = true; - continue; - } - mi = false; - if(sh == 0) - this[this.t++] = x; - else if(sh+k > this.DB) { - this[this.t-1] |= (x&((1<<(this.DB-sh))-1))<>(this.DB-sh)); - } - else - this[this.t-1] |= x<= this.DB) sh -= this.DB; - } - if(k == 8 && (s[0]&0x80) != 0) { - this.s = -1; - if(sh > 0) this[this.t-1] |= ((1<<(this.DB-sh))-1)< 0 && this[this.t-1] == c) --this.t; - } - - // (public) return string representation in given radix - function bnToString(b) { - if(this.s < 0) return "-"+this.negate().toString(b); - var k; - if(b == 16) k = 4; - else if(b == 8) k = 3; - else if(b == 2) k = 1; - else if(b == 32) k = 5; - else if(b == 4) k = 2; - else return this.toRadix(b); - var km = (1< 0) { - if(p < this.DB && (d = this[i]>>p) > 0) { m = true; r = int2char(d); } - while(i >= 0) { - if(p < k) { - d = (this[i]&((1<>(p+=this.DB-k); - } - else { - d = (this[i]>>(p-=k))&km; - if(p <= 0) { p += this.DB; --i; } - } - if(d > 0) m = true; - if(m) r += int2char(d); - } - } - return m?r:"0"; - } - - // (public) -this - function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } - - // (public) |this| - function bnAbs() { return (this.s<0)?this.negate():this; } - - // (public) return + if this > a, - if this < a, 0 if equal - function bnCompareTo(a) { - var r = this.s-a.s; - if(r != 0) return r; - var i = this.t; - r = i-a.t; - if(r != 0) return (this.s<0)?-r:r; - while(--i >= 0) if((r=this[i]-a[i]) != 0) return r; - return 0; - } - - // returns bit length of the integer x - function nbits(x) { - var r = 1, t; - if((t=x>>>16) != 0) { x = t; r += 16; } - if((t=x>>8) != 0) { x = t; r += 8; } - if((t=x>>4) != 0) { x = t; r += 4; } - if((t=x>>2) != 0) { x = t; r += 2; } - if((t=x>>1) != 0) { x = t; r += 1; } - return r; - } - - // (public) return the number of bits in "this" - function bnBitLength() { - if(this.t <= 0) return 0; - return this.DB*(this.t-1)+nbits(this[this.t-1]^(this.s&this.DM)); - } - - // (protected) r = this << n*DB - function bnpDLShiftTo(n,r) { - var i; - for(i = this.t-1; i >= 0; --i) r[i+n] = this[i]; - for(i = n-1; i >= 0; --i) r[i] = 0; - r.t = this.t+n; - r.s = this.s; - } - - // (protected) r = this >> n*DB - function bnpDRShiftTo(n,r) { - for(var i = n; i < this.t; ++i) r[i-n] = this[i]; - r.t = Math.max(this.t-n,0); - r.s = this.s; - } - - // (protected) r = this << n - function bnpLShiftTo(n,r) { - var bs = n%this.DB; - var cbs = this.DB-bs; - var bm = (1<= 0; --i) { - r[i+ds+1] = (this[i]>>cbs)|c; - c = (this[i]&bm)<= 0; --i) r[i] = 0; - r[ds] = c; - r.t = this.t+ds+1; - r.s = this.s; - r.clamp(); - } - - // (protected) r = this >> n - function bnpRShiftTo(n,r) { - r.s = this.s; - var ds = Math.floor(n/this.DB); - if(ds >= this.t) { r.t = 0; return; } - var bs = n%this.DB; - var cbs = this.DB-bs; - var bm = (1<>bs; - for(var i = ds+1; i < this.t; ++i) { - r[i-ds-1] |= (this[i]&bm)<>bs; - } - if(bs > 0) r[this.t-ds-1] |= (this.s&bm)<>= this.DB; - } - if(a.t < this.t) { - c -= a.s; - while(i < this.t) { - c += this[i]; - r[i++] = c&this.DM; - c >>= this.DB; - } - c += this.s; - } - else { - c += this.s; - while(i < a.t) { - c -= a[i]; - r[i++] = c&this.DM; - c >>= this.DB; - } - c -= a.s; - } - r.s = (c<0)?-1:0; - if(c < -1) r[i++] = this.DV+c; - else if(c > 0) r[i++] = c; - r.t = i; - r.clamp(); - } - - // (protected) r = this * a, r != this,a (HAC 14.12) - // "this" should be the larger one if appropriate. - function bnpMultiplyTo(a,r) { - var x = this.abs(), y = a.abs(); - var i = x.t; - r.t = i+y.t; - while(--i >= 0) r[i] = 0; - for(i = 0; i < y.t; ++i) r[i+x.t] = x.am(0,y[i],r,i,0,x.t); - r.s = 0; - r.clamp(); - if(this.s != a.s) BigInteger.ZERO.subTo(r,r); - } - - // (protected) r = this^2, r != this (HAC 14.16) - function bnpSquareTo(r) { - var x = this.abs(); - var i = r.t = 2*x.t; - while(--i >= 0) r[i] = 0; - for(i = 0; i < x.t-1; ++i) { - var c = x.am(i,x[i],r,2*i,0,1); - if((r[i+x.t]+=x.am(i+1,2*x[i],r,2*i+1,c,x.t-i-1)) >= x.DV) { - r[i+x.t] -= x.DV; - r[i+x.t+1] = 1; - } - } - if(r.t > 0) r[r.t-1] += x.am(i,x[i],r,2*i,0,1); - r.s = 0; - r.clamp(); - } - - // (protected) divide this by m, quotient and remainder to q, r (HAC 14.20) - // r != q, this != m. q or r may be null. - function bnpDivRemTo(m,q,r) { - var pm = m.abs(); - if(pm.t <= 0) return; - var pt = this.abs(); - if(pt.t < pm.t) { - if(q != null) q.fromInt(0); - if(r != null) this.copyTo(r); - return; - } - if(r == null) r = nbi(); - var y = nbi(), ts = this.s, ms = m.s; - var nsh = this.DB-nbits(pm[pm.t-1]); // normalize modulus - if(nsh > 0) { pm.lShiftTo(nsh,y); pt.lShiftTo(nsh,r); } - else { pm.copyTo(y); pt.copyTo(r); } - var ys = y.t; - var y0 = y[ys-1]; - if(y0 == 0) return; - var yt = y0*(1<1)?y[ys-2]>>this.F2:0); - var d1 = this.FV/yt, d2 = (1<= 0) { - r[r.t++] = 1; - r.subTo(t,r); - } - BigInteger.ONE.dlShiftTo(ys,t); - t.subTo(y,y); // "negative" y so we can replace sub with am later - while(y.t < ys) y[y.t++] = 0; - while(--j >= 0) { - // Estimate quotient digit - var qd = (r[--i]==y0)?this.DM:Math.floor(r[i]*d1+(r[i-1]+e)*d2); - if((r[i]+=y.am(0,qd,r,j,0,ys)) < qd) { // Try it out - y.dlShiftTo(j,t); - r.subTo(t,r); - while(r[i] < --qd) r.subTo(t,r); - } - } - if(q != null) { - r.drShiftTo(ys,q); - if(ts != ms) BigInteger.ZERO.subTo(q,q); - } - r.t = ys; - r.clamp(); - if(nsh > 0) r.rShiftTo(nsh,r); // Denormalize remainder - if(ts < 0) BigInteger.ZERO.subTo(r,r); - } - - // (public) this mod a - function bnMod(a) { - var r = nbi(); - this.abs().divRemTo(a,null,r); - if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r); - return r; - } - - // Modular reduction using "classic" algorithm - function Classic(m) { this.m = m; } - function cConvert(x) { - if(x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m); - else return x; - } - function cRevert(x) { return x; } - function cReduce(x) { x.divRemTo(this.m,null,x); } - function cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } - function cSqrTo(x,r) { x.squareTo(r); this.reduce(r); } - - Classic.prototype.convert = cConvert; - Classic.prototype.revert = cRevert; - Classic.prototype.reduce = cReduce; - Classic.prototype.mulTo = cMulTo; - Classic.prototype.sqrTo = cSqrTo; - - // (protected) return "-1/this % 2^DB"; useful for Mont. reduction - // justification: - // xy == 1 (mod m) - // xy = 1+km - // xy(2-xy) = (1+km)(1-km) - // x[y(2-xy)] = 1-k^2m^2 - // x[y(2-xy)] == 1 (mod m^2) - // if y is 1/x mod m, then y(2-xy) is 1/x mod m^2 - // should reduce x and y(2-xy) by m^2 at each step to keep size bounded. - // JS multiply "overflows" differently from C/C++, so care is needed here. - function bnpInvDigit() { - if(this.t < 1) return 0; - var x = this[0]; - if((x&1) == 0) return 0; - var y = x&3; // y == 1/x mod 2^2 - y = (y*(2-(x&0xf)*y))&0xf; // y == 1/x mod 2^4 - y = (y*(2-(x&0xff)*y))&0xff; // y == 1/x mod 2^8 - y = (y*(2-(((x&0xffff)*y)&0xffff)))&0xffff; // y == 1/x mod 2^16 - // last step - calculate inverse mod DV directly; - // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints - y = (y*(2-x*y%this.DV))%this.DV; // y == 1/x mod 2^dbits - // we really want the negative inverse, and -DV < y < DV - return (y>0)?this.DV-y:-y; - } - - // Montgomery reduction - function Montgomery(m) { - this.m = m; - this.mp = m.invDigit(); - this.mpl = this.mp&0x7fff; - this.mph = this.mp>>15; - this.um = (1<<(m.DB-15))-1; - this.mt2 = 2*m.t; - } - - // xR mod m - function montConvert(x) { - var r = nbi(); - x.abs().dlShiftTo(this.m.t,r); - r.divRemTo(this.m,null,r); - if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r); - return r; - } - - // x/R mod m - function montRevert(x) { - var r = nbi(); - x.copyTo(r); - this.reduce(r); - return r; - } - - // x = x/R mod m (HAC 14.32) - function montReduce(x) { - while(x.t <= this.mt2) // pad x so am has enough room later - x[x.t++] = 0; - for(var i = 0; i < this.m.t; ++i) { - // faster way of calculating u0 = x[i]*mp mod DV - var j = x[i]&0x7fff; - var u0 = (j*this.mpl+(((j*this.mph+(x[i]>>15)*this.mpl)&this.um)<<15))&x.DM; - // use am to combine the multiply-shift-add into one call - j = i+this.m.t; - x[j] += this.m.am(0,u0,x,i,0,this.m.t); - // propagate carry - while(x[j] >= x.DV) { x[j] -= x.DV; x[++j]++; } - } - x.clamp(); - x.drShiftTo(this.m.t,x); - if(x.compareTo(this.m) >= 0) x.subTo(this.m,x); - } - - // r = "x^2/R mod m"; x != r - function montSqrTo(x,r) { x.squareTo(r); this.reduce(r); } - - // r = "xy/R mod m"; x,y != r - function montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } - - Montgomery.prototype.convert = montConvert; - Montgomery.prototype.revert = montRevert; - Montgomery.prototype.reduce = montReduce; - Montgomery.prototype.mulTo = montMulTo; - Montgomery.prototype.sqrTo = montSqrTo; - - // (protected) true iff this is even - function bnpIsEven() { return ((this.t>0)?(this[0]&1):this.s) == 0; } - - // (protected) this^e, e < 2^32, doing sqr and mul with "r" (HAC 14.79) - function bnpExp(e,z) { - if(e > 0xffffffff || e < 1) return BigInteger.ONE; - var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e)-1; - g.copyTo(r); - while(--i >= 0) { - z.sqrTo(r,r2); - if((e&(1< 0) z.mulTo(r2,g,r); - else { var t = r; r = r2; r2 = t; } - } - return z.revert(r); - } - - // (public) this^e % m, 0 <= e < 2^32 - function bnModPowInt(e,m) { - var z; - if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); - return this.exp(e,z); - } - - // protected - BigInteger.prototype.copyTo = bnpCopyTo; - BigInteger.prototype.fromInt = bnpFromInt; - BigInteger.prototype.fromString = bnpFromString; - BigInteger.prototype.clamp = bnpClamp; - BigInteger.prototype.dlShiftTo = bnpDLShiftTo; - BigInteger.prototype.drShiftTo = bnpDRShiftTo; - BigInteger.prototype.lShiftTo = bnpLShiftTo; - BigInteger.prototype.rShiftTo = bnpRShiftTo; - BigInteger.prototype.subTo = bnpSubTo; - BigInteger.prototype.multiplyTo = bnpMultiplyTo; - BigInteger.prototype.squareTo = bnpSquareTo; - BigInteger.prototype.divRemTo = bnpDivRemTo; - BigInteger.prototype.invDigit = bnpInvDigit; - BigInteger.prototype.isEven = bnpIsEven; - BigInteger.prototype.exp = bnpExp; - - // public - BigInteger.prototype.toString = bnToString; - BigInteger.prototype.negate = bnNegate; - BigInteger.prototype.abs = bnAbs; - BigInteger.prototype.compareTo = bnCompareTo; - BigInteger.prototype.bitLength = bnBitLength; - BigInteger.prototype.mod = bnMod; - BigInteger.prototype.modPowInt = bnModPowInt; - - // "constants" - BigInteger.ZERO = nbv(0); - BigInteger.ONE = nbv(1); - - // jsbn2 stuff - - // (protected) convert from radix string - function bnpFromRadix(s,b) { - this.fromInt(0); - if(b == null) b = 10; - var cs = this.chunkSize(b); - var d = Math.pow(b,cs), mi = false, j = 0, w = 0; - for(var i = 0; i < s.length; ++i) { - var x = intAt(s,i); - if(x < 0) { - if(s.charAt(i) == "-" && this.signum() == 0) mi = true; - continue; - } - w = b*w+x; - if(++j >= cs) { - this.dMultiply(d); - this.dAddOffset(w,0); - j = 0; - w = 0; - } - } - if(j > 0) { - this.dMultiply(Math.pow(b,j)); - this.dAddOffset(w,0); - } - if(mi) BigInteger.ZERO.subTo(this,this); - } - - // (protected) return x s.t. r^x < DV - function bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r)); } - - // (public) 0 if this == 0, 1 if this > 0 - function bnSigNum() { - if(this.s < 0) return -1; - else if(this.t <= 0 || (this.t == 1 && this[0] <= 0)) return 0; - else return 1; - } - - // (protected) this *= n, this >= 0, 1 < n < DV - function bnpDMultiply(n) { - this[this.t] = this.am(0,n-1,this,0,0,this.t); - ++this.t; - this.clamp(); - } - - // (protected) this += n << w words, this >= 0 - function bnpDAddOffset(n,w) { - if(n == 0) return; - while(this.t <= w) this[this.t++] = 0; - this[w] += n; - while(this[w] >= this.DV) { - this[w] -= this.DV; - if(++w >= this.t) this[this.t++] = 0; - ++this[w]; - } - } - - // (protected) convert to radix string - function bnpToRadix(b) { - if(b == null) b = 10; - if(this.signum() == 0 || b < 2 || b > 36) return "0"; - var cs = this.chunkSize(b); - var a = Math.pow(b,cs); - var d = nbv(a), y = nbi(), z = nbi(), r = ""; - this.divRemTo(d,y,z); - while(y.signum() > 0) { - r = (a+z.intValue()).toString(b).substr(1) + r; - y.divRemTo(d,y,z); - } - return z.intValue().toString(b) + r; - } - - // (public) return value as integer - function bnIntValue() { - if(this.s < 0) { - if(this.t == 1) return this[0]-this.DV; - else if(this.t == 0) return -1; - } - else if(this.t == 1) return this[0]; - else if(this.t == 0) return 0; - // assumes 16 < DB < 32 - return ((this[1]&((1<<(32-this.DB))-1))<>= this.DB; - } - if(a.t < this.t) { - c += a.s; - while(i < this.t) { - c += this[i]; - r[i++] = c&this.DM; - c >>= this.DB; - } - c += this.s; - } - else { - c += this.s; - while(i < a.t) { - c += a[i]; - r[i++] = c&this.DM; - c >>= this.DB; - } - c += a.s; - } - r.s = (c<0)?-1:0; - if(c > 0) r[i++] = c; - else if(c < -1) r[i++] = this.DV+c; - r.t = i; - r.clamp(); - } - - BigInteger.prototype.fromRadix = bnpFromRadix; - BigInteger.prototype.chunkSize = bnpChunkSize; - BigInteger.prototype.signum = bnSigNum; - BigInteger.prototype.dMultiply = bnpDMultiply; - BigInteger.prototype.dAddOffset = bnpDAddOffset; - BigInteger.prototype.toRadix = bnpToRadix; - BigInteger.prototype.intValue = bnIntValue; - BigInteger.prototype.addTo = bnpAddTo; - - //======= end jsbn ======= - - // Emscripten wrapper - var Wrapper = { - add: function(xl, xh, yl, yh) { - var x = new goog.math.Long(xl, xh); - var y = new goog.math.Long(yl, yh); - var ret = x.add(y); - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - }, - subtract: function(xl, xh, yl, yh) { - var x = new goog.math.Long(xl, xh); - var y = new goog.math.Long(yl, yh); - var ret = x.subtract(y); - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - }, - multiply: function(xl, xh, yl, yh) { - var x = new goog.math.Long(xl, xh); - var y = new goog.math.Long(yl, yh); - var ret = x.multiply(y); - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - }, - ensureTemps: function() { - if (Wrapper.ensuredTemps) return; - Wrapper.ensuredTemps = true; - Wrapper.two32 = new BigInteger(); - Wrapper.two32.fromString('4294967296', 10); - Wrapper.two64 = new BigInteger(); - Wrapper.two64.fromString('18446744073709551616', 10); - Wrapper.temp1 = new BigInteger(); - Wrapper.temp2 = new BigInteger(); - }, - lh2bignum: function(l, h) { - var a = new BigInteger(); - a.fromString(h.toString(), 10); - var b = new BigInteger(); - a.multiplyTo(Wrapper.two32, b); - var c = new BigInteger(); - c.fromString(l.toString(), 10); - var d = new BigInteger(); - c.addTo(b, d); - return d; - }, - divide: function(xl, xh, yl, yh, unsigned) { - Wrapper.ensureTemps(); - if (!unsigned) { - var x = new goog.math.Long(xl, xh); - var y = new goog.math.Long(yl, yh); - var ret = x.div(y); - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - } else { - // slow precise bignum division - var x = Wrapper.lh2bignum(xl >>> 0, xh >>> 0); - var y = Wrapper.lh2bignum(yl >>> 0, yh >>> 0); - var z = new BigInteger(); - x.divRemTo(y, z, null); - var l = new BigInteger(); - var h = new BigInteger(); - z.divRemTo(Wrapper.two32, h, l); - HEAP32[tempDoublePtr>>2] = parseInt(l.toString()) | 0; - HEAP32[tempDoublePtr+4>>2] = parseInt(h.toString()) | 0; - } - }, - modulo: function(xl, xh, yl, yh, unsigned) { - Wrapper.ensureTemps(); - if (!unsigned) { - var x = new goog.math.Long(xl, xh); - var y = new goog.math.Long(yl, yh); - var ret = x.modulo(y); - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - } else { - // slow precise bignum division - var x = Wrapper.lh2bignum(xl >>> 0, xh >>> 0); - var y = Wrapper.lh2bignum(yl >>> 0, yh >>> 0); - var z = new BigInteger(); - x.divRemTo(y, null, z); - var l = new BigInteger(); - var h = new BigInteger(); - z.divRemTo(Wrapper.two32, h, l); - HEAP32[tempDoublePtr>>2] = parseInt(l.toString()) | 0; - HEAP32[tempDoublePtr+4>>2] = parseInt(h.toString()) | 0; - } - }, - stringify: function(l, h, unsigned) { - var ret = new goog.math.Long(l, h).toString(); - if (unsigned && ret[0] == '-') { - // unsign slowly using jsbn bignums - Wrapper.ensureTemps(); - var bignum = new BigInteger(); - bignum.fromString(ret, 10); - ret = new BigInteger(); - Wrapper.two64.addTo(bignum, ret); - ret = ret.toString(10); - } - return ret; - }, - fromString: function(str, base, min, max, unsigned) { - Wrapper.ensureTemps(); - var bignum = new BigInteger(); - bignum.fromString(str, base); - var bigmin = new BigInteger(); - bigmin.fromString(min, 10); - var bigmax = new BigInteger(); - bigmax.fromString(max, 10); - if (unsigned && bignum.compareTo(BigInteger.ZERO) < 0) { - var temp = new BigInteger(); - bignum.addTo(Wrapper.two64, temp); - bignum = temp; - } - var error = false; - if (bignum.compareTo(bigmin) < 0) { - bignum = bigmin; - error = true; - } else if (bignum.compareTo(bigmax) > 0) { - bignum = bigmax; - error = true; - } - var ret = goog.math.Long.fromString(bignum.toString()); // min-max checks should have clamped this to a range goog.math.Long can handle well - HEAP32[tempDoublePtr>>2] = ret.low_; - HEAP32[tempDoublePtr+4>>2] = ret.high_; - if (error) throw 'range error'; - } - }; - return Wrapper; -})(); - -//======= end closure i64 code ======= - - - -// === Auto-generated postamble setup entry stuff === - -Module.callMain = function callMain(args) { - var argc = args.length+1; - function pad() { - for (var i = 0; i < 4-1; i++) { - argv.push(0); - } - } - var argv = [allocate(intArrayFromString("/bin/this.program"), 'i8', ALLOC_STATIC) ]; - pad(); - for (var i = 0; i < argc-1; i = i + 1) { - argv.push(allocate(intArrayFromString(args[i]), 'i8', ALLOC_STATIC)); - pad(); - } - argv.push(0); - argv = allocate(argv, 'i32', ALLOC_STATIC); - - - var ret; - - ret = Module['_main'](argc, argv, 0); - - - return ret; -} - - - - -function run(args) { - args = args || Module['arguments']; - - if (runDependencies > 0) { - Module.printErr('run() called, but dependencies remain, so not running'); - return 0; - } - - if (Module['preRun']) { - if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']]; - var toRun = Module['preRun']; - Module['preRun'] = []; - for (var i = toRun.length-1; i >= 0; i--) { - toRun[i](); - } - if (runDependencies > 0) { - // a preRun added a dependency, run will be called later - return 0; - } - } - - function doRun() { - var ret = 0; - calledRun = true; - if (Module['_main']) { - preMain(); - ret = Module.callMain(args); - if (!Module['noExitRuntime']) { - exitRuntime(); - } - } - if (Module['postRun']) { - if (typeof Module['postRun'] == 'function') Module['postRun'] = [Module['postRun']]; - while (Module['postRun'].length > 0) { - Module['postRun'].pop()(); - } - } - return ret; - } - - if (Module['setStatus']) { - Module['setStatus']('Running...'); - setTimeout(function() { - setTimeout(function() { - Module['setStatus'](''); - }, 1); - doRun(); - }, 1); - return 0; - } else { - return doRun(); - } -} -Module['run'] = Module.run = run; - -// {{PRE_RUN_ADDITIONS}} - -if (Module['preInit']) { - if (typeof Module['preInit'] == 'function') Module['preInit'] = [Module['preInit']]; - while (Module['preInit'].length > 0) { - Module['preInit'].pop()(); - } -} - -initRuntime(); - -var shouldRunNow = true; -if (Module['noInitialRun']) { - shouldRunNow = false; -} - -if (shouldRunNow) { - var ret = run(); -} - -// {{POST_RUN_ADDITIONS}} - - - - - - - // {{MODULE_ADDITIONS}} - - -// EMSCRIPTEN_GENERATED_FUNCTIONS: ["__ZNSt3__18messagesIwED0Ev","__ZNSt3__14pairIN5Avoid7ConnEndES2_ED1Ev","__ZN5Avoid4NodeC2EPNS_12ShiftSegmentEd","__ZNKSt3__18numpunctIcE12do_falsenameEv","__ZNSt11logic_errorD1Ev","__ZNKSt3__120__time_get_c_storageIwE3__rEv","__ZN5Avoid6Router25improveOrthogonalTopologyEv","__ZNSt3__111__call_onceERVmPvPFvS2_E","__ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED1Ev","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE4findIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm","__ZN5Avoid7VertInfC1EPNS_6RouterERKNS_6VertIDERKNS_5PointEb","__ZNSt3__16locale5__imp7installINS_10moneypunctIcLb1EEEEEvPT_","__ZNSt3__110__stdinbufIwE9__getcharEb","__ZNSt3__112_GLOBAL__N_14makeINS_6locale5__impEiEERT_T0_","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED1Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEEC2Ej","__ZN5Avoid22UnsatisfiableExceptionD1Ev","__ZNSt3__116__pad_and_outputIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_","___cxx_global_var_init6","___cxx_global_var_init7","__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC2EjjS7_","__ZN5Avoid5PointC1Edd","__ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev","__ZNK5Avoid5PointmiERKS0_","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE8__detachEv","___cxx_global_var_init8","___cxx_global_var_init9","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_","__ZN5Avoid7ConnRef10makeActiveEv","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEEC2Ej","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE10push_frontERKS3_","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_","__ZN5Avoid8VariableD2Ev","__ZNK12_GLOBAL__N_114__libcpp_nmstr5countEv","__ZNK5Avoid6Router33isInCrossingPenaltyReroutingStageEv","___cxx_global_var_init12","__ZN5Avoid7EdgeInfD1Ev","__ZN5Avoid5PointC2Edd","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED2Ev","__GLOBAL__I_a999","__ZNK5Avoid8EdgePaireqERKS0_","__ZN5Avoid16PolygonInterfaceC2Ev","__ZN5Avoid6Router25destroyOrthogonalVisGraphEv","__ZN5Avoid22improveHyperedgeRoutesEPNS_6RouterE","__ZNK5Avoid6Router13validConnTypeENS_8ConnTypeE","__ZN5Avoid9aStarPathEPNS_7ConnRefEPNS_7VertInfES3_S3_","__ZN5Avoid7EdgeInf19setHyperedgeSegmentEb","__ZNSt3__113__fill_n_trueINS_6vectorIbNS_9allocatorIbEEEEEEvNS_14__bit_iteratorIT_Lb0EEENS6_9size_typeE","__ZNSt3__112_GLOBAL__N_111__fake_bindC2EMNS_6locale2idEFvvEPS3_","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEED2Ev","__ZNSt9bad_allocD0Ev","__ZNSt3__112_GLOBAL__N_14makeINS_7collateIwEEiEERT_T0_","__ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb","__ZNSt3__16locale5__imp7installINS_8messagesIwEEEEvPT_","__ZNK5Avoid8Variable4dfdvEv","__ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev","__ZNKSt3__120__time_get_c_storageIwE3__cEv","_connect","__ZN5Avoid4Node13isInsideShapeEj","__ZN5Avoid19NudgingShiftSegmentD0Ev","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_","__ZN5Avoid17HyperEdgeTreeNode27moveJunctionAlongCommonEdgeEPS0_","__ZNSt3__112_GLOBAL__N_19incrementIlEET_RS2_","__ZN5Avoid6Router21adjustContainsWithDelEi","__ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIwc10_mbstate_tEEiEERT_T0_","__ZN5Avoid19NudgingShiftSegment25updatePositionsFromSolverEv","__ZNK5Avoid19NudgingShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj","__ZN5Avoid17HyperedgeRerouter23calcHyperedgeConnectorsEv","__ZNKSt3__110moneypunctIcLb1EE16do_decimal_pointEv","__ZNSt3__113__vector_baseIPN5Avoid8VariableENS_9allocatorIS3_EEED2Ev","__ZNSt3__110__stdinbufIwE5imbueERKNS_6localeE","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_SA_EEiEESD_RKT_","__ZNK10__cxxabiv120__si_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib","__ZN5Avoid8EdgeList5clearEv","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSD_SD_","__ZNKSt3__17codecvtIDsc10_mbstate_tE13do_max_lengthEv","__ZNSt3__116__push_heap_backIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZNSt3__19__num_getIcE19__stage2_float_prepERNS_8ios_baseEPcRcS5_","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13do_date_orderEv","___cxx_global_var_init1271","__ZN5Avoid7ConnEndC1EPNS_11JunctionRefE","__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC2EjjS6_","__ZN5Avoid7ConnRef12makeInactiveEv","__ZNSt3__16locale5facet16__on_zero_sharedEv","__ZNSt3__16__clocEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNKSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPK2tmcc","___cxx_global_var_init23","__ZNSt3__110__stdinbufIcE5uflowEv","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE13__lower_boundIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_SF_SF_","__ZNSt3__110__stdinbufIcEC2EP7__sFILE","__ZNSt3__16locale5facetD1Ev","__ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev","__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d120","__ZNSt3__16locale5__imp7installINS_5ctypeIcEEEEvPT_","__ZN5Avoid7EdgeInf11setMtstDistEd","__ZN5Avoid17HyperedgeRerouter9setRouterEPNS_6RouterE","__ZNSt3__112_GLOBAL__N_14makeINS_7collateIcEEiEERT_T0_","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZNK5Avoid17HyperEdgeTreeEdge14hasOrientationEj","__ZNSt3__16localeC1Ev","__ZNSt3__110moneypunctIwLb0EED0Ev","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_","__ZN5Avoid17HyperEdgeTreeEdge11replaceNodeEPNS_17HyperEdgeTreeNodeES2_","__ZN5Avoid7Polygon5clearEv","__ZN5Avoid8Obstacle12makeInactiveEv","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9underflowEv","__ZNK5Avoid7ConnRef2idEv","__ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEEC1Ej","__ZN5Avoid5PointC2Ev","__ZN5AvoidL18setForCrossingConnERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_","__ZN5Avoid7VertInfD2Ev","__ZNSt3__112_GLOBAL__N_14makeINS_5ctypeIcEEPtbiEERT_T0_T1_T2_","__ZN5Avoid7VertInf5ResetERKNS_6VertIDERKNS_5PointE","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC2EjjS5_","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_","__ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_7ConnRefEPNS_11JunctionRefERNSt3__13setIS2_NS5_4lessIS2_EENS5_9allocatorIS2_EEEE","__ZNK10__cxxabiv116__shim_type_info5noop1Ev","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_","__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__construct_nodeERSA_","__ZNSt3__110__stdinbufIcED1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_","__ZNSt3__16vectorIbNS_9allocatorIbEEE4swapERS3_","__ZNSt3__14listIPbNS_9allocatorIS1_EEED2Ev","__ZNSt3__111__stdoutbufIwE5imbueERKNS_6localeE","___cxx_global_var_init5","__ZN5Avoid21HyperEdgeShiftSegment9highPointEv","__ZN5Avoid18ShapeConnectionPinC1EPNS_8ShapeRefEjdddj","__ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEE18__construct_at_endEj","__ZNSt3__16locale5__imp7installINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_","__ZNKSt3__16locale5__imp9has_facetEl","__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE6__sortINS2_21CmpOrderedConnCostRefEEENS_15__list_iteratorIS5_PvEESD_SD_jRT_","__ZNSt3__18numpunctIcED0Ev","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1ERKS5_","__ZNSt3__112_GLOBAL__N_14makeINS_8messagesIwEEiEERT_T0_","__ZNSt3__121__throw_runtime_errorEPKc","__ZNSt3__17codecvtIDic10_mbstate_tED1Ev","___cxx_global_var_init2","__ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5eraseENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEE","___cxx_global_var_init3","__ZNK5Avoid6Router16objectIdIsUnusedEj","__ZNSt3__120__get_up_to_n_digitsIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi","__ZN5Avoid5Block11addVariableEPNS_8VariableE","__ZNSt3__119__double_or_nothingIjEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_","__ZNSt13runtime_errorD2Ev","__ZN5Avoid7EdgeInf10makeActiveEv","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE10push_frontERKj","__ZNKSt3__15ctypeIwE9do_narrowEPKwS3_cPc","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC1EjjS9_","__ZNSt3__17__sort5IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_S5_T_","__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED1Ev","__ZNKSt3__17collateIcE10do_compareEPKcS3_S3_S3_","__ZNKSt3__17codecvtIDic10_mbstate_tE11do_encodingEv","__ZN5Avoid12CmpLineOrderC2ERNSt3__13mapINS_5PointENS_7PtOrderENS1_4lessIS3_EENS1_9allocatorINS1_4pairIKS3_S4_EEEEEEj","__ZNK5Avoid10ClusterRef2idEv","_internal_realloc","__ZNSt3__17collateIwED1Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm","__ZNK10__cxxabiv117__class_type_info9can_catchEPKNS_16__shim_type_infoERPv","__ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintE","__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_","__ZNSt3__16vectorIiNS_9allocatorIiEEEC2Ej","__ZNSt3__110__list_impIN5Avoid7ConnEndENS_9allocatorIS2_EEED2Ev","__ZN5Avoid18ShapeConnectionPin12setExclusiveEb","__ZNSt3__16vectorIcNS_9allocatorIcEEED2Ev","__ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED1Ev","__ZNK5Avoid7VertInf12hasNeighbourEPS0_b","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_","__ZNSt3__112_GLOBAL__N_14makeINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED1Ev","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueERKS5_","__ZNSt3__113__vector_baseINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED2Ev","__ZN5Avoid17HyperedgeRerouterC2Ev","__ZNSt3__117__widen_from_utf8ILj32EED0Ev","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8__appendEj","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev","__ZN5Avoid6inPolyERKNS_7PolygonERKNS_5PointEb","__ZNKSt3__18numpunctIwE16do_thousands_sepEv","__ZNK5Avoid10PosVertInfltERKS0_","__ZN5Avoid5Timer5StartEv","__ZN5Avoid19NudgingShiftSegment20createSolverVariableEb","__ZN5Avoid9IncSolverD2Ev","__ZN5Avoid18ConnectorCrossingsC2ERNS_7PolygonEbS2_PNS_7ConnRefES4_","__ZNSt3__13setIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED1Ev","__ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED1Ev","__ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEE5clearEv","__ZN5AvoidL16processEventHoriEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev","__ZNK5Avoid7EdgeInf12isOrthogonalEv","__ZNK5Avoid5PointeqERKS0_","__ZNKSt3__110moneypunctIwLb0EE16do_negative_signEv","__ZNSt3__19__num_getIcE17__stage2_int_loopEciPcRS2_RjcRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_S2_","__ZN5AvoidL18cheapEstimatedCostEPNS_7ConnRefE","__ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED1Ev","__ZNSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev","__ZN5Avoid8VariableC2Eiddd","__ZN5Avoid7EdgeInf5addedEv","__ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED1Ev","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6insertENS_11__wrap_iterIPKS3_EERS8_","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSI_SI_","__ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEED2Ev","__ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEE18__construct_at_endEj","__ZN5Avoid17HyperEdgeTreeEdge21removeZeroLengthEdgesEPNS_17HyperEdgeTreeNodeE","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","__ZN5Avoid6VertIDC1Ejtt","__ZNSt3__110__list_impINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEE5clearEv","__ZNSt3__14listIPbNS_9allocatorIS1_EEE9push_backERKS1_","__ZNKSt3__18numpunctIwE16do_decimal_pointEv","_processTransaction","__ZNK5Avoid18ShapeConnectionPin10directionsEv","__ZNSt3__111__stdoutbufIcEC2EP7__sFILE","__ZN5Avoid6Router16generateContainsEPNS_7VertInfE","__ZN5Avoid26PotentialSegmentConstraintC2EjjRKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE","__ZNK10__cxxabiv117__class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib","__ZN5Avoid7EdgeInf11setDisabledEb","__ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_7ConnRefE","__ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED2Ev","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_","__ZN5Avoid27MinimumTerminalSpanningTree7addNodeEPNS_7VertInfEPNS_17HyperEdgeTreeNodeE","__ZNSt3__127__num_get_unsigned_integralIjEET_PKcS3_Rji","__ZNSt3__16localeC2ERKS0_","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE13__lower_boundIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_SK_SK_","__ZN5Avoid7EdgeInf10alertConnsEv","__ZN5Avoid10ActionInfoC1ERKS0_","___cxx_global_var_init1997","__ZNSt3__119__tree_right_rotateIPNS_16__tree_node_baseIPvEEEEvT_","__ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE8__appendEj","__ZN5Avoid15isBoundingShapeC1ERNSt3__13setIjNS1_4lessIjEENS1_9allocatorIjEEEE","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initIPKcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZNSt3__18numpunctIwEC1Ej","__ZN5Avoid14compare_eventsEPKvS1_","__ZNSt3__1L20utf8_to_utf16_lengthEPKhS1_jmNS_12codecvt_modeE","__ZNSt3__113__vector_baseIN5Avoid5ANodeENS_9allocatorIS2_EEED2Ev","__ZNK5Avoid7VertInf15treeRootPointerEv","__ZN5Avoid9IncSolver7satisfyEv","__ZN5AvoidL21pointAlignedWithOneOfERKNS_5PointERKNSt3__16vectorIS0_NS3_9allocatorIS0_EEEEj","__ZNSt3__116__pad_and_outputIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEET0_S5_PKT_S8_S8_RNS_8ios_baseES6_","__ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEE9push_backERKS5_","__ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE","__ZN10__cxxabiv120__si_class_type_infoD1Ev","__ZNSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev","_moveShape","__ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEED1Ev","__ZNSt3__111__stdoutbufIcE5imbueERKNS_6localeE","__ZN5Avoid4Node18firstObstacleAboveEj","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIcEE","__ZN5Avoid17ImproveHyperEdges24mergeOverlappingSegmentsERNSt3__14listIPNS_12ShiftSegmentENS1_9allocatorIS4_EEEE","__ZN5Avoid8Obstacle9firstVertEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEaSERKS8_","__ZNKSt3__17codecvtIwc10_mbstate_tE16do_always_noconvEv","__ZNK5Avoid7EdgeInf9otherVertEPKNS_7VertInfE","__ZN5Avoid7ConnRefC2EPNS_6RouterEj","__ZN5Avoid11JunctionRef11setPositionERKNS_5PointE","__ZN5Avoid5BlockD1Ev","__ZN5Avoid22TopologyAddonInterface25improveOrthogonalTopologyEPNS_6RouterE","__ZNSt13runtime_errorC2ERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE","__ZNSt3__127__num_get_unsigned_integralItEET_PKcS3_Rji","__ZNK5Avoid7ConnEnd18getHyperedgeVertexEPNS_6RouterE","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8__appendEj","__ZNKSt3__15ctypeIwE10do_scan_isEtPKwS3_","__ZNSt3__111__money_putIwE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_Ri","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE10deallocateEv","__ZN5AvoidL3DotERKNS_5PointES2_","__ZNSt3__1lsINS_11char_traitsIcEEEERNS_13basic_ostreamIcT_EES6_PKc","__ZN5Avoid8ShapeRefD2Ev","__ZNSt3__17collateIcED1Ev","__ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEE9push_backERKS4_","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED1Ev","__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d226","__ZN5Avoid11LineSegment16horiCommitFinishEPNS_6RouterEPNS_7VertInfE","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEEC1Ej","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESG_SG_","__ZN5Avoid7ConnRef12generatePathEv","__ZN5Avoid22TopologyAddonInterfaceD0Ev","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","__ZN5Avoid6Router14deleteJunctionEPNS_11JunctionRefE","__ZNK5Avoid19NudgingShiftSegment13nudgeDistanceEv","__ZNSt3__17codecvtIwc10_mbstate_tED0Ev","__ZSt9terminatev","__ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev","__ZNSt3__112_GLOBAL__N_14makeINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_","__ZN5Avoid11LineSegmentC2ERKdS2_S2_bPNS_7VertInfES4_","__ZNKSt3__110moneypunctIwLb1EE16do_decimal_pointEv","__ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED2Ev","__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE18__construct_at_endINS_13move_iteratorIPS6_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESF_SF_","__ZNKSt3__120__time_get_c_storageIcE7__weeksEv","__ZNSt3__110__list_impIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED2Ev","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC2EjjS6_","__ZNSt8bad_castD1Ev","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZN5Avoid9RectangleD2Ev","__ZN5Avoid10ConstraintC2EPNS_8VariableES2_db","__ZN5Avoid7ConnEndC1ERKNS_5PointEj","__ZNSt3__18ios_baseD1Ev","__ZNK5Avoid8EdgePairltERKS0_","__ZN5Avoid6Router20checkAllBlockedEdgesEi","__ZNSt3__110__list_impINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED2Ev","__ZN5AvoidL11vertexSweepEPNS_7VertInfE","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE13__lower_boundIjEENS_15__tree_iteratorIjPNS_11__tree_nodeIjPvEEiEERKT_SB_SB_","__ZNSt3__110__list_impINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE5clearEv","__ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE","__ZNSt3__18ios_base4InitD2Ev","__ZN5Avoid7EdgeInf12makeInactiveEv","__ZNKSt3__15ctypeIwE5do_isEtw","_displayRoute","__ZN10__cxxabiv119__pointer_type_infoD1Ev","__ZTv0_n12_NSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev","__ZNSt3__14listIjNS_9allocatorIjEEE9push_backERKj","__ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_","__ZNSt3__114error_categoryD1Ev","__ZN5Avoid17HyperEdgeTreeNodeD1Ev","__ZNSt3__111__money_putIcE8__formatEPcRS2_S3_jPKcS5_RKNS_5ctypeIcEEbRKNS_10money_base7patternEccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESL_SL_i","__ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEED2Ev","__ZN5Avoid7ConnEndC2EPNS_8ShapeRefEj","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED2Ev","__ZN5Avoid7ConnRef14freeActivePinsEv","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED2Ev","__ZN5Avoid7ConnRef12displayRouteEv","__ZN5Avoid12CmpLineOrderC1ERNSt3__13mapINS_5PointENS_7PtOrderENS1_4lessIS3_EENS1_9allocatorINS1_4pairIKS3_S4_EEEEEEj","__ZNK5Avoid10ActionInfo8obstacleEv","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE8allocateEj","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv","__ZN5Avoid17HyperEdgeTreeNode15spliceEdgesFromEPS0_","__ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED2Ev","__ZN5Avoid12ShiftSegmentD1Ev","__ZNSt3__111__sprintf_lEPcPvPKcz","__ZN5Avoid7PolygonD0Ev","__ZNSt3__19__num_getIwE17__stage2_int_prepERNS_8ios_baseEPwRw","__ZNSt3__112system_error6__initERKNS_10error_codeENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueENS_21__tree_const_iteratorIS2_PKNS_11__tree_nodeIS2_PvEEiEERKS2_","__ZN5Avoid11VertInfList9addVertexEPNS_7VertInfE","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm","__ZNK5Avoid7ConnRef3srcEv","__ZNKSt3__119__iostream_category4nameEv","__ZNSt3__113__vector_baseIN5Avoid10CheckpointENS_9allocatorIS2_EEED2Ev","__ZNKSt3__110moneypunctIwLb1EE11do_groupingEv","__ZN5Avoid8ObstacleD2Ev","__ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIcLb0EEEiEERT_T0_","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekposENS_4fposI10_mbstate_tEEj","__ZNSt3__16locale5__imp7installINS_8numpunctIwEEEEvPT_","__ZNK5Avoid7EdgeInf6pointsEv","__ZNSt3__16vectorIjNS_9allocatorIjEEE18__construct_at_endINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev","__ZNKSt3__15ctypeIcE9do_narrowEcc","__ZN5Avoid5ANodeC2EPNS_7VertInfEi","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__110__list_impINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED2Ev","__ZNK5Avoid18CmpVisEdgeRotationclEPKNS_7EdgeInfES3_","__ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_","__ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC1ERKS9_","_createShapeConnectionPin","__ZNSt3__110__stdinbufIcE9__getcharEb","__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED2Ev","__ZNK5Avoid7VertInf13directionFromEPKS0_","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_","__ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEED1Ev","__ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE","__ZNSt3__112_GLOBAL__N_14makeINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZNKSt3__110moneypunctIcLb1EE16do_negative_signEv","__ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEEC2Ej","__ZN5Avoid6VertIDC2ERKS0_","__ZN5Avoid21segmentIntersectPointERKNS_5PointES2_S2_S2_PdS3_","__ZN5Avoid6Router14processActionsEv","__ZNSt3__112system_errorD0Ev","__ZNSt3__15dequeIjNS_9allocatorIjEEE19__add_back_capacityEv","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE8overflowEi","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9showmanycEv","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7seekposENS_4fposI10_mbstate_tEEj","__ZN5Avoid7ConnRefD1Ev","__ZN5Avoid10ActionInfoD2Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE8allocateEj","__ZNKSt3__110moneypunctIcLb0EE16do_decimal_pointEv","__ZN5Avoid8Obstacle22computeVisibilitySweepEv","__ZNKSt3__18numpunctIcE16do_thousands_sepEv","__ZN5Avoid10CmpIndexesC2EPNS_7ConnRefEj","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEPKwj","__ZN5Avoid5ANodeC1EPNS_7VertInfEi","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC2ERKS4_","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__15ctypeIcED0Ev","__ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE","__ZNSt3__110__list_impINS_4pairIjjEENS_9allocatorIS2_EEED2Ev","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev","__ZN5AvoidL15orthogTurnOrderERKNS_5PointES2_S2_","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED2Ev","__ZNSt3__113__vector_baseINS_6vectorIbNS_9allocatorIbEEEENS2_IS4_EEED2Ev","__ZNSt3__16locale5__imp7installINS_9money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_","__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE10push_frontERKS3_","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev","__ZNKSt3__110moneypunctIwLb0EE16do_positive_signEv","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EEPS2_","__ZNSt3__110__list_impINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED2Ev","__ZNSt8bad_castC1Ev","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE4syncEv","__ZN5Avoid7VertInf19makeTreeRootPointerEPS0_","__ZNSt3__111__stdoutbufIcE4syncEv","__ZNKSt3__17codecvtIwc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_","__ZNK5Avoid18ShapeConnectionPinltERKS0_","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__116__push_heap_backIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE","__ZNK5Avoid7EdgeInf8mtstDistEv","__ZN5Avoid22UnsatisfiableExceptionC2Ev","__ZN5Avoid21HyperEdgeShiftSegment8lowPointEv","__ZNSt3__110__list_impINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE5clearEv","__ZNKSt3__17collateIwE12do_transformEPKwS3_","__ZN5Avoid19NudgingShiftSegmentD2Ev","__ZNK5Avoid26PotentialSegmentConstraintltES0_","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED2Ev","__ZN5Avoid11VertInfListC2Ev","__ZNSt3__110__list_impIPN5Avoid10ClusterRefENS_9allocatorIS3_EEE5clearEv","__ZNSt3__114__shared_count12__add_sharedEv","__ZNSt3__113__vector_baseINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE15__insert_uniqueENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEERKS5_","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEEC1EjjS6_","__ZNKSt3__120__time_get_c_storageIcE3__rEv","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRm","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEEC2Ev","__ZNSt3__110__list_impIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev","__ZN5Avoid27MinimumTerminalSpanningTreeD2Ev","__ZNSt3__16locale5__imp7installINS_7collateIwEEEEvPT_","__ZNK10__cxxabiv117__class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initEjw","__ZNSt9bad_allocC2Ev","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEce","__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED2Ev","__ZNKSt3__18messagesIwE8do_closeEi","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED1Ev","__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC1EjjS4_","__ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED2Ev","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRd","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZNSt3__16localeD1Ev","__ZNSt3__110__list_impIN5Avoid8EdgePairENS_9allocatorIS2_EEE5clearEv","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","__ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_7PolygonE","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRy","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRx","__ZN5Avoid8Obstacle27updatePinPolyLineVisibilityEv","__ZN5Avoid27MinimumTerminalSpanningTree17resetDistsForPathEPNS_7VertInfEPS2_","__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE10push_frontERKS1_","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC2ERKS2_","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRt","__ZN5Avoid17ImproveHyperEdges21removeZeroLengthEdgesEv","__ZN5Avoid10PosVertInfC1EdPNS_7VertInfEj","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRl","__ZNSt3__14pairIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEEED2Ev","__ZN5AvoidL12sweepVisibleERNSt3__14listINS_8EdgePairENS0_9allocatorIS2_EEEERKNS_9PointPairERNS0_3setIjNS0_4lessIjEENS3_IjEEEEPi","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRb","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRe","__ZN5Avoid11VertInfList13getVertexByIDERKNS_6VertIDE","__ZNK5Avoid10Constraint5slackEv","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRf","__ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEE10push_frontERKS1_","__ZN5AvoidL8linesortEbNSt3__14listIPNS_12ShiftSegmentENS0_9allocatorIS3_EEEERNS_12CmpLineOrderE","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC2Ej","__ZNK5Avoid19NudgingShiftSegment5orderEv","__ZNKSt3__114error_category10equivalentERKNS_10error_codeEi","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZN5Avoid7PtOrderC1Ev","__ZNSt3__112__asprintf_lEPPcPvPKcz","__ZNK5Avoid7Polygon8simplifyEv","__ZNKSt3__114error_category10equivalentEiRKNS_15error_conditionE","__ZNKSt3__16locale9use_facetERNS0_2idE","__ZN5Avoid18SegmentListWrapperC1Ev","__ZN5Avoid18ShapeConnectionPin16updateVisibilityEv","__ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE18__construct_at_endEj","__ZNSt3__18ios_base4InitC2Ev","__ZN5Avoid8Obstacle10setNewPolyERKNS_7PolygonE","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESG_SG_","__ZN5Avoid27MinimumTerminalSpanningTree22rewriteRestOfHyperedgeEPNS_7VertInfEPS2_","__ZNKSt3__17collateIcE12do_transformEPKcS3_","__ZN5Avoid17HyperEdgeTreeEdge26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE","__ZN5Avoid8EdgeListC1Eb","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","__ZNSt3__16vectorINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endEj","__ZTv0_n12_NSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEESF_RKT_","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_","__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEE16__construct_nodeERSB_","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc","__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPKNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SE_SD_SD_RKT1_Rjb","__ZNKSt3__110moneypunctIcLb0EE14do_curr_symbolEv","__ZN12_GLOBAL__N_114__libcpp_nmstrC1EPKc","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_","__ZNSt3__115__num_get_floatIfEET_PKcS3_Rj","__ZNSt3__110__list_impINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_","__ZN5Avoid17HyperedgeRerouter16performReroutingEv","__ZN5Avoid13euclideanDistERKNS_5PointES2_","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13do_date_orderEv","__ZNSt3__16locale5__imp7installINS_7codecvtIwc10_mbstate_tEEEEvPT_","__ZN5Avoid4NodeC1EPNS_12ShiftSegmentEd","__ZN5Avoid8ObstacleC2EPNS_6RouterENS_7PolygonEj","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_yearES4_S4_RNS_8ios_baseERjP2tm","__ZN5Avoid11JunctionRefD1Ev","__ZNSt3__18messagesIcED1Ev","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__construct_nodeERKj","__ZNK5Avoid17HyperedgeRerouter5countEv","__ZNKSt3__18messagesIcE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE12__move_rangeEPS3_S7_S7_","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE7seekoffExNS_8ios_base7seekdirEj","__ZN5Avoid7EdgeInf7getDistEv","__ZNSt3__17__sort3IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_T_","__ZNSt3__16locale5__imp7installINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEjc","__ZNK5Avoid8ShapeRef7polygonEv","__ZN5Avoid5EventC2ENS_9EventTypeEPNS_4NodeEd","__ZN5Avoid22TopologyAddonInterfaceC2Ev","__ZNKSt3__120__time_get_c_storageIwE3__XEv","__ZN5Avoid10CmpIndexesclEjj","__ZN5Avoid6Router18processTransactionEv","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_","__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED2Ev","__ZNSt3__17codecvtIcc10_mbstate_tED1Ev","__ZNKSt3__17codecvtIDic10_mbstate_tE5do_inERS1_PKcS5_RS5_PDiS7_RS7_","__ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD2Ev","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEEC2ERKS4_","__ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE10deallocateEv","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_","__ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__15ctypeIcE21__classic_lower_tableEv","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRy","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRx","__ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS9_EE","__ZN5Avoid7ConnRef15makePathInvalidEv","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRt","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRm","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRl","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC2ERKS7_","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRe","__ZN5Avoid27MinimumTerminalSpanningTree24buildHyperEdgeTreeToRootEPNS_7VertInfEPNS_17HyperEdgeTreeNodeES2_b","__ZNSt3__113__vector_baseIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRf","__ZNSt3__18ios_base4initEPv","__ZNSt3__14pairIN5Avoid5PointENS1_7PtOrderEED1Ev","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRb","__Znaj","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__113__vector_baseIN5Avoid7PolygonENS_9allocatorIS2_EEED2Ev","__ZNK10__cxxabiv122__base_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE8allocateEj","__ZN5AvoidL17intersectSegmentsEPNS_6RouterERNSt3__14listINS_11LineSegmentENS2_9allocatorIS4_EEEERS4_","__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED2Ev","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE6assignIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZNSt3__110__list_impIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5clearEv","__ZNSt3__15ctypeIcE13classic_tableEv","__ZNSt3__1L10init_am_pmEv","__ZN5Avoid7PtOrder11positionForEjPKNS_7ConnRefE","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_","__ZN5Avoid9IncSolver5solveEv","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE8overflowEi","__ZN5Avoid18ShapeConnectionPinC1EPNS_11JunctionRefEjj","__ZNSt3__113__vector_baseIjNS_9allocatorIjEEED2Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZN5Avoid17HyperEdgeTreeNode21removeZeroLengthEdgesEPNS_17HyperEdgeTreeEdgeE","__ZNK5Avoid16PolygonInterface13offsetPolygonEd","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6__initIPKwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZNKSt3__15ctypeIwE11do_scan_notEtPKwS3_","__ZNK5Avoid10ActionInfoltERKS0_","__ZNK5Avoid8ShapeRef10outputCodeEP7__sFILE","__ZN5Avoid7ConnEndC2EPNS_11JunctionRefE","__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC2EjjS8_","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strERKNS_12basic_stringIcS2_S4_EE","__ZN5Avoid17ImproveHyperEdges7executeEv","__ZNSt3__13setIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev","__ZN5Avoid11LineSegment22insertBreakpointsBeginEPNS_6RouterERS0_","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj","__ZNSt3__113__vector_baseINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED2Ev","__ZN5Avoid21HyperEdgeShiftSegment15setBalanceCountEv","__ZN5Avoid23ConnRerouteFlagDelegate10alertConnsEv","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9__grow_byEjjjjjj","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED2Ev","__ZNSt3__119__double_or_nothingIwEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_","__ZNSt3__15ctypeIcED2Ev","__ZN5Avoid9inBetweenERKNS_5PointES2_S2_","__ZNSt3__116__narrow_to_utf8ILj32EED1Ev","__ZN5Avoid17ImproveHyperEdgesD2Ev","__ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjbbjdd","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev","__ZNSt3__112_GLOBAL__N_14makeINS_8time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_","__ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEED2Ev","__ZNKSt3__15ctypeIcE10do_tolowerEc","__ZN5Avoid8Obstacle8lastVertEv","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIcEE","_release_unused_segments","__ZN5Avoid18CmpVisEdgeRotationC2EPKNS_7VertInfE","__ZN5Avoid7PtOrderD1Ev","__ZNSt3__112_GLOBAL__N_14makeINS_5ctypeIwEEiEERT_T0_","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","__ZNSt3__119__double_or_nothingIcEEvRNS_10unique_ptrIT_PFvPvEEERPS2_S9_","__ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv","__ZNK5Avoid21HyperEdgeShiftSegment9immovableEv","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZNK5Avoid7ConnEnd10directionsEv","__ZNKSt3__15ctypeIcE10do_tolowerEPcPKc","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE5eraseENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEE","__ZNSt3__13setIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZN5Avoid7ConnRef12setEndpointsERKNS_7ConnEndES3_","_sys_alloc","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED2Ev","__ZNKSt3__17collateIcE7do_hashEPKcS3_","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEEC1ERKS6_","__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED2Ev","__ZN5Avoid21HyperEdgeShiftSegmentD2Ev","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC2ERKS6_","__ZN5Avoid18SegmentListWrapperD2Ev","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED1Ev","__ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwRKNS_12basic_stringIwS3_NS_9allocatorIwEEEE","__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d598","__ZN5Avoid8EdgeListD2Ev","__ZNKSt3__15ctypeIcE10do_toupperEPcPKc","__ZNK5Avoid11LineSegment12beginVertInfEv","__ZNSt3__16locale5__imp7installEPNS0_5facetEl","__ZNSt3__111__stdoutbufIcEC1EP7__sFILE","__ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED2Ev","__ZNK5Avoid7Polygon19checkpointOnSegmentEj","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9push_backERKS3_","__ZNSt3__18ios_base7failureD2Ev","__ZN5Avoid8ShapeRef17moveAttachedConnsERKNS_7PolygonE","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_","__ZNSt3__117iostream_categoryEv","__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d","__ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_","__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEEC1EjjS8_","__ZN5Avoid5PointixEj","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6resizeEj","__ZN5Avoid11JunctionRefC2EPNS_6RouterENS_5PointEj","__ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev","__ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev","__ZNSt3__16locale5__impC2Ej","__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE10push_frontERKS3_","__ZNSt3__16locale2id5__getEv","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZNKSt3__110moneypunctIwLb0EE16do_thousands_sepEv","__ZNSt3__110__stdinbufIcE9underflowEv","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC2EjjS6_","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEEC1ERKS6_","__ZN5Avoid27MinimumTerminalSpanningTree23popInvalidBridgingEdgesEv","__ZNK10__cxxabiv117__class_type_info29process_static_type_below_dstEPNS_19__dynamic_cast_infoEPKvi","__ZNSt3__114__num_put_base18__identify_paddingEPcS1_RKNS_8ios_baseE","__ZNK5Avoid7Polygon2atEj","__ZN5Avoid18SegmentListWrapper6insertENS_11LineSegmentE","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC2EjjSB_","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE9pop_frontEv","__ZNKSt3__18numpunctIwE11do_groupingEv","__ZN5Avoid17HyperEdgeTreeNode17deleteEdgesExceptEPNS_17HyperEdgeTreeEdgeE","__ZNSt3__113__vector_baseIiNS_9allocatorIiEEED2Ev","__ZNK5Avoid21CmpOrderedConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_","__ZNK5Avoid27MinimumTerminalSpanningTree12rootJunctionEv","__ZN5Avoid27MinimumTerminalSpanningTree20constructInterleavedEv","__ZN5Avoid23ConnRerouteFlagDelegateC1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","__ZNSt3__110__stdinbufIcED0Ev","__ZN5Avoid7ConnRef9set_routeERKNS_7PolygonE","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE9pbackfailEj","__ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev","__ZNK5Avoid7VertInf15pathLeadsBackToEPKS0_","__ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_","__ZNK5Avoid8Obstacle7polygonEv","__ZN5Avoid18SegmentListWrapper4listEv","__ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEED2Ev","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_","__ZNSt3__17codecvtIwc10_mbstate_tED1Ev","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endEj","__ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE6resizeEj","__ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSJ_SJ_","__ZNK5Avoid22TopologyAddonInterface5cloneEv","__ZNSt3__115__num_get_floatIeEET_PKcS3_Rj","__ZNSt13runtime_errorC1EPKc","__ZNSt3__19__num_putIwE21__widen_and_group_intEPcS2_S2_PwRS3_S4_RKNS_6localeE","__ZN5Avoid7ConnEnd6usePinEPNS_18ShapeConnectionPinE","__ZN5Avoid8ObstacleD0Ev","__ZNSt3__112__deque_baseIjNS_9allocatorIjEEED2Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC2ERKS4_","__ZN5Avoid22TopologyAddonInterfaceC1ERKS0_","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE5clearEv","__ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEE8allocateEj","__ZN5Avoid13manhattanDistERKNS_5PointES2_","__ZNSt3__19__num_getIwE19__stage2_float_loopEwRbRcPcRS4_wwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjPw","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw","__ZNKSt3__18numpunctIcE11do_groupingEv","__ZN10__cxxabiv119__pointer_type_infoD0Ev","__ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS7_RS8_EE","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE10deallocateEv","__ZNK5Avoid10CmpVertInfclEPKNS_7VertInfES3_","__ZN5Avoid21HyperEdgeShiftSegmentC1EPNS_17HyperEdgeTreeNodeES2_jb","__ZNSt3__17codecvtIwc10_mbstate_tEC1Ej","__ZNKSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPK2tmcc","__ZNK5Avoid5PointltERKS0_","__ZNSt3__111__tree_leafIPNS_16__tree_node_baseIPvEEEET_S5_","__ZNSt3__119__iostream_categoryD1Ev","__ZNKSt3__120__time_get_c_storageIwE7__am_pmEv","__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSA_","__ZNKSt3__18messagesIcE8do_closeEi","__ZN5Avoid7Polygon9translateEdd","__ZNSt3__16vectorIjNS_9allocatorIjEEED1Ev","__ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED2Ev","__ZN5Avoid7PolygonD1Ev","__ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED1Ev","__ZN5Avoid6Router14markConnectorsEPNS_8ObstacleE","__ZN5Avoid12ShiftSegmentD0Ev","__ZNSt3__110__list_impIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5clearEv","__ZNK5Avoid8Variable8positionEv","__ZNSt3__14pairIjN5Avoid7ConnEndEED1Ev","__ZNSt3__16locale7classicEv","__ZN5Avoid9RectangleC1ERKNS_5PointES3_","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryC1ERS3_","__ZNKSt3__110moneypunctIwLb0EE14do_curr_symbolEv","__ZN5Avoid13delete_vertexclEPNS_7VertInfE","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZNK5Avoid14CmpConnCostRefclERKNSt3__14pairIdPNS_7ConnRefEEES7_","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED2Ev","__ZNSt3__110__stdinbufIcE5imbueERKNS_6localeE","__ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED2Ev","_mmap_resize","__ZNSt3__18numpunctIwED2Ev","__ZN5AvoidL16processEventVertEPNS_6RouterERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS2_9allocatorIS5_EEEERNS_18SegmentListWrapperEPNS_5EventEj","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE14do_get_weekdayES4_S4_RNS_8ios_baseERjP2tm","__ZNK5Avoid8Obstacle10routingBoxEv","__ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5clearEv","__ZNKSt13runtime_error4whatEv","__ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE8__appendEj","__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED1Ev","__ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE5clearEv","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED1Ev","__ZN5Avoid27MinimumTerminalSpanningTree28getOrthogonalEdgesFromVertexEPNS_7VertInfES2_","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_","__ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev","__ZN5Avoid4NodeC1EPNS_8ObstacleEd","__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC2EjjSA_","__ZNSt3__19__num_getIwE19__stage2_float_prepERNS_8ios_baseEPwRwS5_","__ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEEC2ERKS5_","__ZNK12_GLOBAL__N_114__libcpp_nmstr5c_strEv","__ZN5Avoid10cornerSideERKNS_5PointES2_S2_S2_","__ZN5Avoid7PolygonC1ERKNS_16PolygonInterfaceE","__ZNK5Avoid10ActionInfo5shapeEv","__ZNSt3__110__list_impIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE5clearEv","_tmalloc_small","__ZNSt3__1L11init_wweeksEv","__ZNK5Avoid7ConnRef15endpointAnchorsEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEESE_","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_15__list_iteratorIS3_PvEEEESA_NS_21__list_const_iteratorIS3_S9_EET_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE","__ZN5Avoid8Obstacle19addFollowingConnEndEPNS_7ConnEndE","__ZNSt3__17collateIwED0Ev","__ZNKSt3__110moneypunctIcLb0EE16do_positive_signEv","__ZNKSt3__17codecvtIDsc10_mbstate_tE9do_lengthERS1_PKcS5_j","__ZNKSt3__17codecvtIwc10_mbstate_tE13do_max_lengthEv","__ZNSt11logic_errorD2Ev","__ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeEdgeEjPNS_17HyperEdgeTreeNodeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE","__ZNSt3__111__stdoutbufIwEC2EP7__sFILE","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC2ERKSB_","__ZN5Avoid5Block10split_pathEPNS_8VariableES2_S2_RPNS_10ConstraintEb","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEESB_RKT_","__ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED1Ev","__ZN5Avoid19NudgingShiftSegmentC1EPNS_7ConnRefEjjj","__ZNSt3__111__stdoutbufIcED2Ev","__ZNK5Avoid6Router13routingOptionENS_13RoutingOptionE","__ZNSt3__16locale8__globalEv","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE10push_frontERKS2_","__ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_","__ZN5Avoid7ConnRef21common_updateEndPointEjNS_7ConnEndE","__ZdlPv","__ZN5Avoid7ConnRefC1EPNS_6RouterEj","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE8allocateEj","__ZNSt3__18numpunctIcED2Ev","__ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED1Ev","__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEE10push_frontERKS6_","__ZNK10__cxxabiv120__si_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi","__ZNKSt3__110moneypunctIwLb1EE14do_frac_digitsEv","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endEj","__ZNKSt3__110moneypunctIwLb1EE16do_negative_signEv","__ZNK10__cxxabiv121__vmi_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi","__ZTv0_n12_NSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev","__ZNK5Avoid7ConnEnd8positionEv","__ZN5Avoid6BlocksC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev","__ZNKSt3__120__time_get_c_storageIcE3__XEv","__ZNK5Avoid5PointneERKS0_","__ZNKSt3__15ctypeIwE9do_narrowEwc","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endEj","_realloc","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS7_","__ZN5Avoid23ConnRerouteFlagDelegateD2Ev","__ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZNSt3__110__time_putD2Ev","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE18__construct_at_endEj","__ZNKSt3__110moneypunctIcLb1EE14do_frac_digitsEv","__ZNSt12length_errorD2Ev","__ZNSt3__110moneypunctIwLb0EED1Ev","__ZNK5Avoid19NudgingShiftSegment6zigzagEv","__ZNSt3__110__list_impIPN5Avoid8ObstacleENS_9allocatorIS3_EEE5clearEv","__ZNSt3__118__insertion_sort_3IRN5Avoid10CmpIndexesEPjEEvT0_S5_T_","__ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEED2Ev","__ZNK5Avoid7ConnRef11routingTypeEv","__ZNK5Avoid11LineSegment13finishVertInfEv","__ZN5Avoid17validateBendPointEPNS_7VertInfES1_S1_","_disconnect","__ZNKSt3__17codecvtIcc10_mbstate_tE5do_inERS1_PKcS5_RS5_PcS7_RS7_","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd","__ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev","__ZN5Avoid16PolygonInterfaceD1Ev","__ZNSt3__110__stdinbufIwED2Ev","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEEC1ERKS4_","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZNSt11logic_errorC2EPKc","__ZNKSt3__110moneypunctIcLb1EE16do_thousands_sepEv","__ZNSt3__110moneypunctIcLb1EED0Ev","__ZN5Avoid13delete_objectclINS_10ConstraintEEEvPT_","__ZN5Avoid5Timer8RegisterENS_10TimerIndexEb","__ZNK5Avoid19NudgingShiftSegment5highCEv","__ZN5Avoid6Router9moveShapeEPNS_8ShapeRefERKNS_7PolygonEb","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED0Ev","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE21__grow_by_and_replaceEjjjjjjPKw","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE12__find_equalIjEERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjS8_EEiEESB_RKT_","__ZNK5Avoid7ConnRef20possibleDstPinPointsEv","__ZNK5Avoid6VertID16isDummyPinHelperEv","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE","__ZNSt3__19__num_getIcE19__stage2_float_loopEcRbRcPcRS4_ccRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSE_RjS4_","__ZN5Avoid7EdgeInf10addBlockerEi","__ZN5Avoid3BoxC2Ev","_createShape","__ZN5Avoid8EdgeList10removeEdgeEPNS_7EdgeInfE","__ZN5Avoid7ConnRef15performCallbackEv","__ZN5Avoid13CmpNodesInDimC1Ej","__ZNSt3__16locale5__imp7installINS_7num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_","__ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EEPj","__ZN5Avoid27MinimumTerminalSpanningTree10drawForestEPNS_7VertInfES2_","__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED2Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED2Ev","__ZN5Avoid6RouterD2Ev","__ZN5Avoid17HyperedgeRerouterD1Ev","__ZN5AvoidL17processShiftEventERNSt3__13setIPNS_4NodeENS_10CmpNodePosENS0_9allocatorIS3_EEEEPNS_5EventEjj","__ZNSt9bad_allocD1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZNK10__cxxabiv117__class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi","__ZNK5Avoid7ConnRef27getConnEndForEndpointVertexEPNS_7VertInfERNS_7ConnEndE","__ZN10__cxxabiv120__si_class_type_infoD0Ev","__ZNSt3__112_GLOBAL__N_111__fake_bindC1EMNS_6locale2idEFvvEPS3_","__ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESE_RKT_","__ZNSt3__1L10init_weeksEv","__ZN5Avoid6BlocksD1Ev","__ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefERKNS_7PolygonEb","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_","__ZN5Avoid11LineSegment15horiCommitBeginEPNS_6RouterEPNS_7VertInfE","__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjbbjdd","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE19__node_insert_multiEPNS_11__tree_nodeIS3_PvEE","__ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED2Ev","__ZN5Avoid6VertIDC2Ejtt","__ZN5Avoid17ImproveHyperEdges29moveJunctionsAlongCommonEdgesEv","__ZN5Avoid5Block9findMinLMEv","__ZNK5Avoid7EdgeInf16rotationLessThanEPKNS_7VertInfEPKS0_","__ZNK5Avoid5Point6equalsERKS0_d","__ZN5Avoid11LineSegment27setLongRangeVisibilityFlagsEj","__ZN5Avoid11LineSegmentD2Ev","__ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj","__ZN5Avoid7PtOrder11insertPointEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEE","__ZNSt3__18ios_base7failureC2EPKcRKNS_10error_codeE","__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev","__ZNSt3__16vectorINS0_IN5Avoid5PointENS_9allocatorIS2_EEEENS3_IS5_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS5_RS6_EE","__ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEE8__appendEj","__ZN5Avoid6VertIDC1ERKS0_","__ZNSt3__114error_categoryC2Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE21__grow_by_and_replaceEjjjjjjPKc","__ZN5Avoid11JunctionRefD0Ev","__ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6setbufEPwi","__ZNSt3__14listIPbNS_9allocatorIS1_EEED1Ev","__ZN5Avoid10ActionInfoC2ERKS0_","__ZNSt3__14listIjNS_9allocatorIjEEED2Ev","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED2Ev","__ZNSt3__110__list_impIN5Avoid8EdgePairENS_9allocatorIS2_EEED2Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZNSt3__110__list_impIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev","__ZNSt3__110__list_impIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev","__ZNKSt3__15ctypeIwE5do_isEPKwS3_Pt","__ZNSt3__16locale5__impD0Ev","__ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_8ShapeRefE","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED2Ev","___cxx_global_array_dtor108","__ZNKSt3__110moneypunctIcLb0EE14do_frac_digitsEv","__ZN5Avoid6Router26performSlowRoutingCallBackEd","__ZN5Avoid7EdgeInf8checkVisEv","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC1EjjS3_","__ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_","__ZNSt3__16locale5__imp7installINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_","__ZNSt3__18time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev","__ZN5Avoid8VariableC1Eiddd","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRd","__ZNSt3__117__call_once_proxyINS_12_GLOBAL__N_111__fake_bindEEEvPv","__ZNSt8bad_castD0Ev","__ZNSt3__19__num_getIwE17__stage2_int_loopEwiPcRS2_RjwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjRSD_Pw","__ZNSt3__18ios_base7failureC1EPKcRKNS_10error_codeE","__ZNSt3__112_GLOBAL__N_14makeINS_9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_","__ZSt17__throw_bad_allocv","__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE6resizeEj","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_weekdayERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE10push_frontERKS3_","__ZNSt3__16vectorIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED1Ev","__ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_18ShapeConnectionPinE","__ZNSt3__15dequeIjNS_9allocatorIjEEED1Ev","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEEC2ERKS7_","__ZNSt3__16locale5__imp7installINS_7codecvtIcc10_mbstate_tEEEEvPT_","__ZNSt3__17collateIcED0Ev","__ZN5Avoid7EdgeInf9isBetweenEPNS_7VertInfES2_","__ZN10__cxxabiv117__class_type_infoD1Ev","__ZNSt3__116__check_groupingERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEPjS8_Rj","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED2Ev","__ZNSt3__113__vector_baseIcNS_9allocatorIcEEED2Ev","__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC1EjjS6_","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS6_","__ZN5Avoid9RectangleD0Ev","__ZNSt3__110__stdinbufIwE5uflowEv","__ZNKSt3__18numpunctIcE11do_truenameEv","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKwSC_","__ZN5Avoid26PotentialSegmentConstraintC1EjjRKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE","__ZNKSt3__110moneypunctIcLb1EE13do_pos_formatEv","__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC1INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE","__ZNSt3__1L13utf8_to_utf16EPKhS1_RS1_PtS3_RS3_mNS_12codecvt_modeE","__ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED2Ev","__ZNSt3__112_GLOBAL__N_14makeINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS4_","__ZN5Avoid27MinimumTerminalSpanningTreeC2EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE","__ZNKSt3__110error_code7messageEv","__ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED1Ev","__ZN5Avoid7PtOrder16addOrderedPointsEjRKNSt3__14pairIPNS_5PointEPNS_7ConnRefEEES9_b","__ZNSt3__110__list_impIPN5Avoid8ObstacleENS_9allocatorIS3_EEED2Ev","_add_segment","__ZN5Avoid7ConnEnd7connectEPNS_7ConnRefE","__ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED2Ev","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_13move_iteratorIPjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZN5Avoid21HyperEdgeShiftSegmentD0Ev","__ZTv0_n12_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev","__ZNK5Avoid6VertID15isConnectionPinEv","__ZN5AvoidL24simplifyOrthogonalRoutesEPNS_6RouterE","__ZNK5Avoid12CmpLineOrderclEPKNS_12ShiftSegmentES3_Pb","__ZNKSt3__18ios_base6getlocEv","__ZN5Avoid11LineSegment17addEdgeHorizontalEPNS_6RouterE","__ZN5Avoid10CmpIndexesC1EPNS_7ConnRefEj","__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE18__construct_at_endINS_13move_iteratorIPS7_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESH_SH_","__ZNSt3__16vectorIjNS_9allocatorIjEEE6insertINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueENS5_IPjEEE4typeES8_SA_SA_","__ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEE18__construct_at_endINS_15__list_iteratorIS3_PvEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_","__ZNSt3__119__iostream_categoryC2Ev","__ZN5Avoid21HyperEdgeShiftSegment14adjustPositionEv","__ZN5Avoid6Router8assignIdEj","__ZNSt3__116__push_heap_backIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE","__ZN5Avoid10ClusterRef7polygonEv","__ZNSt3__112__do_messageC2Ev","__ZN5AvoidL23getPosVertInfDirectionsEPNS_7VertInfEj","__ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD1Ev","__ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEED2Ev","__ZNSt3__1L13utf16_to_utf8EPKtS1_RS1_PhS3_RS3_mNS_12codecvt_modeE","__ZNSt3__18ios_base7failureD0Ev","__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEED2Ev","__ZN5Avoid16PolygonInterfaceC2ERKS0_","__ZNSt3__110__stdinbufIcED2Ev","__ZN5AvoidltERKNS_5ANodeES2_","__ZN5Avoid7VertInf8orphanedEv","__ZNSt3__15ctypeIcE21__classic_upper_tableEv","__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZNK5Avoid19NudgingShiftSegment9highPointEv","__ZNSt3__16vectorIcNS_9allocatorIcEEEC1ERKS3_","__ZNSt3__18ios_base5clearEj","__ZN5AvoidL10pathLengthEPPNS_5PointES2_j","__ZNKSt3__15ctypeIwE10do_toupperEPwPKw","__ZTv0_n12_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev","__ZNSt3__16vectorIcNS_9allocatorIcEEE10deallocateEv","__ZN5Avoid17ImproveHyperEdges37writeHyperEdgeSegmentsBackToConnPathsEv","__ZN5Avoid6Router11addJunctionEPNS_11JunctionRefE","__ZNKSt3__17codecvtIcc10_mbstate_tE13do_max_lengthEv","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_","__ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_7ConnRefE","__ZN5AvoidL16insideRectBoundsERKNS_5PointERKNSt3__14pairIS0_S0_EE","__ZN5Avoid4NodeD0Ev","__ZN5Avoid7ConnRef23generateCheckpointsPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE","__ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEEC2ERKS7_","__ZN5Avoid8Obstacle16addConnectionPinEPNS_18ShapeConnectionPinE","__ZN5Avoid18ShapeConnectionPinC2EPNS_11JunctionRefEjj","__ZNSt3__112system_errorD2Ev","__ZN5Avoid7EdgeInfD2Ev","__ZN5Avoid8EdgePair12setCurrAngleERKNS_9PointPairE","__ZNKSt3__110moneypunctIwLb0EE11do_groupingEv","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_13move_iteratorIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_","__ZNK5Avoid17HyperEdgeTreeEdge10zeroLengthEv","__ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev","__ZNSt3__16vectorIiNS_9allocatorIiEEED2Ev","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_","__ZNSt3__16locale5__impD1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS4_","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED2Ev","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE12__find_equalIS5_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_SC_EEiEESF_RKT_","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9pbackfailEi","__ZN5Avoid7VertInf15removeFromGraphEb","__ZNKSt3__17codecvtIcc10_mbstate_tE11do_encodingEv","__ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED1Ev","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS4_RS6_EE","__ZN5AvoidL4costEPNS_7ConnRefEdPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi","__ZNKSt3__110moneypunctIcLb0EE13do_neg_formatEv","__ZN5Avoid12ShiftSegmentC2Ej","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_","__ZNSt3__18numpunctIcEC2Ej","__ZNKSt3__110moneypunctIwLb1EE14do_curr_symbolEv","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC2ERKS5_","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE9push_backERKS2_","__ZNSt3__14pairIN5Avoid7ConnEndES2_ED2Ev","__ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED2Ev","__ZNSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev","__ZNSt3__14pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEED1Ev","__ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED1Ev","__ZNSt3__111__make_heapIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_","__ZN5Avoid10ActionInfoC1ENS_10ActionTypeEPNS_11JunctionRefE","__ZNSt3__14listIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED2Ev","__ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev","__ZNSt3__110__list_impIjNS_9allocatorIjEEE5clearEv","___cxx_global_var_init270","__ZN5Avoid21HyperEdgeShiftSegmentC2EPNS_17HyperEdgeTreeNodeES2_jb","__ZNSt3__14listINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev","__ZNSt3__112__snprintf_lEPcjPvPKcz","__ZNSt3__114__num_get_base10__get_baseERNS_8ios_baseE","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED1Ev","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE","__ZN5Avoid4NodeC1EPNS_7VertInfEd","__ZNSt3__18ios_baseD2Ev","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev","__ZNSt3__16vectorIbNS_9allocatorIbEEE8allocateEj","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSL_SL_","__ZN5Avoid6Blocks6insertEPNS_5BlockE","__ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC2EjjS9_","__ZN5Avoid6Router15deleteConnectorEPNS_7ConnRefE","__ZNSt3__16vectorIcNS_9allocatorIcEEE18__construct_at_endIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_","__ZNSt3__112_GLOBAL__N_19decrementIlEET_RS2_","__ZNSt3__110moneypunctIwLb1EED1Ev","__ZN12_GLOBAL__N_114__libcpp_nmstrD1Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE5eraseENS_21__list_const_iteratorISA_PvEE","__ZN5Avoid6Router15modifyConnectorEPNS_7ConnRefEjRKNS_7ConnEndEb","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endEj","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSC_SC_","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc","__ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev","__ZNSt3__110__list_impIPPN5Avoid7VertInfENS_9allocatorIS4_EEED2Ev","__ZNK5Avoid6Router16routingParameterENS_16RoutingParameterE","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_year4ERiRS4_S4_RjRKNS_5ctypeIcEE","__ZN5Avoid8ObstacleD1Ev","__ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED2Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcj","__ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEEC2Ej","__ZNSt3__110__list_impINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE5clearEv","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_","__ZN5Avoid5Block12splitBetweenEPNS_8VariableES2_RPS0_S4_","__ZN5Avoid23ConnRerouteFlagDelegateD1Ev","__ZNKSt3__110moneypunctIcLb1EE16do_positive_signEv","__ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev","__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev","__ZNSt3__15ctypeIcEC2EPKtbj","__ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED1Ev","__ZN5Avoid7VertInfD1Ev","__ZN5Avoid7PolygonaSERKS0_","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS7_","_init_bins","__ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEce","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE10push_frontERKS3_","__ZNSt3__110__list_impIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE5clearEv","__ZNSt3__16locale5__imp7installINS_8numpunctIcEEEEvPT_","___cxx_global_array_dtor","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED2Ev","__ZN5Avoid7PolygonC2Ev","__ZN5Avoid7PolygonC2Ei","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEEC1ERKS7_","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertENS_11__wrap_iterIPKS2_EERS7_","__ZNSt3__111__stdoutbufIwED1Ev","__ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIDic10_mbstate_tEEiEERT_T0_","__ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE9push_backERKS3_","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSA_","__ZNK5Avoid21HyperEdgeShiftSegment12balanceCountEv","__ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE18__construct_at_endEj","_init_mparams","__ZNSt3__17codecvtIcc10_mbstate_tED0Ev","__ZNSt3__1L12ucs4_to_utf8EPKjS1_RS1_PhS3_RS3_mNS_12codecvt_modeE","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESC_SC_","__ZNSt3__1L12utf8_to_ucs4EPKhS1_RS1_PjS3_RS3_mNS_12codecvt_modeE","__ZN5Avoid5BlockD2Ev","__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC2EjjS6_","__ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9pop_frontEv","__ZN5Avoid18ShapeConnectionPinD2Ev","__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEEC1EjjS6_","__ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_11JunctionRefE","__ZNSt3__16localeC1ERKS0_","__ZN5Avoid7ConnRefD2Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev","__ZNK5Avoid5Block14canFollowRightEPKNS_10ConstraintEPKNS_8VariableE","__ZNSt3__110__list_impIPN5Avoid7VertInfENS_9allocatorIS3_EEE5clearEv","__ZNK5Avoid6Blocks2atEj","__ZNK5Avoid18ShapeConnectionPin8positionERKNS_7PolygonE","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev","__ZN5Avoid11LineSegment40generateVisibilityEdgesFromBreakpointSetEPNS_6RouterEj","___cxx_global_var_init9277","__ZN5Avoid23improveOrthogonalRoutesEPNS_6RouterE","__ZNK5Avoid11VertInfList9connsSizeEv","__ZN5Avoid7PtOrderC2Ev","__ZN5Avoid17HyperEdgeTreeEdge20splitFromNodeAtPointEPNS_17HyperEdgeTreeNodeERKNS_5PointE","__ZNK5Avoid8ShapeRef8positionEv","__ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEEC2ERKS9_","__ZN5Avoid19NudgingShiftSegment9highPointEv","__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC2EjjS5_","__ZNSt12length_errorD0Ev","__ZNK5Avoid19NudgingShiftSegment9immovableEv","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm","__ZN5Avoid17HyperEdgeTreeEdge8addConnsEPNS_17HyperEdgeTreeNodeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEE","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6resizeEj","__ZNSt12length_errorD1Ev","__ZN5Avoid5BlockC2EPNS_6BlocksEPNS_8VariableE","__ZNSt3__110__stdinbufIcE9pbackfailEi","__ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEEC1ERKS7_","__ZNK5Avoid18ShapeConnectionPin10outputCodeEP7__sFILE","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE4findIS5_EENS_15__tree_iteratorIS5_PNS_11__tree_nodeIS5_PvEEiEERKT_","__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED2Ev","__ZN5Avoid17HyperEdgeTreeNodeC1Ev","__ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev","__ZN5Avoid11VertInfList11shapesBeginEv","__ZNK5Avoid7ConnRef16endpointConnEndsEv","__ZN5Avoid11JunctionRef13makeRectangleEPNS_6RouterERKNS_5PointE","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","__ZN5Avoid5TimerC2Ev","__ZNSt3__14listIPN5Avoid10ClusterRefENS_9allocatorIS3_EEED1Ev","__ZNSt3__112_GLOBAL__N_14makeINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_","__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev","__ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED1Ev","__ZNKSt3__110moneypunctIwLb1EE16do_positive_signEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZNKSt3__15ctypeIwE10do_tolowerEPwPKw","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5uflowEv","__ZNSt3__112_GLOBAL__N_14makeINS_8numpunctIcEEiEERT_T0_","__ZN5Avoid5BlockC1EPNS_6BlocksEPNS_8VariableE","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE16__find_leaf_highERPNS_16__tree_node_baseIPvEERKS3_","__ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEEixERS8_","__ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED2Ev","__ZNK5Avoid7ConnEnd15isPinConnectionEv","__ZNSt3__16locale5__imp7installINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_","__ZNK5Avoid6VertID16isConnCheckpointEv","__ZNK10__cxxabiv121__vmi_class_type_info16search_above_dstEPNS_19__dynamic_cast_infoEPKvS4_ib","__ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1INS_15__list_iteratorIS3_PvEEEET_SB_PNS_9enable_ifIXsr21__is_forward_iteratorISB_EE5valueEvE4typeE","__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEEC1EjjSA_","__ZNSt3__13mapIPN5Avoid11JunctionRefEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEED1Ev","__ZNSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIwEERNS_10unique_ptrIwPFvPvEEERPwSM_","__ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev","__ZNSt3__16vectorINS_4listIN5Avoid7ConnEndENS_9allocatorIS3_EEEENS4_IS6_EEED1Ev","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryD2Ev","__ZN5Avoid5EventC1ENS_9EventTypeEPNS_4NodeEd","__GLOBAL__I_a291","__ZNKSt3__17codecvtIDsc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_","__ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9push_backERKS2_","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","___cxx_global_var_init30","___cxx_global_var_init32","___cxx_global_var_init33","___cxx_global_var_init34","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev","__ZNSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev","__ZNK10__cxxabiv122__base_class_type_info27has_unambiguous_public_baseEPNS_19__dynamic_cast_infoEPvi","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEED1Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIwEE","_sys_trim","__ZNK5Avoid19NudgingShiftSegment4lowCEv","__ZNSt3__16vectorIbNS_9allocatorIbEEE18__construct_at_endINS_14__bit_iteratorIS3_Lb0EEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES8_S8_","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEEC1ERKS4_","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEEC1ERKS2_","__ZNSt3__110__list_impINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE5clearEv","__ZNKSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_bRNS_8ios_baseEcRKNS_12basic_stringIcS3_NS_9allocatorIcEEEE","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE18__get_day_year_numERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEEC1ERKS5_","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED1Ev","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED1Ev","___cxx_global_var_init4276","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED1Ev","__ZN5Avoid22UnsatisfiableExceptionC1Ev","__ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEED1Ev","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_secondERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSI_SI_","__ZN5Avoid6Router21adjustContainsWithAddERKNS_7PolygonEi","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_timeES4_S4_RNS_8ios_baseERjP2tm","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE7destroyEPNS_11__tree_nodeIS5_PvEE","__ZNSt3__17codecvtIDsc10_mbstate_tED1Ev","__ZNKSt3__110moneypunctIwLb0EE13do_neg_formatEv","__ZN5Avoid4Node15firstPointBelowEj","__ZNK5Avoid16PolygonInterface17offsetBoundingBoxEd","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6appendIPwEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_","__ZNSt3__110__list_impIPbNS_9allocatorIS1_EEE5clearEv","__ZNK5Avoid8Obstacle18attachedConnectorsEv","__ZNK5Avoid10CmpEdgeInfclEPKNS_7EdgeInfES3_","__ZNKSt3__17codecvtIDsc10_mbstate_tE5do_inERS1_PKcS5_RS5_PDsS7_RS7_","__ZNKSt3__15ctypeIcE8do_widenEc","__ZN5Avoid6Router29removeObjectFromQueuedActionsEPKv","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE18__construct_at_endINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZN5Avoid17HyperEdgeTreeEdge17writeEdgesToConnsEPNS_17HyperEdgeTreeNodeEj","__ZNKSt3__17codecvtIDic10_mbstate_tE9do_lengthERS1_PKcS5_j","__ZNSt3__111__tree_nextIPKNS_16__tree_node_baseIPvEEEET_S6_","__ZN5Avoid17ImproveHyperEdges40createShiftSegmentsForDimensionExcludingEPNS_17HyperEdgeTreeNodeEjPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_12ShiftSegmentENS5_9allocatorIS8_EEEE","__ZNSt3__16locale5__imp7installINS_7codecvtIDsc10_mbstate_tEEEEvPT_","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev","__ZN5Avoid15rotationalAngleERKNS_5PointE","__ZNSt3__111__money_getIcE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_SF_Ri","__ZNSt3__117__push_heap_frontIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE","__ZNSt3__112_GLOBAL__N_14makeINS_8time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE8allocateEj","__ZN5Avoid7EdgeInf12existingEdgeEPNS_7VertInfES2_","__ZNK5Avoid26PotentialSegmentConstraint11sepDistanceEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__insert_multiERKS3_","__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEE10push_frontERKS2_","__ZNK5Avoid26PotentialSegmentConstraint10stillValidEv","__ZN5Avoid7ConnEnd10disconnectEb","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE10push_frontERKS2_","__ZN5Avoid9IncSolver12mostViolatedERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEE","__ZN10__cxxabiv18is_equalEPKSt9type_infoS2_b","__ZN5Avoid17HyperEdgeTreeNodeD2Ev","__ZNSt3__16vectorINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED2Ev","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE16do_get_monthnameES4_S4_RNS_8ios_baseERjP2tm","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC2ERKSB_","__ZN5Avoid6Blocks7cleanupEv","__ZNKSt3__17codecvtIcc10_mbstate_tE10do_unshiftERS1_PcS4_RS4_","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE5flushEv","__ZN5Avoid9IncSolverC2ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE","__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED1Ev","__ZNKSt3__110moneypunctIcLb0EE11do_groupingEv","__ZNSt3__16vectorINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev","__ZNSt3__16vectorIiNS_9allocatorIiEEE8allocateEj","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEED1Ev","__ZN5Avoid11JunctionRefD2Ev","__ZN5Avoid7ConnEndD1Ev","__ZN5Avoid13delete_objectclINS_12ShiftSegmentEEEvPT_","__ZNSt13runtime_errorC2EPKc","__ZNKSt3__15ctypeIwE10do_toupperEw","__ZN5Avoid5ANodeC2Ev","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE10push_frontERKS9_","__ZNSt3__111__tree_nextIPNS_16__tree_node_baseIPvEEEET_S5_","__ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED1Ev","__ZN5Avoid6Blocks4costEv","__ZNK5Avoid21HyperEdgeShiftSegment12overlapsWithEPKNS_12ShiftSegmentEj","__ZN5Avoid27MinimumTerminalSpanningTree17orthogonalPartnerEPNS_7VertInfEd","__ZNSt3__16locale5__imp12make_classicEv","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSD_","__ZNKSt3__110__time_put8__do_putEPwRS1_PK2tmcc","__ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEED2Ev","__ZNSt3__15ctypeIwED0Ev","__ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE5clearEv","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEED2Ev","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZN5Avoid8ShapeRefD1Ev","_moveShapeRect","__ZN5Avoid18ConnectorCrossings15countForSegmentEjb","__ZN10__cxxabiv123__fundamental_type_infoD0Ev","__ZNSt3__16vectorIbNS_9allocatorIbEEE7reserveEj","__ZNSt3__119__iostream_categoryD0Ev","__ZNSt8bad_castC2Ev","__ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEE8allocateEj","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_","__ZNSt3__16locale5__impC1Ej","_connectShapes","__ZN5AvoidL11CrossLengthERKNS_5PointES2_","__ZNSt3__113__vector_baseINS_4pairIjN5Avoid5PointEEENS_9allocatorIS4_EEED2Ev","__ZNKSt3__18numpunctIcE16do_decimal_pointEv","__ZNK5Avoid10ActionInfo8junctionEv","__ZN5Avoid4Node18firstObstacleBelowEj","__ZNSt3__113__vector_baseIN5Avoid5PointENS_9allocatorIS2_EEED2Ev","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev","__ZSt15get_new_handlerv","__ZNK10__cxxabiv120__si_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib","__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEE10push_frontERKS3_","__ZNSt3__18time_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev","__ZNSt3__18ios_base4InitD1Ev","__ZN5Avoid8VariableD1Ev","__ZNSt3__114error_categoryD0Ev","__ZNKSt3__16locale5__imp9use_facetEl","__ZN5Avoid17HyperEdgeTreeNode14disconnectEdgeEPNS_17HyperEdgeTreeEdgeE","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPKNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SE_SD_SD_RKT1_Rjb","__ZN5Avoid7VertInf20setVisibleDirectionsEj","__ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE","__ZN5Avoid7VertInf5ResetERKNS_5PointE","__ZN5Avoid22UnsatisfiableExceptionD2Ev","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4syncEv","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE4findIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_","__ZN5Avoid21HyperEdgeShiftSegmentD1Ev","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE8__appendEj","__ZNSt3__16locale5__imp7installINS_7codecvtIDic10_mbstate_tEEEEvPT_","__ZNSt3__127__num_get_unsigned_integralImEET_PKcS3_Rji","__ZN5Avoid9PointPairC2ERKNS_5PointEPNS_7VertInfE","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEE18__construct_at_endIPS4_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZN5Avoid17ImproveHyperEdgesC1EPNS_6RouterE","__ZN5Avoid34buildConnectorRouteCheckpointCacheEPNS_6RouterE","__ZN5Avoid5Block4costEv","__ZN5Avoid8EdgeList7addEdgeEPNS_7EdgeInfE","__ZNSt3__16locale5__imp7installINS_7num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_","___cxx_global_var_init24","___cxx_global_var_init29","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEE18__construct_at_endINS_11__wrap_iterIPKjEEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZNSt3__113__vector_baseINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED2Ev","___cxx_global_var_init22","___cxx_global_var_init21","___cxx_global_var_init20","__ZNSt3__110__list_impINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED2Ev","___cxx_global_var_init26","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekoffExNS_8ios_base7seekdirEj","__ZN5Avoid17HyperEdgeTreeNode24removeOtherJunctionsFromEPNS_17HyperEdgeTreeEdgeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE","__ZN5Avoid8Obstacle22computeVisibilityNaiveEv","__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEPNS_12basic_stringIwS3_NS_9allocatorIwEEEENS_5ctypeIwEEEET0_RT_SD_SC_SC_RKT1_Rjb","__ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE18__construct_at_endEj","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_percentERS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEED1Ev","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC1ERKS6_","__ZNSt3__19__num_putIwE23__widen_and_group_floatEPcS2_S2_PwRS3_S4_RKNS_6localeE","__ZNK5Avoid8Obstacle17possiblePinPointsEj","__ZNKSt3__17collateIwE7do_hashEPKwS3_","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","___cxx_global_array_dtor147","__ZNSt3__16locale5__imp7installINS_8time_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_","__ZN5Avoid4NodeD1Ev","__ZN5AvoidL30buildOrthogonalNudgingSegmentsEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE15__get_monthnameERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__113__vector_baseIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEED2Ev","_init_top","__ZN5Avoid16vertexVisibilityEPNS_7VertInfES1_bb","__ZN5Avoid17HyperEdgeTreeNode17writeEdgesToConnsEPNS_17HyperEdgeTreeEdgeEj","___cxx_global_var_init10278","__ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIDsc10_mbstate_tEEiEERT_T0_","__ZN5Avoid16PolygonInterfaceD0Ev","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKci","__ZNKSt3__17codecvtIDic10_mbstate_tE6do_outERS1_PKDiS5_RS5_PcS7_RS7_","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEEC1Ej","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_","__ZNKSt3__17codecvtIDic10_mbstate_tE13do_max_lengthEv","__ZN5AvoidL17unitNormalForEdgeERKNS_5PointES2_","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC1ERKS9_","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC2ERS3_","__ZNK5Avoid11LineSegment8overlapsERKS0_","__ZNKSt3__120__time_get_c_storageIwE8__monthsEv","__ZNKSt3__17collateIwE10do_compareEPKwS3_S3_S3_","__ZNSt3__116__copy_unalignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_","__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d182","__ZN5Avoid9IncSolverD1Ev","__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED2Ev","__ZNSt3__16vectorIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED1Ev","__ZNSt3__18ios_base4InitC1Ev","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_","__ZN10__cxxabiv117__class_type_infoD0Ev","__ZNK5Avoid10ActionInfoeqERKS0_","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","__ZNKSt3__18numpunctIwE11do_truenameEv","__ZN5Avoid17ImproveHyperEdgesC2EPNS_6RouterE","__ZN5Avoid7ConnEndC1ERKNS_5PointE","__ZNSt3__110__stdinbufIwE9underflowEv","__ZNK5Avoid6VertID15isOrthShapeEdgeEv","__ZNK5Avoid5Block13canFollowLeftEPKNS_10ConstraintEPKNS_8VariableE","___cxx_global_var_init3275","__ZNK10__cxxabiv117__class_type_info29process_static_type_above_dstEPNS_19__dynamic_cast_infoEPKvS4_i","__ZNSt3__110moneypunctIwLb1EED0Ev","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED1Ev","__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED2Ev","___cxx_global_var_init251069","__ZNK5Avoid7ConnRef6routerEv","__ZNK5Avoid21HyperEdgeShiftSegment7settledEv","__ZNK10__cxxabiv116__shim_type_info5noop2Ev","__ZN5Avoid7ConnRef8routeRefEv","__ZNKSt3__18messagesIwE7do_openERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNS_6localeE","__ZN5Avoid7EdgeInfC2EPNS_7VertInfES2_b","__ZN5AvoidL17connsKnownToCrossERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC2ERKS6_","__ZNSt3__14pairIjN5Avoid7ConnEndEED2Ev","__ZNSt3__111__stdoutbufIcED1Ev","__ZN5Avoid17HyperEdgeTreeEdge14disconnectEdgeEv","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEED2Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_monthERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNK5Avoid7EdgeInf10isDisabledEv","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEED2Ev","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_","__ZNK5Avoid6Blocks4sizeEv","__ZNSt3__16localeD2Ev","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEED2Ev","__ZNSt3__18ios_base7failureD1Ev","__ZNSt3__16vectorIjNS_9allocatorIjEEE26__swap_out_circular_bufferERNS_14__split_bufferIjRS2_EE","__ZN5AvoidL31buildOrthogonalNudgingOrderInfoEPNS_6RouterERNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEE","__ZN5Avoid6Router19modifyConnectionPinEPNS_18ShapeConnectionPinE","__ZNK5Avoid7ConnRef5routeEv","__ZNSt3__16vectorIiNS_9allocatorIiEEEC1Ej","__ZN5Avoid17HyperedgeRerouter19findAttachedObjectsEjPNS_11JunctionRefEPNS_7ConnRefERNSt3__13setIS4_NS5_4lessIS4_EENS5_9allocatorIS4_EEEE","__ZN5Avoid7ConnEndC1Ev","__ZNSt3__110moneypunctIcLb0EED0Ev","__ZNSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev","__ZNK5Avoid8EdgeList4sizeEv","__ZN5Avoid19NudgingShiftSegmentC2EPNS_7ConnRefEjjj","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE12__move_rangeEPS2_S6_S6_","__ZNSt3__14listIPPN5Avoid7VertInfENS_9allocatorIS4_EEED2Ev","__ZNK10__cxxabiv123__fundamental_type_info9can_catchEPKNS_16__shim_type_infoERPv","__ZNKSt3__110moneypunctIwLb0EE13do_pos_formatEv","__ZN5Avoid6Router20checkAllMissingEdgesEv","__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEEC1EjjS7_","__ZN5Avoid13PositionStats11addVariableEPNS_8VariableE","__ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe","__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEED1Ev","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE16__construct_nodeERKS2_","__ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","__ZNKSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_bRNS_8ios_baseEwe","__ZSt13get_terminatev","__ZN5Avoid10PosVertInfC2EdPNS_7VertInfEj","__ZNK5Avoid19NudgingShiftSegment10fixedOrderERb","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED2Ev","__ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev","__ZN5Avoid19NudgingShiftSegment8lowPointEv","___cxx_global_var_init14","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9showmanycEv","__ZN5Avoid27MinimumTerminalSpanningTree28realVerticesCountingPartnersEPNS_7EdgeInfE","___cxx_global_var_init13","___cxx_global_var_init10","___cxx_global_var_init11","__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEE9push_backERKS5_","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE8overflowEj","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE18__construct_at_endEj","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SA_EEiEESD_RKT_","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE13__get_12_hourERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNK10__cxxabiv119__pointer_type_info9can_catchEPKNS_16__shim_type_infoERPv","__ZNK5Avoid7ConnRef18routingCheckpointsEv","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6insertINS_11__wrap_iterIPS2_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueES9_E4typeENS7_IPKS2_EESB_SB_","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE6insertINS_21__list_const_iteratorIS3_PvEEEENS_15__list_iteratorIS3_S9_EESA_T_SD_PNS_9enable_ifIXsr19__is_input_iteratorISD_EE5valueEvE4typeE","__ZNSt3__110__list_impIjNS_9allocatorIjEEED2Ev","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED1Ev","__ZN5AvoidL13estimatedCostEPNS_7ConnRefEPKNS_5PointERS3_S5_","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEjjjjjj","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__112__do_messageD0Ev","___cxx_global_array_dtor132","__ZNKSt3__17codecvtIwc10_mbstate_tE6do_outERS1_PKwS5_RS5_PcS7_RS7_","__ZN5Avoid6VertIDaSERKS0_","__ZNSt3__16vectorIbNS_9allocatorIbEEED2Ev","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcy","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcx","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEEC1Ej","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcd","__ZNSt3__18ios_base16__call_callbacksENS0_5eventE","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcb","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcm","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcl","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEED2Ev","__ZN5Avoid18SegmentListWrapperD1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev","_createRouter","__ZN10__cxxabiv121__vmi_class_type_infoD0Ev","__ZNSt3__16vectorIcNS_9allocatorIcEEE6assignIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES7_S7_","__ZN5Avoid8EdgeListD1Ev","__ZN5AvoidL12angleBetweenERKNS_5PointES2_S2_","__ZNKSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIcS3_NS_9allocatorIcEEEE","__ZNSt3__110__list_impIN5Avoid7ConnEndENS_9allocatorIS2_EEE5clearEv","__ZNSt3__13setIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZN5Avoid8Obstacle15removeFromGraphEv","__ZNKSt3__114error_category23default_error_conditionEi","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE14__assign_multiINS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEEEEvT_SH_","__ZN5Avoid4NodeC2EPNS_8ObstacleEd","__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEED2Ev","__ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEE16__construct_nodeERSD_","__ZNSt3__120__time_get_c_storageIwEC2Ev","__ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE","__ZN5Avoid16segmentIntersectERKNS_5PointES2_S2_S2_","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE7destroyEPNS_11__tree_nodeISB_PvEE","__ZN5Avoid7ConnEnd13freeActivePinEv","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEEC1ERKS4_","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZN5Avoid3BoxC1Ev","__ZNSt3__16locale5__imp7installINS_5ctypeIwEEEEvPT_","__ZN5Avoid11JunctionRef22setRecommendedPositionERKNS_5PointE","__ZNSt3__119basic_ostringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEEC1ERKS7_","__ZN5Avoid22UnsatisfiableExceptionC2ERKS0_","__ZN5Avoid7EdgeInf7addConnEPb","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE6assignIPS3_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESA_SA_","__ZN5Avoid7ConnEnd21assignPinVisibilityToEPNS_7VertInfES2_","__ZNK5Avoid21HyperEdgeShiftSegment9highPointEv","__ZNSt3__13setIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEED2Ev","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_","__ZNSt3__14pairIN5Avoid5PointENS1_7PtOrderEED2Ev","__ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS9_RSA_EE","__ZNKSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE3strEv","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC2EjjS6_","__ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEED2Ev","__ZNKSt3__110moneypunctIcLb0EE16do_thousands_sepEv","__ZNSt3__17__sort4IRN5Avoid10CmpIndexesEPjEEjT0_S5_S5_S5_T_","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueENS_21__tree_const_iteratorIjPKNS_11__tree_nodeIjPvEEiEERKj","__ZN5Avoid17HyperEdgeTreeNode26listJunctionsAndConnectorsEPNS_17HyperEdgeTreeEdgeERNSt3__14listIPNS_11JunctionRefENS3_9allocatorIS6_EEEERNS4_IPNS_7ConnRefENS7_ISC_EEEE","__ZNSt3__110__list_impINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEED2Ev","__ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEED2Ev","__ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEED1Ev","__ZN5Avoid27MinimumTerminalSpanningTreeC1EPNS_6RouterENSt3__13setIPNS_7VertInfENS3_4lessIS6_EENS3_9allocatorIS6_EEEEPNS3_3mapIPNS_11JunctionRefEPNS_17HyperEdgeTreeNodeENS7_ISE_EENS9_INS3_4pairIKSE_SG_EEEEEE","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev","__ZNKSt3__110moneypunctIwLb0EE16do_decimal_pointEv","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_","__ZNSt3__113__vector_baseINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED2Ev","__ZN5Avoid11LineSegmentD1Ev","__ZNSt3__18messagesIcED0Ev","__ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC1ERKSD_","__ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE8__appendEj","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE","__ZN5Avoid9IncSolverC1ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEERKNS2_IPNS_10ConstraintENS5_ISB_EEEE","__ZNSt3__15dequeIjNS_9allocatorIjEEE9pop_frontEv","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED1Ev","__ZNKSt3__15ctypeIwE8do_widenEPKcS3_Pw","__ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEE6__sortINS1_18CmpVisEdgeRotationEEENS_15__list_iteratorIS3_PvEESB_SB_jRT_","__ZN5Avoid8EdgeList5beginEv","__ZNK10__cxxabiv121__vmi_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEED1Ev","__ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEED2Ev","__ZNSt3__113__vector_baseIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev","__ZNSt3__112_GLOBAL__N_17releaseclEPNS_6locale5facetE","__ZN5Avoid7ConnRef14updateEndPointEjRKNS_7ConnEndE","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEEC2EjjS6_","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc","__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEED1Ev","__ZN5Avoid7ConnEndC2ERKNS_5PointEj","__ZNSt3__15ctypeIcEC1EPKtbj","__ZNSt3__16vectorIiNS_9allocatorIiEEE18__construct_at_endEj","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE13__lower_boundIS4_EENS_15__tree_iteratorIS7_PNS_11__tree_nodeIS7_PvEEiEERKT_SK_SK_","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5imbueERKNS_6localeE","__ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEEixERSD_","__ZN5Avoid5PointC1Ev","__ZNK5Avoid9PointPairltERKS0_","__ZNKSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC2EjjS6_","__ZNKSt3__120__time_get_c_storageIcE3__cEv","__ZN5Avoid21segmentShapeIntersectERKNS_5PointES2_S2_S2_Rb","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__16vectorIPN5Avoid8VariableENS_9allocatorIS3_EEED1Ev","__ZNSt3__127__insertion_sort_incompleteIRN5Avoid10CmpIndexesEPjEEbT0_S5_T_","__ZN5Avoid6BlocksC1ERKNSt3__16vectorIPNS_8VariableENS1_9allocatorIS4_EEEE","__ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_8VariableE","__ZNSt3__13setIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEED1Ev","__ZNK5Avoid7VertInf8treeRootEv","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEEC2ERKS6_","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEED0Ev","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9pbackfailEi","__ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNSt3__13mapIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEENS_4lessIS3_EENS7_INS_4pairIKS3_S9_EEEEED1Ev","__ZNSt3__111__stdoutbufIwE8overflowEj","__ZNKSt3__17codecvtIDsc10_mbstate_tE11do_encodingEv","__ZN5AvoidL25addCrossingConnsToSetListERNSt3__14listINS0_3setINS0_4pairIdPNS_7ConnRefEEENS_14CmpConnCostRefENS0_9allocatorIS6_EEEENS8_ISA_EEEES6_S6_","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev","__ZNSt3__16vectorIcNS_9allocatorIcEEED1Ev","__ZN5Avoid21HyperEdgeShiftSegment10mergesWithEPS0_","__ZN5Avoid27MinimumTerminalSpanningTreeD1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEEC1EjjS6_","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev","__ZNSt3__18messagesIwED1Ev","__ZNSt3__113__vector_baseIPN5Avoid10ConstraintENS_9allocatorIS3_EEED2Ev","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEEC2ERKS6_","__ZNK5Avoid10ActionInfo4connEv","__ZNSt3__16__treeIN5Avoid10PosVertInfENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE","__ZN5Avoid22TopologyAddonInterfaceD1Ev","__ZN5Avoid9RectangleC2ERKNS_5PointES3_","__ZN5Avoid6RouterD0Ev","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEES8_","__ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEED1Ev","__ZNSt3__14pairIPN5Avoid11JunctionRefENS_4listIPNS1_12ShiftSegmentENS_9allocatorIS6_EEEEED1Ev","__ZNSt3__114priority_queueIPN5Avoid10ConstraintENS_6vectorIS3_NS_9allocatorIS3_EEEENS1_18CompareConstraintsEED2Ev","__ZNKSt3__17codecvtIDsc10_mbstate_tE6do_outERS1_PKDsS5_RS5_PcS7_RS7_","__ZNSt3__15ctypeIwED1Ev","_segment_holding","__ZNSt3__16vectorINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEENS_9allocatorIS7_EEED2Ev","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEED1Ev","__ZNSt3__127__num_get_unsigned_integralIyEET_PKcS3_Rji","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEED1Ev","__ZNSt3__15dequeIjNS_9allocatorIjEEED2Ev","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjRPv","__ZNSt3__1L19utf8_to_ucs4_lengthEPKhS1_jmNS_12codecvt_modeE","__ZNSt3__13setIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZN5Avoid13PositionStatsC2Ev","__ZN5Avoid17HyperedgeRerouterC1Ev","__ZN5Avoid23ConnRerouteFlagDelegateC2Ev","__ZN5Avoid7VertInf18setTreeRootPointerEPPS0_","__ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEE8allocateEj","__ZNSt3__16locale5__imp7installINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_","__ZN5Avoid8Obstacle10makeActiveEv","__ZN5Avoid11VertInfListC1Ev","__ZNSt3__119__iostream_categoryC1Ev","__ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev","__ZNSt3__16locale5__imp7installINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEEEvPT_","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE15__insert_uniqueERKj","__ZN5Avoid7VertInfC2EPNS_6RouterERKNS_6VertIDERKNS_5PointEb","__ZN5Avoid6RouterC1Ej","__ZNSt3__13setIjNS_4lessIjEENS_9allocatorIjEEED2Ev","__ZN5Avoid11LineSegment15addSegmentsUpToEd","__ZN5Avoid17HyperEdgeTreeEdge17deleteNodesExceptEPNS_17HyperEdgeTreeNodeE","__ZN5Avoid5Block12compute_dfdvEPNS_8VariableES2_RPNS_10ConstraintE","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_weekdaynameERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__19__num_getIcE17__stage2_int_prepERNS_8ios_baseEPcRc","__ZNSt3__1L12init_wmonthsEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE10push_frontERKS4_","__ZNK5Avoid5Block27isActiveDirectedPathBetweenEPKNS_8VariableES3_","__ZNK5Avoid5PointixEj","__ZNKSt3__15ctypeIcE10do_toupperEc","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEEC1EjjS6_","__ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE9push_backERKS2_","__ZNK5Avoid13CmpConnPinPtrclEPKNS_18ShapeConnectionPinES3_","__ZNSt3__13setIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZNSt3__16locale2id6__initEv","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEEC1ERKS4_","__ZNK5Avoid13CmpNodesInDimclEPKNS_17HyperEdgeTreeNodeES3_","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9underflowEv","__ZNSt3__110__stdinbufIwED0Ev","__ZN5Avoid18ShapeConnectionPinC2EPNS_8ShapeRefEjdddj","__ZNSt3__19__num_putIcE21__widen_and_group_intEPcS2_S2_S2_RS2_S3_RKNS_6localeE","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE7seekposENS_4fposI10_mbstate_tEEj","__ZNSt11logic_errorD0Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE8__detachEPNS_11__tree_nodeIS3_PvEE","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNSt13runtime_errorD1Ev","__ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEED1Ev","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc","__ZNSt3__111__stdoutbufIwEC1EP7__sFILE","__ZN12_GLOBAL__N_114__libcpp_nmstrD2Ev","__ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev","__ZN5Avoid7ConnRef20generateStandardPathERNSt3__16vectorINS_5PointENS1_9allocatorIS3_EEEERNS2_IPNS_7VertInfENS4_IS9_EEEE","__ZNSt3__13setIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED2Ev","___cxx_global_var_init2272","__ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_8ShapeRefE","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE3getES4_S4_RNS_8ios_baseERjP2tmPKcSC_","__ZN5Avoid13inValidRegionEbRKNS_5PointES2_S2_S2_","__ZNSt3__114__split_bufferIPjNS_9allocatorIS1_EEED1Ev","__ZNK5Avoid22TopologyAddonInterface18outputDeletionCodeEP7__sFILE","__ZNSt3__16locale5__imp7installINS_10moneypunctIwLb1EEEEEvPT_","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_","__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEEC2EjjS4_","__ZNK5Avoid19NudgingShiftSegment8lowPointEv","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEjc","__ZNKSt3__110moneypunctIwLb1EE16do_thousands_sepEv","__ZNSt3__18numpunctIwEC2Ej","__ZN12_GLOBAL__N_114__libcpp_nmstrC2EPKc","__ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEED1Ev","__ZN5AvoidL6vecDirERKNS_5PointES2_S2_d272","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEED2Ev","__ZNSt3__1L11init_wam_pmEv","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNSt3__112_GLOBAL__N_14makeINS_7num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_","__ZNKSt3__110moneypunctIcLb1EE11do_groupingEv","__ZNSt3__13setIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","___cxx_global_var_init4998","__ZNSt3__16locale5facetD0Ev","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EEPS3_","__ZNSt3__16vectorIN5Avoid7PolygonENS_9allocatorIS2_EEE8allocateEj","__ZN5Avoid18ShapeConnectionPin14updatePositionERKNS_5PointE","__ZNKSt3__112__do_message7messageEi","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwy","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwx","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEED0Ev","__ZNKSt3__17codecvtIwc10_mbstate_tE5do_inERS1_PKcS5_RS5_PwS7_RS7_","__ZNSt3__110__list_impINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE5clearEv","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwm","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwl","__ZNSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev","__ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEED1Ev","__ZN5Avoid7ConnEnd12usePinVertexEPNS_7VertInfE","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwe","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwd","__ZNKSt3__17codecvtIwc10_mbstate_tE11do_encodingEv","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwb","__ZN5Avoid32generateStaticOrthogonalVisGraphEPNS_6RouterE","__ZNSt3__111__make_heapIRN5Avoid14HeapCmpVertInfENS_11__wrap_iterIPPNS1_7VertInfEEEEEvT0_S9_T_","__ZNSt3__111__money_putIwE8__formatEPwRS2_S3_jPKwS5_RKNS_5ctypeIwEEbRKNS_10money_base7patternEwwRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERKNSE_IwNSF_IwEENSH_IwEEEESQ_i","__ZN5Avoid4Node27findFirstPointAboveAndBelowEjdRdS1_S1_S1_","__ZN5Avoid8EdgeListC2Eb","__ZN5Avoid6VertIDppEi","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE14__erase_uniqueIjEEjRKT_","__ZN5Avoid10ActionInfoC2ENS_10ActionTypeEPNS_18ShapeConnectionPinE","__ZN5Avoid10ConstraintC1EPNS_8VariableES2_db","__ZNKSt3__17codecvtIwc10_mbstate_tE9do_lengthERS1_PKcS5_j","__ZN5Avoid17HyperEdgeTreeNode8addConnsEPNS_17HyperEdgeTreeEdgeEPNS_6RouterERNSt3__14listIPNS_7ConnRefENS5_9allocatorIS8_EEEES8_","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__18numpunctIcEC1Ej","__ZNKSt3__120__time_get_c_storageIwE7__weeksEv","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEEC1ERKSF_","__ZN5Avoid10ActionInfoD1Ev","__ZNSt3__110__sscanf_lEPKcPvS1_z","__ZNSt3__112_GLOBAL__N_14makeINS_9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEEEiEERT_T0_","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEEC1EjjS6_","__ZN5Avoid6RouterC2Ej","__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEED1Ev","__ZNKSt3__15ctypeIwE8do_widenEc","__ZNSt3__18numpunctIcED1Ev","__ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_","__ZNSt3__16vectorIjNS_9allocatorIjEEE12__move_rangeEPjS4_S4_","__ZN5Avoid17HyperedgeRerouterD2Ev","__ZNK5Avoid7Polygon4sizeEv","__ZNSt3__16locale5__imp11make_globalEv","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE5uflowEv","__ZN5Avoid6BlocksD2Ev","__ZNSt3__110__list_impIN5Avoid10ActionInfoENS_9allocatorIS2_EEE5clearEv","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS2_RS4_EE","__ZN5Avoid7PolygonC2ERKS0_","__ZNSt3__114__split_bufferIN5Avoid5ANodeERNS_9allocatorIS2_EEEC1EjjS5_","__ZNK5Avoid7EdgeInf3idsEv","_malloc","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEE18__construct_at_endEj","__ZN5AvoidL15midVertexNumberERKNS_5PointES2_S2_","__ZNSt3__1L11init_monthsEv","__ZNSt3__112_GLOBAL__N_14makeINS_8messagesIcEEiEERT_T0_","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS5_","__ZNSt3__16vectorIN5Avoid10CheckpointENS_9allocatorIS2_EEED1Ev","__ZN5Avoid17HyperEdgeTreeEdgeC1EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE","__ZNK5Avoid17HyperEdgeTreeEdge10followFromEPNS_17HyperEdgeTreeNodeE","__ZNSt3__114__split_bufferIPjRNS_9allocatorIS1_EEE18__construct_at_endINS_13move_iteratorIPS1_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESB_SB_","__ZNSt3__16locale5__impD2Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcj","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEEC1EjjS5_","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEE10push_frontERKS3_","__ZN5Avoid7PtOrderD2Ev","__ZN5Avoid7PolygonC1ERKS0_","__ZNKSt3__17num_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_putES4_RNS_8ios_baseEwPKv","__ZN5Avoid4Node22markShiftSegmentsAboveEj","__ZN5Avoid11LineSegmentC2ERKdS2_PNS_7VertInfE","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZN5Avoid5Timer4StopEv","__ZN5Avoid13PositionStatsC1Ev","__ZN5Avoid18SegmentListWrapperC2Ev","__ZN5Avoid6Router25setStaticGraphInvalidatedEb","__ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE26__swap_out_circular_bufferERNS_14__split_bufferIS3_RS5_EE","__ZNSt3__110__stdinbufIwEC2EP7__sFILE","__ZNSt3__19basic_iosIwNS_11char_traitsIwEEED2Ev","__ZN5Avoid8EdgePair16setNegativeAngleEv","__ZN5Avoid23ConnRerouteFlagDelegate10removeConnEPNS_7ConnRefE","__ZNKSt3__120__time_get_c_storageIwE3__xEv","__ZNKSt3__110moneypunctIcLb1EE13do_neg_formatEv","__ZNSt3__110__stdinbufIwE9pbackfailEj","__ZN5Avoid7EdgeInf12firstBlockerEv","__ZNSt3__16locale5__imp7installINS_7collateIcEEEEvPT_","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEED1Ev","__ZNSt3__114__split_bufferIPNS_6locale5facetERNS_15__sso_allocatorIS3_Lj28EEEED1Ev","__ZNSt3__110__stdinbufIcEC1EP7__sFILE","__ZN5Avoid7PtOrder4sortEj","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEEC1EjjSB_","__ZNSt3__114__num_put_base12__format_intEPcPKcbj","__ZNKSt3__110__time_put8__do_putEPcRS1_PK2tmcc","__ZNSt3__120__time_get_c_storageIcEC2Ev","__ZN5Avoid7ConnRef10freeRoutesEv","__ZNSt3__14listINS_4pairIjN5Avoid7ConnEndEEENS_9allocatorIS4_EEE9push_backERKS4_","__ZNSt3__114__fill_n_falseINS_6vectorIbNS_9allocatorIbEEEEEEvNS_14__bit_iteratorIT_Lb0EEENS6_9size_typeE","__ZN5AvoidL24posInlineWithConnEndSegsEdjRKNS_7PolygonES2_","__ZNSt3__16vectorIN5Avoid5ANodeENS_9allocatorIS2_EEED1Ev","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZN5Avoid9PointPairC1ERKNS_5PointEPNS_7VertInfE","__ZN5Avoid11JunctionRef17moveAttachedConnsERKNS_5PointE","__ZNSt3__14listIN5Avoid10ActionInfoENS_9allocatorIS2_EEE6__sortINS_6__lessIS2_S2_EEEENS_15__list_iteratorIS2_PvEESB_SB_jRT_","__ZN5Avoid4Node22markShiftSegmentsBelowEj","__ZN5Avoid17ImproveHyperEdges22nudgeHyperEdgeSegmentsEjRj","__ZNSt3__16vectorIbNS_9allocatorIbEEE6assignEjRKb","__ZN5Avoid11VertInfList10connsBeginEv","__ZN5Avoid9RectangleD1Ev","__ZN5Avoid18ConnectorCrossings5clearEv","__ZNKSt3__110moneypunctIcLb0EE16do_negative_signEv","__ZNK5Avoid7ConnEnd8junctionEv","__ZNSt3__13setINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEED2Ev","__ZNSt3__15ctypeIcED1Ev","__ZNSt3__110moneypunctIcLb0EED1Ev","__ZN5Avoid10ActionInfo16addConnEndUpdateEjRKNS_7ConnEndEb","__ZNKSt3__18messagesIcE6do_getEiiiRKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE","__ZN5Avoid13CmpNodesInDimC2Ej","__ZdaPv","__ZNKSt3__110moneypunctIwLb1EE13do_pos_formatEv","__ZN5Avoid6RouterD1Ev","__ZNK5Avoid6VertID8isConnPtEv","__ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE6resizeEj","_free","__ZN5Avoid9IncSolver10moveBlocksEv","__ZNKSt3__17codecvtIDic10_mbstate_tE16do_always_noconvEv","__ZN5Avoid8Obstacle22removeFollowingConnEndEPNS_7ConnEndE","__ZNK5Avoid7ConnEnd12endpointTypeEv","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__110moneypunctIcLb1EED1Ev","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEE18__construct_at_endINS_13move_iteratorIPS9_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESI_SI_","__ZNSt3__16vectorINS0_IbNS_9allocatorIbEEEENS1_IS3_EEEC1Ej","__ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEE9pop_frontEv","__ZN5Avoid7ConnRefC2EPNS_6RouterERKNS_7ConnEndES5_j","__ZNK5Avoid8Obstacle8isActiveEv","__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERSB_","__ZNKSt3__120__time_get_c_storageIcE3__xEv","_tmalloc_large","__ZNKSt3__17codecvtIDsc10_mbstate_tE16do_always_noconvEv","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED1Ev","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_","__ZNK10__cxxabiv117__class_type_info24process_found_base_classEPNS_19__dynamic_cast_infoEPvi","__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEE16__construct_nodeERSA_","__ZNSt3__16vectorIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC2INS_15__list_iteratorIS3_PvEEEET_SB_PNS_9enable_ifIXsr21__is_forward_iteratorISB_EE5valueEvE4typeE","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE7seekoffExNS_8ios_base7seekdirEj","__ZNSt3__15dequeIjNS_9allocatorIjEEE9push_backERKj","_prepend_alloc","__ZNSt3__114__scan_keywordINS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEPNS_12basic_stringIcS3_NS_9allocatorIcEEEENS_5ctypeIcEEEET0_RT_SD_SC_SC_RKT1_Rjb","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11__get_am_pmERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__113__vector_baseIPN5Avoid7ConnRefENS_9allocatorIS3_EEED2Ev","__ZN5Avoid8ShapeRefD0Ev","__ZNSt3__16__treeIPN5Avoid18ShapeConnectionPinENS1_13CmpConnPinPtrENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__114__split_bufferIPN5Avoid7EdgeInfERNS_9allocatorIS3_EEED1Ev","__ZN5Avoid7EdgeInf7setDistEd","__ZN5Avoid17HyperEdgeTreeNodeC2Ev","__ZNSt3__14listIN5Avoid8EdgePairENS_9allocatorIS2_EEE6removeERKS2_","__ZN5Avoid6Router16improveCrossingsEv","__ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEE6insertENS_21__list_const_iteratorIS3_PvEERKS3_","__ZN5Avoid19NudgingShiftSegmentD1Ev","__ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEED2Ev","__ZNKSt11logic_error4whatEv","__ZNSt3__16vectorIPNS_6locale5facetENS_15__sso_allocatorIS3_Lj28EEEE6resizeEj","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_","__ZNSt3__112__do_messageD1Ev","__ZN5Avoid17rayIntersectPointERKNS_5PointES2_S2_S2_PdS3_","__ZNSt3__111__stdoutbufIwE4syncEv","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEjc","__ZN5Avoid7ConnRef5startEv","__ZNSt3__125__num_get_signed_integralIxEET_PKcS3_Rji","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SE_SE_","___dynamic_cast","__ZNSt3__17codecvtIwc10_mbstate_tEC2Ej","__ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev","__ZNK5Avoid8Obstacle2idEv","__ZNK5Avoid18ShapeConnectionPin18containingObjectIdEv","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE10__get_hourERiRS4_S4_RjRKNS_5ctypeIwEE","__ZN10__cxxabiv121__vmi_class_type_infoD1Ev","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEEC1ERKSB_","___cxx_global_var_init151068","__ZNSt3__16vectorIPN5Avoid11JunctionRefENS_9allocatorIS3_EEED2Ev","__ZN5Avoid18CmpVisEdgeRotationC1EPKNS_7VertInfE","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZNK5Avoid11JunctionRef8positionEv","__ZNSt3__110__list_impIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5clearEv","__ZNSt3__18ios_baseD0Ev","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE17__get_white_spaceERS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIcLb1EEEiEERT_T0_","__ZNSt3__110__list_impIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev","__ZN10__cxxabiv123__fundamental_type_infoD1Ev","__ZN5Avoid17ImproveHyperEdgesD1Ev","__ZNSt3__13setIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEED2Ev","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEE18__construct_at_endEj","__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE8__do_getERS4_S4_bRKNS_6localeEjRjRbRKNS_5ctypeIcEERNS_10unique_ptrIcPFvPvEEERPcSM_","__ZNSt3__110__list_impIPbNS_9allocatorIS1_EEED2Ev","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEaSERKS5_","__ZNSt3__113__vector_baseIPN5Avoid5BlockENS_9allocatorIS3_EEED2Ev","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE10__get_yearERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNKSt3__110moneypunctIcLb1EE14do_curr_symbolEv","__ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEE9push_backERKS3_","__ZNSt3__16__treeINS_4pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEEENS_19__map_value_compareIS3_S9_NS5_IS3_EELb1EEENS7_ISA_EEEC2ERKSD_","__ZNSt3__112system_errorC2ENS_10error_codeEPKc","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE16__construct_nodeERKS3_","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE9__get_dayERiRS4_S4_RjRKNS_5ctypeIcEE","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE13__lower_boundIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_SD_SD_","__ZNSt3__111__stdoutbufIcE8overflowEi","__ZNK5Avoid22TopologyAddonInterface10outputCodeEP7__sFILE","__ZN5Avoid22TopologyAddonInterfaceC1Ev","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEEC1ERKS6_","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueERKS3_","__ZNSt3__125__num_get_signed_integralIlEET_PKcS3_Rji","__ZNSt3__14listINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED1Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","__ZTv0_n12_NSt3__113basic_ostreamIwNS_11char_traitsIwEEED0Ev","__ZN5Avoid5Block18populateSplitBlockEPS0_PNS_8VariableEPKS2_","__ZNK5Avoid7ConnEnd17possiblePinPointsEv","__ZN5Avoid11pointOnLineERKNS_5PointES2_S2_d","__ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE5eraseENS_21__list_const_iteratorIS2_PvEE","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPci","__ZNSt3__114__split_bufferINS_6vectorIN5Avoid5PointENS_9allocatorIS3_EEEERNS4_IS6_EEED2Ev","__ZN5Avoid6Router16newBlockingShapeERKNS_7PolygonEi","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE","__ZNKSt3__110moneypunctIwLb1EE13do_neg_formatEv","__ZNKSt3__15ctypeIcE8do_widenEPKcS3_Pc","__ZN5Avoid4Node15firstPointAboveEj","__ZNSt3__17codecvtIDsc10_mbstate_tED0Ev","__ZNSt3__16__treeIPN5Avoid7ConnRefENS_4lessIS3_EENS_9allocatorIS3_EEED1Ev","__ZN5Avoid11LineSegment33addEdgeHorizontalTillIntersectionEPNS_6RouterERS0_","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC2ERKS8_","__ZNSt3__114__split_bufferIN5Avoid5PointERNS_9allocatorIS2_EEE18__construct_at_endEj","__ZN5Avoid9IncSolver11splitBlocksEv","__ZTv0_n12_NSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev","__ZNK5Avoid6VertIDltERKS0_","__ZN5Avoid4NodeC2EPNS_7VertInfEd","__ZN5Avoid6Router9moveShapeEPNS_8ShapeRefEdd","__ZNSt3__19__num_putIcE23__widen_and_group_floatEPcS2_S2_S2_RS2_S3_RKNS_6localeE","__ZN5Avoid10err_printfEPKcz","__ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv","__ZN5Avoid6Router28rerouteAndCallbackConnectorsEv","__ZNKSt3__15ctypeIcE9do_narrowEPKcS3_cPc","__ZNSt3__110__list_impIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEED2Ev","__ZNK5Avoid7EdgeInf7blockerEv","__ZNK5Avoid6Router11newObjectIdEv","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEEC2EjjS9_","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEEC2ERKSF_","__ZN5Avoid18ConnectorCrossingsC1ERNS_7PolygonEbS2_PNS_7ConnRefES4_","__ZNSt9bad_allocC1Ev","__ZNSt3__114__split_bufferIPN5Avoid7VertInfERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZN5Avoid6Router26regenerateStaticBuiltGraphEv","__ZN5AvoidlsERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEERKNS_10ConstraintE","__ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEE18__construct_at_endEj","__ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE16__insert_node_atEPNS_16__tree_node_baseIPvEERS9_S9_","__ZN5Avoid5Timer5ResetEv","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZN5Avoid11LineSegmentC2ERKS0_","__ZNSt3__111__tree_prevIPKNS_16__tree_node_baseIPvEEEET_S6_","__ZN5Avoid5ANodeC1Ev","__ZNSt3__16vectorIiNS_9allocatorIiEEED1Ev","__ZNSt3__17codecvtIDic10_mbstate_tED0Ev","__ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEE16__find_equal_keyERPNS_16__tree_node_baseIPvEERS8_","__ZNSt3__16__sortIRN5Avoid10CmpIndexesEPjEEvT0_S5_T_","__ZNSt3__14listINS_4pairIPN5Avoid7ConnRefEbEENS_9allocatorIS5_EEED2Ev","__ZNSt3__14listIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev","__ZNSt3__14listIPN5Avoid7VertInfENS_9allocatorIS3_EEE9push_backERKS3_","__ZN5Avoid5Block16findMinLMBetweenEPNS_8VariableES2_","__ZNSt3__114__split_bufferINS_4pairIjN5Avoid5PointEEERNS_9allocatorIS4_EEE18__construct_at_endINS_13move_iteratorIPS4_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESE_SE_","__ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIwLb0EEEiEERT_T0_","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEED2Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS8_","__ZN5Avoid11VertInfList14getVertexByPosERKNS_5PointE","__ZNK5Avoid14HeapCmpVertInfclEPKNS_7VertInfES3_","__ZN5Avoid15isBoundingShapeC2ERNSt3__13setIjNS1_4lessIjEENS1_9allocatorIjEEEE","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKw","__ZN5AvoidL6segDirERKNS_5PointES2_","__ZNSt3__14listINS_4pairIdPN5Avoid7ConnRefEEENS_9allocatorIS5_EEEC2INS_21__tree_const_iteratorIS5_PKNS_11__tree_nodeIS5_PvEEiEEEET_SH_PNS_9enable_ifIXsr19__is_input_iteratorISH_EE5valueEvE4typeE","__ZN5Avoid7ConnEndD2Ev","__ZN5Avoid5Block5mergeEPS0_PNS_10ConstraintEd","__ZNK5Avoid5Block20getActivePathBetweenERNSt3__16vectorIPNS_10ConstraintENS1_9allocatorIS4_EEEEPKNS_8VariableESB_SB_","__ZNSt3__13setIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEED1Ev","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endINS_13move_iteratorIPS3_EEEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeESD_SD_","__ZN5AvoidL20constructPolygonPathERNS_7PolygonEPNS_7VertInfES3_RNSt3__16vectorINS_5ANodeENS4_9allocatorIS6_EEEEi","__ZN5Avoid8EdgePairC2ERKNS_9PointPairEPNS_7VertInfE","__ZNSt3__112_GLOBAL__N_14makeINS_9money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_","__ZNSt3__117__widen_from_utf8ILj32EED1Ev","__ZNSt3__15queueIjNS_5dequeIjNS_9allocatorIjEEEEED1Ev","__ZNSt3__112__do_nothingEPv","__ZNK5Avoid21HyperEdgeShiftSegment8lowPointEv","___cxx_global_array_dtor83","___cxx_global_array_dtor80","__ZNSt3__16vectorIcNS_9allocatorIcEEE8allocateEj","__ZN5Avoid7EdgeInfC1EPNS_7VertInfES2_b","__ZN5Avoid17ImproveHyperEdges22buildHyperEdgeSegmentsEj","__ZNKSt3__17num_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_putES4_RNS_8ios_baseEcPKv","__ZNKSt3__18numpunctIwE12do_falsenameEv","__ZN5Avoid11LineSegment13mergeVertInfsERKS0_","__ZN5Avoid18ShapeConnectionPinD1Ev","__ZNK5Avoid19NudgingShiftSegment15shouldAlignWithEPKNS_12ShiftSegmentEj","__ZNSt3__111__stdoutbufIcED0Ev","__ZN5Avoid7PolygonC2ERKNS_16PolygonInterfaceE","__ZTv0_n12_NSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev","__ZN5Avoid5Block22updateWeightedPositionEv","__ZN5Avoid7PolygonC1Ev","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEED2Ev","__ZNSt3__114__split_bufferIjRNS_9allocatorIjEEEC2EjjS3_","__ZNKSt3__17codecvtIcc10_mbstate_tE9do_lengthERS1_PKcS5_j","__ZNK5Avoid7Polygon2idEv","__ZNSt3__16localeC2Ev","__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEED1Ev","__ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE12__find_equalIS2_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZNSt3__13mapIPN5Avoid7VertInfEPNS1_17HyperEdgeTreeNodeENS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S5_EEEEEixERSA_","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEED1Ev","__ZN5Avoid22splitBranchingSegmentsERNS_7PolygonEbS1_d","__ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRe","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEEC2ERKS9_","__ZNKSt3__17num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjS8_","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE15__insert_uniqueENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEERKS3_","__ZNSt3__14listIN5Avoid7ConnEndENS_9allocatorIS2_EEED1Ev","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_","__ZNKSt3__120__time_get_c_storageIcE8__monthsEv","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_","__ZNK5Avoid11JunctionRef13positionFixedEv","__ZN5Avoid27MinimumTerminalSpanningTree20commitToBridgingEdgeEPNS_7EdgeInfERj","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm","__ZNKSt8bad_cast4whatEv","__ZNSt3__18numpunctIwED0Ev","__ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED1Ev","__ZNSt3__16vectorIPN5Avoid7VertInfENS_9allocatorIS3_EEEC2ERKS6_","__ZNKSt3__112_GLOBAL__N_111__fake_bindclEv","__ZNSt3__16vectorIcNS_9allocatorIcEEEC2ERKS3_","__ZNK10__cxxabiv122__base_class_type_info16search_below_dstEPNS_19__dynamic_cast_infoEPKvib","__ZNSt3__17num_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev","__ZNKSt3__15ctypeIwE10do_tolowerEw","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEE6assignINS_21__list_const_iteratorIS3_PvEEEEvT_SB_PNS_9enable_ifIXsr19__is_input_iteratorISB_EE5valueEvE4typeE","__ZNSt3__14listIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev","__ZNSt3__13setIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEED1Ev","__ZN5Avoid13delete_objectclINS_8VariableEEEvPT_","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE9push_backERKS3_","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE10deallocateEv","__ZNSt3__114__copy_alignedINS_6vectorIbNS_9allocatorIbEEEELb0EEENS_14__bit_iteratorIT_Lb0EEENS5_IS6_XT0_EEES8_S7_","__ZN5Avoid11LineSegmentC1ERKdS2_PNS_7VertInfE","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE8allocateEj","__ZNSt3__118__tree_left_rotateIPNS_16__tree_node_baseIPvEEEEvT_","__ZN5Avoid11JunctionRefC1EPNS_6RouterENS_5PointEj","__ZNSt3__112_GLOBAL__N_14makeINS_8numpunctIwEEiEERT_T0_","__ZNSt3__114__split_bufferIPN5Avoid5BlockERNS_9allocatorIS3_EEE18__construct_at_endEj","__ZNSt3__110__stdinbufIwED1Ev","__ZN5Avoid11VertInfList12removeVertexEPNS_7VertInfE","__ZNSt3__114__split_bufferIPN5Avoid10ConstraintERNS_9allocatorIS3_EEED2Ev","__ZNK5Avoid11JunctionRef10outputCodeEP7__sFILE","__ZNSt3__111__money_getIwE13__gather_infoEbRKNS_6localeERNS_10money_base7patternERwS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS9_IwNSA_IwEENSC_IwEEEESJ_SJ_Ri","___cxx_global_var_init996","__ZN5Avoid22TopologyAddonInterfaceC2ERKS0_","__ZNSt3__18numpunctIwED1Ev","__ZN5Avoid9inPolyGenERKNS_16PolygonInterfaceERKNS_5PointE","__ZNSt3__110__stdinbufIwEC1EP7__sFILE","__ZNSt3__14listIPN5Avoid12ShiftSegmentENS_9allocatorIS3_EEEC2ERKS6_","__ZNKSt3__19money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERjRNS_12basic_stringIwS3_NS_9allocatorIwEEEE","__ZNKSt3__17codecvtIDic10_mbstate_tE10do_unshiftERS1_PcS4_RS4_","__ZN5Avoid11LineSegmentC1ERKS0_","__ZNK5Avoid8Obstacle14routingPolygonEv","__ZN5Avoid11LineSegmentC1ERKdS2_S2_bPNS_7VertInfES4_","__ZNSt3__16vectorINS_4pairIN5Avoid5PointES3_EENS_9allocatorIS4_EEED1Ev","__ZNSt3__16vectorINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEENS5_IS7_EEE6resizeEj","__ZN5Avoid17HyperEdgeTreeEdgeC2EPNS_17HyperEdgeTreeNodeES2_PNS_7ConnRefE","__ZN5Avoid7ConnEndC2ERKNS_5PointE","__ZNSt3__16vectorIN5Avoid5PointENS_9allocatorIS2_EEE6assignIPS2_EENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueEvE4typeES9_S9_","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE","__ZNSt3__14pairIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEEED2Ev","__ZNSt3__111__money_putIcE13__gather_infoEbbRKNS_6localeERNS_10money_base7patternERcS8_RNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEESF_SF_Ri","__ZN5Avoid6Router8addShapeEPNS_8ShapeRefE","__ZNKSt3__17codecvtIcc10_mbstate_tE16do_always_noconvEv","__ZN5Avoid8ShapeRefC1EPNS_6RouterERNS_7PolygonEj","__ZN5Avoid7ConnRef29assignConnectionPinVisibilityEb","__ZNSt3__114__split_bufferINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEERNS7_IS9_EEED1Ev","__ZN5Avoid5Block5splitERPS0_S2_PNS_10ConstraintE","__ZNSt3__113__vector_baseIPN5Avoid7VertInfENS_9allocatorIS3_EEED2Ev","__ZNSt3__16locale5__imp7installINS_10moneypunctIwLb0EEEEEvPT_","__ZNKSt9bad_alloc4whatEv","__ZNSt3__111__stdoutbufIwED2Ev","__ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendIPcEENS_9enable_ifIXsr21__is_forward_iteratorIT_EE5valueERS5_E4typeES9_S9_","__ZNSt3__16__treeINS_4pairIN5Avoid5PointENS2_7PtOrderEEENS_19__map_value_compareIS3_S4_NS_4lessIS3_EELb1EEENS_9allocatorIS5_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSG_SG_","__ZNSt3__112_GLOBAL__N_14makeINS_10moneypunctIwLb1EEEiEERT_T0_","__ZNSt3__114__shared_count16__release_sharedEv","__ZNSt3__112__deque_baseIjNS_9allocatorIjEEE3endEv","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__erase_uniqueIS5_EEjRKT_","__ZNSt3__112_GLOBAL__N_14makeINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiEERT_T0_","__ZNSt3__114__split_bufferIPN5Avoid17HyperEdgeTreeEdgeERNS_9allocatorIS3_EEEC1EjjS6_","__ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6assignEPKwj","__ZNSt3__16__treeIPN5Avoid7VertInfENS1_10CmpVertInfENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEESD_RKT_","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEED2Ev","__ZN5Avoid10ClusterRef18rectangularPolygonEv","__ZNSt3__16vectorIjNS_9allocatorIjEEED2Ev","__ZNSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE16__construct_nodeERKS5_","__ZN5Avoid17HyperEdgeTreeEdge24removeOtherJunctionsFromEPNS_17HyperEdgeTreeNodeERNSt3__13setIPNS_11JunctionRefENS3_4lessIS6_EENS3_9allocatorIS6_EEEE","__ZNSt3__13mapIN5Avoid6VertIDENS_3setIjNS_4lessIjEENS_9allocatorIjEEEENS4_IS2_EENS6_INS_4pairIKS2_S8_EEEEEixERSB_","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEEC2ERKS4_","__ZNSt3__110__list_impINS_4pairIjjEENS_9allocatorIS2_EEE5clearEv","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6xsgetnEPwi","__ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED1Ev","__ZNK5Avoid11LineSegmentltERKS0_","__ZNSt3__16__treeINS_4pairIPN5Avoid11JunctionRefENS_4listIPNS2_12ShiftSegmentENS_9allocatorIS7_EEEEEENS_19__map_value_compareIS4_SA_NS_4lessIS4_EELb1EEENS8_ISB_EEE5clearEv","__ZNKSt3__119__iostream_category7messageEi","__ZNK5Avoid10CmpNodePosclEPKNS_4NodeES3_","__ZNK5Avoid8Obstacle6routerEv","__ZN5Avoid7ConnEndC2Ev","__ZNKSt3__110moneypunctIcLb0EE13do_pos_formatEv","__ZN5Avoid8Obstacle19removeConnectionPinEPNS_18ShapeConnectionPinE","__ZN5Avoid11LineSegment15commitPositionXEPNS_6RouterEd","__ZNSt3__19money_putIwNS_19ostreambuf_iteratorIwNS_11char_traitsIwEEEEED0Ev","__ZNK5Avoid7EdgeInf17isDummyConnectionEv","__ZNKSt3__17codecvtIcc10_mbstate_tE6do_outERS1_PKcS5_RS5_PcS7_RS7_","__ZNKSt3__110moneypunctIwLb0EE14do_frac_digitsEv","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE7destroyEPNS_11__tree_nodeIS2_PvEE","__ZNSt3__113__vector_baseINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEED2Ev","__ZNSt3__113basic_ostreamIwNS_11char_traitsIwEEE6sentryC2ERS3_","__ZN5AvoidL21nudgeOrthogonalRoutesEPNS_6RouterEjRNSt3__13mapINS_5PointENS_7PtOrderENS2_4lessIS4_EENS2_9allocatorINS2_4pairIKS4_S5_EEEEEERNS2_4listIPNS_12ShiftSegmentENS8_ISH_EEEEb","__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEED1Ev","__ZNSt3__115__num_get_floatIdEET_PKcS3_Rj","__ZNKSt3__120__time_get_c_storageIcE7__am_pmEv","__ZNSt3__14listIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE9push_backERKS2_","__ZN5Avoid7ConnEndC1EPNS_8ShapeRefEj","__ZN5AvoidL26buildOrthogonalChannelInfoEPNS_6RouterEjRNSt3__14listIPNS_12ShiftSegmentENS2_9allocatorIS5_EEEE","__ZNSt3__16__treeIPN5Avoid4NodeENS1_10CmpNodePosENS_9allocatorIS3_EEE5eraseENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_PvEEiEE","__ZNSt3__16vectorIPN5Avoid10ConstraintENS_9allocatorIS3_EEE18__construct_at_endEj","__ZNSt3__114__num_put_base14__format_floatEPcPKcj","__ZNSt3__16__treeIPN5Avoid7ConnEndENS_4lessIS3_EENS_9allocatorIS3_EEE14__erase_uniqueIS3_EEjRKT_","__ZNSt3__16vectorINS_3setIPN5Avoid7VertInfENS_4lessIS4_EENS_9allocatorIS4_EEEENS7_IS9_EEE8__appendEj","__Znwj","__ZNSt3__13mapIN5Avoid5PointENS1_7PtOrderENS_4lessIS2_EENS_9allocatorINS_4pairIKS2_S3_EEEEE16__construct_nodeERS8_","__ZN5Avoid7PolygonD2Ev","__ZNSt3__112_GLOBAL__N_14makeINS_7codecvtIcc10_mbstate_tEEiEERT_T0_","__ZNSt3__16vectorIPN5Avoid5BlockENS_9allocatorIS3_EEED1Ev","__ZN5Avoid8ShapeRefC2EPNS_6RouterERNS_7PolygonEj","__ZN5Avoid5TimerC1Ev","__ZNSt3__114__split_bufferINS_4listIPN5Avoid11JunctionRefENS_9allocatorIS4_EEEERNS5_IS7_EEE10push_frontERKS7_","__ZNSt3__16locale5__imp7installINS_8messagesIcEEEEvPT_","__ZNSt3__115basic_stringbufIcNS_11char_traitsIcEENS_9allocatorIcEEE9underflowEv","__ZNSt3__14listIPN5Avoid11JunctionRefENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEES9_","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE12__get_minuteERiRS4_S4_RjRKNS_5ctypeIwEE","__ZNSt3__14listIPN5Avoid7ConnRefENS_9allocatorIS3_EEEC1ERKS6_","__ZNSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED0Ev","__ZN5Avoid34clearConnectorRouteCheckpointCacheEPNS_6RouterE","__ZNK5Avoid7Polygon5emptyEv","__ZNSt3__14listINS_4pairIjjEENS_9allocatorIS2_EEED2Ev","__ZNSt3__111__stdoutbufIwED0Ev","__ZNSt3__114__split_bufferIPN5Avoid8VariableERNS_9allocatorIS3_EEED1Ev","__ZNSt3__17codecvtIwc10_mbstate_tED2Ev","__ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6setbufEPci","__ZNSt3__16vectorIPN5Avoid17HyperEdgeTreeEdgeENS_9allocatorIS3_EEED2Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE12__find_equalIS3_EERPNS_16__tree_node_baseIPvEENS_21__tree_const_iteratorIS3_PKNS_11__tree_nodeIS3_SB_EEiEESE_RKT_","__ZNSt3__14listINS_3setINS_4pairIdPN5Avoid7ConnRefEEENS3_14CmpConnCostRefENS_9allocatorIS6_EEEENS8_ISA_EEE9push_backERKSA_","__ZNKSt3__18time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_RNS_8ios_baseERjP2tmcc","__ZN5Avoid7EdgeInf19checkEdgeVisibilityEPNS_7VertInfES2_b","__ZNSt3__19money_putIcNS_19ostreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev","__ZNSt3__14listIjNS_9allocatorIjEEED1Ev","__ZN5Avoid26PotentialSegmentConstraint12rewriteIndexEjj","__ZNSt3__16__treeIN5Avoid5PointENS_4lessIS2_EENS_9allocatorIS2_EEE15__insert_uniqueERKS2_","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEEC1ERKS5_","__ZNSt3__16__treeIPN5Avoid11JunctionRefENS_4lessIS3_EENS_9allocatorIS3_EEE7destroyEPNS_11__tree_nodeIS3_PvEE","__ZNKSt3__18time_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE11do_get_dateES4_S4_RNS_8ios_baseERjP2tm","__ZNSt3__117__push_heap_frontIRN5Avoid10CmpEdgeInfENS_11__wrap_iterIPPNS1_7EdgeInfEEEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE","__ZNKSt3__16__treeINS_4pairIdPN5Avoid7ConnRefEEENS2_14CmpConnCostRefENS_9allocatorIS5_EEE14__count_uniqueIS5_EEjRKT_","__ZNSt3__16__treeIPN5Avoid17HyperEdgeTreeNodeENS1_13CmpNodesInDimENS_9allocatorIS3_EEEC2ERKS4_","__ZNSt3__110__list_impIN5Avoid26PotentialSegmentConstraintENS_9allocatorIS2_EEE5clearEv","__ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED1Ev","__ZNSt3__16locale5__imp7installINS_10moneypunctIcLb0EEEEEvPT_","__ZNSt3__16locale5__imp7installINS_7num_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_","__ZN5Avoid7ConnRefC1EPNS_6RouterERKNS_7ConnEndES5_j","__ZN5Avoid8EdgePairC1ERKNS_9PointPairEPNS_7VertInfE","__ZNSt3__116__narrow_to_utf8ILj32EED0Ev","__ZNSt3__114__split_bufferINS_4pairIPN5Avoid5PointEPNS2_7ConnRefEEERNS_9allocatorIS7_EEE10push_frontERKS7_","__ZNSt3__16__treeIN5Avoid9PointPairENS_4lessIS2_EENS_9allocatorIS2_EEE16__insert_node_atEPNS_16__tree_node_baseIPvEERSB_SB_","__ZN5Avoid11LineSegment23insertBreakpointsFinishEPNS_6RouterERS0_","__ZNK10__cxxabiv117__pbase_type_info9can_catchEPKNS_16__shim_type_infoERPv","__ZN5Avoid5Block15reset_active_lmEPNS_8VariableES2_","__ZN5Avoid22UnsatisfiableExceptionC1ERKS0_","__ZN5Avoid9IncSolver10copyResultEv","__ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEED2Ev","__ZN5Avoid19NudgingShiftSegment9mergeWithEPKNS_12ShiftSegmentEj","__ZNSt3__16vectorIbNS_9allocatorIbEEED1Ev","__ZNSt3__1lsIcNS_11char_traitsIcEENS_9allocatorIcEEEERNS_13basic_ostreamIT_T0_EES9_RKNS_12basic_stringIS6_S7_T1_EE","__ZNSt3__117__push_heap_frontIRNS_6__lessIN5Avoid5ANodeES3_EENS_11__wrap_iterIPS3_EEEEvT0_S9_T_NS_15iterator_traitsIS9_E15difference_typeE","__ZNSt13runtime_errorD0Ev","__ZNSt3__113__vector_baseIPN5Avoid7EdgeInfENS_9allocatorIS3_EEED2Ev","__ZNK5Avoid6VertIDneERKS0_","__ZNSt3__112system_errorD1Ev","__ZNK5Avoid6VertIDeqERKS0_","__ZNSt3__14listIPN5Avoid8ObstacleENS_9allocatorIS3_EEE5eraseENS_21__list_const_iteratorIS3_PvEE","__ZNKSt3__18messagesIwE6do_getEiiiRKNS_12basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEEE","__ZN5Avoid23ConnRerouteFlagDelegate7addConnEPNS_7ConnRefE","__ZNSt3__19money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEED1Ev","__ZNSt3__14listINS_4pairIPN5Avoid7EdgeInfEPNS2_7VertInfEEENS_9allocatorIS7_EEE9push_backERKS7_","__ZNSt3__115basic_streambufIwNS_11char_traitsIwEEE6xsputnEPKwi","__ZNK5Avoid7ConnRef3dstEv","__ZNSt3__14listIN5Avoid11LineSegmentENS_9allocatorIS2_EEE9push_backERKS2_","__ZNSt3__113basic_istreamIwNS_11char_traitsIwEEED0Ev","__ZNSt3__16__treeINS_4pairIPN5Avoid7VertInfEPNS2_17HyperEdgeTreeNodeEEENS_19__map_value_compareIS4_S6_NS_4lessIS4_EELb1EEENS_9allocatorIS7_EEE7destroyEPNS_11__tree_nodeIS7_PvEE","__ZNSt3__114__split_bufferINS_4listIPN5Avoid7ConnRefENS_9allocatorIS4_EEEERNS5_IS7_EEED1Ev","__ZNSt3__16__treeIPN5Avoid7VertInfENS_4lessIS3_EENS_9allocatorIS3_EEE4findIS3_EENS_15__tree_iteratorIS3_PNS_11__tree_nodeIS3_PvEEiEERKT_","__ZNSt3__16locale5__imp7installINS_8time_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEEEvPT_","__ZNSt3__120__get_up_to_n_digitsIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEEEiRT0_S5_RjRKNS_5ctypeIT_EEi","__ZNSt3__112__deque_baseIjNS_9allocatorIjEEE5beginEv"] - - - diff --git a/avoid.js b/avoid.js deleted file mode 100644 index 831ef22..0000000 --- a/avoid.js +++ /dev/null @@ -1,103 +0,0 @@ -(function (global) { - -function Avoid() {} - -Avoid.C = { - // void *createRouter() - createRouter: Module.cwrap('createRouter', 'number'), - - // void *createShape(void* router, double x1, double y1, double x2, double y2) - createShape: Module.cwrap('createShape', 'number', ['number', 'number', 'number', 'number', 'number']), - - // void moveShape(void *router, void* shapeRef, double x, double y) - moveShape: Module.cwrap('moveShape', 'number', ['number', 'number', 'number', 'number']), - - // void moveShapeRect(void *router, void* shapeRef, double x1, double y1, double x2, double y2) - moveShapeRect: Module.cwrap('moveShapeRect', 'number', ['number', 'number', 'number', 'number', 'number', 'number']), - - // void processTransaction(void *router) - processTransaction: Module.cwrap('processTransaction', 'number', ['number']), - - // void *connect(void* router, double x1, double y1, double x2, double y2) - connect: Module.cwrap('connect', 'number', ['number', 'number', 'number', 'number', 'number']), - - // void *connectShapes(void* router, void* shapeRef1, void* shapeRef2, int classId1, int classId2) - connectShapes: Module.cwrap('connectShapes', 'number', ['number', 'number', 'number', 'number', 'number']), - - // void disconnect(void *router, void* connRef) - disconnect: Module.cwrap('disconnect', 'number', ['number', 'number']), - - // size_t displayRoute(void *connRef, void* array, size_t maxpoints) - displayRoute: Module.cwrap('displayRoute', 'number', ['number', 'number', 'number']), - - // void *createShapeConnectionPin(void* shapeRef, int classId, double xOffset, double yOffset) - createShapeConnectionPin: Module.cwrap('createShapeConnectionPin', 'number', ['number', 'number', 'number', 'number']), -}; - -Avoid.Router = function() { - this._handle = Avoid.C.createRouter(); -}; - -Avoid.Router.prototype = { - moveShape: function(shape, xDiff, yDiff) { - Avoid.C.moveShape(this._handle, shape._handle, xDiff, yDiff); - }, - - moveShapeRect: function(shape, x1, y1, x2, y2) { - Avoid.C.moveShapeRect(this._handle, shape._handle, x1, y1, x2, y2); - }, - - processTransaction: function() { - Avoid.C.processTransaction(this._handle); - }, - - deleteConnection: function(connection) { - Avoid.C.disconnect(this._handle, connection._handle); - }, -}; - -Avoid.Shape = function(router, x1, y1, x2, y2) { - this._handle = Avoid.C.createShape(router._handle, x1, y1, x2, y2); -}; - -Avoid.Shape.prototype = { -}; - -Avoid.Connection = function() {}; -Avoid.Connection.connectPoints = function(router, x1, y1, x2, y2) { - var connection = new Avoid.Connection(); - connection._handle = Avoid.C.connect(router._handle, x1, y1, x2, y2); - return connection; -}; - -Avoid.Connection.connectShapes = function(router, shapeFrom, shapeTo, classIdFrom, classIdTo) { - var connection = new Avoid.Connection(); - connection._handle = Avoid.C.connectShapes(router._handle, shapeFrom._handle, shapeTo._handle, classIdFrom, classIdTo); - return connection; -}; - -// Buffer for connection points retrieval. Lets pretend that 1000 of double (x, y) -// pairs is enough. -const BUFFER_SIZE = 8 * 2 * 1000; -Avoid.Connection._routesBuffer = _malloc(BUFFER_SIZE); - -Avoid.Connection.prototype = { - displayRoute: function() { - var elems = Avoid.C.displayRoute(this._handle, Avoid.Connection._routesBuffer, BUFFER_SIZE); - var segments = []; - for (var i = 0; i < elems; i+=2) { - var x = getValue(Avoid.Connection._routesBuffer + i*8, 'double'); - var y = getValue(Avoid.Connection._routesBuffer + (i+1)*8, 'double'); - segments.push([x, y]); - } - return segments; - }, -}; - -Avoid.ShapeConnectionPin = function(shape, classId, xOffset, yOffset) { - this._handle = Avoid.C.createShapeConnectionPin(shape._handle, classId, xOffset, yOffset); -}; - -global.Avoid = Avoid; - -}(this)); diff --git a/build.sh b/build.sh deleted file mode 100644 index 045d35e..0000000 --- a/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -LIBAVOID_SOURCE=../adaptagrams/cola/libavoid - -emcc -O2 -I$LIBAVOID_SOURCE/.. avoid.cpp $LIBAVOID_SOURCE/.libs/libavoid.a -o avoid.bin.js -s EXPORTED_FUNCTIONS="['_createRouter', '_createShape', '_moveShape', '_moveShapeRect', '_processTransaction', '_connect', '_disconnect', '_displayRoute', '_connectShapes', '_createShapeConnectionPin']" diff --git a/container-build.sh b/container-build.sh new file mode 100644 index 0000000..c13862e --- /dev/null +++ b/container-build.sh @@ -0,0 +1,5 @@ +#!/bin/bash + + +# to build container in docker it's one time process +docker build -t avoidjs . \ No newline at end of file diff --git a/container-run.sh b/container-run.sh new file mode 100644 index 0000000..44de115 --- /dev/null +++ b/container-run.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# to build avoid.bin.js(run every time when we need to build avoid.bin.js) +docker run --mount type=bind,source=`pwd`/src,target=/home/avoidjs --rm -it avoidjs \ No newline at end of file diff --git a/src/autogen-emsdk.sh b/src/autogen-emsdk.sh new file mode 100644 index 0000000..d6832e7 --- /dev/null +++ b/src/autogen-emsdk.sh @@ -0,0 +1,35 @@ +#!/bin/sh -xe +# +# We use gnu automake to build. I've tried to make the contents of the +# repository as platform agnostic as possible, so you'll need to call +# autoreconf before configure. + +# Make m4 directory, otherwise autoreconf fails when it doesn't exist. +mkdir -p m4 + +autoreconf --install --verbose + +# The following sequence is are the manual steps if autoreconf isn't available. +# +#aclocal $ACLOCAL_FLAGS +#glibtoolize +#autoheader +#autoconf +#automake -a --add-missing + + +# Configure. +emconfigure ./configure + +# Instead, use this line if building for SWIG Java: +# ./configure CPPFLAGS="-DUSE_ASSERT_EXCEPTIONS" + +# Instead, use this line if building for SWIG Python: +# ./configure CXXFLAGS="-O3 -DNDEBUG -arch x86_64 -arch i386" LDFLAGS="-arch x86_64 -arch i386" + +emmake make + +# The following builds examples and tests for each of the libraries. +# Please look at these before sending me questions. +emmake make check + diff --git a/src/avoid.bin.js b/src/avoid.bin.js new file mode 100644 index 0000000..bd3fa2e --- /dev/null +++ b/src/avoid.bin.js @@ -0,0 +1,23 @@ +var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var ret=nodeFS["readFileSync"](filename);return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return 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)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){eval.call(null,x)}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(var key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var Runtime={setTempRet0:(function(value){tempRet0=value;return value}),getTempRet0:(function(){return tempRet0}),stackSave:(function(){return STACKTOP}),stackRestore:(function(stackTop){STACKTOP=stackTop}),getNativeTypeSize:(function(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 Runtime.QUANTUM_SIZE}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}),getNativeFieldSize:(function(type){return Math.max(Runtime.getNativeTypeSize(type),Runtime.QUANTUM_SIZE)}),STACK_ALIGN:16,prepVararg:(function(ptr,type){if(type==="double"||type==="i64"){if(ptr&7){assert((ptr&7)===4);ptr+=4}}else{assert((ptr&3)===0)}return ptr}),getAlignSize:(function(type,size,vararg){if(!vararg&&(type=="i64"||type=="double"))return 8;if(!type)return Math.min(size,8);return Math.min(size||(type?Runtime.getNativeFieldSize(type):0),Runtime.QUANTUM_SIZE)}),dynCall:(function(sig,ptr,args){if(args&&args.length){return Module["dynCall_"+sig].apply(null,[ptr].concat(args))}else{return Module["dynCall_"+sig].call(null,ptr)}}),functionPointers:[],addFunction:(function(func){for(var i=0;i>2];var end=(ret+size+15|0)&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}),alignMemory:(function(size,quantum){var ret=size=Math.ceil(size/(quantum?quantum:16))*(quantum?quantum:16);return ret}),makeBigInt:(function(low,high,unsigned){var ret=unsigned?+(low>>>0)+ +(high>>>0)*+4294967296:+(low>>>0)+ +(high|0)*+4294967296;return ret}),GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module["Runtime"]=Runtime;var ABORT=0;var EXITSTATUS=0;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];if(!func){try{func=eval("_"+ident)}catch(e){}}assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)");return func}var cwrap,ccall;((function(){var JSfuncs={"stackSave":(function(){Runtime.stackSave()}),"stackRestore":(function(){Runtime.stackRestore()}),"arrayToC":(function(arr){var ret=Runtime.stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}),"stringToC":(function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=Runtime.stackAlloc(len);stringToUTF8(str,ret,len)}return ret})};var toC={"string":JSfuncs["stringToC"],"array":JSfuncs["arrayToC"]};ccall=function ccallFunc(ident,returnType,argTypes,args,opts){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)}}Module["setValue"]=setValue;function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";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];default:abort("invalid type for setValue: "+type)}return null}Module["getValue"]=getValue;var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;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=[typeof _malloc==="function"?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var ptr=ret,stop;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>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return Module["UTF8ToString"](ptr)}Module["Pointer_stringify"]=Pointer_stringify;function AsciiToString(ptr){var str="";while(1){var ch=HEAP8[ptr++>>0];if(!ch)return str;str+=String.fromCharCode(ch)}}Module["AsciiToString"]=AsciiToString;function stringToAscii(str,outPtr){return writeAsciiToMemory(str,outPtr,false)}Module["stringToAscii"]=stringToAscii;var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}}Module["UTF8ArrayToString"]=UTF8ArrayToString;function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}Module["UTF8ToString"]=UTF8ToString;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)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&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(u<=2097151){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}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}Module["stringToUTF8Array"]=stringToUTF8Array;function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}Module["stringToUTF8"]=stringToUTF8;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 if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}Module["lengthBytesUTF8"]=lengthBytesUTF8;var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){var __cxa_demangle_func=Module["___cxa_demangle"]||Module["__cxa_demangle"];if(__cxa_demangle_func){try{var s=func.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(getValue(status,"i32")===0&&ret){return Pointer_stringify(ret)}}catch(e){}finally{if(buf)_free(buf);if(status)_free(status);if(ret)_free(ret)}return func}Runtime.warnOnce("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling");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:x+" ["+y+"]"}))}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)}Module["stackTrace"]=stackTrace;var HEAP,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 STATIC_BASE,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (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 enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;if(TOTAL_MEMORY0){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 __ATEXIT__=[];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;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);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)}Module["addOnPreRun"]=addOnPreRun;function addOnInit(cb){__ATINIT__.unshift(cb)}Module["addOnInit"]=addOnInit;function addOnPreMain(cb){__ATMAIN__.unshift(cb)}Module["addOnPreMain"]=addOnPreMain;function addOnExit(cb){__ATEXIT__.unshift(cb)}Module["addOnExit"]=addOnExit;function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}Module["addOnPostRun"]=addOnPostRun;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}Module["intArrayFromString"]=intArrayFromString;function intArrayToString(array){var ret=[];for(var i=0;i255){chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}Module["intArrayToString"]=intArrayToString;function writeStringToMemory(string,buffer,dontAddNull){Runtime.warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}Module["writeStringToMemory"]=writeStringToMemory;function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}Module["writeArrayToMemory"]=writeArrayToMemory;function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}Module["writeAsciiToMemory"]=writeAsciiToMemory;if(!Math["imul"]||Math["imul"](4294967295,5)!==-5)Math["imul"]=function imul(a,b){var ah=a>>>16;var al=a&65535;var bh=b>>>16;var bl=b&65535;return al*bl+(ah*bl+al*bh<<16)|0};Math.imul=Math["imul"];if(!Math["clz32"])Math["clz32"]=(function(x){x=x>>>0;for(var i=0;i<32;i++){if(x&1<<31-i)return i}return 32});Math.clz32=Math["clz32"];if(!Math["trunc"])Math["trunc"]=(function(x){return x<0?Math.ceil(x):Math.floor(x)});Math.trunc=Math["trunc"];var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;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["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var ASM_CONSTS=[];STATIC_BASE=Runtime.GLOBAL_BASE;STATICTOP=STATIC_BASE+31680;__ATINIT__.push({func:(function(){__GLOBAL__sub_I_router_cpp()})},{func:(function(){__GLOBAL__sub_I_orthogonal_cpp()})},{func:(function(){__GLOBAL__sub_I_actioninfo_cpp()})},{func:(function(){__GLOBAL__sub_I_scanline_cpp()})},{func:(function(){__GLOBAL__sub_I_hyperedgetree_cpp()})},{func:(function(){__GLOBAL__sub_I_mtst_cpp()})},{func:(function(){__GLOBAL__sub_I_hyperedgeimprover_cpp()})},{func:(function(){__GLOBAL__sub_I_hyperedge_cpp()})},{func:(function(){__GLOBAL__sub_I_visibility_cpp()})},{func:(function(){__GLOBAL__sub_I_viscluster_cpp()})},{func:(function(){__GLOBAL__sub_I_shape_cpp()})},{func:(function(){__GLOBAL__sub_I_avoid_cpp()})},{func:(function(){__GLOBAL__sub_I_obstacle_cpp()})},{func:(function(){__GLOBAL__sub_I_makepath_cpp()})},{func:(function(){__GLOBAL__sub_I_junction_cpp()})},{func:(function(){__GLOBAL__sub_I_graph_cpp()})},{func:(function(){__GLOBAL__sub_I_geomtypes_cpp()})},{func:(function(){__GLOBAL__sub_I_geometry_cpp()})},{func:(function(){__GLOBAL__sub_I_connend_cpp()})},{func:(function(){__GLOBAL__sub_I_connector_cpp()})},{func:(function(){__GLOBAL__sub_I_connectionpin_cpp()})});allocate([80,35,0,0,155,49,0,0,120,35,0,0,182,49,0,0,8,0,0,0,0,0,0,0,120,35,0,0,247,49,0,0,16,0,0,0,0,0,0,0,120,35,0,0,242,53,0,0,64,0,0,0,0,0,0,0,80,35,0,0,254,55,0,0,80,35,0,0,162,57,0,0,80,35,0,0,231,57,0,0,120,35,0,0,85,63,0,0,64,0,0,0,0,0,0,0,120,35,0,0,96,69,0,0,120,0,0,0,0,0,0,0,80,35,0,0,128,69,0,0,80,35,0,0,194,74,0,0,120,35,0,0,75,80,0,0,120,0,0,0,0,0,0,0,80,35,0,0,96,82,0,0,56,0,0,0,0,0,0,0,8,1,0,0,21,0,0,0,22,0,0,0,200,255,255,255,200,255,255,255,8,1,0,0,23,0,0,0,24,0,0,0,120,35,0,0,216,81,0,0,0,1,0,0,0,0,0,0,120,35,0,0,26,82,0,0,8,1,0,0,0,0,0,0,120,35,0,0,231,93,0,0,248,0,0,0,0,0,0,0,80,35,0,0,213,93,0,0,80,35,0,0,17,94,0,0,0,36,0,0,66,94,0,0,0,0,0,0,1,0,0,0,232,0,0,0,3,244,255,255,120,35,0,0,113,94,0,0,48,1,0,0,0,0,0,0,120,35,0,0,133,94,0,0,128,5,0,0,0,0,0,0,120,35,0,0,155,94,0,0,48,1,0,0,0,0,0,0,0,36,0,0,213,94,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,112,1,0,0,0,0,0,0,0,36,0,0,25,95,0,0,0,0,0,0,1,0,0,0,136,1,0,0,0,0,0,0,80,35,0,0,47,95,0,0,0,36,0,0,72,95,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,176,1,0,0,0,0,0,0,0,36,0,0,140,95,0,0,0,0,0,0,1,0,0,0,136,1,0,0,0,0,0,0,0,36,0,0,181,95,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,232,1,0,0,0,0,0,0,0,36,0,0,249,95,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,0,0,80,35,0,0,15,96,0,0,0,36,0,0,40,96,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,40,2,0,0,0,0,0,0,0,36,0,0,108,96,0,0,0,0,0,0,1,0,0,0,0,2,0,0,0,0,0,0,0,36,0,0,194,97,0,0,0,0,0,0,3,0,0,0,48,1,0,0,2,0,0,0,104,2,0,0,2,0,0,0,112,2,0,0,0,8,0,0,80,35,0,0,41,98,0,0,80,35,0,0,7,98,0,0,0,36,0,0,60,98,0,0,0,0,0,0,3,0,0,0,48,1,0,0,2,0,0,0,104,2,0,0,2,0,0,0,160,2,0,0,0,8,0,0,80,35,0,0,129,98,0,0,0,36,0,0,163,98,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,200,2,0,0,0,8,0,0,80,35,0,0,232,98,0,0,0,36,0,0,253,98,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,200,2,0,0,0,8,0,0,0,36,0,0,66,99,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,16,3,0,0,2,0,0,0,80,35,0,0,94,99,0,0,0,36,0,0,115,99,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,16,3,0,0,2,0,0,0,0,36,0,0,143,99,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,16,3,0,0,2,0,0,0,0,36,0,0,171,99,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,16,3,0,0,2,0,0,0,0,36,0,0,214,99,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,152,3,0,0,0,0,0,0,80,35,0,0,28,100,0,0,0,36,0,0,64,100,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,192,3,0,0,0,0,0,0,80,35,0,0,134,100,0,0,0,36,0,0,165,100,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,232,3,0,0,0,0,0,0,80,35,0,0,235,100,0,0,0,36,0,0,4,101,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,16,4,0,0,0,0,0,0,80,35,0,0,74,101,0,0,0,36,0,0,99,101,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,56,4,0,0,2,0,0,0,80,35,0,0,120,101,0,0,0,36,0,0,15,102,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,56,4,0,0,2,0,0,0,120,35,0,0,144,101,0,0,112,4,0,0,0,0,0,0,0,36,0,0,179,101,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,144,4,0,0,2,0,0,0,80,35,0,0,214,101,0,0,120,35,0,0,237,101,0,0,112,4,0,0,0,0,0,0,0,36,0,0,36,102,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,144,4,0,0,2,0,0,0,0,36,0,0,70,102,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,144,4,0,0,2,0,0,0,0,36,0,0,104,102,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,144,4,0,0,2,0,0,0,120,35,0,0,139,102,0,0,48,1,0,0,0,0,0,0,0,36,0,0,161,102,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,56,5,0,0,2,0,0,0,80,35,0,0,179,102,0,0,0,36,0,0,200,102,0,0,0,0,0,0,2,0,0,0,48,1,0,0,2,0,0,0,56,5,0,0,2,0,0,0,120,35,0,0,229,102,0,0,48,1,0,0,0,0,0,0,120,35,0,0,250,102,0,0,48,1,0,0,0,0,0,0,80,35,0,0,15,103,0,0,80,35,0,0,185,103,0,0,120,35,0,0,25,104,0,0,160,5,0,0,0,0,0,0,120,35,0,0,198,103,0,0,176,5,0,0,0,0,0,0,80,35,0,0,231,103,0,0,120,35,0,0,244,103,0,0,144,5,0,0,0,0,0,0,120,35,0,0,251,104,0,0,136,5,0,0,0,0,0,0,120,35,0,0,11,105,0,0,200,5,0,0,0,0,0,0,120,35,0,0,64,105,0,0,160,5,0,0,0,0,0,0,120,35,0,0,28,105,0,0,232,5,0,0,0,0,0,0,120,35,0,0,98,105,0,0,160,5,0,0,0,0,0,0,200,35,0,0,138,105,0,0,200,35,0,0,140,105,0,0,200,35,0,0,143,105,0,0,228,35,0,0,145,105,0,0,1,0,0,0,40,6,0,0,120,35,0,0,149,105,0,0,144,5,0,0,0,0,0,0,0,0,0,0,16,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,32,0,0,0,1,0,0,0,4,0,0,0,3,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,48,0,0,0,5,0,0,0,6,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,64,0,0,0,7,0,0,0,8,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,72,0,0,0,9,0,0,0,10,0,0,0,4,0,0,0,1,0,0,0,0,0,0,0,80,0,0,0,11,0,0,0,12,0,0,0,5,0,0,0,3,0,0,0,2,0,0,0,3,0,0,0,0,0,0,0,88,0,0,0,13,0,0,0,14,0,0,0,4,0,0,0,5,0,0,0,0,0,0,0,104,0,0,0,15,0,0,0,16,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,1,0,0,0,10,0,0,0,0,0,0,0,128,0,0,0,17,0,0,0,18,0,0,0,0,0,0,0,136,0,0,0,19,0,0,0,20,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,2,0,0,0,15,0,0,0,148,7,0,0,172,0,0,0,192,0,0,0,168,7,0,0,56,0,0,0,0,0,0,0,216,0,0,0,25,0,0,0,26,0,0,0,200,255,255,255,200,255,255,255,216,0,0,0,27,0,0,0,28,0,0,0,0,0,0,0,200,0,0,0,29,0,0,0,30,0,0,0,6,0,0,0,3,0,0,0,1,0,0,0,1,0,0,0,16,0,0,0,17,0,0,0,4,0,0,0,18,0,0,0,19,0,0,0,4,0,0,0,5,0,0,0,5,0,0,0,2,0,0,192,3,0,0,192,4,0,0,192,5,0,0,192,6,0,0,192,7,0,0,192,8,0,0,192,9,0,0,192,10,0,0,192,11,0,0,192,12,0,0,192,13,0,0,192,14,0,0,192,15,0,0,192,16,0,0,192,17,0,0,192,18,0,0,192,19,0,0,192,20,0,0,192,21,0,0,192,22,0,0,192,23,0,0,192,24,0,0,192,25,0,0,192,26,0,0,192,27,0,0,192,28,0,0,192,29,0,0,192,30,0,0,192,31,0,0,192,0,0,0,179,1,0,0,195,2,0,0,195,3,0,0,195,4,0,0,195,5,0,0,195,6,0,0,195,7,0,0,195,8,0,0,195,9,0,0,195,10,0,0,195,11,0,0,195,12,0,0,195,13,0,0,211,14,0,0,195,15,0,0,195,0,0,12,187,1,0,12,195,2,0,12,195,3,0,12,195,4,0,12,211,216,8,0,0,20,0,0,0,67,46,85,84,70,45,56,0,0,0,0,0,0,0,0,0,0,0,0,0,222,18,4,149,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,188,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,208,111,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,252,9,0,0,5,0,0,0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,7,0,0,0,168,119,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,124,10,0,0,5,0,0,0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,7,0,0,0,176,119,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,124,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,100,0,0,0,232,3,0,0,16,39,0,0,160,134,1,0,64,66,15,0,128,150,152,0,0,225,245,5,95,112,137,0,255,9,47,15,164,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,97,0,0,0,98,0,0,0,99,0,0,0,100,0,0,0,101,0,0,0,102,0,0,0,103,0,0,0,104,0,0,0,105,0,0,0,106,0,0,0,107,0,0,0,108,0,0,0,109,0,0,0,110,0,0,0,111,0,0,0,112,0,0,0,113,0,0,0,114,0,0,0,115,0,0,0,116,0,0,0,117,0,0,0,118,0,0,0,119,0,0,0,120,0,0,0,121,0,0,0,122,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,37,0,0,172,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,40,0,0,0,41,0,0,0,42,0,0,0,43,0,0,0,44,0,0,0,45,0,0,0,46,0,0,0,47,0,0,0,48,0,0,0,49,0,0,0,50,0,0,0,51,0,0,0,52,0,0,0,53,0,0,0,54,0,0,0,55,0,0,0,56,0,0,0,57,0,0,0,58,0,0,0,59,0,0,0,60,0,0,0,61,0,0,0,62,0,0,0,63,0,0,0,64,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,90,0,0,0,91,0,0,0,92,0,0,0,93,0,0,0,94,0,0,0,95,0,0,0,96,0,0,0,65,0,0,0,66,0,0,0,67,0,0,0,68,0,0,0,69,0,0,0,70,0,0,0,71,0,0,0,72,0,0,0,73,0,0,0,74,0,0,0,75,0,0,0,76,0,0,0,77,0,0,0,78,0,0,0,79,0,0,0,80,0,0,0,81,0,0,0,82,0,0,0,83,0,0,0,84,0,0,0,85,0,0,0,86,0,0,0,87,0,0,0,88,0,0,0,89,0,0,0,90,0,0,0,123,0,0,0,124,0,0,0,125,0,0,0,126,0,0,0,127,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,248,0,0,0,31,0,0,0,32,0,0,0,0,0,0,0,0,1,0,0,33,0,0,0,34,0,0,0,6,0,0,0,3,0,0,0,2,0,0,0,2,0,0,0,16,0,0,0,17,0,0,0,4,0,0,0,21,0,0,0,19,0,0,0,6,0,0,0,5,0,0,0,7,0,0,0,4,0,0,0,0,0,0,0,8,1,0,0,21,0,0,0,22,0,0,0,252,255,255,255,252,255,255,255,8,1,0,0,23,0,0,0,24,0,0,0,8,24,0,0,28,24,0,0,0,0,0,0,32,1,0,0,35,0,0,0,36,0,0,0,37,0,0,0,1,0,0,0,3,0,0,0,10,0,0,0,0,0,0,0,64,1,0,0,38,0,0,0,39,0,0,0,37,0,0,0,2,0,0,0,4,0,0,0,11,0,0,0,0,0,0,0,80,1,0,0,40,0,0,0,41,0,0,0,37,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,11,0,0,0,0,0,0,0,144,1,0,0,42,0,0,0,43,0,0,0,37,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,17,0,0,0,18,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,0,0,0,0,200,1,0,0,44,0,0,0,45,0,0,0,37,0,0,0,3,0,0,0,4,0,0,0,23,0,0,0,5,0,0,0,24,0,0,0,2,0,0,0,3,0,0,0,6,0,0,0,0,0,0,0,8,2,0,0,46,0,0,0,47,0,0,0,37,0,0,0,7,0,0,0,8,0,0,0,25,0,0,0,9,0,0,0,26,0,0,0,4,0,0,0,5,0,0,0,10,0,0,0,0,0,0,0,64,2,0,0,48,0,0,0,49,0,0,0,37,0,0,0,22,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,30,0,0,0,31,0,0,0,1,0,0,0,248,255,255,255,64,2,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,0,0,0,0,120,2,0,0,50,0,0,0,51,0,0,0,37,0,0,0,30,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,2,0,0,0,248,255,255,255,120,2,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,0,0,0,0,37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,0,0,0,0,37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,0,0,0,0,37,0,0,0,97,0,0,0,32,0,0,0,37,0,0,0,98,0,0,0,32,0,0,0,37,0,0,0,100,0,0,0,32,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,89,0,0,0,0,0,0,0,65,0,0,0,77,0,0,0,0,0,0,0,80,0,0,0,77,0,0,0,0,0,0,0,74,0,0,0,97,0,0,0,110,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0,70,0,0,0,101,0,0,0,98,0,0,0,114,0,0,0,117,0,0,0,97,0,0,0,114,0,0,0,121,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,114,0,0,0,99,0,0,0,104,0,0,0,0,0,0,0,65,0,0,0,112,0,0,0,114,0,0,0,105,0,0,0,108,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,110,0,0,0,101,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,108,0,0,0,121,0,0,0,0,0,0,0,65,0,0,0,117,0,0,0,103,0,0,0,117,0,0,0,115,0,0,0,116,0,0,0,0,0,0,0,83,0,0,0,101,0,0,0,112,0,0,0,116,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,79,0,0,0,99,0,0,0,116,0,0,0,111,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,78,0,0,0,111,0,0,0,118,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,68,0,0,0,101,0,0,0,99,0,0,0,101,0,0,0,109,0,0,0,98,0,0,0,101,0,0,0,114,0,0,0,0,0,0,0,74,0,0,0,97,0,0,0,110,0,0,0,0,0,0,0,70,0,0,0,101,0,0,0,98,0,0,0,0,0,0,0,77,0,0,0,97,0,0,0,114,0,0,0,0,0,0,0,65,0,0,0,112,0,0,0,114,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0,74,0,0,0,117,0,0,0,108,0,0,0,0,0,0,0,65,0,0,0,117,0,0,0,103,0,0,0,0,0,0,0,83,0,0,0,101,0,0,0,112,0,0,0,0,0,0,0,79,0,0,0,99,0,0,0,116,0,0,0,0,0,0,0,78,0,0,0,111,0,0,0,118,0,0,0,0,0,0,0,68,0,0,0,101,0,0,0,99,0,0,0,0,0,0,0,83,0,0,0,117,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,77,0,0,0,111,0,0,0,110,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,84,0,0,0,117,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,87,0,0,0,101,0,0,0,100,0,0,0,110,0,0,0,101,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,84,0,0,0,104,0,0,0,117,0,0,0,114,0,0,0,115,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,70,0,0,0,114,0,0,0,105,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,83,0,0,0,97,0,0,0,116,0,0,0,117,0,0,0,114,0,0,0,100,0,0,0,97,0,0,0,121,0,0,0,0,0,0,0,83,0,0,0,117,0,0,0,110,0,0,0,0,0,0,0,77,0,0,0,111,0,0,0,110,0,0,0,0,0,0,0,84,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0,87,0,0,0,101,0,0,0,100,0,0,0,0,0,0,0,84,0,0,0,104,0,0,0,117,0,0,0,0,0,0,0,70,0,0,0,114,0,0,0,105,0,0,0,0,0,0,0,83,0,0,0,97,0,0,0,116,0,0,0,0,0,0,0,37,0,0,0,109,0,0,0,47,0,0,0,37,0,0,0,100,0,0,0,47,0,0,0,37,0,0,0,121,0,0,0,37,0,0,0,89,0,0,0,45,0,0,0,37,0,0,0,109,0,0,0,45,0,0,0,37,0,0,0,100,0,0,0,37,0,0,0,73,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,32,0,0,0,37,0,0,0,112,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,37,0,0,0,72,0,0,0,58,0,0,0,37,0,0,0,77,0,0,0,58,0,0,0,37,0,0,0,83,0,0,0,0,0,0,0,168,2,0,0,52,0,0,0,53,0,0,0,37,0,0,0,1,0,0,0,0,0,0,0,208,2,0,0,54,0,0,0,55,0,0,0,37,0,0,0,2,0,0,0,0,0,0,0,240,2,0,0,56,0,0,0,57,0,0,0,37,0,0,0,38,0,0,0,39,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,40,0,0,0,11,0,0,0,12,0,0,0,0,0,0,0,24,3,0,0,58,0,0,0,59,0,0,0,37,0,0,0,41,0,0,0,42,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,16,0,0,0,43,0,0,0,17,0,0,0,18,0,0,0,0,0,0,0,56,3,0,0,60,0,0,0,61,0,0,0,37,0,0,0,44,0,0,0,45,0,0,0,19,0,0,0,20,0,0,0,21,0,0,0,22,0,0,0,46,0,0,0,23,0,0,0,24,0,0,0,0,0,0,0,88,3,0,0,62,0,0,0,63,0,0,0,37,0,0,0,47,0,0,0,48,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,49,0,0,0,29,0,0,0,30,0,0,0,0,0,0,0,120,3,0,0,64,0,0,0,65,0,0,0,37,0,0,0,3,0,0,0,4,0,0,0,0,0,0,0,160,3,0,0,66,0,0,0,67,0,0,0,37,0,0,0,5,0,0,0,6,0,0,0,0,0,0,0,200,3,0,0,68,0,0,0,69,0,0,0,37,0,0,0,1,0,0,0,37,0,0,0,0,0,0,0,240,3,0,0,70,0,0,0,71,0,0,0,37,0,0,0,2,0,0,0,38,0,0,0,0,0,0,0,24,4,0,0,72,0,0,0,73,0,0,0,37,0,0,0,12,0,0,0,3,0,0,0,31,0,0,0,0,0,0,0,64,4,0,0,74,0,0,0,75,0,0,0,37,0,0,0,13,0,0,0,4,0,0,0,32,0,0,0,0,0,0,0,152,4,0,0,76,0,0,0,77,0,0,0,37,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,50,0,0,0,51,0,0,0,12,0,0,0,52,0,0,0,0,0,0,0,96,4,0,0,76,0,0,0,78,0,0,0,37,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,50,0,0,0,51,0,0,0,12,0,0,0,52,0,0,0,0,0,0,0,200,4,0,0,79,0,0,0,80,0,0,0,37,0,0,0,5,0,0,0,6,0,0,0,13,0,0,0,53,0,0,0,54,0,0,0,14,0,0,0,55,0,0,0,0,0,0,0,8,5,0,0,81,0,0,0,82,0,0,0,37,0,0,0,0,0,0,0,24,5,0,0,83,0,0,0,84,0,0,0,37,0,0,0,8,0,0,0,14,0,0,0,9,0,0,0,15,0,0,0,10,0,0,0,1,0,0,0,16,0,0,0,15,0,0,0,0,0,0,0,96,5,0,0,85,0,0,0,86,0,0,0,37,0,0,0,56,0,0,0,57,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,0,0,0,0,112,5,0,0,87,0,0,0,88,0,0,0,37,0,0,0,58,0,0,0,59,0,0,0,36,0,0,0,37,0,0,0,38,0,0,0,102,0,0,0,97,0,0,0,108,0,0,0,115,0,0,0,101,0,0,0,0,0,0,0,116,0,0,0,114,0,0,0,117,0,0,0,101,0,0,0,0,0,0,0,0,0,0,0,48,1,0,0,76,0,0,0,89,0,0,0,37,0,0,0,0,0,0,0,64,5,0,0,76,0,0,0,90,0,0,0,37,0,0,0,17,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,18,0,0,0,12,0,0,0,19,0,0,0,13,0,0,0,5,0,0,0,20,0,0,0,16,0,0,0,0,0,0,0,168,4,0,0,76,0,0,0,91,0,0,0,37,0,0,0,7,0,0,0,8,0,0,0,17,0,0,0,60,0,0,0,61,0,0,0,18,0,0,0,62,0,0,0,0,0,0,0,232,4,0,0,76,0,0,0,92,0,0,0,37,0,0,0,9,0,0,0,10,0,0,0,19,0,0,0,63,0,0,0,64,0,0,0,20,0,0,0,65,0,0,0,0,0,0,0,112,4,0,0,76,0,0,0,93,0,0,0,37,0,0,0,3,0,0,0,4,0,0,0,11,0,0,0,50,0,0,0,51,0,0,0,12,0,0,0,52,0,0,0,0,0,0,0,112,2,0,0,23,0,0,0,24,0,0,0,25,0,0,0,26,0,0,0,27,0,0,0,28,0,0,0,29,0,0,0,0,0,0,0,160,2,0,0,31,0,0,0,32,0,0,0,33,0,0,0,34,0,0,0,35,0,0,0,36,0,0,0,37,0,0,0,2,0,0,0,176,103,0,0,0,0,0,0,144,5,0,0,94,0,0,0,95,0,0,0,96,0,0,0,97,0,0,0,21,0,0,0,5,0,0,0,1,0,0,0,5,0,0,0,0,0,0,0,184,5,0,0,94,0,0,0,98,0,0,0,96,0,0,0,97,0,0,0,21,0,0,0,6,0,0,0,2,0,0,0,6,0,0,0,0,0,0,0,200,5,0,0,99,0,0,0,100,0,0,0,66,0,0,0,0,0,0,0,216,5,0,0,99,0,0,0,101,0,0,0,66,0,0,0,0,0,0,0,8,6,0,0,94,0,0,0,102,0,0,0,96,0,0,0,97,0,0,0,22,0,0,0,0,0,0,0,248,5,0,0,94,0,0,0,103,0,0,0,96,0,0,0,97,0,0,0,23,0,0,0,0,0,0,0,64,6,0,0,94,0,0,0,104,0,0,0,96,0,0,0,97,0,0,0,21,0,0,0,7,0,0,0,3,0,0,0,7,0,0,0,2,0,1,0,2,0,1,0,4,0,8,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,3,32,2,32,2,32,2,32,2,32,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,1,96,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,4,192,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,8,216,4,192,4,192,4,192,4,192,4,192,4,192,4,192,8,213,8,213,8,213,8,213,8,213,8,213,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,8,197,4,192,4,192,4,192,4,192,4,192,4,192,8,214,8,214,8,214,8,214,8,214,8,214,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,8,198,4,192,4,192,4,192,4,192,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,109,95,115,104,97,112,101,32,33,61,32,48,76,0,99,111,110,110,101,99,116,105,111,110,112,105,110,46,99,112,112,0,99,111,109,109,111,110,73,110,105,116,70,111,114,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,0,109,95,99,108,97,115,115,95,105,100,32,62,32,48,0,120,80,111,114,116,105,111,110,79,102,102,115,101,116,32,118,97,108,117,101,32,40,37,103,41,32,105,110,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,99,111,110,115,116,114,117,99,116,111,114,32,110,111,116,32,98,101,116,119,101,101,110,32,48,32,97,110,100,32,49,46,10,0,121,80,111,114,116,105,111,110,79,102,102,115,101,116,32,118,97,108,117,101,32,40,37,103,41,32,105,110,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,99,111,110,115,116,114,117,99,116,111,114,32],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);allocate([110,111,116,32,98,101,116,119,101,101,110,32,48,32,97,110,100,32,49,46,10,0,120,79,102,102,115,101,116,32,118,97,108,117,101,32,40,37,103,41,32,105,110,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,99,111,110,115,116,114,117,99,116,111,114,32,103,114,101,97,116,101,114,32,116,104,97,110,32,115,104,97,112,101,32,119,105,100,116,104,32,40,37,103,41,46,10,0,121,79,102,102,115,101,116,32,118,97,108,117,101,32,40,37,103,41,32,105,110,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,32,99,111,110,115,116,114,117,99,116,111,114,32,103,114,101,97,116,101,114,32,116,104,97,110,32,115,104,97,112,101,32,104,101,105,103,104,116,32,40,37,103,41,46,10,0,109,95,106,117,110,99,116,105,111,110,32,33,61,32,48,76,0,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,0,109,95,115,104,97,112,101,32,124,124,32,109,95,106,117,110,99,116,105,111,110,0,126,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,0,111,117,116,112,117,116,67,111,100,101,0,32,32,32,32,99,111,110,110,80,105,110,32,61,32,110,101,119,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,115,104,97,112,101,82,101,102,37,117,44,32,37,117,44,32,37,103,44,32,37,103,44,32,37,115,44,32,37,103,44,32,40,67,111,110,110,68,105,114,70,108,97,103,115,41,32,37,117,41,59,10,0,32,32,32,32,99,111,110,110,80,105,110,32,61,32,110,101,119,32,83,104,97,112,101,67,111,110,110,101,99,116,105,111,110,80,105,110,40,106,117,110,99,116,105,111,110,82,101,102,37,117,44,32,37,117,44,32,40,67,111,110,110,68,105,114,70,108,97,103,115,41,32,37,117,41,59,10,0,32,32,32,32,99,111,110,110,80,105,110,45,62,115,101,116,69,120,99,108,117,115,105,118,101,40,102,97,108,115,101,41,59,10,0,99,111,110,116,97,105,110,105,110,103,79,98,106,101,99,116,73,100,0,109,95,114,111,117,116,101,114,32,61,61,32,114,104,115,46,109,95,114,111,117,116,101,114,0,99,111,110,110,101,99,116,111,114,46,99,112,112,0,67,111,110,110,82,101,102,0,126,67,111,110,110,82,101,102,0,69,82,82,79,82,58,32,67,111,110,110,82,101,102,58,58,126,67,111,110,110,82,101,102,40,41,32,115,104,111,117,108,100,110,39,116,32,98,101,32,99,97,108,108,101,100,32,100,105,114,101,99,116,108,121,46,10,0,32,32,32,32,32,32,32,73,116,32,105,115,32,111,119,110,101,100,32,98,121,32,116,104,101,32,114,111,117,116,101,114,46,32,32,67,97,108,108,32,82,111,117,116,101,114,58,58,100,101,108,101,116,101,67,111,110,110,101,99,116,111,114,40,41,32,105,110,115,116,101,97,100,46,10,0,40,116,121,112,101,32,61,61,32,40,117,110,115,105,103,110,101,100,32,105,110,116,41,32,86,101,114,116,73,68,58,58,115,114,99,41,32,124,124,32,40,116,121,112,101,32,61,61,32,40,117,110,115,105,103,110,101,100,32,105,110,116,41,32,86,101,114,116,73,68,58,58,116,97,114,41,0,99,111,109,109,111,110,95,117,112,100,97,116,101,69,110,100,80,111,105,110,116,0,87,97,114,110,105,110,103,58,32,73,110,32,67,111,110,110,82,101,102,58,58,103,101,116,67,111,110,110,69,110,100,70,111,114,69,110,100,112,111,105,110,116,86,101,114,116,101,120,40,41,58,10,32,32,32,32,32,32,32,32,32,67,111,110,110,69,110,100,32,102,111,114,32,99,111,110,110,101,99,116,111,114,32,37,100,32,105,115,32,117,110,105,110,105,116,105,97,108,105,115,101,100,46,32,32,73,116,32,109,97,121,32,104,97,118,101,32,98,101,101,110,10,32,32,32,32,32,32,32,32,32,115,101,116,32,98,117,116,32,82,111,117,116,101,114,58,58,112,114,111,99,101,115,115,84,114,97,110,99,97,99,116,105,111,110,32,104,97,115,32,110,111,116,32,121,101,116,32,98,101,101,110,32,99,97,108,108,101,100,46,10,0,69,114,114,111,114,58,9,84,114,121,105,110,103,32,116,111,32,117,112,100,97,116,101,32,108,105,98,97,118,111,105,100,32,114,111,117,116,101,32,119,105,116,104,32,105,116,115,101,108,102,46,10,0,100,73,110,102,32,33,61,32,48,76,0,118,97,108,105,100,97,116,101,66,101,110,100,80,111,105,110,116,0,101,73,110,102,32,33,61,32,48,76,0,118,101,99,68,105,114,40,100,44,32,98,44,32,101,41,32,62,32,48,0,118,101,114,116,105,99,101,115,46,115,105,122,101,40,41,32,62,61,32,50,0,103,101,110,101,114,97,116,101,80,97,116,104,0,118,101,114,116,105,99,101,115,91,48,93,32,61,61,32,115,114,99,40,41,0,118,101,114,116,105,99,101,115,91,118,101,114,116,105,99,101,115,46,115,105,122,101,40,41,32,45,32,49,93,32,61,61,32,100,115,116,40,41,0,109,95,114,101,114,111,117,116,101,95,102,108,97,103,95,112,116,114,32,33,61,32,48,76,0,97,98,115,40,118,101,114,116,101,120,45,62,112,97,116,104,78,101,120,116,45,62,105,100,46,118,110,32,45,32,118,101,114,116,101,120,45,62,105,100,46,118,110,41,32,33,61,32,50,0,87,97,114,110,105,110,103,58,32,80,97,116,104,32,110,111,116,32,102,111,117,110,100,46,46,46,10,0,112,97,116,104,46,115,105,122,101,40,41,32,62,61,32,50,0,103,101,110,101,114,97,116,101,67,104,101,99,107,112,111,105,110,116,115,80,97,116,104,0,87,97,114,110,105,110,103,58,32,115,107,105,112,112,105,110,103,32,99,104,101,99,107,112,111,105,110,116,32,102,111,114,32,99,111,110,110,101,99,116,111,114,32,37,100,32,97,116,32,40,37,103,44,32,37,103,41,46,10,0,109,95,114,111,117,116,101,114,45,62,73,103,110,111,114,101,82,101,103,105,111,110,115,32,61,61,32,116,114,117,101,0,103,101,110,101,114,97,116,101,83,116,97,110,100,97,114,100,80,97,116,104,0,101,120,105,115,116,105,110,103,80,97,116,104,83,116,97,114,116,32,33,61,32,48,0,109,95,115,116,97,114,116,95,118,101,114,116,0,107,32,60,32,110,111,100,101,115,91,100,105,109,93,46,115,105,122,101,40,41,0,115,111,114,116,0,105,110,110,101,114,32,33,61,32,111,117,116,101,114,0,97,100,100,79,114,100,101,114,101,100,80,111,105,110,116,115,0,40,112,48,46,120,32,61,61,32,112,49,46,120,41,32,124,124,32,40,112,48,46,121,32,61,61,32,112,49,46,121,41,0,109,105,100,86,101,114,116,101,120,78,117,109,98,101,114,0,109,105,100,86,101,114,116,101,120,78,117,109,98,101,114,40,41,58,32,112,48,46,118,110,32,97,110,100,32,112,49,46,118,110,32,98,111,116,104,32,61,32,107,85,110,97,115,115,105,103,110,101,100,86,101,114,116,101,120,78,117,109,98,101,114,10,0,112,48,46,118,110,32,37,100,32,112,49,46,118,110,32,37,100,10,0,99,73,110,100,101,120,32,62,61,32,49,0,99,111,117,110,116,70,111,114,83,101,103,109,101,110,116,0,99,73,110,100,101,120,32,60,32,99,111,110,110,46,115,105,122,101,40,41,0,115,105,122,101,32,62,32,40,115,116,97,114,116,80,116,32,43,32,49,41,0,97,110,32,61,61,32,98,110,0,97,112,32,61,61,32,98,112,0,33,112,111,108,121,73,115,67,111,110,110,32,124,124,32,40,106,32,62,61,32,50,41,0,97,49,32,33,61,32,99,80,116,0,97,50,32,33,61,32,99,80,116,0,98,49,32,33,61,32,99,80,116,0,98,50,32,33,61,32,99,80,116,0,109,95,97,110,99,104,111,114,95,111,98,106,32,33,61,32,48,76,0,99,111,110,110,101,110,100,46,99,112,112,0,67,111,110,110,69,110,100,0,109,95,99,111,110,110,101,99,116,105,111,110,95,112,105,110,95,99,108,97,115,115,95,105,100,32,62,32,48,0,109,95,99,111,110,110,101,99,116,105,111,110,95,112,105,110,95,99,108,97,115,115,95,105,100,32,33,61,32,67,79,78,78,69,67,84,73,79,78,80,73,78,95,85,78,83,69,84,0,109,95,99,111,110,110,95,114,101,102,32,33,61,32,48,76,0,101,110,100,112,111,105,110,116,84,121,112,101,0,109,95,97,99,116,105,118,101,95,112,105,110,32,61,61,32,48,76,0,117,115,101,80,105,110,0,117,115,101,80,105,110,86,101,114,116,101,120,0,105,115,80,105,110,67,111,110,110,101,99,116,105,111,110,40,41,0,99,111,110,110,101,99,116,0,109,95,97,110,99,104,111,114,95,111,98,106,0,109,95,99,111,110,110,95,114,101,102,32,61,61,32,48,76,0,97,115,115,105,103,110,80,105,110,86,105,115,105,98,105,108,105,116,121,84,111,0,87,97,114,110,105,110,103,58,32,73,110,32,67,111,110,110,69,110,100,58,58,97,115,115,105,103,110,80,105,110,86,105,115,105,98,105,108,105,116,121,84,111,40,41,58,10,32,32,32,32,32,32,32,32,32,67,111,110,110,69,110,100,32,102,111,114,32,99,111,110,110,101,99,116,111,114,32,37,100,32,99,97,110,39,116,32,99,111,110,110,101,99,116,32,116,111,32,115,104,97,112,101,32,37,100,10,32,32,32,32,32,32,32,32,32,115,105,110,99,101,32,105,116,32,104,97,115,32,110,111,32,112,105,110,115,32,119,105,116,104,32,99,108,97,115,115,32,105,100,32,111,102,32,37,117,46,10,0,118,101,114,116,101,120,32,33,61,32,48,76,0,103,101,116,72,121,112,101,114,101,100,103,101,86,101,114,116,101,120,0,118,101,99,68,105,114,40,97,44,32,98,44,32,99,44,32,101,112,115,105,108,111,110,41,32,61,61,32,48,0,103,101,111,109,101,116,114,121,46,99,112,112,0,105,110,66,101,116,119,101,101,110,0,109,97,121,98,101,90,101,114,111,32,62,61,32,48,0,46,46,47,108,105,98,97,118,111,105,100,47,103,101,111,109,101,116,114,121,46,104,0,118,101,99,68,105,114,0,97,110,103,32,62,61,32,48,0,114,111,116,97,116,105,111,110,97,108,65,110,103,108,101,0,97,110,103,32,60,61,32,51,54,48,0,105,110,100,101,120,32,60,32,115,105,122,101,40,41,0,103,101,111,109,116,121,112,101,115,46,99,112,112,0,97,116,0,78,53,65,118,111,105,100,49,54,80,111,108,121,103,111,110,73,110,116,101,114,102,97,99,101,69,0,78,53,65,118,111,105,100,55,80,111,108,121,103,111,110,69,0,40,100,105,109,101,110,115,105,111,110,32,61,61,32,48,41,32,124,124,32,40,100,105,109,101,110,115,105,111,110,32,61,61,32,49,41,0,111,112,101,114,97,116,111,114,91,93,0,78,53,65,118,111,105,100,57,82,101,99,116,97,110,103,108,101,69,0,118,49,32,38,38,32,118,50,0,103,114,97,112,104,46,99,112,112,0,69,100,103,101,73,110,102,0,109,95,118,101,114,116,49,45,62,95,114,111,117,116,101,114,32,61,61,32,109,95,118,101,114,116,50,45,62,95,114,111,117,116,101,114,0,109,95,97,100,100,101,100,32,61,61,32,116,114,117,101,0,109,95,118,105,115,105,98,108,101,0,109,95,97,100,100,101,100,32,61,61,32,102,97,108,115,101,0,33,109,95,111,114,116,104,111,103,111,110,97,108,32,124,124,32,101,100,103,101,45,62,105,115,79,114,116,104,111,103,111,110,97,108,40,41,32,124,124,32,101,100,103,101,45,62,105,115,68,117,109,109,121,67,111,110,110,101,99,116,105,111,110,40,41,0,97,100,100,69,100,103,101,0,109,95,108,97,115,116,95,101,100,103,101,32,61,61,32,48,76,0,109,95,108,97,115,116,95,101,100,103,101,32,33,61,32,48,76,0,33,109,95,97,100,100,101,100,0,115,101,116,68,105,115,116,0,109,95,114,111,117,116,101,114,45,62,73,110,118,105,115,105,98,105,108,105,116,121,71,114,112,104,0,97,100,100,66,108,111,99,107,101,114,0,69,100,103,101,40,0,44,0,41,10,0,9,67,104,101,99,107,105,110,103,32,118,105,115,105,98,105,108,105,116,121,32,102,111,114,32,101,120,105,115,116,105,110,103,32,105,110,118,105,115,105,98,105,108,105,116,121,32,101,100,103,101,46,46,46,10,9,9,0,9,67,104,101,99,107,105,110,103,32,118,105,115,105,98,105,108,105,116,121,32,102,111,114,32,101,120,105,115,116,105,110,103,32,118,105,115,105,98,105,108,105,116,121,32,101,100,103,101,46,46,46,10,9,9,0,49,58,32,69,100,103,101,32,111,102,32,98,111,117,110,100,105,110,103,32,115,104,97,112,101,10,0,50,58,32,69,100,103,101,32,111,102,32,98,111,117,110,100,105,110,103,32,115,104,97,112,101,10,0,69,110,100,112,111,105,110,116,32,105,115,32,105,110,115,105,100,101,32,115,104,97,112,101,32,37,117,32,115,111,32,105,103,110,111,114,101,32,115,104,97,112,101,32,101,100,103,101,115,46,10,0,40,118,101,114,116,32,61,61,32,109,95,118,101,114,116,49,41,32,124,124,32,40,118,101,114,116,32,61,61,32,109,95,118,101,114,116,50,41,0,111,116,104,101,114,86,101,114,116,0,105,45,62,105,100,32,33,61,32,100,117,109,109,121,79,114,116,104,111,103,73,68,0,99,104,101,99,107,69,100,103,101,86,105,115,105,98,105,108,105,116,121,0,106,45,62,105,100,32,33,61,32,100,117,109,109,121,79,114,116,104,111,103,73,68,0,101,120,105,115,116,105,110,103,69,100,103,101,40,105,44,32,106,41,32,61,61,32,48,76,0,109,95,99,111,117,110,116,32,61,61,32,48,0,99,108,101,97,114,0,32,32,32,32,74,117,110,99,116,105,111,110,82,101,102,32,42,106,117,110,99,116,105,111,110,82,101,102,37,117,32,61,32,110,101,119,32,74,117,110,99,116,105,111,110,82,101,102,40,114,111,117,116,101,114,44,32,80,111,105,110,116,40,37,103,44,32,37,103,41,44,32,37,117,41,59,10,0,32,32,32,32,106,117,110,99,116,105,111,110,82,101,102,37,117,45,62,115,101,116,80,111,115,105,116,105,111,110,70,105,120,101,100,40,116,114,117,101,41,59,10,0,32,32,32,32,47,42,10,0,32,32,32,32,47,47,32,84,104,105,115,32,109,97,121,32,98,101,32,117,115,101,102,117,108,32,105,102,32,106,117,110,99,116,105,111,110,32,112,105,110,115,32,97,114,101,32,109,111,100,105,102,105,101,100,46,10,0,32,32,32,32,42,47,10,0,69,82,82,79,82,58,32,74,117,110,99,116,105,111,110,82,101,102,58,58,126,74,117,110,99,116,105,111,110,82,101,102,40,41,32,115,104,111,117,108,100,110,39,116,32,98,101,32,99,97,108,108,101,100,32,100,105,114,101,99,116,108,121,46,10,0,32,32,32,32,32,32,32,73,116,32,105,115,32,111,119,110,101,100,32,98,121,32,116,104,101,32,114,111,117,116,101,114,46,32,32,67,97,108,108,32,82,111,117,116,101,114,58,58,100,101,108,101,116,101,74,117,110,99,116,105,111,110,40,41,32,105,110,115,116,101,97,100,46,10,0,78,53,65,118,111,105,100,49,49,74,117,110,99,116,105,111,110,82,101,102,69,0,114,111,117,116,101,114,0,106,117,110,99,116,105,111,110,46,99,112,112,0,109,97,107,101,82,101,99,116,97,110,103,108,101,0,99,117,114,114,68,105,114,32,33,61,32,48,0,109,97,107,101,112,97,116,104,46,99,112,112,0,98,101,110,100,115,0,100,105,114,82,101,118,101,114,115,101,0,100,105,114,82,105,103,104,116,0,109,95,99,111,115,116,95,116,97,114,103,101,116,115,46,115,105,122,101,40,41,32,62,32,48,0,101,115,116,105,109,97,116,101,100,67,111,115,116,0,108,105,110,101,82,101,102,45,62,114,111,117,116,101,114,40,41,45,62,114,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,40,115,101,103,109,101,110,116,80,101,110,97,108,116,121,41,32,62,32,48,0,101,115,116,105,109,97,116,101,100,67,111,115,116,83,112,101,99,105,102,105,99,0,114,111,117,116,101,114,45,62,73,103,110,111,114,101,82,101,103,105,111,110,115,32,61,61,32,116,114,117,101,0,115,101,97,114,99,104,0,99,117,114,114,32,33,61,32,48,76,0,99,66,111,117,110,100,97,114,121,46,112,115,91,48,93,32,33,61,32,99,66,111,117,110,100,97,114,121,46,112,115,91,99,66,111,117,110,100,97,114,121,46,115,105,122,101,40,41,32,45,32,49,93,0,99,111,115,116,0,105,115,79,114,116,104,111,103,111,110,97,108,32,124,124,32,114,111,117,116,101,114,45,62,118,101,114,116,105,99,101,115,46,103,101,116,86,101,114,116,101,120,66,121,80,111,115,40,99,66,111,117,110,100,97,114,121,46,97,116,40,106,41,41,0,111,114,116,104,111,103,111,110,97,108,68,105,114,101,99,116,105,111,110,115,67,111,117,110,116,40,116,104,105,115,68,105,114,115,41,32,62,32,48,0,100,101,116,101,114,109,105,110,101,69,110,100,80,111,105,110,116,76,111,99,97,116,105,111,110,0,109,95,97,99,116,105,118,101,32,61,61,32,102,97,108,115,101,0,111,98,115,116,97,99,108,101,46,99,112,112,0,126,79,98,115,116,97,99,108,101,0,109,95,102,105,114,115,116,95,118,101,114,116,32,33,61,32,48,76,0,78,53,65,118,111,105,100,56,79,98,115,116,97,99,108,101,69,0,79,98,115,116,97,99,108,101,0,33,109,95,112,111,108,121,103,111,110,46,101,109,112,116,121,40,41,0,114,111,117,116,105,110,103,80,111,108,121,103,111,110,0,109,95,114,111,117,116,101,114,0,115,101,116,78,101,119,80,111,108,121,0,109,95,112,111,108,121,103,111,110,46,115,105,122,101,40,41,32,61,61,32,112,111,108,121,46,115,105,122,101,40,41,0,99,117,114,114,45,62,118,105,115,76,105,115,116,83,105,122,101,32,61,61,32,48,0,99,117,114,114,45,62,105,110,118,105,115,76,105,115,116,83,105,122,101,32,61,61,32,48,0,99,117,114,114,32,61,61,32,109,95,102,105,114,115,116,95,118,101,114,116,0,33,109,95,97,99,116,105,118,101,0,109,97,107,101,65,99,116,105,118,101,0,109,95,97,99,116,105,118,101,0,109,97,107,101,73,110,97,99,116,105,118,101,0,114,111,117,116,105,110,103,66,111,120,0,97,116,116,97,99,104,101,100,67,111,110,110,101,99,116,111,114,115,0,68,101,108,101,116,105,110,103,32,99,111,110,110,101,99,116,111,114,32,37,117,32,105,110,32,126,82,111,117,116,101,114,40,41,10,0,115,104,97,112,101,0,106,117,110,99,116,105,111,110,0,68,101,108,101,116,105,110,103,32,37,115,32,37,117,32,105,110,32,126,82,111,117,116,101,114,40,41,10,0,109,95,111,98,115,116,97,99,108,101,115,46,115,105,122,101,40,41,32,61,61,32,48,0,114,111,117,116,101,114,46,99,112,112,0,126,82,111,117,116,101,114,0,99,111,110,110,82,101,102,115,46,115,105,122,101,40,41,32,61,61,32,48,0,118,105,115,71,114,97,112,104,46,115,105,122,101,40,41,32,61,61,32,48,0,78,53,65,118,111,105,100,54,82,111,117,116,101,114,69,0,102,108,97,103,115,32,38,32,40,80,111,108,121,76,105,110,101,82,111,117,116,105,110,103,32,124,32,79,114,116,104,111,103,111,110,97,108,82,111,117,116,105,110,103,41,0,82,111,117,116,101,114,0,78,53,65,118,111,105,100,50,50,84,111,112,111,108,111,103,121,65,100,100,111,110,73,110,116,101,114,102,97,99,101,69,0,105,116,49,32,33,61,32,112,97,105,114,115,83,101,116,76,105,115,116,46,101,110,100,40,41,0,103,114,111,117,112,70,111,114,67,114,111,115,115,105,110,103,67,111,110,110,115,0,105,116,50,32,33,61,32,112,97,105,114,115,83,101,116,76,105,115,116,46,101,110,100,40,41,0,9,82,101,109,111,118,105,110,103,32,110,101,119,108,121,32,98,108,111,99,107,101,100,32,101,100,103,101,32,40,98,121,32,115,104,97,112,101,32,37,51,100,41,46,46,46,32,10,9,9,0,33,73,110,118,105,115,105,98,105,108,105,116,121,71,114,112,104,0,99,104,101,99,107,65,108,108,77,105,115,115,105,110,103,69,100,103,101,115,0,73,110,118,105,115,105,98,105,108,105,116,121,71,114,112,104,0,99,104,101,99,107,65,108,108,66,108,111,99,107,101,100,69,100,103,101,115,0,83,101,108,101,99,116,105,118,101,82,101,114,111,117,116,101,0,109,97,114,107,80,111,108,121,108,105,110,101,67,111,110,110,101,99,116,111,114,115,78,101,101,100,105,110,103,82,101,114,111,117,116,105,110,103,70,111,114,68,101,108,101,116,101,100,79,98,115,116,97,99,108,101,0,114,95,112,50,46,121,58,32,37,102,32,33,61,32,48,10,0,87,65,82,78,73,78,71,58,32,40,98,32,43,32,100,41,32,61,61,32,48,10,0,87,65,82,78,73,78,71,58,32,98,32,61,61,32,100,32,61,61,32,48,10,0,102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,83,104,97,112,101,82,101,109,111,118,101,44,32,115,104,97,112,101,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0,97,100,100,83,104,97,112,101,0,102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,83,104,97,112,101,77,111,118,101,44,32,115,104,97,112,101,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0,109,111,118,101,83,104,97,112,101,0,102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,74,117,110,99,116,105,111,110,82,101,109,111,118,101,44,32,106,117,110,99,116,105,111,110,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0,97,100,100,74,117,110,99,116,105,111,110,0,102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,74,117,110,99,116,105,111,110,77,111,118,101,44,32,106,117,110,99,116,105,111,110,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0,102,105,110,100,40,97,99,116,105,111,110,76,105,115,116,46,98,101,103,105,110,40,41,44,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,44,32,65,99,116,105,111,110,73,110,102,111,40,74,117,110,99,116,105,111,110,65,100,100,44,32,106,117,110,99,116,105,111,110,41,41,32,61,61,32,97,99,116,105,111,110,76,105,115,116,46,101,110,100,40,41,0,100,101,108,101,116,101,74,117,110,99,116,105,111,110,0,111,98,106,101,99,116,73,100,73,115,85,110,117,115,101,100,40,97,115,115,105,103,110,101,100,73,100,41,0,97,115,115,105,103,110,73,100,0,111,112,116,105,111,110,32,60,32,108,97,115,116,82,111,117,116,105,110,103,79,112,116,105,111,110,77,97,114,107,101,114,0,114,111,117,116,105,110,103,79,112,116,105,111,110,0,112,97,114,97,109,101,116,101,114,32,60,32,108,97,115,116,82,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,77,97,114,107,101,114,0,114,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,0,115,101,116,82,111,117,116,105,110,103,80,97,114,97,109,101,116,101,114,0,109,95,116,111,112,111,108,111,103,121,95,97,100,100,111,110,0,105,109,112,114,111,118,101,79,114,116,104,111,103,111,110,97,108,84,111,112,111,108,111,103,121,0,32,32,32,32,47,47,32,115,104,97,112,101,82,101,102,37,117,10,0,32,32,32,32,112,111,108,121,103,111,110,32,61,32,80,111,108,121,103,111,110,40,37,108,117,41,59,10,0,32,32,32,32,0,32,32,32,32,112,111,108,121,103,111,110,46,112,115,91,37,108,117,93,32,61,32,80,111,105,110,116,40,37,103,44,32,37,103,41,59,10,0,83,104,97,112,101,82,101,102,32,42,115,104,97,112,101,82,101,102,37,117,32,61,32,0,110,101,119,32,83,104,97,112,101,82,101,102,40,114,111,117,116,101,114,44,32,112,111,108,121,103,111,110,44,32,37,117,41,59,10,0,69,82,82,79,82,58,32,83,104,97,112,101,82,101,102,58,58,126,83,104,97,112,101,82,101,102,40,41,32,115,104,111,117,108,100,110,39,116,32,98,101,32,99,97,108,108,101,100,32,100,105,114,101,99,116,108,121,46,10,0,32,32,32,32,32,32,32,73,116,32,105,115,32,111,119,110,101,100,32,98,121,32,116,104,101,32,114,111,117,116,101,114,46,32,32,67,97,108,108,32,82,111,117,116,101,114,58,58,100,101,108,101,116,101,83,104,97,112,101,40,41,32,105,110,115,116,101,97,100,46,10,0,78,53,65,118,111,105,100,56,83,104,97,112,101,82,101,102,69,0,99,111,110,110,69,110,100,45,62,109,95,99,111,110,110,95,114,101,102,32,33,61,32,48,76,0,115,104,97,112,101,46,99,112,112,0,109,111,118,101,65,116,116,97,99,104,101,100,67,111,110,110,115,0,91,37,117,44,37,100,44,32,112,61,37,117,93,0,40,33,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,38,38,32,40,95,99,111,110,110,86,101,114,116,105,99,101,115,32,61,61,32,48,41,41,32,124,124,32,40,40,95,102,105,114,115,116,67,111,110,110,86,101,114,116,45,62,108,115,116,80,114,101,118,32,61,61,32,48,76,41,32,38,38,32,40,95,99,111,110,110,86,101,114,116,105,99,101,115,32,62,32,48,41,41,0,118,101,114,116,105,99,101,115,46,99,112,112,0,97,100,100,86,101,114,116,101,120,0,40,33,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,38,38,32,40,95,115,104,97,112,101,86,101,114,116,105,99,101,115,32,61,61,32,48,41,41,32,124,124,32,40,40,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,45,62,108,115,116,80,114,101,118,32,61,61,32,48,76,41,32,38,38,32,40,95,115,104,97,112,101,86,101,114,116,105,99,101,115,32,62,32,48,41,41,0,33,95,108,97,115,116,83,104,97,112,101,86,101,114,116,32,124,124,32,40,95,108,97,115,116,83,104,97,112,101,86,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,48,76,41,0,33,95,108,97,115,116,67,111,110,110,86,101,114,116,32,124,124,32,40,95,108,97,115,116,67,111,110,110,86,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,41,0,40,33,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,38,38,32,33,95,108,97,115,116,67,111,110,110,86,101,114,116,41,32,124,124,32,40,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,38,38,32,95,108,97,115,116,67,111,110,110,86,101,114,116,41,0,40,33,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,38,38,32,33,95,108,97,115,116,83,104,97,112,101,86,101,114,116,41,32,124,124,32,40,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,38,38,32,95,108,97,115,116,83,104,97,112,101,86,101,114,116,41,0,33,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,32,124,124,32,33,40,95,102,105,114,115,116,83,104,97,112,101,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,41,0,33,95,108,97,115,116,83,104,97,112,101,86,101,114,116,32,124,124,32,33,40,95,108,97,115,116,83,104,97,112,101,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,41,0,33,95,102,105,114,115,116,67,111,110,110,86,101,114,116,32,124,124,32,95,102,105,114,115,116,67,111,110,110,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,0,33,95,108,97,115,116,67,111,110,110,86,101,114,116,32,124,124,32,95,108,97,115,116,67,111,110,110,86,101,114,116,45,62,105,100,46,105,115,67,111,110,110,80,116,40,41,0,118,101,114,116,45,62,108,115,116,80,114,101,118,32,61,61,32,48,76,0,118,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,48,76,0,95,108,97,115,116,67,111,110,110,86,101,114,116,45,62,108,115,116,78,101,120,116,32,61,61,32,48,76,0,111,114,112,104,97,110,101,100,40,41,0,126,86,101,114,116,73,110,102,0,105,100,46,105,115,67,111,110,110,80,116,40,41,0,114,101,109,111,118,101,70,114,111,109,71,114,97,112,104,0,112,97,116,104,108,101,110,32,60,32,50,48,48,48,48,0,112,97,116,104,76,101,97,100,115,66,97,99,107,84,111,0,114,101,109,111,118,101,86,101,114,116,101,120,0,45,45,32,67,79,78,83,73,68,69,82,73,78,71,32,45,45,10,0,9,70,105,114,115,116,32,72,97,108,102,58,10,0,9,83,101,99,111,110,100,32,72,97,108,102,58,10,0,67,101,110,116,101,114,32,105,115,32,105,110,115,105,100,101,32,115,104,97,112,101,32,37,117,32,115,111,32,105,103,110,111,114,101,32,115,104,97,112,101,32,101,100,103,101,115,46,10,0,99,101,110,116,101,114,73,110,102,32,33,61,32,107,0,118,105,115,105,98,105,108,105,116,121,46,99,112,112,0,118,101,114,116,101,120,83,119,101,101,112,0,83,87,69,69,80,58,32,0,10,0,9,83,101,116,116,105,110,103,32,105,110,118,105,115,105,98,105,108,105,116,121,32,101,100,103,101,46,46,46,32,10,9,9,0,9,83,101,116,116,105,110,103,32,118,105,115,105,98,105,108,105,116,121,32,101,100,103,101,46,46,46,32,10,9,9,0,112,46,97,110,103,108,101,32,62,32,97,110,103,108,101,0,115,101,116,67,117,114,114,65,110,103,108,101,0,97,110,103,108,101,32,61,61,32,114,104,115,46,97,110,103,108,101,0,112,73,68,46,105,115,67,111,110,110,80,116,40,41,0,118,101,114,116,101,120,86,105,115,105,98,105,108,105,116,121,0,105,110,100,101,120,32,60,61,32,99,111,117,110,116,40,41,0,104,121,112,101,114,101,100,103,101,46,99,112,112,0,110,101,119,65,110,100,68,101,108,101,116,101,100,79,98,106,101,99,116,76,105,115,116,115,0,99,111,110,110,101,99,116,111,114,45,62,109,95,115,114,99,95,118,101,114,116,0,102,105,110,100,65,116,116,97,99,104,101,100,79,98,106,101,99,116,115,0,99,111,110,110,101,99,116,111,114,45,62,109,95,100,115,116,95,118,101,114,116,0,42,99,117,114,114,32,33,61,32,48,76,0,109,95,114,111,117,116,101,114,32,33,61,32,48,76,0,99,97,108,99,72,121,112,101,114,101,100,103,101,67,111,110,110,101,99,116,111,114,115,0,87,97,114,110,105,110,103,58,32,72,121,112,101,114,101,100,103,101,32,37,100,32,114,101,103,105,115,116,101,114,101,100,32,119,105,116,104,32,72,121,112,101,114,101,100,103,101,82,101,114,111,117,116,101,114,32,105,115,32,105,110,118,97,108,105,100,32,97,110,100,32,119,105,108,108,32,98,101,32,105,103,110,111,114,101,100,46,10,0,109,97,121,98,101,78,101,119,86,101,114,116,101,120,46,115,101,99,111,110,100,32,33,61,32,48,76,0,112,101,114,102,111,114,109,82,101,114,111,117,116,105,110,103,0,78,53,65,118,111,105,100,50,49,72,121,112,101,114,101,100,103,101,83,104,105,102,116,83,101,103,109,101,110,116,69,0,78,53,65,118,111,105,100,49,50,83,104,105,102,116,83,101,103,109,101,110,116,69,0,109,95,104,121,112,101,114,101,100,103,101,95,116,114,101,101,95,106,117,110,99,116,105,111,110,115,46,32,99,111,117,110,116,40,115,101,108,102,45,62,106,117,110,99,116,105,111,110,41,32,61,61,32,49,0,104,121,112,101,114,101,100,103,101,105,109,112,114,111,118,101,114,46,99,112,112,0,114,101,109,111,118,101,90,101,114,111,76,101,110,103,116,104,69,100,103,101,115,0,115,101,108,102,45,62,106,117,110,99,116,105,111,110,0,109,111,118,101,74,117,110,99,116,105,111,110,65,108,111,110,103,67,111,109,109,111,110,69,100,103,101,0,109,95,98,97,108,97,110,99,101,95,99,111,117,110,116,95,115,101,116,0,98,97,108,97,110,99,101,67,111,117,110,116,0,97,100,106,117,115,116,80,111,115,105,116,105,111,110,0,109,95,98,97,108,97,110,99,101,95,99,111,117,110,116,32,33,61,32,48,0,87,97,114,110,105,110,103,58,32,83,107,105,112,112,105,110,103,32,99,121,99,108,105,99,32,104,121,112,101,114,101,100,103,101,32,114,111,111,116,101,100,32,97,116,32,106,117,110,99,116,105,111,110,32,37,117,10,0,116,114,101,101,82,111,111,116,0,101,120,101,99,117,116,101,0,99,117,114,114,86,101,114,116,32,33,61,32,48,76,0,109,116,115,116,46,99,112,112,0,98,117,105,108,100,72,121,112,101,114,101,100,103,101,84,114,101,101,84,111,82,111,111,116,0,101,100,103,101,0,114,101,115,101,116,68,105,115,116,115,70,111,114,80,97,116,104,0,118,101,114,116,0,103,101,116,79,114,116,104,111,103,111,110,97,108,69,100,103,101,115,70,114,111,109,86,101,114,116,101,120,0,114,101,97,108,86,101,114,116,45,62,105,100,32,33,61,32,100,105,109,101,110,115,105,111,110,67,104,97,110,103,101,86,101,114,116,101,120,73,68,0,112,97,114,116,110,101,114,0,87,97,114,110,105,110,103,44,32,110,111,110,111,114,116,104,111,103,111,110,97,108,32,101,100,103,101,46,0,114,111,111,116,86,101,114,116,101,120,80,111,105,110,116,101,114,115,46,101,109,112,116,121,40,41,0,99,111,110,115,116,114,117,99,116,73,110,116,101,114,108,101,97,118,101,100,0,117,45,62,116,114,101,101,82,111,111,116,40,41,32,33,61,32,48,76,0,117,45,62,112,97,116,104,78,101,120,116,32,124,124,32,40,117,45,62,115,112,116,102,68,105,115,116,32,61,61,32,48,41,0,111,114,105,103,84,101,114,109,105,110,97,108,115,46,102,105,110,100,40,101,110,100,115,46,102,105,114,115,116,45,62,116,114,101,101,82,111,111,116,40,41,41,32,33,61,32,111,114,105,103,84,101,114,109,105,110,97,108,115,46,101,110,100,40,41,0,111,114,105,103,84,101,114,109,105,110,97,108,115,46,102,105,110,100,40,101,110,100,115,46,115,101,99,111,110,100,45,62,116,114,101,101,82,111,111,116,40,41,41,32,33,61,32,111,114,105,103,84,101,114,109,105,110,97,108,115,46,101,110,100,40,41,0,111,114,105,103,84,101,114,109,105,110,97,108,115,46,115,105,122,101,40,41,32,61,61,32,49,0,110,101,119,82,111,111,116,0,99,111,109,109,105,116,84,111,66,114,105,100,103,105,110,103,69,100,103,101,0,111,108,100,84,114,101,101,82,111,111,116,80,116,114,49,0,111,108,100,84,114,101,101,82,111,111,116,80,116,114,50,0,40,42,118,50,41,45,62,115,112,116,102,68,105,115,116,32,61,61,32,48,0,118,101,114,116,45,62,116,114,101,101,82,111,111,116,80,111,105,110,116,101,114,40,41,32,33,61,32,48,76,0,100,114,97,119,70,111,114,101,115,116,0,118,101,114,116,45,62,116,114,101,101,82,111,111,116,40,41,32,33,61,32,48,76,0,105,103,110,111,114,101,100,32,33,61,32,48,76,0,104,121,112,101,114,101,100,103,101,116,114,101,101,46,99,112,112,0,119,114,105,116,101,69,100,103,101,115,84,111,67,111,110,110,115,0,101,110,100,115,46,102,105,114,115,116,32,33,61,32,48,76,0,101,110,100,115,46,115,101,99,111,110,100,32,33,61,32,48,76,0,99,111,110,110,45,62,109,95,100,115,116,95,99,111,110,110,101,110,100,0,99,111,110,110,32,124,124,32,106,117,110,99,116,105,111,110,0,97,100,100,67,111,110,110,115,0,99,111,110,110,32,33,61,32,48,76,0,40,99,111,110,110,69,110,100,115,46,102,105,114,115,116,46,106,117,110,99,116,105,111,110,40,41,32,61,61,32,106,117,110,99,116,105,111,110,41,32,124,124,32,40,99,111,110,110,69,110,100,115,46,115,101,99,111,110,100,46,106,117,110,99,116,105,111,110,40,41,32,61,61,32,106,117,110,99,116,105,111,110,41,0,118,97,108,105,100,97,116,101,72,121,112,101,114,101,100,103,101,0,99,111,110,110,69,110,100,115,46,102,105,114,115,116,46,106,117,110,99,116,105,111,110,40,41,32,33,61,32,99,111,110,110,69,110,100,115,46,115,101,99,111,110,100,46,106,117,110,99,116,105,111,110,40,41,0,33,99,111,110,110,69,110,100,115,46,102,105,114,115,116,46,106,117,110,99,116,105,111,110,40,41,32,124,124,32,33,99,111,110,110,69,110,100,115,46,115,101,99,111,110,100,46,106,117,110,99,116,105,111,110,40,41,0,111,108,100,78,111,100,101,32,33,61,32,116,104,105,115,0,115,112,108,105,99,101,69,100,103,101,115,70,114,111,109,0,101,110,100,115,46,102,105,114,115,116,32,61,61,32,115,111,117,114,99,101,0,115,112,108,105,116,70,114,111,109,78,111,100,101,65,116,80,111,105,110,116,0,100,105,115,99,111,110,110,101,99,116,69,100,103,101,0,78,53,65,118,111,105,100,52,78,111,100,101,69,0,101,97,45,62,118,32,33,61,32,101,98,45,62,118,0,115,99,97,110,108,105,110,101,46,99,112,112,0,99,111,109,112,97,114,101,95,101,118,101,110,116,115,0,108,111,119,80,116,91,100,105,109,93,32,61,61,32,104,105,103,104,80,116,91,100,105,109,93,0,98,117,105,108,100,79,114,116,104,111,103,111,110,97,108,67,104,97,110,110,101,108,73,110,102,111,0,108,111,119,80,116,91,97,108,116,68,105,109,93,32,60,32,104,105,103,104,80,116,91,97,108,116,68,105,109,93,0,112,114,111,99,101,115,115,83,104,105,102,116,69,118,101,110,116,0,116,121,112,101,32,61,61,32,83,104,97,112,101,77,111,118,101,0,97,99,116,105,111,110,105,110,102,111,46,99,112,112,0,65,99,116,105,111,110,73,110,102,111,0,40,116,121,112,101,32,61,61,32,83,104,97,112,101,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,82,101,109,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,77,111,118,101,41,0,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,82,101,109,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,77,111,118,101,41,0,116,121,112,101,32,61,61,32,67,111,110,110,67,104,97,110,103,101,0,116,121,112,101,32,61,61,32,67,111,110,110,101,99,116,105,111,110,80,105,110,67,104,97,110,103,101,0,40,116,121,112,101,32,61,61,32,83,104,97,112,101,77,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,83,104,97,112,101,82,101,109,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,77,111,118,101,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,65,100,100,41,32,124,124,32,40,116,121,112,101,32,61,61,32,74,117,110,99,116,105,111,110,82,101,109,111,118,101,41,0,111,98,115,116,97,99,108,101,0,99,111,110,110,0,115,99,97,110,108,105,110,101,46,115,105,122,101,40,41,32,61,61,32,48,0,111,114,116,104,111,103,111,110,97,108,46,99,112,112,0,103,101,110,101,114,97,116,101,83,116,97,116,105,99,79,114,116,104,111,103,111,110,97,108,86,105,115,71,114,97,112,104,0,33,115,101,103,109,101,110,116,115,46,101,109,112,116,121,40,41,0,105,110,116,101,114,115,101,99,116,83,101,103,109,101,110,116,115,0,118,101,114,116,76,105,110,101,46,112,111,115,32,62,32,104,111,114,105,76,105,110,101,46,98,101,103,105,110,0,118,101,114,116,76,105,110,101,46,112,111,115,32,60,32,104,111,114,105,76,105,110,101,46,102,105,110,105,115,104,0,40,117,45,62,112,111,105,110,116,46,120,32,61,61,32,118,45,62,112,111,105,110,116,46,120,41,32,124,124,32,40,117,45,62,112,111,105,110,116,46,121,32,61,61,32,118,45,62,112,111,105,110,116,46,121,41,0,111,112,101,114,97,116,111,114,40,41,0,33,98,114,101,97,107,80,111,105,110,116,115,46,101,109,112,116,121,40,41,0,103,101,110,101,114,97,116,101,86,105,115,105,98,105,108,105,116,121,69,100,103,101,115,70,114,111,109,66,114,101,97,107,112,111,105,110,116,83,101,116,0,118,101,114,116,32,33,61,32,108,97,115,116,0,118,101,114,116,45,62,118,101,114,116,45,62,112,111,105,110,116,32,33,61,32,108,97,115,116,45,62,118,101,114,116,45,62,112,111,105,110,116,0,114,101,115,117,108,116,46,115,101,99,111,110,100,0,112,114,111,99,101,115,115,69,118,101,110,116,72,111,114,105,0,114,101,115,117,108,116,32,61,61,32,49,0,98,101,103,105,110,32,60,32,102,105,110,105,115,104,0,76,105,110,101,83,101,103,109,101,110,116,0,115,104,97,112,101,83,105,100,101,32,61,61,32,114,104,115,46,115,104,97,112,101,83,105,100,101,0,111,112,101,114,97,116,111,114,60,0,112,114,111,99,101,115,115,69,118,101,110,116,86,101,114,116,0,98,97,115,101,83,101,112,68,105,115,116,32,62,61,32,48,0,110,117,100,103,101,79,114,116,104,111,103,111,110,97,108,82,111,117,116,101,115,0,105,110,100,49,32,33,61,32,105,110,100,50,0,85,110,115,105,103,110,101,100,80,97,105,114,0,105,32,62,32,48,0,118,115,91,105,32,45,32,49,93,45,62,105,100,32,61,61,32,99,104,97,110,110,101,108,76,101,102,116,73,68,0,112,111,116,101,110,116,105,97,108,67,111,110,115,116,114,97,105,110,116,115,46,115,105,122,101,40,41,32,62,32,48,0,117,110,115,97,116,105,115,102,105,101,100,82,97,110,103,101,115,46,115,105,122,101,40,41,32,62,32,48,0,118,115,91,105,116,45,62,102,105,114,115,116,93,45,62,105,100,32,33,61,32,102,114,101,101,83,101,103,109,101,110,116,73,68,0,118,115,91,105,116,45,62,115,101,99,111,110,100,93,45,62,105,100,32,33,61,32,102,114,101,101,83,101,103,109,101,110,116,73,68,0,109,105,110,83,112,97,99,101,76,105,109,105,116,32,62,32,45,67,72,65,78,78,69,76,95,77,65,88,0,99,114,101,97,116,101,83,111,108,118,101,114,86,97,114,105,97,98,108,101,0,109,97,120,83,112,97,99,101,76,105,109,105,116,32,60,32,67,72,65,78,78,69,76,95,77,65,88,0,108,104,115,76,111,119,91,100,105,109,101,110,115],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+10240);allocate([105,111,110,93,32,61,61,32,108,104,115,72,105,103,104,91,100,105,109,101,110,115,105,111,110,93,0,114,104,115,76,111,119,91,100,105,109,101,110,115,105,111,110,93,32,61,61,32,114,104,115,72,105,103,104,91,100,105,109,101,110,115,105,111,110,93,0,78,53,65,118,111,105,100,49,57,78,117,100,103,105,110,103,83,104,105,102,116,83,101,103,109,101,110,116,69,0,40,112,111,115,110,41,61,61,40,112,111,115,110,41,0,118,112,115,99,46,99,112,112,0,97,100,100,86,97,114,105,97,98,108,101,0,97,108,108,111,99,97,116,111,114,60,84,62,58,58,97,108,108,111,99,97,116,101,40,115,105,122,101,95,116,32,110,41,32,39,110,39,32,101,120,99,101,101,100,115,32,109,97,120,105,109,117,109,32,115,117,112,112,111,114,116,101,100,32,115,105,122,101,0,118,45,62,102,105,110,97,108,80,111,115,105,116,105,111,110,61,61,118,45,62,102,105,110,97,108,80,111,115,105,116,105,111,110,0,99,111,112,121,82,101,115,117,108,116,0,108,101,102,116,45,62,115,99,97,108,101,32,61,61,32,49,0,46,46,47,108,105,98,97,118,111,105,100,47,118,112,115,99,46,104,0,115,108,97,99,107,0,114,105,103,104,116,45,62,115,99,97,108,101,32,61,61,32,49,0,98,108,111,99,107,45,62,112,115,46,115,99,97,108,101,32,61,61,32,49,0,117,110,115,99,97,108,101,100,80,111,115,105,116,105,111,110,0,33,118,45,62,97,99,116,105,118,101,0,115,97,116,105,115,102,121,0,33,115,112,108,105,116,67,111,110,115,116,114,97,105,110,116,45,62,97,99,116,105,118,101,0,85,110,115,97,116,105,115,102,105,101,100,32,99,111,110,115,116,114,97,105,110,116,58,32,0,61,0,60,61,0,42,0,43,0,40,0,41,0,45,97,99,116,105,118,101,0,40,108,109,61,0,40,118,97,114,115,32,104,97,118,101,32,110,111,32,112,111,115,105,116,105,111,110,41,0,78,83,116,51,95,95,50,49,53,98,97,115,105,99,95,115,116,114,105,110,103,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,57,98,97,115,105,99,95,111,115,116,114,105,110,103,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,78,83,95,57,97,108,108,111,99,97,116,111,114,73,99,69,69,69,69,0,78,53,65,118,111,105,100,50,50,85,110,115,97,116,105,115,102,105,97,98,108,101,69,120,99,101,112,116,105,111,110,69,0,109,101,114,103,101,0,117,112,100,97,116,101,87,101,105,103,104,116,101,100,80,111,115,105,116,105,111,110,0,33,118,45,62,101,113,117,97,108,105,116,121,0,115,112,108,105,116,66,108,111,99,107,115,0,118,45,62,108,101,102,116,45,62,98,108,111,99,107,32,61,61,32,118,45,62,114,105,103,104,116,45,62,98,108,111,99,107,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,78,65,78,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,46,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,3,4,5,6,7,8,9,255,255,255,255,255,255,255,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,255,255,255,255,255,255,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,1,2,4,7,3,6,5,0,105,110,102,105,110,105,116,121,0,110,97,110,0,76,67,95,65,76,76,0,76,67,95,67,84,89,80,69,0,0,0,0,76,67,95,78,85,77,69,82,73,67,0,0,76,67,95,84,73,77,69,0,0,0,0,0,76,67,95,67,79,76,76,65,84,69,0,0,76,67,95,77,79,78,69,84,65,82,89,0,76,67,95,77,69,83,83,65,71,69,83,0,76,65,78,71,0,67,46,85,84,70,45,56,0,80,79,83,73,88,0,77,85,83,76,95,76,79,67,80,65,84,72,0,78,83,116,51,95,95,50,56,105,111,115,95,98,97,115,101,69,0,78,83,116,51,95,95,50,57,98,97,115,105,99,95,105,111,115,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,53,98,97,115,105,99,95,115,116,114,101,97,109,98,117,102,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,49,51,98,97,115,105,99,95,111,115,116,114,101,97,109,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,0,78,83,116,51,95,95,50,55,99,111,108,108,97,116,101,73,99,69,69,0,78,83,116,51,95,95,50,54,108,111,99,97,108,101,53,102,97,99,101,116,69,0,78,83,116,51,95,95,50,55,99,111,108,108,97,116,101,73,119,69,69,0,48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,65,66,67,68,69,70,120,88,43,45,112,80,105,73,110,78,0,37,112,0,67,0,78,83,116,51,95,95,50,55,110,117,109,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,103,101,116,73,99,69,69,0,78,83,116,51,95,95,50,49,52,95,95,110,117,109,95,103,101,116,95,98,97,115,101,69,0,78,83,116,51,95,95,50,55,110,117,109,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,103,101,116,73,119,69,69,0,37,112,0,0,0,0,76,0,108,108,0,37,0,0,0,0,0,108,0,78,83,116,51,95,95,50,55,110,117,109,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,112,117,116,73,99,69,69,0,78,83,116,51,95,95,50,49,52,95,95,110,117,109,95,112,117,116,95,98,97,115,101,69,0,78,83,116,51,95,95,50,55,110,117,109,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,57,95,95,110,117,109,95,112,117,116,73,119,69,69,0,37,72,58,37,77,58,37,83,0,37,109,47,37,100,47,37,121,0,37,73,58,37,77,58,37,83,32,37,112,0,37,97,32,37,98,32,37,100,32,37,72,58,37,77,58,37,83,32,37,89,0,65,77,0,80,77,0,74,97,110,117,97,114,121,0,70,101,98,114,117,97,114,121,0,77,97,114,99,104,0,65,112,114,105,108,0,77,97,121,0,74,117,110,101,0,74,117,108,121,0,65,117,103,117,115,116,0,83,101,112,116,101,109,98,101,114,0,79,99,116,111,98,101,114,0,78,111,118,101,109,98,101,114,0,68,101,99,101,109,98,101,114,0,74,97,110,0,70,101,98,0,77,97,114,0,65,112,114,0,74,117,110,0,74,117,108,0,65,117,103,0,83,101,112,0,79,99,116,0,78,111,118,0,68,101,99,0,83,117,110,100,97,121,0,77,111,110,100,97,121,0,84,117,101,115,100,97,121,0,87,101,100,110,101,115,100,97,121,0,84,104,117,114,115,100,97,121,0,70,114,105,100,97,121,0,83,97,116,117,114,100,97,121,0,83,117,110,0,77,111,110,0,84,117,101,0,87,101,100,0,84,104,117,0,70,114,105,0,83,97,116,0,37,109,47,37,100,47,37,121,37,89,45,37,109,45,37,100,37,73,58,37,77,58,37,83,32,37,112,37,72,58,37,77,37,72,58,37,77,58,37,83,37,72,58,37,77,58,37,83,78,83,116,51,95,95,50,56,116,105,109,101,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,99,69,69,0,78,83,116,51,95,95,50,57,116,105,109,101,95,98,97,115,101,69,0,78,83,116,51,95,95,50,56,116,105,109,101,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,50,48,95,95,116,105,109,101,95,103,101,116,95,99,95,115,116,111,114,97,103,101,73,119,69,69,0,78,83,116,51,95,95,50,56,116,105,109,101,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,48,95,95,116,105,109,101,95,112,117,116,69,0,78,83,116,51,95,95,50,56,116,105,109,101,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,48,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,95,98,97,115,101,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,99,76,98,49,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,48,69,69,69,0,78,83,116,51,95,95,50,49,48,109,111,110,101,121,112,117,110,99,116,73,119,76,98,49,69,69,69,0,48,49,50,51,52,53,54,55,56,57,0,37,76,102,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,103,101,116,73,99,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,103,101,116,73,99,69,69,0,48,49,50,51,52,53,54,55,56,57,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,103,101,116,73,119,78,83,95,49,57,105,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,103,101,116,73,119,69,69,0,37,46,48,76,102,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,112,117,116,73,99,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,99,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,99,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,112,117,116,73,99,69,69,0,78,83,116,51,95,95,50,57,109,111,110,101,121,95,112,117,116,73,119,78,83,95,49,57,111,115,116,114,101,97,109,98,117,102,95,105,116,101,114,97,116,111,114,73,119,78,83,95,49,49,99,104,97,114,95,116,114,97,105,116,115,73,119,69,69,69,69,69,69,0,78,83,116,51,95,95,50,49,49,95,95,109,111,110,101,121,95,112,117,116,73,119,69,69,0,78,83,116,51,95,95,50,56,109,101,115,115,97,103,101,115,73,99,69,69,0,78,83,116,51,95,95,50,49,51,109,101,115,115,97,103,101,115,95,98,97,115,101,69,0,78,83,116,51,95,95,50,49,55,95,95,119,105,100,101,110,95,102,114,111,109,95,117,116,102,56,73,76,106,51,50,69,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,68,105,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,49,50,99,111,100,101,99,118,116,95,98,97,115,101,69,0,78,83,116,51,95,95,50,49,54,95,95,110,97,114,114,111,119,95,116,111,95,117,116,102,56,73,76,106,51,50,69,69,69,0,78,83,116,51,95,95,50,56,109,101,115,115,97,103,101,115,73,119,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,99,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,119,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,55,99,111,100,101,99,118,116,73,68,115,99,49,49,95,95,109,98,115,116,97,116,101,95,116,69,69,0,78,83,116,51,95,95,50,54,108,111,99,97,108,101,53,95,95,105,109,112,69,0,78,83,116,51,95,95,50,53,99,116,121,112,101,73,99,69,69,0,78,83,116,51,95,95,50,49,48,99,116,121,112,101,95,98,97,115,101,69,0,78,83,116,51,95,95,50,53,99,116,121,112,101,73,119,69,69,0,102,97,108,115,101,0,116,114,117,101,0,78,83,116,51,95,95,50,56,110,117,109,112,117,110,99,116,73,99,69,69,0,78,83,116,51,95,95,50,56,110,117,109,112,117,110,99,116,73,119,69,69,0,78,83,116,51,95,95,50,49,52,95,95,115,104,97,114,101,100,95,99,111,117,110,116,69,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,58,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,101,120,99,101,112,116,105,111,110,32,111,102,32,116,121,112,101,32,37,115,0,116,101,114,109,105,110,97,116,105,110,103,32,119,105,116,104,32,37,115,32,102,111,114,101,105,103,110,32,101,120,99,101,112,116,105,111,110,0,116,101,114,109,105,110,97,116,105,110,103,0,117,110,99,97,117,103,104,116,0,83,116,57,101,120,99,101,112,116,105,111,110,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,54,95,95,115,104,105,109,95,116,121,112,101,95,105,110,102,111,69,0,83,116,57,116,121,112,101,95,105,110,102,111,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,48,95,95,115,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0,112,116,104,114,101,97,100,95,111,110,99,101,32,102,97,105,108,117,114,101,32,105,110,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,95,102,97,115,116,40,41,0,99,97,110,110,111,116,32,99,114,101,97,116,101,32,112,116,104,114,101,97,100,32,107,101,121,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,99,97,110,110,111,116,32,122,101,114,111,32,111,117,116,32,116,104,114,101,97,100,32,118,97,108,117,101,32,102,111,114,32,95,95,99,120,97,95,103,101,116,95,103,108,111,98,97,108,115,40,41,0,116,101,114,109,105,110,97,116,101,95,104,97,110,100,108,101,114,32,117,110,101,120,112,101,99,116,101,100,108,121,32,114,101,116,117,114,110,101,100,0,83,116,49,49,108,111,103,105,99,95,101,114,114,111,114,0,83,116,49,50,108,101,110,103,116,104,95,101,114,114,111,114,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,57,95,95,112,111,105,110,116,101,114,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,49,55,95,95,112,98,97,115,101,95,116,121,112,101,95,105,110,102,111,69,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,51,95,95,102,117,110,100,97,109,101,110,116,97,108,95,116,121,112,101,95,105,110,102,111,69,0,118,0,68,110,0,99,0,80,75,99,0,78,49,48,95,95,99,120,120,97,98,105,118,49,50,49,95,95,118,109,105,95,99,108,97,115,115,95,116,121,112,101,95,105,110,102,111,69,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE+20480);var tempDoublePtr=STATICTOP;STATICTOP+=16;function _atexit(func,arg){__ATEXIT__.unshift({func:func,arg:arg})}function ___cxa_atexit(){return _atexit.apply(null,arguments)}function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}function __ZSt18uncaught_exceptionv(){return!!__ZSt18uncaught_exceptionv.uncaught_exception}var EXCEPTIONS={last:0,caught:[],infos:{},deAdjust:(function(adjusted){if(!adjusted||EXCEPTIONS.infos[adjusted])return adjusted;for(var ptr in EXCEPTIONS.infos){var info=EXCEPTIONS.infos[ptr];if(info.adjusted===adjusted){return ptr}}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)}}),clearRef:(function(ptr){if(!ptr)return;var info=EXCEPTIONS.infos[ptr];info.refcount=0})};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(Runtime.setTempRet0(0),0)|0}var info=EXCEPTIONS.infos[thrown];var throwntype=info.type;if(!throwntype){return(Runtime.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=thrown;return(Runtime.setTempRet0(typeArray[i]),thrown)|0}}thrown=HEAP32[thrown>>2];return(Runtime.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+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."}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?Pointer_stringify(tm_zone):""};var pattern=Pointer_stringify(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 _abort(){Module["abort"]()}function _pthread_once(ptr,func){if(!_pthread_once.seen)_pthread_once.seen={};if(ptr in _pthread_once.seen)return;Module["dynCall_v"](func);_pthread_once.seen[ptr]=1}function ___lock(){}function ___unlock(){}var PTHREAD_SPECIFIC={};function _pthread_getspecific(key){return PTHREAD_SPECIFIC[key]||0}function _clock(){if(_clock.start===undefined)_clock.start=Date.now();return(Date.now()-_clock.start)*(1e6/1e3)|0}var PTHREAD_SPECIFIC_NEXT_KEY=1;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};function _pthread_key_create(key,destructor){if(key==0){return ERRNO_CODES.EINVAL}HEAP32[key>>2]=PTHREAD_SPECIFIC_NEXT_KEY;PTHREAD_SPECIFIC[PTHREAD_SPECIFIC_NEXT_KEY]=0;PTHREAD_SPECIFIC_NEXT_KEY++;return 0}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"};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}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){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["printErr"](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(ERRNO_CODES.EPERM)}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;inode.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.lengthnewSize)node.contents.length=newSize;else while(node.contents.length=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;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 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/)}),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(ERRNO_CODES.EINVAL)}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&146)>>1}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}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)}),flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:(function(flags){flags&=~2097152;flags&=~2048;flags&=~32768;flags&=~524288;if(flags in NODEFS.flagsToPermissionStringMap){return NODEFS.flagsToPermissionStringMap[flags]}else{throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}}),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(ERRNO_CODES[e.code])}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(ERRNO_CODES[e.code])}}),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(ERRNO_CODES[e.code])}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(ERRNO_CODES[e.code])}}),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(ERRNO_CODES[e.code])}}),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(ERRNO_CODES[e.code])}}),readdir:(function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),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(ERRNO_CODES[e.code])}}),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(ERRNO_CODES[e.code])}})},stream_ops:{open:(function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsToPermissionString(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),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(ERRNO_CODES[e.code])}}),read:(function(stream,buffer,offset,length,position){if(length===0)return 0;var nbuffer=new Buffer(length);var res;try{res=fs.readSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(res>0){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(ERRNO_CODES.EIO)}),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(ERRNO_CODES.EINVAL)}return position})}};STATICTOP+=16;STATICTOP+=16;STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],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(ERRNO_CODES.ELOOP)}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(ERRNO_CODES.ELOOP)}}}}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 ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}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 ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return ERRNO_CODES.EISDIR}}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(ERRNO_CODES.EMFILE)}),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(ERRNO_CODES.ESPIPE)})},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)}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(ERRNO_CODES.EBUSY)}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(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}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(ERRNO_CODES.EINVAL)}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(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}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(ERRNO_CODES.EIO)}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(ERRNO_CODES.EIO)}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>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;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;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=Pointer_stringify(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 ___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 _pthread_setspecific(key,value){if(!(key in PTHREAD_SPECIFIC)){return ERRNO_CODES.EINVAL}PTHREAD_SPECIFIC[key]=value;return 0}function ___cxa_allocate_exception(size){return _malloc(size)}function ___syscall54(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),op=SYSCALLS.get();switch(op){case 21505:{if(!stream.tty)return-ERRNO_CODES.ENOTTY;return 0};case 21506:{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};default:abort("bad ioctl syscall "+op)}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___cxa_pure_virtual(){ABORT=true;throw"Pure virtual function called!"}var _environ=STATICTOP;STATICTOP+=16;function ___buildEnvironment(env){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";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);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}var ENV={};function _getenv(name){if(name===0)return 0;name=Pointer_stringify(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocate(intArrayFromString(ENV[name]),"i8",ALLOC_NORMAL);return _getenv.ret}function ___map_file(pathname,size){___setErrNo(ERRNO_CODES.EPERM);return-1}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 _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}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}}var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);function ___gxx_personality_v0(){}function _pthread_cond_wait(){return 0}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();var offset=offset_low;FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;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 ___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}}var ___dso_handle=STATICTOP;STATICTOP+=16;FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__ATEXIT__.push((function(){FS.quit()}));Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;__ATINIT__.unshift((function(){TTY.init()}));__ATEXIT__.push((function(){TTY.shutdown()}));if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}___buildEnvironment(ENV);DYNAMICTOP_PTR=allocate(1,"i32",ALLOC_STATIC);STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=Runtime.alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;function invoke_iiiiiiii(index,a1,a2,a3,a4,a5,a6,a7){try{return Module["dynCall_iiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiii(index,a1,a2,a3){try{return Module["dynCall_iiii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiiii(index,a1,a2,a3,a4,a5,a6){try{Module["dynCall_viiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiiii(index,a1,a2,a3,a4,a5){try{Module["dynCall_viiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_dii(index,a1,a2){try{return Module["dynCall_dii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiid(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiid"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vi(index,a1){try{Module["dynCall_vi"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_vii(index,a1,a2){try{Module["dynCall_vii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiii(index,a1,a2,a3,a4,a5,a6){try{return Module["dynCall_iiiiiii"](index,a1,a2,a3,a4,a5,a6)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_ii(index,a1){try{return Module["dynCall_ii"](index,a1)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viii(index,a1,a2,a3){try{Module["dynCall_viii"](index,a1,a2,a3)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_v(index){try{Module["dynCall_v"](index)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiiiiii(index,a1,a2,a3,a4,a5,a6,a7,a8){try{return Module["dynCall_iiiiiiiii"](index,a1,a2,a3,a4,a5,a6,a7,a8)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiii(index,a1,a2,a3,a4){try{return Module["dynCall_iiiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_viiii(index,a1,a2,a3,a4){try{Module["dynCall_viiii"](index,a1,a2,a3,a4)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iii(index,a1,a2){try{return Module["dynCall_iii"](index,a1,a2)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiid(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiid"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}function invoke_iiiiii(index,a1,a2,a3,a4,a5){try{return Module["dynCall_iiiiii"](index,a1,a2,a3,a4,a5)}catch(e){if(typeof e!=="number"&&e!=="longjmp")throw e;Module["setThrew"](1,0)}}Module.asmGlobalArg={"Math":Math,"Int8Array":Int8Array,"Int16Array":Int16Array,"Int32Array":Int32Array,"Uint8Array":Uint8Array,"Uint16Array":Uint16Array,"Uint32Array":Uint32Array,"Float32Array":Float32Array,"Float64Array":Float64Array,"NaN":NaN,"Infinity":Infinity};Module.asmLibraryArg={"abort":abort,"assert":assert,"enlargeMemory":enlargeMemory,"getTotalMemory":getTotalMemory,"abortOnCannotGrowMemory":abortOnCannotGrowMemory,"invoke_iiiiiiii":invoke_iiiiiiii,"invoke_iiii":invoke_iiii,"invoke_viiiiii":invoke_viiiiii,"invoke_viiiii":invoke_viiiii,"invoke_dii":invoke_dii,"invoke_iiiiiid":invoke_iiiiiid,"invoke_vi":invoke_vi,"invoke_vii":invoke_vii,"invoke_iiiiiii":invoke_iiiiiii,"invoke_ii":invoke_ii,"invoke_viii":invoke_viii,"invoke_v":invoke_v,"invoke_iiiiiiiii":invoke_iiiiiiiii,"invoke_iiiii":invoke_iiiii,"invoke_viiii":invoke_viiii,"invoke_iii":invoke_iii,"invoke_iiiiid":invoke_iiiiid,"invoke_iiiiii":invoke_iiiiii,"_strftime":_strftime,"_pthread_cond_wait":_pthread_cond_wait,"_pthread_key_create":_pthread_key_create,"_abort":_abort,"___gxx_personality_v0":___gxx_personality_v0,"___assert_fail":___assert_fail,"___cxa_allocate_exception":___cxa_allocate_exception,"__ZSt18uncaught_exceptionv":__ZSt18uncaught_exceptionv,"___buildEnvironment":___buildEnvironment,"__addDays":__addDays,"_strftime_l":_strftime_l,"___setErrNo":___setErrNo,"___cxa_begin_catch":___cxa_begin_catch,"_emscripten_memcpy_big":_emscripten_memcpy_big,"___resumeException":___resumeException,"___cxa_find_matching_catch":___cxa_find_matching_catch,"_pthread_getspecific":_pthread_getspecific,"_clock":_clock,"__arraySum":__arraySum,"___syscall91":___syscall91,"_pthread_once":_pthread_once,"_getenv":_getenv,"___map_file":___map_file,"___syscall54":___syscall54,"___unlock":___unlock,"__isLeapYear":__isLeapYear,"_pthread_setspecific":_pthread_setspecific,"___cxa_atexit":___cxa_atexit,"___cxa_throw":___cxa_throw,"___lock":___lock,"___syscall6":___syscall6,"_atexit":_atexit,"___syscall140":___syscall140,"___cxa_pure_virtual":___cxa_pure_virtual,"___syscall146":___syscall146,"DYNAMICTOP_PTR":DYNAMICTOP_PTR,"tempDoublePtr":tempDoublePtr,"ABORT":ABORT,"STACKTOP":STACKTOP,"STACK_MAX":STACK_MAX,"cttz_i8":cttz_i8,"___dso_handle":___dso_handle};// EMSCRIPTEN_START_ASM +var asm=(function(global,env,buffer) { +"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.DYNAMICTOP_PTR|0;var j=env.tempDoublePtr|0;var k=env.ABORT|0;var l=env.STACKTOP|0;var m=env.STACK_MAX|0;var n=env.cttz_i8|0;var o=env.___dso_handle|0;var p=0;var q=0;var r=0;var s=0;var t=global.NaN,u=global.Infinity;var v=0,w=0,x=0,y=0,z=0.0;var A=0;var B=global.Math.floor;var C=global.Math.abs;var D=global.Math.sqrt;var E=global.Math.pow;var F=global.Math.cos;var G=global.Math.sin;var H=global.Math.tan;var I=global.Math.acos;var J=global.Math.asin;var K=global.Math.atan;var L=global.Math.atan2;var M=global.Math.exp;var N=global.Math.log;var O=global.Math.ceil;var P=global.Math.imul;var Q=global.Math.min;var R=global.Math.max;var S=global.Math.clz32;var T=env.abort;var U=env.assert;var V=env.enlargeMemory;var W=env.getTotalMemory;var X=env.abortOnCannotGrowMemory;var Y=env.invoke_iiiiiiii;var Z=env.invoke_iiii;var _=env.invoke_viiiiii;var $=env.invoke_viiiii;var aa=env.invoke_dii;var ba=env.invoke_iiiiiid;var ca=env.invoke_vi;var da=env.invoke_vii;var ea=env.invoke_iiiiiii;var fa=env.invoke_ii;var ga=env.invoke_viii;var ha=env.invoke_v;var ia=env.invoke_iiiiiiiii;var ja=env.invoke_iiiii;var ka=env.invoke_viiii;var la=env.invoke_iii;var ma=env.invoke_iiiiid;var na=env.invoke_iiiiii;var oa=env._strftime;var pa=env._pthread_cond_wait;var qa=env._pthread_key_create;var ra=env._abort;var sa=env.___gxx_personality_v0;var ta=env.___assert_fail;var ua=env.___cxa_allocate_exception;var va=env.__ZSt18uncaught_exceptionv;var wa=env.___buildEnvironment;var xa=env.__addDays;var ya=env._strftime_l;var za=env.___setErrNo;var Aa=env.___cxa_begin_catch;var Ba=env._emscripten_memcpy_big;var Ca=env.___resumeException;var Da=env.___cxa_find_matching_catch;var Ea=env._pthread_getspecific;var Fa=env._clock;var Ga=env.__arraySum;var Ha=env.___syscall91;var Ia=env._pthread_once;var Ja=env._getenv;var Ka=env.___map_file;var La=env.___syscall54;var Ma=env.___unlock;var Na=env.__isLeapYear;var Oa=env._pthread_setspecific;var Pa=env.___cxa_atexit;var Qa=env.___cxa_throw;var Ra=env.___lock;var Sa=env.___syscall6;var Ta=env._atexit;var Ua=env.___syscall140;var Va=env.___cxa_pure_virtual;var Wa=env.___syscall146;var Xa=0.0; +// EMSCRIPTEN_START_FUNCS +function Kn(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,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,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;a:do if(e>>>0>36){c[(Xm()|0)>>2]=22;i=0;j=0}else{k=b+4|0;l=b+100|0;do{m=c[k>>2]|0;if(m>>>0<(c[l>>2]|0)>>>0){c[k>>2]=m+1;n=d[m>>0]|0}else n=Ln(b)|0}while((Mn(n)|0)!=0);b:do switch(n|0){case 43:case 45:{m=((n|0)==45)<<31>>31;o=c[k>>2]|0;if(o>>>0<(c[l>>2]|0)>>>0){c[k>>2]=o+1;p=m;q=d[o>>0]|0;break b}else{p=m;q=Ln(b)|0;break b}break}default:{p=0;q=n}}while(0);m=(e|0)==0;do if((e|16|0)==16&(q|0)==48){o=c[k>>2]|0;if(o>>>0<(c[l>>2]|0)>>>0){c[k>>2]=o+1;r=d[o>>0]|0}else r=Ln(b)|0;if((r|32|0)!=120)if(m){s=r;t=8;u=46;break}else{v=r;w=e;u=32;break}o=c[k>>2]|0;if(o>>>0<(c[l>>2]|0)>>>0){c[k>>2]=o+1;x=d[o>>0]|0}else x=Ln(b)|0;if((d[23632+x>>0]|0)>15){o=(c[l>>2]|0)!=0;if(o)c[k>>2]=(c[k>>2]|0)+-1;if(!f){Jn(b,0);i=0;j=0;break a}if(!o){i=0;j=0;break a}c[k>>2]=(c[k>>2]|0)+-1;i=0;j=0;break a}else{s=x;t=16;u=46}}else{o=m?10:e;if((d[23632+q>>0]|0)>>>0>>0){v=q;w=o;u=32}else{if(c[l>>2]|0)c[k>>2]=(c[k>>2]|0)+-1;Jn(b,0);c[(Xm()|0)>>2]=22;i=0;j=0;break a}}while(0);c:do if((u|0)==32)if((w|0)==10){m=v+-48|0;if(m>>>0<10){o=0;y=m;do{o=(o*10|0)+y|0;m=c[k>>2]|0;if(m>>>0<(c[l>>2]|0)>>>0){c[k>>2]=m+1;z=d[m>>0]|0}else z=Ln(b)|0;y=z+-48|0}while(y>>>0<10&o>>>0<429496729);B=z;C=o;D=0}else{B=v;C=0;D=0}y=B+-48|0;if(y>>>0<10){m=B;E=C;F=D;G=y;while(1){y=JA(E|0,F|0,10,0)|0;H=A;I=((G|0)<0)<<31>>31;J=~I;if(H>>>0>J>>>0|(H|0)==(J|0)&y>>>0>~G>>>0){K=10;L=m;M=E;N=F;u=72;break c}E=BA(y|0,H|0,G|0,I|0)|0;F=A;I=c[k>>2]|0;if(I>>>0<(c[l>>2]|0)>>>0){c[k>>2]=I+1;O=d[I>>0]|0}else O=Ln(b)|0;G=O+-48|0;if(!(G>>>0<10&(F>>>0<429496729|(F|0)==429496729&E>>>0<2576980378)))break;else m=O}if(G>>>0>9){Q=p;R=F;S=E}else{K=10;L=O;M=E;N=F;u=72}}else{Q=p;R=D;S=C}}else{s=v;t=w;u=46}while(0);d:do if((u|0)==46){if(!(t+-1&t)){m=a[23888+((t*23|0)>>>5&7)>>0]|0;o=a[23632+s>>0]|0;I=o&255;if(I>>>0>>0){H=0;y=I;do{H=y|H<>2]|0;if(I>>>0<(c[l>>2]|0)>>>0){c[k>>2]=I+1;T=d[I>>0]|0}else T=Ln(b)|0;U=a[23632+T>>0]|0;y=U&255}while(H>>>0<134217728&y>>>0>>0);V=T;W=U;X=0;Y=H}else{V=s;W=o;X=0;Y=0}y=CA(-1,-1,m|0)|0;F=A;if((W&255)>>>0>=t>>>0|(X>>>0>F>>>0|(X|0)==(F|0)&Y>>>0>y>>>0)){K=t;L=V;M=Y;N=X;u=72;break}else{Z=Y;_=X;$=W}while(1){E=LA(Z|0,_|0,m|0)|0;G=A;I=$&255|E;E=c[k>>2]|0;if(E>>>0<(c[l>>2]|0)>>>0){c[k>>2]=E+1;aa=d[E>>0]|0}else aa=Ln(b)|0;$=a[23632+aa>>0]|0;if(($&255)>>>0>=t>>>0|(G>>>0>F>>>0|(G|0)==(F|0)&I>>>0>y>>>0)){K=t;L=aa;M=I;N=G;u=72;break d}else{Z=I;_=G}}}y=a[23632+s>>0]|0;F=y&255;if(F>>>0>>0){m=0;o=F;do{m=o+(P(m,t)|0)|0;F=c[k>>2]|0;if(F>>>0<(c[l>>2]|0)>>>0){c[k>>2]=F+1;ba=d[F>>0]|0}else ba=Ln(b)|0;ca=a[23632+ba>>0]|0;o=ca&255}while(m>>>0<119304647&o>>>0>>0);da=ba;ea=ca;fa=m;ga=0}else{da=s;ea=y;fa=0;ga=0}if((ea&255)>>>0>>0){o=HA(-1,-1,t|0,0)|0;F=A;H=da;G=ga;I=fa;E=ea;while(1){if(G>>>0>F>>>0|(G|0)==(F|0)&I>>>0>o>>>0){K=t;L=H;M=I;N=G;u=72;break d}J=JA(I|0,G|0,t|0,0)|0;ha=A;ia=E&255;if(ha>>>0>4294967295|(ha|0)==-1&J>>>0>~ia>>>0){K=t;L=H;M=I;N=G;u=72;break d}ja=BA(ia|0,0,J|0,ha|0)|0;ha=A;J=c[k>>2]|0;if(J>>>0<(c[l>>2]|0)>>>0){c[k>>2]=J+1;ka=d[J>>0]|0}else ka=Ln(b)|0;E=a[23632+ka>>0]|0;if((E&255)>>>0>=t>>>0){K=t;L=ka;M=ja;N=ha;u=72;break}else{H=ka;G=ha;I=ja}}}else{K=t;L=da;M=fa;N=ga;u=72}}while(0);if((u|0)==72)if((d[23632+L>>0]|0)>>>0>>0){do{I=c[k>>2]|0;if(I>>>0<(c[l>>2]|0)>>>0){c[k>>2]=I+1;la=d[I>>0]|0}else la=Ln(b)|0}while((d[23632+la>>0]|0)>>>0>>0);c[(Xm()|0)>>2]=34;Q=(g&1|0)==0&0==0?p:0;R=h;S=g}else{Q=p;R=N;S=M}if(c[l>>2]|0)c[k>>2]=(c[k>>2]|0)+-1;if(!(R>>>0>>0|(R|0)==(h|0)&S>>>0>>0)){if(!((g&1|0)!=0|0!=0|(Q|0)!=0)){c[(Xm()|0)>>2]=34;I=BA(g|0,h|0,-1,-1)|0;i=A;j=I;break}if(R>>>0>h>>>0|(R|0)==(h|0)&S>>>0>g>>>0){c[(Xm()|0)>>2]=34;i=h;j=g;break}}I=((Q|0)<0)<<31>>31;G=yA(S^Q|0,R^I|0,Q|0,I|0)|0;i=A;j=G}while(0);A=i;return j|0}function Ln(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;e=b+104|0;f=c[e>>2]|0;if((f|0)!=0?(c[b+108>>2]|0)>=(f|0):0)g=4;else{f=Nn(b)|0;if((f|0)>=0){h=c[e>>2]|0;e=b+8|0;if(h){i=c[e>>2]|0;j=c[b+4>>2]|0;k=b+108|0;l=h-(c[k>>2]|0)|0;h=i;if((i-j|0)<(l|0)){m=k;n=h;o=h;p=j}else{m=k;n=j+(l+-1)|0;o=h;p=j}}else{j=c[e>>2]|0;m=b+108|0;n=j;o=j;p=c[b+4>>2]|0}c[b+100>>2]=n;if(o|0)c[m>>2]=o+1-p+(c[m>>2]|0);m=p+-1|0;if((d[m>>0]|0|0)==(f|0))q=f;else{a[m>>0]=f;q=f}}else g=4}if((g|0)==4){c[b+100>>2]=0;q=-1}return q|0}function Mn(a){a=a|0;return ((a|0)==32|(a+-9|0)>>>0<5)&1|0}function Nn(a){a=a|0;var b=0,e=0,f=0;b=l;l=l+16|0;e=b;if((On(a)|0)==0?(Za[c[a+32>>2]&31](a,e,1)|0)==1:0)f=d[e>>0]|0;else f=-1;l=b;return f|0}function On(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=b+20|0;d=b+28|0;if((c[e>>2]|0)>>>0>(c[d>>2]|0)>>>0)Za[c[b+36>>2]&31](b,0,0)|0;c[b+16>>2]=0;c[d>>2]=0;c[e>>2]=0;e=c[b>>2]|0;if(!(e&4)){d=(c[b+44>>2]|0)+(c[b+48>>2]|0)|0;c[b+8>>2]=d;c[b+4>>2]=d;f=e<<27>>31}else{c[b>>2]=e|32;f=-1}return f|0}function Pn(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;g=l;l=l+16|0;h=g;a:do if(!e)i=0;else{do if(f|0){j=(b|0)==0?h:b;k=a[e>>0]|0;if(k<<24>>24>-1){c[j>>2]=k&255;i=k<<24>>24!=0&1;break a}k=(c[c[(Qn()|0)+188>>2]>>2]|0)==0;m=a[e>>0]|0;if(k){c[j>>2]=m<<24>>24&57343;i=1;break a}k=(m&255)+-194|0;if(k>>>0<=50){m=e+1|0;n=c[2032+(k<<2)>>2]|0;if(f>>>0<4?n&-2147483648>>>((f*6|0)+-6|0)|0:0)break;k=d[m>>0]|0;m=k>>>3;if((m+-16|m+(n>>26))>>>0<=7){m=k+-128|n<<6;if((m|0)>=0){c[j>>2]=m;i=2;break a}n=(d[e+2>>0]|0)+-128|0;if(n>>>0<=63){k=n|m<<6;if((k|0)>=0){c[j>>2]=k;i=3;break a}m=(d[e+3>>0]|0)+-128|0;if(m>>>0<=63){c[j>>2]=m|k<<6;i=4;break a}}}}}while(0);c[(Xm()|0)>>2]=84;i=-1}while(0);l=g;return i|0}function Qn(){return Zm()|0}function Rn(a,b,c){a=a|0;b=b|0;c=c|0;return Sn(0,a,b,c|0?c:28648)|0}function Sn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=l;l=l+16|0;h=g;i=(f|0)==0?28652:f;f=c[i>>2]|0;a:do if(!d)if(!f)j=0;else k=17;else{m=(b|0)==0?h:b;if(!e)j=-2;else{if(!f){n=a[d>>0]|0;if(n<<24>>24>-1){c[m>>2]=n&255;j=n<<24>>24!=0&1;break}n=(c[c[(Tn()|0)+188>>2]>>2]|0)==0;o=a[d>>0]|0;if(n){c[m>>2]=o<<24>>24&57343;j=1;break}n=(o&255)+-194|0;if(n>>>0>50){k=17;break}o=c[2032+(n<<2)>>2]|0;n=e+-1|0;if(!n)p=o;else{q=d+1|0;r=o;s=n;k=11}}else{q=d;r=f;s=e;k=11}b:do if((k|0)==11){n=a[q>>0]|0;o=(n&255)>>>3;if((o+-16|o+(r>>26))>>>0>7){k=17;break a}else{t=q;u=r;v=s;w=n}while(1){t=t+1|0;u=(w&255)+-128|u<<6;v=v+-1|0;if((u|0)>=0)break;if(!v){p=u;break b}w=a[t>>0]|0;if((w&-64)<<24>>24!=-128){k=17;break a}}c[i>>2]=0;c[m>>2]=u;j=e-v|0;break a}while(0);c[i>>2]=p;j=-2}}while(0);if((k|0)==17){c[i>>2]=0;c[(Xm()|0)>>2]=84;j=-1}l=g;return j|0}function Tn(){return Zm()|0}function Un(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=l;l=l+272|0;g=f+8|0;h=f;i=c[b>>2]|0;c[h>>2]=i;j=(a|0)!=0;k=j?e:256;e=j?a:g;a=i;a:do if((k|0)!=0&(i|0)!=0){m=0;n=d;o=k;p=e;q=a;while(1){r=n>>>0>=o>>>0;if(!(r|n>>>0>32)){s=p;t=m;u=n;v=o;w=q;break a}x=r?o:n;y=n-x|0;r=Vn(p,h,x,0)|0;if((r|0)==-1)break;x=(p|0)==(g|0);z=o-(x?0:r)|0;A=x?p:p+r|0;x=r+m|0;r=c[h>>2]|0;if((z|0)!=0&(r|0)!=0){m=x;n=y;o=z;p=A;q=r}else{s=A;t=x;u=y;v=z;w=r;break a}}s=p;t=-1;u=y;v=0;w=c[h>>2]|0}else{s=e;t=0;u=d;v=k;w=a}while(0);b:do if((w|0)!=0?(v|0)!=0&(u|0)!=0:0){a=t;k=u;d=s;e=v;y=w;while(1){B=Dn(d,c[y>>2]|0,0)|0;if((B+1|0)>>>0<2)break;y=(c[h>>2]|0)+4|0;c[h>>2]=y;k=k+-1|0;e=e-B|0;g=B+a|0;if(!((e|0)!=0&(k|0)!=0)){C=g;break b}else{a=g;d=d+B|0}}if(!B){c[h>>2]=0;C=a}else C=-1}else C=t;while(0);if(j)c[b>>2]=c[h>>2];l=f;return C|0}function Vn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=l;l=l+16|0;g=f;a:do if(!b){h=c[d>>2]|0;i=c[h>>2]|0;if(!i)j=0;else{k=h;h=0;m=i;while(1){if(m>>>0>127){i=Dn(g,m,0)|0;if((i|0)==-1){j=-1;break a}else n=i}else n=1;i=n+h|0;k=k+4|0;m=c[k>>2]|0;if(!m){j=i;break}else h=i}}}else{b:do if(e>>>0>3){h=b;m=e;k=c[d>>2]|0;while(1){i=c[k>>2]|0;if((i+-1|0)>>>0>126){if(!i)break;o=Dn(h,i,0)|0;if((o|0)==-1){j=-1;break a}p=h+o|0;q=m-o|0;r=k}else{a[h>>0]=i;p=h+1|0;q=m+-1|0;r=c[d>>2]|0}k=r+4|0;c[d>>2]=k;if(q>>>0<=3){s=p;t=q;break b}else{h=p;m=q}}a[h>>0]=0;c[d>>2]=0;j=e-m|0;break a}else{s=b;t=e}while(0);if(t){k=s;i=t;o=c[d>>2]|0;while(1){u=c[o>>2]|0;if((u+-1|0)>>>0>126){if(!u){v=19;break}w=Dn(g,u,0)|0;if((w|0)==-1){j=-1;break a}if(i>>>0>>0){v=22;break}Dn(k,c[o>>2]|0,0)|0;x=k+w|0;y=i-w|0;z=o}else{a[k>>0]=u;x=k+1|0;y=i+-1|0;z=c[d>>2]|0}o=z+4|0;c[d>>2]=o;if(!y){j=e;break a}else{k=x;i=y}}if((v|0)==19){a[k>>0]=0;c[d>>2]=0;j=e-i|0;break}else if((v|0)==22){j=e-i|0;break}}else j=e}while(0);l=f;return j|0}function Wn(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,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;h=c[e>>2]|0;if((g|0)!=0?(i=c[g>>2]|0,(i|0)!=0):0)if(!b){j=i;k=h;l=f;m=25}else{c[g>>2]=0;n=i;o=b;p=f;q=h;m=43}else m=5;a:do if((m|0)==5){i=(b|0)!=0;if(c[c[(Xn()|0)+188>>2]>>2]|0)if(i){r=b;s=f;t=h;m=15;break}else{u=h;v=f;m=14;break}if(!i){w=Yn(h)|0;m=59;break}b:do if(!f)x=h;else{i=h;g=b;y=f;while(1){z=a[i>>0]|0;if(!(z<<24>>24))break;A=i+1|0;c[g>>2]=z<<24>>24&57343;z=y+-1|0;if(!z){x=A;break b}else{i=A;g=g+4|0;y=z}}c[g>>2]=0;c[e>>2]=0;w=f-y|0;m=59;break a}while(0);c[e>>2]=x;w=f;m=59}while(0);c:while(1){d:do if((m|0)==14){m=0;x=u;h=v;while(1){i=a[x>>0]|0;if(((i&255)+-1|0)>>>0<127?(x&3|0)==0:0){z=c[x>>2]|0;A=z&255;if(!((z+-16843009|z)&-2139062144)){z=x;B=h;do{z=z+4|0;B=B+-4|0;C=c[z>>2]|0}while(!((C+-16843009|C)&-2139062144|0));D=z;E=B;F=C&255}else{D=x;E=h;F=A}}else{D=x;E=h;F=i}G=F&255;if((G+-1|0)>>>0>=127)break;x=D+1|0;h=E+-1|0}h=G+-194|0;if(h>>>0>50){H=D;I=b;J=E;m=53}else{j=c[2032+(h<<2)>>2]|0;k=D+1|0;l=E;m=25;continue c}}else if((m|0)==15){m=0;e:do if(!s)K=t;else{h=r;x=s;y=t;while(1){g=a[y>>0]|0;do if(((g&255)+-1|0)>>>0<127?x>>>0>4&(y&3|0)==0:0){L=h;M=x;N=y;while(1){O=c[N>>2]|0;if((O+-16843009|O)&-2139062144|0){m=38;break}c[L>>2]=O&255;c[L+4>>2]=d[N+1>>0];c[L+8>>2]=d[N+2>>0];P=N+4|0;Q=L+16|0;c[L+12>>2]=d[N+3>>0];R=M+-4|0;if(R>>>0>4){L=Q;M=R;N=P}else{m=37;break}}if((m|0)==37){m=0;S=Q;T=R;U=P;V=a[P>>0]|0;break}else if((m|0)==38){m=0;S=L;T=M;U=N;V=O&255;break}}else{S=h;T=x;U=y;V=g}while(0);W=V&255;if((W+-1|0)>>>0>=127)break;g=U+1|0;c[S>>2]=W;x=T+-1|0;if(!x){K=g;break e}else{h=S+4|0;y=g}}y=W+-194|0;if(y>>>0>50){H=U;I=S;J=T;m=53;break d}n=c[2032+(y<<2)>>2]|0;o=S;p=T;q=U+1|0;m=43;continue c}while(0);c[e>>2]=K;w=f;m=59;continue c}else if((m|0)==25){m=0;y=(d[k>>0]|0)>>>3;if((y+-16|y+(j>>26))>>>0>7){X=b;Y=j;Z=k;_=l;m=52}else{y=k+1|0;if(j&33554432){if((a[y>>0]&-64)<<24>>24!=-128){X=b;Y=j;Z=k;_=l;m=52;break}h=k+2|0;if(!(j&524288))$=h;else{if((a[h>>0]&-64)<<24>>24!=-128){X=b;Y=j;Z=k;_=l;m=52;break}$=k+3|0}}else $=y;u=$;v=l+-1|0;m=14;continue c}}else if((m|0)==43){m=0;y=d[q>>0]|0;h=y>>>3;if((h+-16|h+(n>>26))>>>0>7){X=o;Y=n;Z=q;_=p;m=52}else{h=q+1|0;x=y+-128|n<<6;do if((x|0)<0){y=(d[h>>0]|0)+-128|0;if(y>>>0>63){aa=q+-1|0;ba=o;break d}i=q+2|0;A=y|x<<6;if((A|0)<0){y=(d[i>>0]|0)+-128|0;if(y>>>0>63){aa=q+-1|0;ba=o;break d}else{ca=q+3|0;da=y|A<<6;break}}else{ca=i;da=A}}else{ca=h;da=x}while(0);c[o>>2]=da;r=o+4|0;s=p+-1|0;t=ca;m=15;continue c}}else if((m|0)==59){m=0;return w|0}while(0);if((m|0)==52){m=0;x=Z+-1|0;if(!Y){H=x;I=X;J=_;m=53}else{aa=x;ba=X}}if((m|0)==53){m=0;if(!(a[H>>0]|0)){if(I|0){c[I>>2]=0;c[e>>2]=0}w=f-J|0;m=59;continue}else{aa=H;ba=I}}c[(Xm()|0)>>2]=84;if(!ba){w=-1;m=59;continue}c[e>>2]=aa;w=-1;m=59}return 0}function Xn(){return Zm()|0}function Yn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=b;a:do if(!(d&3)){e=b;f=4}else{g=b;h=d;while(1){if(!(a[g>>0]|0)){i=h;break a}j=g+1|0;h=j;if(!(h&3)){e=j;f=4;break}else g=j}}while(0);if((f|0)==4){f=e;while(1){k=c[f>>2]|0;if(!((k&-2139062144^-2139062144)&k+-16843009))f=f+4|0;else break}if(!((k&255)<<24>>24))l=f;else{k=f;while(1){f=k+1|0;if(!(a[f>>0]|0)){l=f;break}else k=f}}i=l}return i-d|0}function Zn(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,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;g=l;l=l+1040|0;h=g+8|0;i=g;j=c[b>>2]|0;c[i>>2]=j;k=(a|0)!=0;m=k?e:256;e=k?a:h;a=j;a:do if((m|0)!=0&(j|0)!=0){n=0;o=d;p=m;q=e;r=a;while(1){s=o>>>2;t=s>>>0>=p>>>0;if(!(o>>>0>131|t)){u=q;v=n;w=o;x=p;y=r;break a}z=t?p:s;A=o-z|0;s=Wn(q,i,z,f)|0;if((s|0)==-1)break;z=(q|0)==(h|0);t=p-(z?0:s)|0;B=z?q:q+(s<<2)|0;z=s+n|0;s=c[i>>2]|0;if((t|0)!=0&(s|0)!=0){n=z;o=A;p=t;q=B;r=s}else{u=B;v=z;w=A;x=t;y=s;break a}}u=q;v=-1;w=A;x=0;y=c[i>>2]|0}else{u=e;v=0;w=d;x=m;y=a}while(0);b:do if((y|0)!=0?(x|0)!=0&(w|0)!=0:0){a=v;m=w;d=u;e=x;A=y;while(1){C=Sn(d,A,m,f)|0;if((C+2|0)>>>0<3)break;A=(c[i>>2]|0)+C|0;c[i>>2]=A;m=m-C|0;e=e+-1|0;h=a+1|0;if(!((e|0)!=0&(m|0)!=0)){D=h;break b}else{a=h;d=d+4|0}}switch(C|0){case -1:{D=-1;break b;break}case 0:{c[i>>2]=0;D=a;break b;break}default:{c[f>>2]=0;D=a;break b}}}else D=v;while(0);if(k)c[b>>2]=c[i>>2];l=g;return D|0}function _n(a){a=a|0;var b=0;if(!a)b=1;else b=(c[a>>2]|0)==0;return b&1|0}function $n(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f;c[g>>2]=e;e=ln(a,b,d,g)|0;l=f;return e|0}function ao(a,b){a=a|0;b=b|0;var c=0;c=Yn(a)|0;return ((bo(a,1,c,b)|0)!=(c|0))<<31>>31|0}function bo(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;f=P(d,b)|0;g=(b|0)==0?0:d;if((c[e+76>>2]|0)>-1){d=(on(e)|0)==0;h=Fn(a,f,e)|0;if(d)i=h;else{pn(e);i=h}}else i=Fn(a,f,e)|0;if((i|0)==(f|0))j=g;else j=(i>>>0)/(b>>>0)|0;return j|0}function co(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;h=e&255;a[g>>0]=h;i=b+16|0;j=c[i>>2]|0;if(!j)if(!(Gn(b)|0)){k=c[i>>2]|0;m=4}else n=-1;else{k=j;m=4}do if((m|0)==4){j=b+20|0;i=c[j>>2]|0;if(i>>>0>>0?(o=e&255,(o|0)!=(a[b+75>>0]|0)):0){c[j>>2]=i+1;a[i>>0]=h;n=o;break}if((Za[c[b+36>>2]&31](b,g,1)|0)==1)n=d[g>>0]|0;else n=-1}while(0);l=f;return n|0}function eo(){Ra(28656);return 28664}function fo(){Ma(28656);return}function go(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;do if(a){if((c[a+76>>2]|0)<=-1){b=ho(a)|0;break}d=(on(a)|0)==0;e=ho(a)|0;if(d)b=e;else{pn(a);b=e}}else{if(!(c[702]|0))f=0;else f=go(c[702]|0)|0;e=c[(eo()|0)>>2]|0;if(!e)g=f;else{d=e;e=f;while(1){if((c[d+76>>2]|0)>-1)h=on(d)|0;else h=0;if((c[d+20>>2]|0)>>>0>(c[d+28>>2]|0)>>>0)i=ho(d)|0|e;else i=e;if(h|0)pn(d);d=c[d+56>>2]|0;if(!d){g=i;break}else e=i}}fo();b=g}while(0);return b|0}function ho(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+20|0;d=a+28|0;if((c[b>>2]|0)>>>0>(c[d>>2]|0)>>>0?(Za[c[a+36>>2]&31](a,0,0)|0,(c[b>>2]|0)==0):0)e=-1;else{f=a+4|0;g=c[f>>2]|0;h=a+8|0;i=c[h>>2]|0;if(g>>>0>>0)Za[c[a+40>>2]&31](a,g-i|0,1)|0;c[a+16>>2]=0;c[d>>2]=0;c[b>>2]=0;c[h>>2]=0;c[f>>2]=0;e=0}return e|0}function io(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;e=d&255;a:do if(!e)f=b+(Yn(b)|0)|0;else{if(!(b&3))g=b;else{h=d&255;i=b;while(1){j=a[i>>0]|0;if(j<<24>>24==0?1:j<<24>>24==h<<24>>24){f=i;break a}j=i+1|0;if(!(j&3)){g=j;break}else i=j}}i=P(e,16843009)|0;h=c[g>>2]|0;b:do if(!((h&-2139062144^-2139062144)&h+-16843009)){j=g;k=h;while(1){l=k^i;if((l&-2139062144^-2139062144)&l+-16843009|0){m=j;break b}l=j+4|0;k=c[l>>2]|0;if((k&-2139062144^-2139062144)&k+-16843009|0){m=l;break}else j=l}}else m=g;while(0);i=d&255;h=m;while(1){j=a[h>>0]|0;if(j<<24>>24==0?1:j<<24>>24==i<<24>>24){f=h;break}else h=h+1|0}}while(0);return f|0}function jo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;d=ko(a,b,f)|0;l=e;return d|0}function ko(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+128|0;f=e;g=f;h=g+124|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));c[f+32>>2]=24;c[f+44>>2]=a;c[f+76>>2]=-1;c[f+84>>2]=a;a=mo(f,b,d)|0;l=e;return a|0}function lo(a,b,c){a=a|0;b=b|0;c=c|0;return Ao(a,b,c)|0}function mo(b,e,f){b=b|0;e=e|0;f=f|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0.0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0;i=l;l=l+288|0;j=i+8|0;k=i+17|0;m=i;n=i+16|0;if((c[b+76>>2]|0)>-1)o=on(b)|0;else o=0;p=a[e>>0]|0;a:do if(p<<24>>24){q=b+4|0;r=b+100|0;s=b+108|0;t=b+8|0;u=k+10|0;v=k+33|0;w=j+4|0;x=k+46|0;y=k+94|0;z=k+1|0;B=k+1|0;C=e;D=0;E=0;F=0;G=0;H=p;b:while(1){c:do if(!(Mn(H&255)|0)){I=H<<24>>24==37;d:do if(I){J=C+1|0;K=a[J>>0]|0;e:do switch(K<<24>>24){case 37:{break d;break}case 42:{L=0;M=C+2|0;break}default:{N=(K&255)+-48|0;if(N>>>0<10?(a[C+2>>0]|0)==36:0){L=no(f,N)|0;M=C+3|0;break e}N=(c[f>>2]|0)+(4-1)&~(4-1);O=c[N>>2]|0;c[f>>2]=N+4;L=O;M=J}}while(0);J=a[M>>0]|0;K=J&255;if((K+-48|0)>>>0<10){O=0;N=M;P=K;while(1){K=(O*10|0)+-48+P|0;Q=N+1|0;R=a[Q>>0]|0;P=R&255;if((P+-48|0)>>>0>=10){S=K;T=Q;U=R;break}else{O=K;N=Q}}}else{S=0;T=M;U=J}N=U<<24>>24==109;O=(L|0)!=0;P=N?0:F;Q=N?0:G;K=N?T+1|0:T;V=O&N;N=K+1|0;switch(a[K>>0]|0){case 104:{R=(a[N>>0]|0)==104;W=R?-2:-1;X=R?K+2|0:N;break}case 108:{R=(a[N>>0]|0)==108;W=R?3:1;X=R?K+2|0:N;break}case 106:{W=3;X=N;break}case 116:case 122:{W=1;X=N;break}case 76:{W=2;X=N;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:{W=0;X=K;break}default:{Y=P;Z=Q;_=V;$=137;break b}}K=d[X>>0]|0;N=(K&47|0)==3;R=N?K|32:K;K=N?1:W;N=R&255;switch(N<<24>>24){case 99:{aa=(S|0)>1?S:1;ba=D;break}case 91:{aa=S;ba=D;break}case 110:{oo(L,K,D,((D|0)<0)<<31>>31);ca=X;da=E;ea=D;fa=P;ga=Q;break c;break}default:{Jn(b,0);do{ha=c[q>>2]|0;if(ha>>>0<(c[r>>2]|0)>>>0){c[q>>2]=ha+1;ia=d[ha>>0]|0}else ia=Ln(b)|0}while((Mn(ia)|0)!=0);if(!(c[r>>2]|0))ja=c[q>>2]|0;else{J=(c[q>>2]|0)+-1|0;c[q>>2]=J;ja=J}aa=S;ba=(c[s>>2]|0)+D+ja-(c[t>>2]|0)|0}}Jn(b,aa);J=c[q>>2]|0;ha=c[r>>2]|0;if(J>>>0>>0){c[q>>2]=J+1;ka=ha}else{if((Ln(b)|0)<0){Y=P;Z=Q;_=V;$=137;break b}ka=c[r>>2]|0}if(ka|0)c[q>>2]=(c[q>>2]|0)+-1;f:do switch(N<<24>>24){case 91:case 99:case 115:{ha=(R|0)==99;g:do if((R|16|0)==115){zA(z|0,-1,256)|0;a[k>>0]=0;if((R|0)==115){a[v>>0]=0;a[u>>0]=0;a[u+1>>0]=0;a[u+2>>0]=0;a[u+3>>0]=0;a[u+4>>0]=0;la=X}else la=X}else{J=X+1|0;ma=(a[J>>0]|0)==94;na=ma&1;oa=ma?X+2|0:J;zA(B|0,ma&1|0,256)|0;a[k>>0]=0;switch(a[oa>>0]|0){case 45:{pa=x;$=64;break}case 93:{pa=y;$=64;break}default:{qa=oa;ra=(na^1)&255}}if(($|0)==64){$=0;ma=(na^1)&255;a[pa>>0]=ma;qa=oa+1|0;ra=ma}ma=qa;while(1){oa=a[ma>>0]|0;h:do switch(oa<<24>>24){case 0:{Y=P;Z=Q;_=V;$=137;break b;break}case 93:{la=ma;break g;break}case 45:{na=ma+1|0;J=a[na>>0]|0;switch(J<<24>>24){case 93:case 0:{sa=ma;ta=45;break h;break}default:{}}ua=a[ma+-1>>0]|0;if((ua&255)<(J&255)){va=ua&255;do{va=va+1|0;a[k+va>>0]=ra;ua=a[na>>0]|0}while((va|0)<(ua&255|0));sa=na;ta=ua}else{sa=na;ta=J}break}default:{sa=ma;ta=oa}}while(0);a[k+((ta&255)+1)>>0]=ra;ma=sa+1|0}}while(0);ma=ha?aa+1|0:31;oa=(K|0)==1;i:do if(oa){if(V){va=Pm(ma<<2)|0;if(!va){Y=0;Z=0;_=1;$=137;break b}else wa=va}else wa=L;c[j>>2]=0;c[w>>2]=0;va=ma;ua=0;xa=wa;j:while(1){ya=(xa|0)==0;za=ua;while(1){k:while(1){Aa=c[q>>2]|0;if(Aa>>>0<(c[r>>2]|0)>>>0){c[q>>2]=Aa+1;Ba=d[Aa>>0]|0}else Ba=Ln(b)|0;if(!(a[k+(Ba+1)>>0]|0))break j;a[n>>0]=Ba;switch(Sn(m,n,1,j)|0){case -1:{Y=0;Z=xa;_=V;$=137;break b;break}case -2:break;default:break k}}if(ya)Ca=za;else{c[xa+(za<<2)>>2]=c[m>>2];Ca=za+1|0}if(V&(Ca|0)==(va|0))break;else za=Ca}ya=va<<1|1;J=Rm(xa,ya<<2)|0;if(!J){Y=0;Z=xa;_=1;$=137;break b}else{na=va;va=ya;xa=J;ua=na}}if(!(_n(j)|0)){Y=0;Z=xa;_=V;$=137;break b}else{Da=za;Ea=0;Fa=xa;Ga=xa}}else{if(V){ua=Pm(ma)|0;if(!ua){Y=0;Z=0;_=1;$=137;break b}else{Ha=ma;Ia=0;Ja=ua}while(1){ua=Ia;do{va=c[q>>2]|0;if(va>>>0<(c[r>>2]|0)>>>0){c[q>>2]=va+1;Ka=d[va>>0]|0}else Ka=Ln(b)|0;if(!(a[k+(Ka+1)>>0]|0)){Da=ua;Ea=Ja;Fa=0;Ga=0;break i}a[Ja+ua>>0]=Ka;ua=ua+1|0}while((ua|0)!=(Ha|0));ua=Ha<<1|1;va=Rm(Ja,ua)|0;if(!va){Y=Ja;Z=0;_=1;$=137;break b}else{na=Ha;Ha=ua;Ja=va;Ia=na}}}if(!L){xa=ka;while(1){na=c[q>>2]|0;if(na>>>0>>0){c[q>>2]=na+1;La=d[na>>0]|0}else La=Ln(b)|0;if(!(a[k+(La+1)>>0]|0)){Da=0;Ea=0;Fa=0;Ga=0;break i}xa=c[r>>2]|0}}else{xa=0;na=ka;while(1){va=c[q>>2]|0;if(va>>>0>>0){c[q>>2]=va+1;Ma=d[va>>0]|0}else Ma=Ln(b)|0;if(!(a[k+(Ma+1)>>0]|0)){Da=xa;Ea=L;Fa=0;Ga=0;break i}a[L+xa>>0]=Ma;xa=xa+1|0;na=c[r>>2]|0}}}while(0);if(!(c[r>>2]|0))Na=c[q>>2]|0;else{ma=(c[q>>2]|0)+-1|0;c[q>>2]=ma;Na=ma}ma=Na-(c[t>>2]|0)+(c[s>>2]|0)|0;if(!ma){Oa=Ea;Pa=Ga;$=139;break b}if(!((ma|0)==(aa|0)|ha^1)){Oa=Ea;Pa=Ga;$=139;break b}do if(V)if(oa){c[L>>2]=Fa;break}else{c[L>>2]=Ea;break}while(0);if(ha){Qa=la;Ra=Ea;Sa=Ga}else{if(Fa|0)c[Fa+(Da<<2)>>2]=0;if(!Ea){Qa=la;Ra=0;Sa=Ga;break f}a[Ea+Da>>0]=0;Qa=la;Ra=Ea;Sa=Ga}break}case 120:case 88:case 112:{Ta=16;$=125;break}case 111:{Ta=8;$=125;break}case 117:case 100:{Ta=10;$=125;break}case 105:{Ta=0;$=125;break}case 71:case 103:case 70:case 102:case 69:case 101:case 65:case 97:{Ua=+po(b,K,0);if((c[s>>2]|0)==((c[t>>2]|0)-(c[q>>2]|0)|0)){Oa=P;Pa=Q;$=139;break b}if(!L){Qa=X;Ra=P;Sa=Q}else switch(K|0){case 0:{g[L>>2]=Ua;Qa=X;Ra=P;Sa=Q;break f;break}case 1:{h[L>>3]=Ua;Qa=X;Ra=P;Sa=Q;break f;break}case 2:{h[L>>3]=Ua;Qa=X;Ra=P;Sa=Q;break f;break}default:{Qa=X;Ra=P;Sa=Q;break f}}break}default:{Qa=X;Ra=P;Sa=Q}}while(0);do if(($|0)==125){$=0;N=Kn(b,Ta,0,-1,-1)|0;if((c[s>>2]|0)==((c[t>>2]|0)-(c[q>>2]|0)|0)){Oa=P;Pa=Q;$=139;break b}if(O&(R|0)==112){c[L>>2]=N;Qa=X;Ra=P;Sa=Q;break}else{oo(L,K,N,A);Qa=X;Ra=P;Sa=Q;break}}while(0);ca=Qa;da=(O&1)+E|0;ea=(c[s>>2]|0)+ba+(c[q>>2]|0)-(c[t>>2]|0)|0;fa=Ra;ga=Sa;break c}while(0);Q=C+(I&1)|0;Jn(b,0);P=c[q>>2]|0;if(P>>>0<(c[r>>2]|0)>>>0){c[q>>2]=P+1;Va=d[P>>0]|0}else Va=Ln(b)|0;if((Va|0)!=(d[Q>>0]|0)){$=22;break b}ca=Q;da=E;ea=D+1|0;fa=F;ga=G}else{Q=C;while(1){P=Q+1|0;if(!(Mn(d[P>>0]|0)|0))break;else Q=P}Jn(b,0);do{I=c[q>>2]|0;if(I>>>0<(c[r>>2]|0)>>>0){c[q>>2]=I+1;Wa=d[I>>0]|0}else Wa=Ln(b)|0}while((Mn(Wa)|0)!=0);if(!(c[r>>2]|0))Xa=c[q>>2]|0;else{I=(c[q>>2]|0)+-1|0;c[q>>2]=I;Xa=I}ca=Q;da=E;ea=(c[s>>2]|0)+D+Xa-(c[t>>2]|0)|0;fa=F;ga=G}while(0);C=ca+1|0;H=a[C>>0]|0;if(!(H<<24>>24)){Ya=da;break a}else{D=ea;E=da;F=fa;G=ga}}if(($|0)==22){if(c[r>>2]|0)c[q>>2]=(c[q>>2]|0)+-1;if((E|0)!=0|(Va|0)>-1){Ya=E;break}else{Za=0;_a=F;$a=G;$=138}}else if(($|0)==137){D=_&1;if(!E){Za=D;_a=Y;$a=Z;$=138}else{ab=D;bb=E;cb=Y;db=Z}}else if(($|0)==139){ab=V&1;bb=E;cb=Oa;db=Pa}if(($|0)==138){ab=Za;bb=-1;cb=_a;db=$a}if(!ab)Ya=bb;else{Qm(cb);Qm(db);Ya=bb}}else Ya=0;while(0);if(o|0)pn(b);l=i;return Ya|0}function no(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d;c[e>>2]=c[a>>2];a=b;while(1){b=(c[e>>2]|0)+(4-1)&~(4-1);f=c[b>>2]|0;c[e>>2]=b+4;if(a>>>0>1)a=a+-1|0;else break}l=d;return f|0}function oo(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0;a:do if(d|0)switch(e|0){case -2:{a[d>>0]=f;break a;break}case -1:{b[d>>1]=f;break a;break}case 0:{c[d>>2]=f;break a;break}case 1:{c[d>>2]=f;break a;break}case 3:{h=d;c[h>>2]=f;c[h+4>>2]=g;break a;break}default:break a}while(0);return}function po(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0.0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;switch(e|0){case 0:{g=-149;h=24;i=4;break}case 1:{g=-1074;h=53;i=4;break}case 2:{g=-1074;h=53;i=4;break}default:j=0.0}a:do if((i|0)==4){e=b+4|0;k=b+100|0;do{l=c[e>>2]|0;if(l>>>0<(c[k>>2]|0)>>>0){c[e>>2]=l+1;m=d[l>>0]|0}else m=Ln(b)|0}while((Mn(m)|0)!=0);b:do switch(m|0){case 43:case 45:{l=1-(((m|0)==45&1)<<1)|0;n=c[e>>2]|0;if(n>>>0<(c[k>>2]|0)>>>0){c[e>>2]=n+1;o=d[n>>0]|0;p=l;break b}else{o=Ln(b)|0;p=l;break b}break}default:{o=m;p=1}}while(0);l=0;n=o;while(1){if((n|32|0)!=(a[23897+l>>0]|0)){q=l;r=n;break}do if(l>>>0<7){s=c[e>>2]|0;if(s>>>0<(c[k>>2]|0)>>>0){c[e>>2]=s+1;v=d[s>>0]|0;break}else{v=Ln(b)|0;break}}else v=n;while(0);s=l+1|0;if(s>>>0<8){l=s;n=v}else{q=s;r=v;break}}c:do switch(q|0){case 8:break;case 3:{i=23;break}default:{n=(f|0)!=0;if(n&q>>>0>3)if((q|0)==8)break c;else{i=23;break c}d:do if(!q){l=0;s=r;while(1){if((s|32|0)!=(a[23906+l>>0]|0)){w=l;x=s;break d}do if(l>>>0<2){y=c[e>>2]|0;if(y>>>0<(c[k>>2]|0)>>>0){c[e>>2]=y+1;z=d[y>>0]|0;break}else{z=Ln(b)|0;break}}else z=s;while(0);y=l+1|0;if(y>>>0<3){l=y;s=z}else{w=y;x=z;break}}}else{w=q;x=r}while(0);switch(w|0){case 3:{s=c[e>>2]|0;if(s>>>0<(c[k>>2]|0)>>>0){c[e>>2]=s+1;A=d[s>>0]|0}else A=Ln(b)|0;if((A|0)==40)B=1;else{if(!(c[k>>2]|0)){j=t;break a}c[e>>2]=(c[e>>2]|0)+-1;j=t;break a}while(1){s=c[e>>2]|0;if(s>>>0<(c[k>>2]|0)>>>0){c[e>>2]=s+1;C=d[s>>0]|0}else C=Ln(b)|0;if(!((C+-48|0)>>>0<10|(C+-65|0)>>>0<26)?!((C|0)==95|(C+-97|0)>>>0<26):0)break;B=B+1|0}if((C|0)==41){j=t;break a}s=(c[k>>2]|0)==0;if(!s)c[e>>2]=(c[e>>2]|0)+-1;if(!n){c[(Xm()|0)>>2]=22;Jn(b,0);j=0.0;break a}if(!B){j=t;break a}else D=B;while(1){D=D+-1|0;if(!s)c[e>>2]=(c[e>>2]|0)+-1;if(!D){j=t;break a}}break}case 0:{if((x|0)==48){s=c[e>>2]|0;if(s>>>0<(c[k>>2]|0)>>>0){c[e>>2]=s+1;E=d[s>>0]|0}else E=Ln(b)|0;if((E|32|0)==120){j=+qo(b,h,g,p,f);break a}if(!(c[k>>2]|0))F=48;else{c[e>>2]=(c[e>>2]|0)+-1;F=48}}else F=x;j=+ro(b,F,h,g,p,f);break a;break}default:{if(c[k>>2]|0)c[e>>2]=(c[e>>2]|0)+-1;c[(Xm()|0)>>2]=22;Jn(b,0);j=0.0;break a}}}}while(0);if((i|0)==23){s=(c[k>>2]|0)==0;if(!s)c[e>>2]=(c[e>>2]|0)+-1;if((f|0)!=0&q>>>0>3){n=q;do{if(!s)c[e>>2]=(c[e>>2]|0)+-1;n=n+-1|0}while(n>>>0>3)}}j=+(p|0)*u}while(0);return +j}function qo(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,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0,F=0,G=0.0,H=0.0,I=0,J=0,K=0,L=0,M=0,N=0,O=0.0,P=0,Q=0.0,R=0.0,S=0,T=0.0,U=0,V=0,W=0,X=0.0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0.0,da=0,ea=0.0;h=a+4|0;i=c[h>>2]|0;j=a+100|0;if(i>>>0<(c[j>>2]|0)>>>0){c[h>>2]=i+1;k=d[i>>0]|0;l=0}else{k=Ln(a)|0;l=0}a:while(1){switch(k|0){case 46:{m=8;break a;break}case 48:break;default:{n=0;o=0;p=1.0;q=0.0;r=0;s=k;t=l;u=0;v=0;w=0;x=0;break a}}i=c[h>>2]|0;if(i>>>0<(c[j>>2]|0)>>>0){c[h>>2]=i+1;k=d[i>>0]|0;l=1;continue}else{k=Ln(a)|0;l=1;continue}}if((m|0)==8){k=c[h>>2]|0;if(k>>>0<(c[j>>2]|0)>>>0){c[h>>2]=k+1;y=d[k>>0]|0}else y=Ln(a)|0;if((y|0)==48){k=0;i=0;while(1){z=c[h>>2]|0;if(z>>>0<(c[j>>2]|0)>>>0){c[h>>2]=z+1;B=d[z>>0]|0}else B=Ln(a)|0;z=BA(k|0,i|0,-1,-1)|0;C=A;if((B|0)==48){k=z;i=C}else{n=1;o=0;p=1.0;q=0.0;r=0;s=B;t=1;u=C;v=0;w=0;x=z;break}}}else{n=1;o=0;p=1.0;q=0.0;r=0;s=y;t=l;u=0;v=0;w=0;x=0}}while(1){l=s+-48|0;y=(s|0)==46;if(l>>>0>=10?!(y|((s|32)+-97|0)>>>0<6):0){D=s;break}if(y)if(!n){E=1;F=o;G=p;H=q;I=r;J=t;K=w;L=v;M=w;N=v}else{D=46;break}else{y=(s|0)>57?(s|32)+-87|0:l;do if(!((v|0)<0|(v|0)==0&w>>>0<8))if((v|0)<0|(v|0)==0&w>>>0<14){O=p*.0625;P=o;Q=O;R=q+O*+(y|0);S=r;break}else{l=(o|0)!=0|(y|0)==0;P=l?o:1;Q=p;R=l?q:q+p*.5;S=r;break}else{P=o;Q=p;R=q;S=y+(r<<4)|0}while(0);y=BA(w|0,v|0,1,0)|0;E=n;F=P;G=Q;H=R;I=S;J=1;K=x;L=u;M=y;N=A}y=c[h>>2]|0;if(y>>>0<(c[j>>2]|0)>>>0){c[h>>2]=y+1;n=E;o=F;p=G;q=H;r=I;s=d[y>>0]|0;t=J;u=L;v=N;w=M;x=K;continue}else{n=E;o=F;p=G;q=H;r=I;s=Ln(a)|0;t=J;u=L;v=N;w=M;x=K;continue}}do if(!t){K=c[j>>2]|0;M=(K|0)!=0;if(M)c[h>>2]=(c[h>>2]|0)+-1;if(g){if(M)c[h>>2]=(c[h>>2]|0)+-1;if(!((n|0)==0|(K|0)==0))c[h>>2]=(c[h>>2]|0)+-1}else Jn(a,0);T=+(f|0)*0.0}else{K=(n|0)==0;M=K?w:x;N=K?v:u;if((v|0)<0|(v|0)==0&w>>>0<8){K=r;L=w;J=v;while(1){s=K<<4;L=BA(L|0,J|0,1,0)|0;J=A;if(!((J|0)<0|(J|0)==0&L>>>0<8)){U=s;break}else K=s}}else U=r;if((D|32|0)==112){K=so(a,g)|0;L=A;if((K|0)==0&(L|0)==-2147483648){if(!g){Jn(a,0);T=0.0;break}if(!(c[j>>2]|0)){V=0;W=0}else{c[h>>2]=(c[h>>2]|0)+-1;V=0;W=0}}else{V=K;W=L}}else if(!(c[j>>2]|0)){V=0;W=0}else{c[h>>2]=(c[h>>2]|0)+-1;V=0;W=0}L=LA(M|0,N|0,2)|0;K=BA(L|0,A|0,-32,-1)|0;L=BA(K|0,A|0,V|0,W|0)|0;K=A;if(!U){T=+(f|0)*0.0;break}J=0-e|0;s=((J|0)<0)<<31>>31;if((K|0)>(s|0)|(K|0)==(s|0)&L>>>0>J>>>0){c[(Xm()|0)>>2]=34;T=+(f|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}J=e+-106|0;s=((J|0)<0)<<31>>31;if((K|0)<(s|0)|(K|0)==(s|0)&L>>>0>>0){c[(Xm()|0)>>2]=34;T=+(f|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if((U|0)>-1){H=q;J=U;s=L;I=K;while(1){F=!(H>=.5);o=J<<1|(F^1)&1;G=H+(F?H:H+-1.0);F=BA(s|0,I|0,-1,-1)|0;E=A;if((o|0)>-1){H=G;J=o;s=F;I=E}else{X=G;Y=o;Z=F;_=E;break}}}else{X=q;Y=U;Z=L;_=K}I=((b|0)<0)<<31>>31;s=yA(32,0,e|0,((e|0)<0)<<31>>31|0)|0;J=BA(s|0,A|0,Z|0,_|0)|0;s=A;if((I|0)>(s|0)|(I|0)==(s|0)&b>>>0>J>>>0)if((J|0)>0){$=J;m=59}else{aa=0;ba=84;m=61}else{$=b;m=59}if((m|0)==59)if(($|0)<53){aa=$;ba=84-$|0;m=61}else{ca=0.0;da=$;ea=+(f|0)}if((m|0)==61){H=+(f|0);ca=+uo(+to(1.0,ba),H);da=aa;ea=H}J=(Y&1|0)==0&(X!=0.0&(da|0)<32);H=ea*(J?0.0:X)+(ca+ea*+(((J&1)+Y|0)>>>0))-ca;if(!(H!=0.0))c[(Xm()|0)>>2]=34;T=+wo(H,Z)}while(0);return +T}function ro(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,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0.0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0.0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0.0,kb=0.0,lb=0.0,mb=0.0,nb=0.0,ob=0.0,pb=0.0,qb=0.0,rb=0.0,sb=0.0,tb=0;i=l;l=l+512|0;j=i;k=f+e|0;m=0-k|0;n=a+4|0;o=a+100|0;p=b;b=0;a:while(1){switch(p|0){case 46:{q=6;break a;break}case 48:break;default:{r=0;s=p;t=b;u=0;v=0;break a}}w=c[n>>2]|0;if(w>>>0<(c[o>>2]|0)>>>0){c[n>>2]=w+1;p=d[w>>0]|0;b=1;continue}else{p=Ln(a)|0;b=1;continue}}if((q|0)==6){p=c[n>>2]|0;if(p>>>0<(c[o>>2]|0)>>>0){c[n>>2]=p+1;x=d[p>>0]|0}else x=Ln(a)|0;if((x|0)==48){p=0;w=0;while(1){y=BA(p|0,w|0,-1,-1)|0;z=A;B=c[n>>2]|0;if(B>>>0<(c[o>>2]|0)>>>0){c[n>>2]=B+1;D=d[B>>0]|0}else D=Ln(a)|0;if((D|0)==48){p=y;w=z}else{r=1;s=D;t=1;u=y;v=z;break}}}else{r=1;s=x;t=b;u=0;v=0}}c[j>>2]=0;b=s+-48|0;x=(s|0)==46;b:do if(x|b>>>0<10){D=j+496|0;w=0;p=0;z=0;y=r;B=t;E=s;F=x;G=b;H=u;I=v;J=0;K=0;c:while(1){do if(F)if(!y){L=w;M=p;N=1;O=z;Q=B;R=J;S=K;T=J;U=K}else break c;else{V=BA(J|0,K|0,1,0)|0;W=A;X=(E|0)!=48;if((p|0)>=125){if(!X){L=w;M=p;N=y;O=z;Q=B;R=H;S=I;T=V;U=W;break}c[D>>2]=c[D>>2]|1;L=w;M=p;N=y;O=z;Q=B;R=H;S=I;T=V;U=W;break}Y=j+(p<<2)|0;if(!w)Z=G;else Z=E+-48+((c[Y>>2]|0)*10|0)|0;c[Y>>2]=Z;Y=w+1|0;_=(Y|0)==9;L=_?0:Y;M=(_&1)+p|0;N=y;O=X?V:z;Q=1;R=H;S=I;T=V;U=W}while(0);W=c[n>>2]|0;if(W>>>0<(c[o>>2]|0)>>>0){c[n>>2]=W+1;$=d[W>>0]|0}else $=Ln(a)|0;G=$+-48|0;F=($|0)==46;if(!(F|G>>>0<10)){aa=L;ba=M;ca=O;da=N;ea=$;fa=Q;ga=R;ha=T;ia=S;ja=U;q=29;break b}else{w=L;p=M;z=O;y=N;B=Q;E=$;H=R;I=S;J=T;K=U}}ka=w;la=p;ma=z;na=J;oa=K;pa=H;qa=I;ra=(B|0)!=0;q=37}else{aa=0;ba=0;ca=0;da=r;ea=s;fa=t;ga=u;ha=0;ia=v;ja=0;q=29}while(0);do if((q|0)==29){v=(da|0)==0;u=v?ha:ga;t=v?ja:ia;v=(fa|0)!=0;if(!(v&(ea|32|0)==101))if((ea|0)>-1){ka=aa;la=ba;ma=ca;na=ha;oa=ja;pa=u;qa=t;ra=v;q=37;break}else{sa=aa;ta=ba;ua=ca;va=ha;wa=ja;xa=v;ya=u;za=t;q=39;break}v=so(a,h)|0;s=A;if((v|0)==0&(s|0)==-2147483648){if(!h){Jn(a,0);Aa=0.0;break}if(!(c[o>>2]|0)){Ba=0;Ca=0}else{c[n>>2]=(c[n>>2]|0)+-1;Ba=0;Ca=0}}else{Ba=v;Ca=s}s=BA(Ba|0,Ca|0,u|0,t|0)|0;Da=aa;Ea=ba;Fa=ca;Ga=s;Ha=ha;Ia=A;Ja=ja;q=41}while(0);if((q|0)==37)if(c[o>>2]|0){c[n>>2]=(c[n>>2]|0)+-1;if(ra){Da=ka;Ea=la;Fa=ma;Ga=pa;Ha=na;Ia=qa;Ja=oa;q=41}else q=40}else{sa=ka;ta=la;ua=ma;va=na;wa=oa;xa=ra;ya=pa;za=qa;q=39}if((q|0)==39)if(xa){Da=sa;Ea=ta;Fa=ua;Ga=ya;Ha=va;Ia=za;Ja=wa;q=41}else q=40;do if((q|0)==40){c[(Xm()|0)>>2]=22;Jn(a,0);Aa=0.0}else if((q|0)==41){wa=c[j>>2]|0;if(!wa){Aa=+(g|0)*0.0;break}if(((Ja|0)<0|(Ja|0)==0&Ha>>>0<10)&((Ga|0)==(Ha|0)&(Ia|0)==(Ja|0))?(e|0)>30|(wa>>>e|0)==0:0){Aa=+(g|0)*+(wa>>>0);break}wa=(f|0)/-2|0;za=((wa|0)<0)<<31>>31;if((Ia|0)>(za|0)|(Ia|0)==(za|0)&Ga>>>0>wa>>>0){c[(Xm()|0)>>2]=34;Aa=+(g|0)*1797693134862315708145274.0e284*1797693134862315708145274.0e284;break}wa=f+-106|0;za=((wa|0)<0)<<31>>31;if((Ia|0)<(za|0)|(Ia|0)==(za|0)&Ga>>>0>>0){c[(Xm()|0)>>2]=34;Aa=+(g|0)*2.2250738585072014e-308*2.2250738585072014e-308;break}if(!Da)Ka=Ea;else{if((Da|0)<9){wa=j+(Ea<<2)|0;za=Da;va=c[wa>>2]|0;do{va=va*10|0;za=za+1|0}while((za|0)!=9);c[wa>>2]=va}Ka=Ea+1|0}if((Fa|0)<9?(Fa|0)<=(Ga|0)&(Ga|0)<18:0){za=c[j>>2]|0;if((Ga|0)==9){Aa=+(g|0)*+(za>>>0);break}if((Ga|0)<9){Aa=+(g|0)*+(za>>>0)/+(c[2936+(8-Ga<<2)>>2]|0);break}B=e+27+(P(Ga,-3)|0)|0;if((B|0)>30|(za>>>B|0)==0){Aa=+(g|0)*+(za>>>0)*+(c[2936+(Ga+-10<<2)>>2]|0);break}}za=(Ga|0)%9|0;if(!za){La=0;Ma=Ka;Na=0;Oa=Ga}else{B=(Ga|0)>-1?za:za+9|0;za=c[2936+(8-B<<2)>>2]|0;if(Ka){I=1e9/(za|0)|0;H=0;K=0;J=Ga;z=0;do{p=j+(z<<2)|0;w=c[p>>2]|0;ya=((w>>>0)/(za>>>0)|0)+H|0;c[p>>2]=ya;H=P(I,(w>>>0)%(za>>>0)|0)|0;w=(z|0)==(K|0)&(ya|0)==0;J=w?J+-9|0:J;K=w?K+1&127:K;z=z+1|0}while((z|0)!=(Ka|0));if(!H){Pa=K;Qa=Ka;Ra=J}else{c[j+(Ka<<2)>>2]=H;Pa=K;Qa=Ka+1|0;Ra=J}}else{Pa=0;Qa=0;Ra=Ga}La=0;Ma=Qa;Na=Pa;Oa=9-B+Ra|0}d:while(1){z=(Oa|0)<18;za=(Oa|0)==18;I=j+(Na<<2)|0;va=La;wa=Ma;while(1){if(!z){if(!za){Sa=va;Ta=Na;Ua=Oa;Va=wa;break d}if((c[I>>2]|0)>>>0>=9007199){Sa=va;Ta=Na;Ua=18;Va=wa;break d}}w=0;Wa=wa;ya=wa+127|0;while(1){p=ya&127;ua=j+(p<<2)|0;ta=LA(c[ua>>2]|0,0,29)|0;sa=BA(ta|0,A|0,w|0,0)|0;ta=A;if(ta>>>0>0|(ta|0)==0&sa>>>0>1e9){xa=HA(sa|0,ta|0,1e9,0)|0;qa=NA(sa|0,ta|0,1e9,0)|0;Xa=xa;Ya=qa}else{Xa=0;Ya=sa}c[ua>>2]=Ya;ua=(p|0)==(Na|0);Wa=(Ya|0)==0&(((p|0)!=(Wa+127&127|0)|ua)^1)?p:Wa;if(ua)break;else{w=Xa;ya=p+-1|0}}va=va+-29|0;if(Xa|0)break;else wa=Wa}wa=Na+127&127;I=Wa+127&127;za=j+((Wa+126&127)<<2)|0;if((wa|0)==(Wa|0)){c[za>>2]=c[za>>2]|c[j+(I<<2)>>2];Za=I}else Za=Wa;c[j+(wa<<2)>>2]=Xa;La=va;Ma=Za;Na=wa;Oa=Oa+9|0}e:while(1){B=Va+1&127;J=j+((Va+127&127)<<2)|0;K=Sa;H=Ta;wa=Ua;while(1){I=(wa|0)==18;za=(wa|0)>27?9:1;_a=K;$a=H;while(1){z=0;while(1){ya=z+$a&127;if((ya|0)==(Va|0)){ab=2;q=88;break}w=c[j+(ya<<2)>>2]|0;ya=c[2968+(z<<2)>>2]|0;if(w>>>0>>0){ab=2;q=88;break}if(w>>>0>ya>>>0)break;ya=z+1|0;if((ya|0)<2)z=ya;else{ab=ya;q=88;break}}if((q|0)==88?(q=0,I&(ab|0)==2):0){bb=0.0;cb=0;db=Va;break e}eb=za+_a|0;if(($a|0)==(Va|0)){_a=eb;$a=Va}else break}I=(1<>>za;fb=0;gb=$a;hb=wa;ya=$a;do{w=j+(ya<<2)|0;p=c[w>>2]|0;ua=(p>>>za)+fb|0;c[w>>2]=ua;fb=P(p&I,z)|0;p=(ya|0)==(gb|0)&(ua|0)==0;hb=p?hb+-9|0:hb;gb=p?gb+1&127:gb;ya=ya+1&127}while((ya|0)!=(Va|0));if(!fb){K=eb;H=gb;wa=hb;continue}if((B|0)!=(gb|0))break;c[J>>2]=c[J>>2]|1;K=eb;H=gb;wa=hb}c[j+(Va<<2)>>2]=fb;Sa=eb;Ta=gb;Ua=hb;Va=B}while(1){wa=cb+$a&127;H=db+1&127;if((wa|0)==(db|0)){c[j+(H+-1<<2)>>2]=0;ib=H}else ib=db;bb=bb*1.0e9+ +((c[j+(wa<<2)>>2]|0)>>>0);cb=cb+1|0;if((cb|0)==2)break;else db=ib}jb=+(g|0);kb=jb*bb;wa=_a+53|0;H=wa-f|0;K=(H|0)<(e|0);J=K?((H|0)>0?H:0):e;if((J|0)<53){lb=+uo(+to(1.0,105-J|0),kb);mb=+vo(kb,+to(1.0,53-J|0));nb=lb;ob=mb;pb=lb+(kb-mb)}else{nb=0.0;ob=0.0;pb=kb}va=$a+2&127;if((va|0)!=(ib|0)){ya=c[j+(va<<2)>>2]|0;do if(ya>>>0>=5e8){if((ya|0)!=5e8){qb=jb*.75+ob;break}if(($a+3&127|0)==(ib|0)){qb=jb*.5+ob;break}else{qb=jb*.75+ob;break}}else{if((ya|0)==0?($a+3&127|0)==(ib|0):0){qb=ob;break}qb=jb*.25+ob}while(0);if((53-J|0)>1?!(+vo(qb,1.0)!=0.0):0)rb=qb+1.0;else rb=qb}else rb=ob;jb=pb+rb-nb;do if((wa&2147483647|0)>(-2-k|0)){ya=!(+C(+jb)>=9007199254740992.0);va=((ya^1)&1)+_a|0;kb=ya?jb:jb*.5;if((va+50|0)<=(m|0)?!(rb!=0.0&(K&((J|0)!=(H|0)|ya))):0){sb=kb;tb=va;break}c[(Xm()|0)>>2]=34;sb=kb;tb=va}else{sb=jb;tb=_a}while(0);Aa=+wo(sb,tb)}while(0);l=i;return +Aa}function so(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=a+4|0;f=c[e>>2]|0;g=a+100|0;if(f>>>0<(c[g>>2]|0)>>>0){c[e>>2]=f+1;h=d[f>>0]|0}else h=Ln(a)|0;switch(h|0){case 43:case 45:{f=(h|0)==45&1;i=c[e>>2]|0;if(i>>>0<(c[g>>2]|0)>>>0){c[e>>2]=i+1;j=d[i>>0]|0}else j=Ln(a)|0;if((b|0)!=0&(j+-48|0)>>>0>9?(c[g>>2]|0)!=0:0){c[e>>2]=(c[e>>2]|0)+-1;k=f;l=j}else{k=f;l=j}break}default:{k=0;l=h}}if((l+-48|0)>>>0>9)if(!(c[g>>2]|0)){m=-2147483648;n=0}else{c[e>>2]=(c[e>>2]|0)+-1;m=-2147483648;n=0}else{h=0;j=l;while(1){h=j+-48+(h*10|0)|0;l=c[e>>2]|0;if(l>>>0<(c[g>>2]|0)>>>0){c[e>>2]=l+1;o=d[l>>0]|0}else o=Ln(a)|0;if(!((o+-48|0)>>>0<10&(h|0)<214748364))break;else j=o}j=((h|0)<0)<<31>>31;if((o+-48|0)>>>0<10){l=o;f=h;b=j;while(1){i=JA(f|0,b|0,10,0)|0;p=A;q=BA(l|0,((l|0)<0)<<31>>31|0,-48,-1)|0;r=BA(q|0,A|0,i|0,p|0)|0;p=A;i=c[e>>2]|0;if(i>>>0<(c[g>>2]|0)>>>0){c[e>>2]=i+1;s=d[i>>0]|0}else s=Ln(a)|0;if((s+-48|0)>>>0<10&((p|0)<21474836|(p|0)==21474836&r>>>0<2061584302)){l=s;f=r;b=p}else{t=s;u=r;v=p;break}}}else{t=o;u=h;v=j}j=c[g>>2]|0;if((t+-48|0)>>>0<10){t=j;while(1){h=c[e>>2]|0;if(h>>>0>>0){c[e>>2]=h+1;w=d[h>>0]|0;x=t}else{h=Ln(a)|0;w=h;x=c[g>>2]|0}if((w+-48|0)>>>0<10)t=x;else{y=x;break}}}else y=j;if(y|0)c[e>>2]=(c[e>>2]|0)+-1;e=(k|0)!=0;k=yA(0,0,u|0,v|0)|0;m=e?A:v;n=e?k:u}A=m;return n|0}function to(a,b){a=+a;b=b|0;var d=0.0,e=0,f=0,g=0,i=0.0,k=0;if((b|0)<=1023)if((b|0)<-1022){d=a*2.2250738585072014e-308;e=b+1022|0;f=(e|0)<-1022;g=b+2044|0;i=f?d*2.2250738585072014e-308:d;k=f?((g|0)>-1022?g:-1022):e}else{i=a;k=b}else{d=a*8988465674311579538646525.0e283;e=b+-1023|0;g=(e|0)>1023;f=b+-2046|0;i=g?d*8988465674311579538646525.0e283:d;k=g?((f|0)<1023?f:1023):e}e=LA(k+1023|0,0,52)|0;k=A;c[j>>2]=e;c[j+4>>2]=k;return +(i*+h[j>>3])}function uo(a,b){a=+a;b=+b;return +(+zo(a,b))}function vo(a,b){a=+a;b=+b;return +(+xo(a,b))}function wo(a,b){a=+a;b=b|0;return +(+to(a,b))}function xo(a,b){a=+a;b=+b;var d=0,e=0,f=0,g=0,i=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,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,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0.0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;h[j>>3]=b;f=c[j>>2]|0;g=c[j+4>>2]|0;i=CA(d|0,e|0,52)|0;k=i&2047;i=CA(f|0,g|0,52)|0;l=i&2047;i=e&-2147483648;m=LA(f|0,g|0,1)|0;n=A;a:do if(!((m|0)==0&(n|0)==0)?(o=yo(b)|0,p=A&2147483647,!((k|0)==2047|(p>>>0>2146435072|(p|0)==2146435072&o>>>0>0))):0){o=LA(d|0,e|0,1)|0;p=A;if(!(p>>>0>n>>>0|(p|0)==(n|0)&o>>>0>m>>>0))return +((o|0)==(m|0)&(p|0)==(n|0)?a*0.0:a);if(!k){p=LA(d|0,e|0,12)|0;o=A;if((o|0)>-1|(o|0)==-1&p>>>0>4294967295){q=0;r=p;p=o;while(1){o=q+-1|0;r=LA(r|0,p|0,1)|0;p=A;if(!((p|0)>-1|(p|0)==-1&r>>>0>4294967295)){s=o;break}else q=o}}else s=0;q=LA(d|0,e|0,1-s|0)|0;t=s;u=q;v=A}else{t=k;u=d;v=e&1048575|1048576}if(!l){q=LA(f|0,g|0,12)|0;r=A;if((r|0)>-1|(r|0)==-1&q>>>0>4294967295){p=0;o=q;q=r;while(1){r=p+-1|0;o=LA(o|0,q|0,1)|0;q=A;if(!((q|0)>-1|(q|0)==-1&o>>>0>4294967295)){w=r;break}else p=r}}else w=0;p=LA(f|0,g|0,1-w|0)|0;x=w;y=p;z=A}else{x=l;y=f;z=g&1048575|1048576}p=yA(u|0,v|0,y|0,z|0)|0;o=A;q=(o|0)>-1|(o|0)==-1&p>>>0>4294967295;b:do if((t|0)>(x|0)){r=t;B=o;C=q;D=u;E=v;F=p;while(1){if(C)if((F|0)==0&(B|0)==0)break;else{G=F;H=B}else{G=D;H=E}I=LA(G|0,H|0,1)|0;J=A;K=r+-1|0;L=yA(I|0,J|0,y|0,z|0)|0;M=A;N=(M|0)>-1|(M|0)==-1&L>>>0>4294967295;if((K|0)>(x|0)){r=K;B=M;C=N;D=I;E=J;F=L}else{O=K;P=N;Q=L;R=M;S=I;T=J;break b}}U=a*0.0;break a}else{O=t;P=q;Q=p;R=o;S=u;T=v}while(0);if(P)if((Q|0)==0&(R|0)==0){U=a*0.0;break}else{V=R;W=Q}else{V=T;W=S}if(V>>>0<1048576|(V|0)==1048576&W>>>0<0){o=O;p=W;q=V;while(1){F=LA(p|0,q|0,1)|0;E=A;D=o+-1|0;if(E>>>0<1048576|(E|0)==1048576&F>>>0<0){o=D;p=F;q=E}else{X=D;Y=F;Z=E;break}}}else{X=O;Y=W;Z=V}if((X|0)>0){q=BA(Y|0,Z|0,0,-1048576)|0;p=A;o=LA(X|0,0,52)|0;_=p|A;$=q|o}else{o=CA(Y|0,Z|0,1-X|0)|0;_=A;$=o}c[j>>2]=$;c[j+4>>2]=_|i;U=+h[j>>3]}else aa=3;while(0);if((aa|0)==3){ba=a*b;U=ba/ba}return +U}function yo(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;A=c[j+4>>2]|0;return b|0}function zo(a,b){a=+a;b=+b;var d=0,e=0,f=0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;h[j>>3]=b;f=c[j+4>>2]&-2147483648|e&2147483647;c[j>>2]=d;c[j+4>>2]=f;return +(+h[j>>3])}function Ao(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=a+84|0;f=c[e>>2]|0;g=d+256|0;h=wn(f,0,g)|0;i=(h|0)==0?g:h-f|0;h=i>>>0>>0?i:d;EA(b|0,f|0,h|0)|0;c[a+4>>2]=f+h;b=f+i|0;c[a+8>>2]=b;c[e>>2]=b;return h|0}function Bo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;d=mn(a,b,f)|0;l=e;return d|0}function Co(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 Do(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=l;l=l+208|0;g=f+8|0;h=f;i=P(d,b)|0;b=h;c[b>>2]=1;c[b+4>>2]=0;a:do if(i|0){b=0-d|0;c[g+4>>2]=d;c[g>>2]=d;j=2;k=d;m=d;while(1){n=k+d+m|0;c[g+(j<<2)>>2]=n;if(n>>>0>>0){o=m;j=j+1|0;m=n;k=o}else break}k=a+i+b|0;if(k>>>0>a>>>0){m=k;j=1;o=a;n=1;while(1){do if((n&3|0)!=3){p=j+-1|0;if((c[g+(p<<2)>>2]|0)>>>0<(m-o|0)>>>0)Eo(o,d,e,j,g);else Go(o,d,e,h,j,0,g);if((j|0)==1){Ho(h,1);q=0;break}else{Ho(h,p);q=1;break}}else{Eo(o,d,e,j,g);Fo(h,2);q=j+2|0}while(0);p=c[h>>2]|1;c[h>>2]=p;r=o+d|0;if(r>>>0>>0){j=q;o=r;n=p}else{s=q;t=r;u=p;break}}}else{s=1;t=a;u=1}Go(t,d,e,h,s,0,g);n=h+4|0;o=t;j=s;k=u;while(1){if((j|0)==1&(k|0)==1){if(!(c[n>>2]|0))break a}else if((j|0)>=2){Ho(h,2);m=j+-2|0;c[h>>2]=c[h>>2]^7;Fo(h,1);Go(o+(0-(c[g+(m<<2)>>2]|0))+b|0,d,e,h,j+-1|0,1,g);Ho(h,1);p=c[h>>2]|1;c[h>>2]=p;r=o+b|0;Go(r,d,e,h,m,1,g);o=r;j=m;k=p;continue}p=Io(h)|0;Fo(h,p);o=o+b|0;j=p+j|0;k=c[h>>2]|0}}while(0);l=f;return}function Eo(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=l;l=l+240|0;h=g;c[h>>2]=a;a:do if((e|0)>1){i=0-b|0;j=a;k=e;m=1;n=a;while(1){o=j+i|0;p=k+-2|0;q=o+(0-(c[f+(p<<2)>>2]|0))|0;if((lb[d&15](n,q)|0)>-1?(lb[d&15](n,o)|0)>-1:0){r=m;break a}s=m+1|0;t=h+(m<<2)|0;if((lb[d&15](q,o)|0)>-1){c[t>>2]=q;u=q;v=k+-1|0}else{c[t>>2]=o;u=o;v=p}if((v|0)<=1){r=s;break a}j=u;k=v;m=s;n=c[h>>2]|0}}else r=1;while(0);Ko(b,h,r);l=g;return}function Fo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+4|0;if(b>>>0>31){e=c[d>>2]|0;c[a>>2]=e;c[d>>2]=0;f=b+-32|0;g=0;h=e}else{f=b;g=c[d>>2]|0;h=c[a>>2]|0}c[a>>2]=g<<32-f|h>>>f;c[d>>2]=g>>>f;return}function Go(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;i=l;l=l+240|0;j=i+232|0;k=i;m=c[e>>2]|0;c[j>>2]=m;n=c[e+4>>2]|0;e=j+4|0;c[e>>2]=n;c[k>>2]=a;a:do if((m|0)!=1|(n|0)!=0?(o=0-b|0,p=a+(0-(c[h+(f<<2)>>2]|0))|0,(lb[d&15](p,a)|0)>=1):0){q=1;r=f;s=(g|0)==0;t=a;u=p;while(1){if(s&(r|0)>1){p=t+o|0;v=c[h+(r+-2<<2)>>2]|0;if((lb[d&15](p,u)|0)>-1){w=q;x=r;y=t;z=10;break a}if((lb[d&15](p+(0-v)|0,u)|0)>-1){w=q;x=r;y=t;z=10;break a}}v=q+1|0;c[k+(q<<2)>>2]=u;p=Io(j)|0;Fo(j,p);A=p+r|0;if(!((c[j>>2]|0)!=1|(c[e>>2]|0)!=0)){w=v;x=A;y=u;z=10;break a}p=u+(0-(c[h+(A<<2)>>2]|0))|0;if((lb[d&15](p,c[k>>2]|0)|0)<1){B=u;C=v;D=A;E=0;z=9;break}else{F=u;q=v;r=A;s=1;u=p;t=F}}}else{B=a;C=1;D=f;E=g;z=9}while(0);if((z|0)==9?(E|0)==0:0){w=C;x=D;y=B;z=10}if((z|0)==10){Ko(b,k,w);Eo(y,b,d,x,h)}l=i;return}function Ho(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=a+4|0;if(b>>>0>31){e=c[a>>2]|0;c[d>>2]=e;c[a>>2]=0;f=b+-32|0;g=0;h=e}else{f=b;g=c[a>>2]|0;h=c[d>>2]|0}c[d>>2]=g>>>(32-f|0)|h<>2]=g<>2]|0)+-1|0)|0;if(!b){d=Jo(c[a+4>>2]|0)|0;return ((d|0)==0?0:d+32|0)|0}else return b|0;return 0}function Jo(a){a=a|0;var b=0,c=0,d=0;if(a)if(!(a&1)){b=a;a=0;while(1){c=a+1|0;b=b>>>1;if(b&1|0){d=c;break}else a=c}}else d=0;else d=32;return d|0}function Ko(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;e=l;l=l+256|0;f=e;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=f,a|0):0){h=a;i=f;while(1){j=h>>>0<256?h:256;EA(i|0,c[b>>2]|0,j|0)|0;k=0;do{m=b+(k<<2)|0;k=k+1|0;EA(c[m>>2]|0,c[b+(k<<2)>>2]|0,j|0)|0;c[m>>2]=(c[m>>2]|0)+j}while((k|0)!=(d|0));k=h-j|0;if(!k)break a;h=k;i=c[g>>2]|0}}while(0);l=e;return}function Lo(a){a=a|0;return ((a+-48|0)>>>0<10|((a|32)+-97|0)>>>0<6)&1|0}function Mo(){return 2976}function No(){var a=0;a=(c[c[(Oo()|0)+188>>2]>>2]|0)!=0;return (a?4:1)|0}function Oo(){return Zm()|0}function Po(){return 4516}function Qo(){return 4520}function Ro(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=In(a,b,c,-1,-1)|0;return d|0}function So(a,b){a=a|0;b=b|0;return (a+-48|0)>>>0<10|0}function To(a){a=a|0;if(Uo(a)|0)Qm(a);return}function Uo(a){a=a|0;return (a|0)!=2284&((a|0)!=0&(a|0)!=28560)&1|0}function Vo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=l;l=l+272|0;f=e+8|0;g=e;do if(!(a[d>>0]|0)){h=Ja(23910)|0;if(h|0?a[h>>0]|0:0){i=h;break}h=Ja(23917+(b*12|0)|0)|0;if(h|0?a[h>>0]|0:0){i=h;break}h=Ja(23989)|0;if(h|0?a[h>>0]|0:0){i=h;break}i=23994}else i=d;while(0);d=0;a:while(1){switch(a[i+d>>0]|0){case 47:case 0:{j=d;break a;break}default:{}}h=d+1|0;if(h>>>0<15)d=h;else{j=h;break}}d=a[i>>0]|0;if(d<<24>>24!=46?(a[i+j>>0]|0)==0:0)if(d<<24>>24==67){k=i;m=15}else{n=i;m=16}else{k=23994;m=15}if((m|0)==15)if(!(a[k+1>>0]|0)){o=k;m=18}else{n=k;m=16}b:do if((m|0)==16)if((hn(n,23994)|0)!=0?(hn(n,24002)|0)!=0:0){k=c[7167]|0;if(k|0){i=k;do{if(!(hn(n,i+8|0)|0)){p=i;break b}i=c[i+24>>2]|0}while((i|0)!=0)}Ra(28672);i=c[7167]|0;c:do if(i|0){k=i;while(1){if(!(hn(n,k+8|0)|0))break;d=c[k+24>>2]|0;if(!d)break c;else k=d}Ma(28672);p=k;break b}while(0);d:do if(((c[7148]|0)==0?(i=Ja(24008)|0,(i|0)!=0):0)?(a[i>>0]|0)!=0:0){d=254-j|0;h=j+1|0;q=i;while(1){i=io(q,58)|0;r=a[i>>0]|0;s=((r<<24>>24!=0)<<31>>31)+(i-q)|0;if(s>>>0>>0){EA(f|0,q|0,s|0)|0;t=f+s|0;a[t>>0]=47;EA(t+1|0,n|0,j|0)|0;a[f+(h+s)>>0]=0;u=Ka(f|0,g|0)|0;if(u|0)break;v=a[i>>0]|0}else v=r;q=i+(v<<24>>24!=0&1)|0;if(!(a[q>>0]|0)){m=41;break d}}q=Pm(28)|0;h=c[g>>2]|0;if(!q){Wo(u,h)|0;m=41;break}else{c[q>>2]=u;c[q+4>>2]=h;h=q+8|0;EA(h|0,n|0,j|0)|0;a[h+j>>0]=0;c[q+24>>2]=c[7167];c[7167]=q;w=q;break}}else m=41;while(0);if((m|0)==41){q=Pm(28)|0;if(!q)w=q;else{c[q>>2]=c[559];c[q+4>>2]=c[560];h=q+8|0;EA(h|0,n|0,j|0)|0;a[h+j>>0]=0;c[q+24>>2]=c[7167];c[7167]=q;w=q}}Ma(28672);p=(b|0)==0&(w|0)==0?2236:w}else{o=n;m=18}while(0);do if((m|0)==18){if((b|0)==0?(a[o+1>>0]|0)==46:0){p=2236;break}p=0}while(0);l=e;return p|0}function Wo(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;Xo();c[e>>2]=a;c[e+4>>2]=b;b=Wm(Ha(91,e|0)|0)|0;l=d;return b|0}function Xo(){return}function Yo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return d|0}function Zo(a){a=a|0;var b=0,d=0;b=(_o()|0)+188|0;d=c[b>>2]|0;if(a|0)c[b>>2]=(a|0)==(-1|0)?28624:a;return ((d|0)==28624?-1:d)|0}function _o(){return Zm()|0}function $o(a,b){a=a|0;b=b|0;return -1|0}function ap(a,b){a=a|0;b=b|0;return Lo(a)|0}function bp(a){a=a|0;return 0}function cp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;e=l;l=l+32|0;f=e;a:do if(!(Uo(d)|0)){g=(d|0)==0;h=0;i=0;do{j=(1<>2]|0;h=((k|0)!=0&1)+h|0;c[f+(i<<2)>>2]=k;i=i+1|0}while((i|0)!=6);switch(h|0){case 0:{m=28560;break a;break}case 1:{if((c[f>>2]|0)==2236){m=2284;break a}break}default:{}}m=d}else{i=0;do{if(1<>2]=Vo(i,b)|0;i=i+1|0}while((i|0)!=6);m=d}while(0);l=e;return m|0}function dp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=d;d=b;b=a;while(1){e=e+-1|0;c[b>>2]=c[d>>2];if(!e)break;else{d=d+4|0;b=b+4|0}}}return a|0}function ep(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=In(a,b,c,0,-2147483648)|0;return d|0}function fp(a,b){a=a|0;b=b|0;return +(+gp(a,b,1))}function gp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0.0;e=l;l=l+128|0;f=e;g=f;h=g+124|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));g=f+4|0;c[g>>2]=a;h=f+8|0;c[h>>2]=-1;c[f+44>>2]=a;c[f+76>>2]=-1;Jn(f,0);i=+po(f,d,1);d=(c[g>>2]|0)-(c[h>>2]|0)+(c[f+108>>2]|0)|0;if(b|0)c[b>>2]=d|0?a+d|0:a;l=e;return +i}function hp(a,b){a=a|0;b=b|0;return +(+gp(a,b,0))}function ip(a,b){a=a|0;b=b|0;return +(+gp(a,b,2))}function jp(a,b,c){a=a|0;b=b|0;c=c|0;return +(+hp(a,b))}function kp(a,b,c){a=a|0;b=b|0;c=c|0;return +(+fp(a,b))}function lp(a,b,c){a=a|0;b=b|0;c=c|0;return +(+ip(a,b))}function mp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(d|0){e=d;d=a;while(1){e=e+-1|0;c[d>>2]=b;if(!e)break;else d=d+4|0}}return a|0}function np(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(a-b>>2>>>0>=d>>>0){if(d|0){e=b;f=a;g=d;while(1){g=g+-1|0;c[f>>2]=c[e>>2];if(!g)break;else{e=e+4|0;f=f+4|0}}}}else{f=d;do{f=f+-1|0;c[a+(f<<2)>>2]=c[b+(f<<2)>>2]}while((f|0)!=0)}return a|0}function op(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[670]|0;if((c[d+76>>2]|0)>-1)e=on(d)|0;else e=0;do if((ao(b,d)|0)<0)f=1;else{if((a[d+75>>0]|0)!=10?(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]=10;f=0;break}f=(co(d,10)|0)<0}while(0);if(e|0)pn(d);return f<<31>>31|0}function pp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=b&255;f=b&255;if((c[d+76>>2]|0)>=0?(on(d)|0)!=0:0){if((f|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]=e;i=f}else i=co(d,b)|0;pn(d);j=i}else k=3;do if((k|0)==3){if((f|0)!=(a[d+75>>0]|0)?(i=d+20|0,h=c[i>>2]|0,h>>>0<(c[d+16>>2]|0)>>>0):0){c[i>>2]=h+1;a[h>>0]=e;j=f;break}j=co(d,b)|0}while(0);return j|0}function qp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+16|0;f=e;c[f>>2]=c[d>>2];g=ln(0,0,b,f)|0;if((g|0)>=0?(f=g+1|0,g=Pm(f)|0,c[a>>2]=g,(g|0)!=0):0)h=ln(g,f,b,d)|0;else h=-1;l=e;return h|0}function rp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=Ro(a,b,c)|0;return d|0}function sp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=ep(a,b,c)|0;return d|0}function tp(a){a=+a;var b=0,d=0,e=0,f=0.0,g=0,i=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0.0,r=0.0,s=0.0,t=0.0;h[j>>3]=a;b=c[j>>2]|0;d=c[j+4>>2]|0;e=(d|0)<0;do if(e|d>>>0<1048576){if((b|0)==0&(d&2147483647|0)==0){f=-1.0/(a*a);break}if(e){f=(a-a)/0.0;break}else{h[j>>3]=a*18014398509481984.0;g=c[j+4>>2]|0;i=-1077;k=g;l=c[j>>2]|0;m=g;n=9;break}}else if(d>>>0<=2146435071)if((b|0)==0&0==0&(d|0)==1072693248)f=0.0;else{i=-1023;k=d;l=b;m=d;n=9}else f=a;while(0);if((n|0)==9){n=k+614242|0;c[j>>2]=l;c[j+4>>2]=(n&1048575)+1072079006;a=+h[j>>3]+-1.0;o=a*(a*.5);p=a/(a+2.0);q=p*p;r=q*q;h[j>>3]=a-o;l=c[j+4>>2]|0;c[j>>2]=0;c[j+4>>2]=l;s=+h[j>>3];t=a-s-o+p*(o+(r*(r*(r*.15313837699209373+.22222198432149784)+.3999999999940942)+q*(r*(r*(r*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));r=s*.4342944818781689;q=+(i+(n>>>20)|0);o=q*.30102999566361177;p=o+r;f=p+(r+(o-p)+(t*.4342944818781689+(q*3.694239077158931e-13+(s+t)*2.5082946711645275e-11)))}return +f}function up(a){a=a|0;vp(a);return}function vp(a){a=a|0;c[a>>2]=6068;wp(a,0);Lq(a+28|0);Qm(c[a+32>>2]|0);Qm(c[a+36>>2]|0);Qm(c[a+48>>2]|0);Qm(c[a+60>>2]|0);return}function wp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=a+32|0;e=a+36|0;f=c[a+40>>2]|0;while(1){if(!f)break;g=f+-1|0;gb[c[(c[d>>2]|0)+(g<<2)>>2]&0](b,a,c[(c[e>>2]|0)+(g<<2)>>2]|0);f=g}return}function xp(a){a=a|0;vp(a);Yy(a);return}function yp(a){a=a|0;c[a>>2]=6084;Lq(a+4|0);return}function zp(a){a=a|0;yp(a);Yy(a);return}function Ap(a,b){a=a|0;b=b|0;return}function Bp(a,b,c){a=a|0;b=b|0;c=c|0;return a|0}function Cp(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 Dp(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 Ep(a){a=a|0;return 0}function Fp(a){a=a|0;return 0}function Gp(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;Mp()|0;f=b+12|0;g=b+16|0;h=d;d=0;while(1){if((d|0)>=(e|0))break;i=c[f>>2]|0;j=c[g>>2]|0;if(i>>>0>>0){k=j-i|0;j=e-d|0;l=(j|0)<(k|0)?j:k;Op(h,i,l)|0;c[f>>2]=(c[f>>2]|0)+l;h=h+l|0;d=l+d|0;continue}l=fb[c[(c[b>>2]|0)+40>>2]&127](b)|0;if((l|0)==-1)break;a[h>>0]=Pp(l)|0;h=h+1|0;d=d+1|0}return d|0}function Hp(a){a=a|0;return Mp()|0}function Ip(b){b=b|0;var d=0,e=0;d=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;if((d|0)==(Mp()|0))e=Mp()|0;else{d=b+12|0;b=c[d>>2]|0;c[d>>2]=b+1;e=Np(a[b>>0]|0)|0}return e|0}function Jp(a,b){a=a|0;b=b|0;return Mp()|0}function Kp(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;f=Mp()|0;g=b+24|0;h=b+28|0;i=d;d=0;while(1){if((d|0)>=(e|0))break;j=c[g>>2]|0;k=c[h>>2]|0;if(j>>>0>>0){l=k-j|0;k=e-d|0;m=(k|0)<(l|0)?k:l;Op(j,i,m)|0;c[g>>2]=(c[g>>2]|0)+m;i=i+m|0;d=m+d|0;continue}m=c[(c[b>>2]|0)+52>>2]|0;j=Np(a[i>>0]|0)|0;if((lb[m&15](b,j)|0)==(f|0))break;i=i+1|0;d=d+1|0}return d|0}function Lp(a,b){a=a|0;b=b|0;return Mp()|0}function Mp(){return -1}function Np(a){a=a|0;return a&255|0}function Op(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)EA(a|0,b|0,c|0)|0;return a|0}function Pp(a){a=a|0;return a&255|0}function Qp(){return -1}function Rp(a){a=a|0;return a|0}function Sp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!c)d=a;else{dp(a,b,c)|0;d=a}return d|0}function Tp(a){a=a|0;Xp(a,6180);up(a+4|0);return}function Up(a){a=a|0;Tp(a);Yy(a);return}function Vp(a){a=a|0;Tp(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Wp(a){a=a|0;Up(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Xp(a,b){a=a|0;b=b|0;return}function Yp(a){a=a|0;return Yn(a)|0}function Zp(b,c){b=b|0;c=c|0;a[b>>0]=a[c>>0]|0;return}function _p(a,b){a=a|0;b=b|0;c[a+16>>2]=(c[a+24>>2]|0)==0|b;return}function $p(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;b=a+28|0;d=a+32|0;a=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(a|0));Py(b);return}function aq(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function bq(a,b){a=a|0;b=b|0;Ny(a,b+28|0);return}function cq(a,b){a=a|0;b=b|0;return (a|0)==(b|0)|0}function dq(a){a=a|0;var b=0;c[a>>2]=6084;Py(a+4|0);b=a+8|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;return}function eq(b){b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d;if(c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0){fq(e,b);if(a[e>>0]|0?(f=c[b+(c[(c[b>>2]|0)+-12>>2]|0)+24>>2]|0,(fb[c[(c[f>>2]|0)+24>>2]&127](f)|0)==-1):0){f=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;_p(f,c[f+16>>2]|1)}gq(e)}l=d;return b|0}function fq(b,d){b=b|0;d=d|0;var e=0;a[b>>0]=0;c[b+4>>2]=d;e=d+(c[(c[d>>2]|0)+-12>>2]|0)|0;if(!(c[e+16>>2]|0)){d=c[e+72>>2]|0;if(d|0)eq(d)|0;a[b>>0]=1}return}function gq(a){a=a|0;var b=0,d=0;b=a+4|0;a=c[b>>2]|0;d=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;if((((c[d+24>>2]|0?(c[d+16>>2]|0)==0:0)?c[d+4>>2]&8192|0:0)?!(va()|0):0)?(d=c[b>>2]|0,a=c[d+(c[(c[d>>2]|0)+-12>>2]|0)+24>>2]|0,(fb[c[(c[a>>2]|0)+24>>2]&127](a)|0)==-1):0){a=c[b>>2]|0;b=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;_p(b,c[b+16>>2]|1)}return}function hq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;e=l;l=l+16|0;f=e+12|0;g=e+8|0;h=e;fq(h,b);if(a[h>>0]|0){bq(f,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);i=Kq(f,28752)|0;Lq(f);j=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;k=c[j+24>>2]|0;m=Mp()|0;n=j+76|0;if(aq(m,c[n>>2]|0)|0){bq(f,j);m=Kq(f,28696)|0;o=lb[c[(c[m>>2]|0)+28>>2]&15](m,32)|0;Lq(f);m=o<<24>>24;c[n>>2]=m;p=m}else p=c[n>>2]|0;n=c[(c[i>>2]|0)+16>>2]|0;c[g>>2]=k;c[f>>2]=c[g>>2];if(!(nb[n&31](i,f,j,p&255,d)|0)){d=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;_p(d,c[d+16>>2]|5)}}gq(h);l=e;return b|0}function iq(b,d){b=b|0;d=+d;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;e=l;l=l+16|0;f=e+12|0;g=e+8|0;h=e;fq(h,b);if(a[h>>0]|0){bq(f,b+(c[(c[b>>2]|0)+-12>>2]|0)|0);i=Kq(f,28752)|0;Lq(f);j=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;k=c[j+24>>2]|0;m=Mp()|0;n=j+76|0;if(aq(m,c[n>>2]|0)|0){bq(f,j);m=Kq(f,28696)|0;o=lb[c[(c[m>>2]|0)+28>>2]&15](m,32)|0;Lq(f);m=o<<24>>24;c[n>>2]=m;p=m}else p=c[n>>2]|0;n=c[(c[i>>2]|0)+32>>2]|0;c[g>>2]=k;c[f>>2]=c[g>>2];if(!(mb[n&7](i,f,j,p&255,d)|0)){p=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;_p(p,c[p+16>>2]|5)}}gq(h);l=e;return b|0}function jq(a){a=a|0;var b=0;b=a+16|0;c[b>>2]=c[b>>2]|1;return}function kq(a){a=a|0;qq(a);return}function lq(a){a=a|0;kq(a);Yy(a);return}function mq(a){a=a|0;if(a|0)cb[c[(c[a>>2]|0)+4>>2]&127](a);return}function nq(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,i=0;b=e;e=c;while(1){if((b|0)==(f|0)){g=7;break}if((e|0)==(d|0)){h=-1;break}c=a[e>>0]|0;i=a[b>>0]|0;if(c<<24>>24>24){h=-1;break}if(i<<24>>24>24){h=1;break}b=b+1|0;e=e+1|0}if((g|0)==7)h=(e|0)!=(d|0)&1;return h|0}function oq(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;d=l;l=l+16|0;g=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=f-e|0;if(h>>>0>4294967279)dz(b);if(h>>>0<11){a[b+11>>0]=h;i=b}else{j=h+16&-16;k=Wy(j)|0;c[b>>2]=k;c[b+8>>2]=j|-2147483648;c[b+4>>2]=h;i=k}k=e;e=i;while(1){if((k|0)==(f|0))break;Zp(e,k);k=k+1|0;e=e+1|0}a[g>>0]=0;Zp(i+h|0,g);l=d;return}function pq(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;b=0;e=c;while(1){if((e|0)==(d|0))break;c=(a[e>>0]|0)+(b<<4)|0;f=c&-268435456;b=(f>>>24|f)^c;e=e+1|0}return b|0}function qq(a){a=a|0;return}function rq(a){a=a|0;qq(a);return}function sq(a){a=a|0;rq(a);Yy(a);return}function tq(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=e;e=b;while(1){if((a|0)==(f|0)){g=7;break}if((e|0)==(d|0)){h=-1;break}b=c[e>>2]|0;i=c[a>>2]|0;if((b|0)<(i|0)){h=-1;break}if((i|0)<(b|0)){h=1;break}a=a+4|0;e=e+4|0}if((g|0)==7)h=(e|0)!=(d|0)&1;return h|0}function uq(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;d=l;l=l+16|0;g=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=f-e>>2;if(h>>>0>1073741807)dz(b);do if(h>>>0>=2){i=h+4&-4;if(i>>>0>1073741823)ra();else{j=Wy(i<<2)|0;c[b>>2]=j;c[b+8>>2]=i|-2147483648;c[b+4>>2]=h;k=e;m=j;break}}else{a[b+8+3>>0]=h;k=e;m=b}while(0);while(1){if((k|0)==(f|0))break;wq(m,k);k=k+4|0;m=m+4|0}c[g>>2]=0;wq(m,g);l=d;return}function vq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=0;e=b;while(1){if((e|0)==(d|0))break;b=(c[e>>2]|0)+(a<<4)|0;f=b&-268435456;a=(f>>>24|f)^b;e=e+4|0}return a|0}function wq(a,b){a=a|0;b=b|0;c[a>>2]=c[b>>2];return}function xq(a){a=a|0;qq(a);return}function yq(a){a=a|0;qq(a);Yy(a);return}function zq(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;i=l;l=l+48|0;j=i+40|0;k=i+16|0;m=i+8|0;n=i+12|0;o=i+4|0;p=i;if(!(c[f+4>>2]&1)){c[m>>2]=-1;q=c[(c[b>>2]|0)+16>>2]|0;c[n>>2]=c[d>>2];c[o>>2]=c[e>>2];c[k>>2]=c[n>>2];c[j>>2]=c[o>>2];c[d>>2]=eb[q&63](b,k,j,f,g,m)|0;switch(c[m>>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}}r=c[d>>2]|0}else{bq(j,f);m=Kq(j,28696)|0;Lq(j);bq(j,f);f=Kq(j,28712)|0;Lq(j);db[c[(c[f>>2]|0)+24>>2]&63](k,f);db[c[(c[f>>2]|0)+28>>2]&63](k+12|0,f);c[p>>2]=c[e>>2];e=k+24|0;c[j>>2]=c[p>>2];a[h>>0]=(qr(d,j,k,e,m,g,1)|0)==(k|0)&1;g=c[d>>2]|0;d=e;do{d=d+-12|0;fz(d)}while((d|0)!=(k|0));r=g}l=i;return r|0}function Aq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=or(a,j,i,e,f,g)|0;l=h;return m|0}function Bq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=mr(a,j,i,e,f,g)|0;l=h;return m|0}function Cq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=kr(a,j,i,e,f,g)|0;l=h;return m|0}function Dq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=ir(a,j,i,e,f,g)|0;l=h;return m|0}function Eq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=gr(a,j,i,e,f,g)|0;l=h;return m|0}function Fq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=cr(a,j,i,e,f,g)|0;l=h;return m|0}function Gq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=ar(a,j,i,e,f,g)|0;l=h;return m|0}function Hq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=_q(a,j,i,e,f,g)|0;l=h;return m|0}function Iq(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Vq(a,j,i,e,f,g)|0;l=h;return m|0}function Jq(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+240|0;i=b;j=b+204|0;k=b+192|0;m=b+180|0;n=b+176|0;o=b+16|0;p=b+8|0;q=b+4|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[k+(r<<2)>>2]=0;r=r+1|0}bq(m,f);f=Kq(m,28696)|0;jb[c[(c[f>>2]|0)+32>>2]&7](f,24239,24265,j)|0;Lq(m);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;r=m+8|0;if((a[f>>0]|0)<0)s=(c[r>>2]&2147483647)+-1|0;else s=10;mz(m,s,0);s=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=s;c[p>>2]=o;c[q>>2]=0;t=m+4|0;u=c[d>>2]|0;v=s;s=u;w=u;a:while(1){if(s){u=c[s+12>>2]|0;if((u|0)==(c[s+16>>2]|0))x=fb[c[(c[s>>2]|0)+36>>2]&127](s)|0;else x=Np(a[u>>0]|0)|0;if(aq(x,Mp()|0)|0){c[d>>2]=0;y=0;z=0;A=1}else{y=s;z=w;A=0}}else{y=0;z=0;A=1}u=c[e>>2]|0;do if(u){B=c[u+12>>2]|0;if((B|0)==(c[u+16>>2]|0))C=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else C=Np(a[B>>0]|0)|0;if(!(aq(C,Mp()|0)|0))if(A){D=u;break}else{E=v;F=u;break a}else{c[e>>2]=0;G=22;break}}else G=22;while(0);if((G|0)==22){G=0;if(A){E=v;F=0;break}else D=0}u=a[f>>0]|0;B=u<<24>>24<0?c[t>>2]|0:u&255;if((c[n>>2]|0)==(v+B|0)){mz(m,B<<1,0);if((a[f>>0]|0)<0)H=(c[r>>2]&2147483647)+-1|0;else H=10;mz(m,H,0);u=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=u+B;I=u}else I=v;u=y+12|0;B=c[u>>2]|0;J=y+16|0;if((B|0)==(c[J>>2]|0))K=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else K=Np(a[B>>0]|0)|0;if(Mq(K&255,16,I,n,q,0,k,o,p,j)|0){E=I;F=D;break}B=c[u>>2]|0;if((B|0)==(c[J>>2]|0)){fb[c[(c[y>>2]|0)+40>>2]&127](y)|0;v=I;s=y;w=z;continue}else{c[u>>2]=B+1;Np(a[B>>0]|0)|0;v=I;s=y;w=z;continue}}mz(m,(c[n>>2]|0)-E|0,0);E=(a[f>>0]|0)<0?c[m>>2]|0:m;f=Nq()|0;c[i>>2]=h;if((Oq(E,f,24272,i)|0)!=1)c[g>>2]=4;if(y){i=c[y+12>>2]|0;if((i|0)==(c[y+16>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](y)|0;else L=Np(a[i>>0]|0)|0;if(aq(L,Mp()|0)|0){c[d>>2]=0;M=1}else M=0}else M=1;do if(F){L=c[F+12>>2]|0;if((L|0)==(c[F+16>>2]|0))N=fb[c[(c[F>>2]|0)+36>>2]&127](F)|0;else N=Np(a[L>>0]|0)|0;if(!(aq(N,Mp()|0)|0))if(M)break;else{G=51;break}else{c[e>>2]=0;G=49;break}}else G=49;while(0);if((G|0)==49?M:0)G=51;if((G|0)==51)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Kq(a,b){a=a|0;b=b|0;var d=0;d=c[a>>2]|0;return Qq(d,Pq(b)|0)|0}function Lq(a){a=a|0;Ty(c[a>>2]|0)|0;return}function Mq(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,q=0,r=0,s=0,t=0;m=c[f>>2]|0;n=(m|0)==(e|0);do if(n){o=(a[l+24>>0]|0)==b<<24>>24;if(!o?(a[l+25>>0]|0)!=b<<24>>24:0){p=5;break}c[f>>2]=e+1;a[e>>0]=o?43:45;c[g>>2]=0;q=0}else p=5;while(0);a:do if((p|0)==5){o=a[i+11>>0]|0;if(b<<24>>24==h<<24>>24?((o<<24>>24<0?c[i+4>>2]|0:o&255)|0)!=0:0){o=c[k>>2]|0;if((o-j|0)>=160){q=0;break}r=c[g>>2]|0;c[k>>2]=o+4;c[o>>2]=r;c[g>>2]=0;q=0;break}r=l+26|0;o=0;while(1){s=l+o|0;if((o|0)==26){t=r;break}if((a[s>>0]|0)==b<<24>>24){t=s;break}else o=o+1|0}o=t-l|0;if((o|0)>23)q=-1;else{r=24239+o|0;switch(d|0){case 10:case 8:{if((o|0)>=(d|0)){q=-1;break a}break}case 16:{if((o|0)>=22){if(n){q=-1;break a}if((m-e|0)>=3){q=-1;break a}if((a[m+-1>>0]|0)!=48){q=-1;break a}c[g>>2]=0;o=a[r>>0]|0;c[f>>2]=m+1;a[m>>0]=o;q=0;break a}break}default:{}}o=a[r>>0]|0;c[f>>2]=m+1;a[m>>0]=o;c[g>>2]=(c[g>>2]|0)+1;q=0}}while(0);return q|0}function Nq(){if((a[27072]|0)==0?sA(27072)|0:0)c[7176]=cp(2147483647,24275,0)|0;return c[7176]|0}function Oq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f;c[g>>2]=e;e=Zo(b)|0;b=ko(a,d,g)|0;if(e|0)Zo(e)|0;l=f;return b|0}function Pq(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=l;l=l+48|0;d=b+32|0;e=b+24|0;f=b;g=b+16|0;c[g>>2]=106;c[g+4>>2]=0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];Sq(f,d,a);if((c[a>>2]|0)!=-1){c[d>>2]=f;c[e>>2]=d;Vy(a,e,107)}l=b;return (c[a+4>>2]|0)+-1|0}function Qq(a,b){a=a|0;b=b|0;return c[(c[a+8>>2]|0)+(b<<2)>>2]|0}function Rq(a){a=a|0;var b=0;b=c[7177]|0;c[7177]=b+1;c[a+4>>2]=b+1;return}function Sq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b>>2]|0;f=c[b+4>>2]|0;c[a>>2]=d;c[a+4>>2]=e;c[a+8>>2]=f;return}function Tq(a){a=a|0;Uq(c[c[a>>2]>>2]|0);return}function Uq(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a+4>>2]|0;d=c[a+8>>2]|0;e=(c[a>>2]|0)+(d>>1)|0;if(!(d&1))f=b;else f=c[(c[e>>2]|0)+b>>2]|0;cb[f&127](e);return}function Vq(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;b=l;l=l+240|0;j=b+200|0;k=b+199|0;m=b+198|0;n=b+184|0;o=b+172|0;p=b+168|0;q=b+8|0;r=b+4|0;s=b;t=b+197|0;u=b+196|0;Wq(n,f,j,k,m);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[o+(f<<2)>>2]=0;f=f+1|0}f=o+11|0;v=o+8|0;if((a[f>>0]|0)<0)w=(c[v>>2]&2147483647)+-1|0;else w=10;mz(o,w,0);w=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=w;c[r>>2]=q;c[s>>2]=0;a[t>>0]=1;a[u>>0]=69;x=o+4|0;y=c[d>>2]|0;z=w;w=y;A=y;a:while(1){if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))B=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else B=Np(a[y>>0]|0)|0;if(aq(B,Mp()|0)|0){c[d>>2]=0;C=0;D=0;E=1}else{C=w;D=A;E=0}}else{C=0;D=0;E=1}y=c[e>>2]|0;do if(y){F=c[y+12>>2]|0;if((F|0)==(c[y+16>>2]|0))G=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else G=Np(a[F>>0]|0)|0;if(!(aq(G,Mp()|0)|0))if(E){H=y;break}else{I=z;J=y;break a}else{c[e>>2]=0;K=19;break}}else K=19;while(0);if((K|0)==19){K=0;if(E){I=z;J=0;break}else H=0}y=a[f>>0]|0;F=y<<24>>24<0?c[x>>2]|0:y&255;if((c[p>>2]|0)==(z+F|0)){mz(o,F<<1,0);if((a[f>>0]|0)<0)L=(c[v>>2]&2147483647)+-1|0;else L=10;mz(o,L,0);y=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=y+F;M=y}else M=z;y=C+12|0;F=c[y>>2]|0;N=C+16|0;if((F|0)==(c[N>>2]|0))O=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else O=Np(a[F>>0]|0)|0;if(Xq(O&255,t,u,M,p,a[k>>0]|0,a[m>>0]|0,n,q,r,s,j)|0){I=M;J=H;break}F=c[y>>2]|0;if((F|0)==(c[N>>2]|0)){fb[c[(c[C>>2]|0)+40>>2]&127](C)|0;z=M;w=C;A=D;continue}else{c[y>>2]=F+1;Np(a[F>>0]|0)|0;z=M;w=C;A=D;continue}}A=a[n+11>>0]|0;if(!((a[t>>0]|0)==0?1:((A<<24>>24<0?c[n+4>>2]|0:A&255)|0)==0)?(A=c[r>>2]|0,(A-q|0)<160):0){t=c[s>>2]|0;c[r>>2]=A+4;c[A>>2]=t}h[i>>3]=+Yq(I,c[p>>2]|0,g);Zq(n,q,c[r>>2]|0,g);if(C){r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0))P=fb[c[(c[D>>2]|0)+36>>2]&127](C)|0;else P=Np(a[r>>0]|0)|0;if(aq(P,Mp()|0)|0){c[d>>2]=0;Q=1}else Q=0}else Q=1;do if(J){P=c[J+12>>2]|0;if((P|0)==(c[J+16>>2]|0))R=fb[c[(c[J>>2]|0)+36>>2]&127](J)|0;else R=Np(a[P>>0]|0)|0;if(!(aq(R,Mp()|0)|0))if(Q)break;else{K=49;break}else{c[e>>2]=0;K=47;break}}else K=47;while(0);if((K|0)==47?Q:0)K=49;if((K|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(o);fz(n);l=b;return g|0}function Wq(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=l;l=l+16|0;i=h;bq(i,d);d=Kq(i,28696)|0;jb[c[(c[d>>2]|0)+32>>2]&7](d,24239,24271,e)|0;e=Kq(i,28712)|0;a[f>>0]=fb[c[(c[e>>2]|0)+12>>2]&127](e)|0;a[g>>0]=fb[c[(c[e>>2]|0)+16>>2]&127](e)|0;db[c[(c[e>>2]|0)+20>>2]&63](b,e);Lq(i);l=h;return}function Xq(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,q=0,r=0,s=0,t=0;o=k;a:do if(b<<24>>24==h<<24>>24)if(a[d>>0]|0){a[d>>0]=0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=46;k=a[j+11>>0]|0;if(((k<<24>>24<0?c[j+4>>2]|0:k&255)|0)!=0?(k=c[l>>2]|0,(k-o|0)<160):0){p=c[m>>2]|0;c[l>>2]=k+4;c[k>>2]=p;q=0}else q=0}else q=-1;else{if(b<<24>>24==i<<24>>24?(p=a[j+11>>0]|0,(p<<24>>24<0?c[j+4>>2]|0:p&255)|0):0){if(!(a[d>>0]|0)){q=-1;break}p=c[l>>2]|0;if((p-o|0)>=160){q=0;break}k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k;c[m>>2]=0;q=0;break}k=n+32|0;p=0;while(1){r=n+p|0;if((p|0)==32){s=k;break}if((a[r>>0]|0)==b<<24>>24){s=r;break}else p=p+1|0}p=s-n|0;if((p|0)>31)q=-1;else{k=a[24239+p>>0]|0;switch(p|0){case 24:case 25:{r=c[g>>2]|0;if((r|0)!=(f|0)?(a[r+-1>>0]&95)!=(a[e>>0]&127):0){q=-1;break a}c[g>>2]=r+1;a[r>>0]=k;q=0;break a;break}case 23:case 22:{a[e>>0]=80;r=c[g>>2]|0;c[g>>2]=r+1;a[r>>0]=k;q=0;break a;break}default:{r=k&95;if((((r|0)==(a[e>>0]|0)?(a[e>>0]=r|128,a[d>>0]|0):0)?(a[d>>0]=0,r=a[j+11>>0]|0,(r<<24>>24<0?c[j+4>>2]|0:r&255)|0):0)?(r=c[l>>2]|0,(r-o|0)<160):0){t=c[m>>2]|0;c[l>>2]=r+4;c[r>>2]=t}t=c[g>>2]|0;c[g>>2]=t+1;a[t>>0]=k;if((p|0)>21){q=0;break a}c[m>>2]=(c[m>>2]|0)+1;q=0;break a}}}}while(0);return q|0}function Yq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0,h=0,i=0.0,j=0.0,k=0,m=0.0;e=l;l=l+16|0;f=e;if((a|0)==(b|0)){c[d>>2]=4;g=0.0}else{h=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;i=+lp(a,f,Nq()|0);a=c[(Xm()|0)>>2]|0;if(!a)c[(Xm()|0)>>2]=h;if((c[f>>2]|0)==(b|0))if((a|0)==34){j=i;k=6}else m=i;else{j=0.0;k=6}if((k|0)==6){c[d>>2]=4;m=j}g=m}l=e;return +g}function Zq(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,p=0,q=0,r=0,s=0;g=a[b+11>>0]|0;h=g<<24>>24<0;i=b+4|0;j=c[i>>2]|0;k=g&255;do if((h?j:k)|0){if((d|0)==(e|0))l=j;else{g=e;m=d;while(1){n=g+-4|0;if(m>>>0>=n>>>0)break;o=c[m>>2]|0;c[m>>2]=c[n>>2];c[n>>2]=o;g=n;m=m+4|0}l=c[i>>2]|0}m=h?c[b>>2]|0:b;g=e+-4|0;n=m+(h?l:k)|0;o=d;p=m;while(1){q=a[p>>0]|0;r=q<<24>>24>0&q<<24>>24!=127;if(o>>>0>=g>>>0)break;if(r?(q<<24>>24|0)!=(c[o>>2]|0):0){s=10;break}o=o+4|0;p=(n-p|0)>1?p+1|0:p}if((s|0)==10){c[f>>2]=4;break}if(r?((c[g>>2]|0)+-1|0)>>>0>=q<<24>>24>>>0:0)c[f>>2]=4}while(0);return}function _q(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;b=l;l=l+240|0;j=b+200|0;k=b+199|0;m=b+198|0;n=b+184|0;o=b+172|0;p=b+168|0;q=b+8|0;r=b+4|0;s=b;t=b+197|0;u=b+196|0;Wq(n,f,j,k,m);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[o+(f<<2)>>2]=0;f=f+1|0}f=o+11|0;v=o+8|0;if((a[f>>0]|0)<0)w=(c[v>>2]&2147483647)+-1|0;else w=10;mz(o,w,0);w=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=w;c[r>>2]=q;c[s>>2]=0;a[t>>0]=1;a[u>>0]=69;x=o+4|0;y=c[d>>2]|0;z=w;w=y;A=y;a:while(1){if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))B=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else B=Np(a[y>>0]|0)|0;if(aq(B,Mp()|0)|0){c[d>>2]=0;C=0;D=0;E=1}else{C=w;D=A;E=0}}else{C=0;D=0;E=1}y=c[e>>2]|0;do if(y){F=c[y+12>>2]|0;if((F|0)==(c[y+16>>2]|0))G=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else G=Np(a[F>>0]|0)|0;if(!(aq(G,Mp()|0)|0))if(E){H=y;break}else{I=z;J=y;break a}else{c[e>>2]=0;K=19;break}}else K=19;while(0);if((K|0)==19){K=0;if(E){I=z;J=0;break}else H=0}y=a[f>>0]|0;F=y<<24>>24<0?c[x>>2]|0:y&255;if((c[p>>2]|0)==(z+F|0)){mz(o,F<<1,0);if((a[f>>0]|0)<0)L=(c[v>>2]&2147483647)+-1|0;else L=10;mz(o,L,0);y=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=y+F;M=y}else M=z;y=C+12|0;F=c[y>>2]|0;N=C+16|0;if((F|0)==(c[N>>2]|0))O=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else O=Np(a[F>>0]|0)|0;if(Xq(O&255,t,u,M,p,a[k>>0]|0,a[m>>0]|0,n,q,r,s,j)|0){I=M;J=H;break}F=c[y>>2]|0;if((F|0)==(c[N>>2]|0)){fb[c[(c[C>>2]|0)+40>>2]&127](C)|0;z=M;w=C;A=D;continue}else{c[y>>2]=F+1;Np(a[F>>0]|0)|0;z=M;w=C;A=D;continue}}A=a[n+11>>0]|0;if(!((a[t>>0]|0)==0?1:((A<<24>>24<0?c[n+4>>2]|0:A&255)|0)==0)?(A=c[r>>2]|0,(A-q|0)<160):0){t=c[s>>2]|0;c[r>>2]=A+4;c[A>>2]=t}h[i>>3]=+$q(I,c[p>>2]|0,g);Zq(n,q,c[r>>2]|0,g);if(C){r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0))P=fb[c[(c[D>>2]|0)+36>>2]&127](C)|0;else P=Np(a[r>>0]|0)|0;if(aq(P,Mp()|0)|0){c[d>>2]=0;Q=1}else Q=0}else Q=1;do if(J){P=c[J+12>>2]|0;if((P|0)==(c[J+16>>2]|0))R=fb[c[(c[J>>2]|0)+36>>2]&127](J)|0;else R=Np(a[P>>0]|0)|0;if(!(aq(R,Mp()|0)|0))if(Q)break;else{K=49;break}else{c[e>>2]=0;K=47;break}}else K=47;while(0);if((K|0)==47?Q:0)K=49;if((K|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(o);fz(n);l=b;return g|0}function $q(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0,h=0,i=0.0,j=0.0,k=0,m=0.0;e=l;l=l+16|0;f=e;if((a|0)==(b|0)){c[d>>2]=4;g=0.0}else{h=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;i=+kp(a,f,Nq()|0);a=c[(Xm()|0)>>2]|0;if(!a)c[(Xm()|0)>>2]=h;if((c[f>>2]|0)==(b|0))if((a|0)==34){j=i;k=6}else m=i;else{j=0.0;k=6}if((k|0)==6){c[d>>2]=4;m=j}g=m}l=e;return +g}function ar(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,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;b=l;l=l+240|0;j=b+200|0;k=b+199|0;m=b+198|0;n=b+184|0;o=b+172|0;p=b+168|0;q=b+8|0;r=b+4|0;s=b;t=b+197|0;u=b+196|0;Wq(n,f,j,k,m);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[o+(f<<2)>>2]=0;f=f+1|0}f=o+11|0;v=o+8|0;if((a[f>>0]|0)<0)w=(c[v>>2]&2147483647)+-1|0;else w=10;mz(o,w,0);w=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=w;c[r>>2]=q;c[s>>2]=0;a[t>>0]=1;a[u>>0]=69;x=o+4|0;y=c[d>>2]|0;z=w;w=y;A=y;a:while(1){if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))B=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else B=Np(a[y>>0]|0)|0;if(aq(B,Mp()|0)|0){c[d>>2]=0;C=0;D=0;E=1}else{C=w;D=A;E=0}}else{C=0;D=0;E=1}y=c[e>>2]|0;do if(y){F=c[y+12>>2]|0;if((F|0)==(c[y+16>>2]|0))G=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else G=Np(a[F>>0]|0)|0;if(!(aq(G,Mp()|0)|0))if(E){H=y;break}else{I=z;J=y;break a}else{c[e>>2]=0;K=19;break}}else K=19;while(0);if((K|0)==19){K=0;if(E){I=z;J=0;break}else H=0}y=a[f>>0]|0;F=y<<24>>24<0?c[x>>2]|0:y&255;if((c[p>>2]|0)==(z+F|0)){mz(o,F<<1,0);if((a[f>>0]|0)<0)L=(c[v>>2]&2147483647)+-1|0;else L=10;mz(o,L,0);y=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=y+F;M=y}else M=z;y=C+12|0;F=c[y>>2]|0;N=C+16|0;if((F|0)==(c[N>>2]|0))O=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else O=Np(a[F>>0]|0)|0;if(Xq(O&255,t,u,M,p,a[k>>0]|0,a[m>>0]|0,n,q,r,s,j)|0){I=M;J=H;break}F=c[y>>2]|0;if((F|0)==(c[N>>2]|0)){fb[c[(c[C>>2]|0)+40>>2]&127](C)|0;z=M;w=C;A=D;continue}else{c[y>>2]=F+1;Np(a[F>>0]|0)|0;z=M;w=C;A=D;continue}}A=a[n+11>>0]|0;if(!((a[t>>0]|0)==0?1:((A<<24>>24<0?c[n+4>>2]|0:A&255)|0)==0)?(A=c[r>>2]|0,(A-q|0)<160):0){t=c[s>>2]|0;c[r>>2]=A+4;c[A>>2]=t}g[i>>2]=+br(I,c[p>>2]|0,h);Zq(n,q,c[r>>2]|0,h);if(C){r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0))P=fb[c[(c[D>>2]|0)+36>>2]&127](C)|0;else P=Np(a[r>>0]|0)|0;if(aq(P,Mp()|0)|0){c[d>>2]=0;Q=1}else Q=0}else Q=1;do if(J){P=c[J+12>>2]|0;if((P|0)==(c[J+16>>2]|0))R=fb[c[(c[J>>2]|0)+36>>2]&127](J)|0;else R=Np(a[P>>0]|0)|0;if(!(aq(R,Mp()|0)|0))if(Q)break;else{K=49;break}else{c[e>>2]=0;K=47;break}}else K=47;while(0);if((K|0)==47?Q:0)K=49;if((K|0)==49)c[h>>2]=c[h>>2]|2;h=c[d>>2]|0;fz(o);fz(n);l=b;return h|0}function br(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0.0,h=0,i=0.0,j=0.0,k=0,m=0.0;e=l;l=l+16|0;f=e;if((a|0)==(b|0)){c[d>>2]=4;g=0.0}else{h=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;i=+jp(a,f,Nq()|0);a=c[(Xm()|0)>>2]|0;if(!a)c[(Xm()|0)>>2]=h;if((c[f>>2]|0)==(b|0))if((a|0)==34){j=i;k=6}else m=i;else{j=0.0;k=6}if((k|0)==6){c[d>>2]=4;m=j}g=m}l=e;return +g}function cr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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;b=l;l=l+224|0;i=b+198|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;er(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Np(a[v>>0]|0)|0;if(aq(y,Mp()|0)|0){c[d>>2]=0;z=0;B=0;C=1}else{z=t;B=x;C=0}}else{z=0;B=0;C=1}v=c[e>>2]|0;do if(v){D=c[v+12>>2]|0;if((D|0)==(c[v+16>>2]|0))E=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else E=Np(a[D>>0]|0)|0;if(!(aq(E,Mp()|0)|0))if(C){F=v;break}else{G=w;H=v;break a}else{c[e>>2]=0;I=19;break}}else I=19;while(0);if((I|0)==19){I=0;if(C){G=w;H=0;break}else F=0}v=a[f>>0]|0;D=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+D|0)){mz(m,D<<1,0);if((a[f>>0]|0)<0)J=(c[s>>2]&2147483647)+-1|0;else J=10;mz(m,J,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+D;K=v}else K=w;v=z+12|0;D=c[v>>2]|0;L=z+16|0;if((D|0)==(c[L>>2]|0))M=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else M=Np(a[D>>0]|0)|0;if(Mq(M&255,r,K,n,q,a[j>>0]|0,k,o,p,i)|0){G=K;H=F;break}D=c[v>>2]|0;if((D|0)==(c[L>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=K;t=z;x=B;continue}else{c[v>>2]=D+1;Np(a[D>>0]|0)|0;w=K;t=z;x=B;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}t=fr(G,c[n>>2]|0,g,r)|0;r=h;c[r>>2]=t;c[r+4>>2]=A;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](z)|0;else N=Np(a[p>>0]|0)|0;if(aq(N,Mp()|0)|0){c[d>>2]=0;O=1}else O=0}else O=1;do if(H){N=c[H+12>>2]|0;if((N|0)==(c[H+16>>2]|0))P=fb[c[(c[H>>2]|0)+36>>2]&127](H)|0;else P=Np(a[N>>0]|0)|0;if(!(aq(P,Mp()|0)|0))if(O)break;else{I=49;break}else{c[e>>2]=0;I=47;break}}else I=47;while(0);if((I|0)==47?O:0)I=49;if((I|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function dr(a){a=a|0;var b=0;switch(c[a+4>>2]&74){case 64:{b=8;break}case 8:{b=16;break}case 0:{b=0;break}default:b=10}return b|0}function er(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=l;l=l+16|0;h=g;bq(h,d);d=Kq(h,28696)|0;jb[c[(c[d>>2]|0)+32>>2]&7](d,24239,24265,e)|0;e=Kq(h,28712)|0;a[f>>0]=fb[c[(c[e>>2]|0)+16>>2]&127](e)|0;db[c[(c[e>>2]|0)+20>>2]&63](b,e);Lq(h);l=g;return}function fr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=l;l=l+16|0;h=g;do if((b|0)==(d|0)){c[e>>2]=4;i=0;j=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;i=0;j=0;break}k=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;m=rp(b,h,f,Nq()|0)|0;n=A;o=c[(Xm()|0)>>2]|0;if(!o)c[(Xm()|0)>>2]=k;if((c[h>>2]|0)==(d|0))if((o|0)==34){p=-1;q=-1;r=8}else{s=m;t=n}else{p=0;q=0;r=8}if((r|0)==8){c[e>>2]=4;s=p;t=q}i=t;j=s}while(0);A=i;l=g;return j|0}function gr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+224|0;i=b+198|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;er(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Np(a[v>>0]|0)|0;if(aq(y,Mp()|0)|0){c[d>>2]=0;z=0;A=0;B=1}else{z=t;A=x;B=0}}else{z=0;A=0;B=1}v=c[e>>2]|0;do if(v){C=c[v+12>>2]|0;if((C|0)==(c[v+16>>2]|0))D=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else D=Np(a[C>>0]|0)|0;if(!(aq(D,Mp()|0)|0))if(B){E=v;break}else{F=w;G=v;break a}else{c[e>>2]=0;H=19;break}}else H=19;while(0);if((H|0)==19){H=0;if(B){F=w;G=0;break}else E=0}v=a[f>>0]|0;C=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+C|0)){mz(m,C<<1,0);if((a[f>>0]|0)<0)I=(c[s>>2]&2147483647)+-1|0;else I=10;mz(m,I,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+C;J=v}else J=w;v=z+12|0;C=c[v>>2]|0;K=z+16|0;if((C|0)==(c[K>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else L=Np(a[C>>0]|0)|0;if(Mq(L&255,r,J,n,q,a[j>>0]|0,k,o,p,i)|0){F=J;G=E;break}C=c[v>>2]|0;if((C|0)==(c[K>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=J;t=z;x=A;continue}else{c[v>>2]=C+1;Np(a[C>>0]|0)|0;w=J;t=z;x=A;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}c[h>>2]=hr(F,c[n>>2]|0,g,r)|0;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](z)|0;else M=Np(a[p>>0]|0)|0;if(aq(M,Mp()|0)|0){c[d>>2]=0;N=1}else N=0}else N=1;do if(G){M=c[G+12>>2]|0;if((M|0)==(c[G+16>>2]|0))O=fb[c[(c[G>>2]|0)+36>>2]&127](G)|0;else O=Np(a[M>>0]|0)|0;if(!(aq(O,Mp()|0)|0))if(N)break;else{H=49;break}else{c[e>>2]=0;H=47;break}}else H=47;while(0);if((H|0)==47?N:0)H=49;if((H|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function hr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;g=l;l=l+16|0;h=g;do if((b|0)==(d|0)){c[e>>2]=4;i=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;i=0;break}j=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;k=rp(b,h,f,Nq()|0)|0;m=A;n=c[(Xm()|0)>>2]|0;if(!n)c[(Xm()|0)>>2]=j;do if((c[h>>2]|0)==(d|0))if(m>>>0>0|(m|0)==0&k>>>0>4294967295|(n|0)==34){c[e>>2]=4;o=-1;break}else{o=k;break}else{c[e>>2]=4;o=0}while(0);i=o}while(0);l=g;return i|0}function ir(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+224|0;i=b+198|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;er(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Np(a[v>>0]|0)|0;if(aq(y,Mp()|0)|0){c[d>>2]=0;z=0;A=0;B=1}else{z=t;A=x;B=0}}else{z=0;A=0;B=1}v=c[e>>2]|0;do if(v){C=c[v+12>>2]|0;if((C|0)==(c[v+16>>2]|0))D=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else D=Np(a[C>>0]|0)|0;if(!(aq(D,Mp()|0)|0))if(B){E=v;break}else{F=w;G=v;break a}else{c[e>>2]=0;H=19;break}}else H=19;while(0);if((H|0)==19){H=0;if(B){F=w;G=0;break}else E=0}v=a[f>>0]|0;C=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+C|0)){mz(m,C<<1,0);if((a[f>>0]|0)<0)I=(c[s>>2]&2147483647)+-1|0;else I=10;mz(m,I,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+C;J=v}else J=w;v=z+12|0;C=c[v>>2]|0;K=z+16|0;if((C|0)==(c[K>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else L=Np(a[C>>0]|0)|0;if(Mq(L&255,r,J,n,q,a[j>>0]|0,k,o,p,i)|0){F=J;G=E;break}C=c[v>>2]|0;if((C|0)==(c[K>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=J;t=z;x=A;continue}else{c[v>>2]=C+1;Np(a[C>>0]|0)|0;w=J;t=z;x=A;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}c[h>>2]=jr(F,c[n>>2]|0,g,r)|0;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](z)|0;else M=Np(a[p>>0]|0)|0;if(aq(M,Mp()|0)|0){c[d>>2]=0;N=1}else N=0}else N=1;do if(G){M=c[G+12>>2]|0;if((M|0)==(c[G+16>>2]|0))O=fb[c[(c[G>>2]|0)+36>>2]&127](G)|0;else O=Np(a[M>>0]|0)|0;if(!(aq(O,Mp()|0)|0))if(N)break;else{H=49;break}else{c[e>>2]=0;H=47;break}}else H=47;while(0);if((H|0)==47?N:0)H=49;if((H|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function jr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;g=l;l=l+16|0;h=g;do if((b|0)==(d|0)){c[e>>2]=4;i=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;i=0;break}j=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;k=rp(b,h,f,Nq()|0)|0;m=A;n=c[(Xm()|0)>>2]|0;if(!n)c[(Xm()|0)>>2]=j;do if((c[h>>2]|0)==(d|0))if(m>>>0>0|(m|0)==0&k>>>0>4294967295|(n|0)==34){c[e>>2]=4;o=-1;break}else{o=k;break}else{c[e>>2]=4;o=0}while(0);i=o}while(0);l=g;return i|0}function kr(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,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;d=l;l=l+224|0;j=d+198|0;k=d+196|0;m=d+184|0;n=d+172|0;o=d+168|0;p=d+8|0;q=d+4|0;r=d;s=dr(g)|0;er(m,g,j,k);c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;g=0;while(1){if((g|0)==3)break;c[n+(g<<2)>>2]=0;g=g+1|0}g=n+11|0;t=n+8|0;if((a[g>>0]|0)<0)u=(c[t>>2]&2147483647)+-1|0;else u=10;mz(n,u,0);u=(a[g>>0]|0)<0?c[n>>2]|0:n;c[o>>2]=u;c[q>>2]=p;c[r>>2]=0;v=n+4|0;w=c[e>>2]|0;x=u;u=w;y=w;a:while(1){if(u){w=c[u+12>>2]|0;if((w|0)==(c[u+16>>2]|0))z=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else z=Np(a[w>>0]|0)|0;if(aq(z,Mp()|0)|0){c[e>>2]=0;A=0;B=0;C=1}else{A=u;B=y;C=0}}else{A=0;B=0;C=1}w=c[f>>2]|0;do if(w){D=c[w+12>>2]|0;if((D|0)==(c[w+16>>2]|0))E=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else E=Np(a[D>>0]|0)|0;if(!(aq(E,Mp()|0)|0))if(C){F=w;break}else{G=x;H=w;break a}else{c[f>>2]=0;I=19;break}}else I=19;while(0);if((I|0)==19){I=0;if(C){G=x;H=0;break}else F=0}w=a[g>>0]|0;D=w<<24>>24<0?c[v>>2]|0:w&255;if((c[o>>2]|0)==(x+D|0)){mz(n,D<<1,0);if((a[g>>0]|0)<0)J=(c[t>>2]&2147483647)+-1|0;else J=10;mz(n,J,0);w=(a[g>>0]|0)<0?c[n>>2]|0:n;c[o>>2]=w+D;K=w}else K=x;w=A+12|0;D=c[w>>2]|0;L=A+16|0;if((D|0)==(c[L>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else M=Np(a[D>>0]|0)|0;if(Mq(M&255,s,K,o,r,a[k>>0]|0,m,p,q,j)|0){G=K;H=F;break}D=c[w>>2]|0;if((D|0)==(c[L>>2]|0)){fb[c[(c[A>>2]|0)+40>>2]&127](A)|0;x=K;u=A;y=B;continue}else{c[w>>2]=D+1;Np(a[D>>0]|0)|0;x=K;u=A;y=B;continue}}y=a[m+11>>0]|0;if((y<<24>>24<0?c[m+4>>2]|0:y&255)|0?(y=c[q>>2]|0,(y-p|0)<160):0){u=c[r>>2]|0;c[q>>2]=y+4;c[y>>2]=u}b[i>>1]=lr(G,c[o>>2]|0,h,s)|0;Zq(m,p,c[q>>2]|0,h);if(A){q=c[A+12>>2]|0;if((q|0)==(c[A+16>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](A)|0;else N=Np(a[q>>0]|0)|0;if(aq(N,Mp()|0)|0){c[e>>2]=0;O=1}else O=0}else O=1;do if(H){N=c[H+12>>2]|0;if((N|0)==(c[H+16>>2]|0))P=fb[c[(c[H>>2]|0)+36>>2]&127](H)|0;else P=Np(a[N>>0]|0)|0;if(!(aq(P,Mp()|0)|0))if(O)break;else{I=49;break}else{c[f>>2]=0;I=47;break}}else I=47;while(0);if((I|0)==47?O:0)I=49;if((I|0)==49)c[h>>2]=c[h>>2]|2;h=c[e>>2]|0;fz(n);fz(m);l=d;return h|0}function lr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;g=l;l=l+16|0;h=g;do if((b|0)==(d|0)){c[e>>2]=4;i=0}else{if((a[b>>0]|0)==45){c[e>>2]=4;i=0;break}j=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;k=rp(b,h,f,Nq()|0)|0;m=A;n=c[(Xm()|0)>>2]|0;if(!n)c[(Xm()|0)>>2]=j;do if((c[h>>2]|0)==(d|0))if(m>>>0>0|(m|0)==0&k>>>0>65535|(n|0)==34){c[e>>2]=4;o=-1;break}else{o=k&65535;break}else{c[e>>2]=4;o=0}while(0);i=o}while(0);l=g;return i|0}function mr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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;b=l;l=l+224|0;i=b+198|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;er(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Np(a[v>>0]|0)|0;if(aq(y,Mp()|0)|0){c[d>>2]=0;z=0;B=0;C=1}else{z=t;B=x;C=0}}else{z=0;B=0;C=1}v=c[e>>2]|0;do if(v){D=c[v+12>>2]|0;if((D|0)==(c[v+16>>2]|0))E=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else E=Np(a[D>>0]|0)|0;if(!(aq(E,Mp()|0)|0))if(C){F=v;break}else{G=w;H=v;break a}else{c[e>>2]=0;I=19;break}}else I=19;while(0);if((I|0)==19){I=0;if(C){G=w;H=0;break}else F=0}v=a[f>>0]|0;D=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+D|0)){mz(m,D<<1,0);if((a[f>>0]|0)<0)J=(c[s>>2]&2147483647)+-1|0;else J=10;mz(m,J,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+D;K=v}else K=w;v=z+12|0;D=c[v>>2]|0;L=z+16|0;if((D|0)==(c[L>>2]|0))M=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else M=Np(a[D>>0]|0)|0;if(Mq(M&255,r,K,n,q,a[j>>0]|0,k,o,p,i)|0){G=K;H=F;break}D=c[v>>2]|0;if((D|0)==(c[L>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=K;t=z;x=B;continue}else{c[v>>2]=D+1;Np(a[D>>0]|0)|0;w=K;t=z;x=B;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}t=nr(G,c[n>>2]|0,g,r)|0;r=h;c[r>>2]=t;c[r+4>>2]=A;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](z)|0;else N=Np(a[p>>0]|0)|0;if(aq(N,Mp()|0)|0){c[d>>2]=0;O=1}else O=0}else O=1;do if(H){N=c[H+12>>2]|0;if((N|0)==(c[H+16>>2]|0))P=fb[c[(c[H>>2]|0)+36>>2]&127](H)|0;else P=Np(a[N>>0]|0)|0;if(!(aq(P,Mp()|0)|0))if(O)break;else{I=49;break}else{c[e>>2]=0;I=47;break}}else I=47;while(0);if((I|0)==47?O:0)I=49;if((I|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function nr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;f=l;l=l+16|0;g=f;if((a|0)==(b|0)){c[d>>2]=4;h=0;i=0}else{j=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;k=sp(a,g,e,Nq()|0)|0;e=A;a=c[(Xm()|0)>>2]|0;if(!a)c[(Xm()|0)>>2]=j;if((c[g>>2]|0)==(b|0))if((a|0)==34){c[d>>2]=4;a=(e|0)>0|(e|0)==0&k>>>0>0;m=a?-1:0;n=a?2147483647:-2147483648}else{m=k;n=e}else{c[d>>2]=4;m=0;n=0}h=n;i=m}A=h;l=f;return i|0}function or(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+224|0;i=b+198|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;er(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Np(a[v>>0]|0)|0;if(aq(y,Mp()|0)|0){c[d>>2]=0;z=0;A=0;B=1}else{z=t;A=x;B=0}}else{z=0;A=0;B=1}v=c[e>>2]|0;do if(v){C=c[v+12>>2]|0;if((C|0)==(c[v+16>>2]|0))D=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else D=Np(a[C>>0]|0)|0;if(!(aq(D,Mp()|0)|0))if(B){E=v;break}else{F=w;G=v;break a}else{c[e>>2]=0;H=19;break}}else H=19;while(0);if((H|0)==19){H=0;if(B){F=w;G=0;break}else E=0}v=a[f>>0]|0;C=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+C|0)){mz(m,C<<1,0);if((a[f>>0]|0)<0)I=(c[s>>2]&2147483647)+-1|0;else I=10;mz(m,I,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+C;J=v}else J=w;v=z+12|0;C=c[v>>2]|0;K=z+16|0;if((C|0)==(c[K>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else L=Np(a[C>>0]|0)|0;if(Mq(L&255,r,J,n,q,a[j>>0]|0,k,o,p,i)|0){F=J;G=E;break}C=c[v>>2]|0;if((C|0)==(c[K>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=J;t=z;x=A;continue}else{c[v>>2]=C+1;Np(a[C>>0]|0)|0;w=J;t=z;x=A;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}c[h>>2]=pr(F,c[n>>2]|0,g,r)|0;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](z)|0;else M=Np(a[p>>0]|0)|0;if(aq(M,Mp()|0)|0){c[d>>2]=0;N=1}else N=0}else N=1;do if(G){M=c[G+12>>2]|0;if((M|0)==(c[G+16>>2]|0))O=fb[c[(c[G>>2]|0)+36>>2]&127](G)|0;else O=Np(a[M>>0]|0)|0;if(!(aq(O,Mp()|0)|0))if(N)break;else{H=49;break}else{c[e>>2]=0;H=47;break}}else H=47;while(0);if((H|0)==47?N:0)H=49;if((H|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function pr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=l;l=l+16|0;g=f;if((a|0)==(b|0)){c[d>>2]=4;h=0}else{i=c[(Xm()|0)>>2]|0;c[(Xm()|0)>>2]=0;j=sp(a,g,e,Nq()|0)|0;e=A;a=c[(Xm()|0)>>2]|0;if(!a)c[(Xm()|0)>>2]=i;a:do if((c[g>>2]|0)==(b|0)){do if((a|0)==34){c[d>>2]=4;if((e|0)>0|(e|0)==0&j>>>0>0){k=2147483647;break a}}else{if((e|0)<-1|(e|0)==-1&j>>>0<2147483648){c[d>>2]=4;break}if((e|0)>0|(e|0)==0&j>>>0>2147483647){c[d>>2]=4;k=2147483647;break a}else{k=j;break a}}while(0);k=-2147483648}else{c[d>>2]=4;k=0}while(0);h=k}l=f;return h|0}function qr(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;j=l;l=l+112|0;k=j;m=(f-e|0)/12|0;if(m>>>0>100){n=Pm(m)|0;if(!n)_y();else{o=n;p=n}}else{o=k;p=0}k=m;m=e;n=o;q=0;while(1){if((m|0)==(f|0))break;r=a[m+11>>0]|0;if(r<<24>>24<0)s=c[m+4>>2]|0;else s=r&255;if(!s){a[n>>0]=2;t=k+-1|0;u=q+1|0}else{a[n>>0]=1;t=k;u=q}k=t;m=m+12|0;n=n+1|0;q=u}u=0;n=k;k=q;a:while(1){q=c[b>>2]|0;do if(q){m=c[q+12>>2]|0;if((m|0)==(c[q+16>>2]|0))v=fb[c[(c[q>>2]|0)+36>>2]&127](q)|0;else v=Np(a[m>>0]|0)|0;if(aq(v,Mp()|0)|0){c[b>>2]=0;w=1;break}else{w=(c[b>>2]|0)==0;break}}else w=1;while(0);q=c[d>>2]|0;if(q){m=c[q+12>>2]|0;if((m|0)==(c[q+16>>2]|0))x=fb[c[(c[q>>2]|0)+36>>2]&127](q)|0;else x=Np(a[m>>0]|0)|0;if(aq(x,Mp()|0)|0){c[d>>2]=0;y=0;z=1}else{y=q;z=0}}else{y=0;z=1}A=c[b>>2]|0;if(!((n|0)!=0&(w^z)))break;q=c[A+12>>2]|0;if((q|0)==(c[A+16>>2]|0))B=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else B=Np(a[q>>0]|0)|0;q=B&255;if(i)C=q;else C=lb[c[(c[g>>2]|0)+12>>2]&15](g,q)|0;q=u+1|0;m=e;t=0;s=o;r=k;D=n;while(1){if((m|0)==(f|0))break;do if((a[s>>0]|0)==1){E=m+11|0;if((a[E>>0]|0)<0)F=c[m>>2]|0;else F=m;G=a[F+u>>0]|0;if(i)H=G;else H=lb[c[(c[g>>2]|0)+12>>2]&15](g,G)|0;G=D+-1|0;if(C<<24>>24!=H<<24>>24){a[s>>0]=0;I=t;J=r;K=G;break}L=a[E>>0]|0;if(L<<24>>24<0)M=c[m+4>>2]|0;else M=L&255;if((M|0)==(q|0)){a[s>>0]=2;I=1;J=r+1|0;K=G}else{I=1;J=r;K=D}}else{I=t;J=r;K=D}while(0);m=m+12|0;t=I;s=s+1|0;r=J;D=K}if(!t){u=q;n=D;k=r;continue}s=c[b>>2]|0;m=s+12|0;G=c[m>>2]|0;if((G|0)==(c[s+16>>2]|0))fb[c[(c[s>>2]|0)+40>>2]&127](s)|0;else{c[m>>2]=G+1;Np(a[G>>0]|0)|0}if((r+D|0)>>>0>1){N=e;O=o;P=r}else{u=q;n=D;k=r;continue}while(1){if((N|0)==(f|0)){u=q;n=D;k=P;continue a}if((a[O>>0]|0)==2){G=a[N+11>>0]|0;if(G<<24>>24<0)Q=c[N+4>>2]|0;else Q=G&255;if((Q|0)!=(q|0)){a[O>>0]=0;R=P+-1|0}else R=P}else R=P;N=N+12|0;O=O+1|0;P=R}}do if(A){R=c[A+12>>2]|0;if((R|0)==(c[A+16>>2]|0))S=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else S=Np(a[R>>0]|0)|0;if(aq(S,Mp()|0)|0){c[b>>2]=0;T=1;break}else{T=(c[b>>2]|0)==0;break}}else T=1;while(0);do if(y){b=c[y+12>>2]|0;if((b|0)==(c[y+16>>2]|0))U=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else U=Np(a[b>>0]|0)|0;if(!(aq(U,Mp()|0)|0))if(T){V=e;W=o;break}else{X=77;break}else{c[d>>2]=0;X=41;break}}else X=41;while(0);if((X|0)==41)if(T)X=77;else{V=e;W=o}if((X|0)==77){c[h>>2]=c[h>>2]|2;V=e;W=o}while(1){if((V|0)==(f|0)){X=81;break}if((a[W>>0]|0)==2){Y=V;break}V=V+12|0;W=W+1|0}if((X|0)==81){c[h>>2]=c[h>>2]|4;Y=f}Qm(p);l=j;return Y|0}function rr(a){a=a|0;qq(a);return}function sr(a){a=a|0;qq(a);Yy(a);return}function tr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;i=l;l=l+48|0;j=i+40|0;k=i+16|0;m=i+8|0;n=i+12|0;o=i+4|0;p=i;if(!(c[f+4>>2]&1)){c[m>>2]=-1;q=c[(c[b>>2]|0)+16>>2]|0;c[n>>2]=c[d>>2];c[o>>2]=c[e>>2];c[k>>2]=c[n>>2];c[j>>2]=c[o>>2];c[d>>2]=eb[q&63](b,k,j,f,g,m)|0;switch(c[m>>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}}r=c[d>>2]|0}else{bq(j,f);m=Kq(j,28728)|0;Lq(j);bq(j,f);f=Kq(j,28736)|0;Lq(j);db[c[(c[f>>2]|0)+24>>2]&63](k,f);db[c[(c[f>>2]|0)+28>>2]&63](k+12|0,f);c[p>>2]=c[e>>2];e=k+24|0;c[j>>2]=c[p>>2];a[h>>0]=(Rr(d,j,k,e,m,g,1)|0)==(k|0)&1;g=c[d>>2]|0;d=e;do{d=d+-12|0;rz(d)}while((d|0)!=(k|0));r=g}l=i;return r|0}function ur(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Qr(a,j,i,e,f,g)|0;l=h;return m|0}function vr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Pr(a,j,i,e,f,g)|0;l=h;return m|0}function wr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Or(a,j,i,e,f,g)|0;l=h;return m|0}function xr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Nr(a,j,i,e,f,g)|0;l=h;return m|0}function yr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Mr(a,j,i,e,f,g)|0;l=h;return m|0}function zr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Kr(a,j,i,e,f,g)|0;l=h;return m|0}function Ar(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Jr(a,j,i,e,f,g)|0;l=h;return m|0}function Br(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Ir(a,j,i,e,f,g)|0;l=h;return m|0}function Cr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Fr(a,j,i,e,f,g)|0;l=h;return m|0}function Dr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+320|0;i=b;j=b+208|0;k=b+192|0;m=b+180|0;n=b+176|0;o=b+16|0;p=b+8|0;q=b+4|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[k+(r<<2)>>2]=0;r=r+1|0}bq(m,f);f=Kq(m,28728)|0;jb[c[(c[f>>2]|0)+48>>2]&7](f,24239,24265,j)|0;Lq(m);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;r=m+8|0;if((a[f>>0]|0)<0)s=(c[r>>2]&2147483647)+-1|0;else s=10;mz(m,s,0);s=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=s;c[p>>2]=o;c[q>>2]=0;t=m+4|0;u=c[d>>2]|0;v=s;s=u;w=u;a:while(1){if(s){u=c[s+12>>2]|0;if((u|0)==(c[s+16>>2]|0))x=fb[c[(c[s>>2]|0)+36>>2]&127](s)|0;else x=Rp(c[u>>2]|0)|0;if(cq(x,Qp()|0)|0){c[d>>2]=0;y=0;z=0;A=1}else{y=s;z=w;A=0}}else{y=0;z=0;A=1}u=c[e>>2]|0;do if(u){B=c[u+12>>2]|0;if((B|0)==(c[u+16>>2]|0))C=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else C=Rp(c[B>>2]|0)|0;if(!(cq(C,Qp()|0)|0))if(A){D=u;break}else{E=v;F=u;break a}else{c[e>>2]=0;G=22;break}}else G=22;while(0);if((G|0)==22){G=0;if(A){E=v;F=0;break}else D=0}u=a[f>>0]|0;B=u<<24>>24<0?c[t>>2]|0:u&255;if((c[n>>2]|0)==(v+B|0)){mz(m,B<<1,0);if((a[f>>0]|0)<0)H=(c[r>>2]&2147483647)+-1|0;else H=10;mz(m,H,0);u=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=u+B;I=u}else I=v;u=y+12|0;B=c[u>>2]|0;J=y+16|0;if((B|0)==(c[J>>2]|0))K=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else K=Rp(c[B>>2]|0)|0;if(Er(K,16,I,n,q,0,k,o,p,j)|0){E=I;F=D;break}B=c[u>>2]|0;if((B|0)==(c[J>>2]|0)){fb[c[(c[y>>2]|0)+40>>2]&127](y)|0;v=I;s=y;w=z;continue}else{c[u>>2]=B+4;Rp(c[B>>2]|0)|0;v=I;s=y;w=z;continue}}mz(m,(c[n>>2]|0)-E|0,0);E=(a[f>>0]|0)<0?c[m>>2]|0:m;f=Nq()|0;c[i>>2]=h;if((Oq(E,f,24272,i)|0)!=1)c[g>>2]=4;if(y){i=c[y+12>>2]|0;if((i|0)==(c[y+16>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](y)|0;else L=Rp(c[i>>2]|0)|0;if(cq(L,Qp()|0)|0){c[d>>2]=0;M=1}else M=0}else M=1;do if(F){L=c[F+12>>2]|0;if((L|0)==(c[F+16>>2]|0))N=fb[c[(c[F>>2]|0)+36>>2]&127](F)|0;else N=Rp(c[L>>2]|0)|0;if(!(cq(N,Qp()|0)|0))if(M)break;else{G=51;break}else{c[e>>2]=0;G=49;break}}else G=49;while(0);if((G|0)==49?M:0)G=51;if((G|0)==51)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Er(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,q=0,r=0,s=0,t=0;m=c[f>>2]|0;n=(m|0)==(e|0);do if(n){o=(c[l+96>>2]|0)==(b|0);if(!o?(c[l+100>>2]|0)!=(b|0):0){p=5;break}c[f>>2]=e+1;a[e>>0]=o?43:45;c[g>>2]=0;q=0}else p=5;while(0);a:do if((p|0)==5){o=a[i+11>>0]|0;if((b|0)==(h|0)?((o<<24>>24<0?c[i+4>>2]|0:o&255)|0)!=0:0){o=c[k>>2]|0;if((o-j|0)>=160){q=0;break}r=c[g>>2]|0;c[k>>2]=o+4;c[o>>2]=r;c[g>>2]=0;q=0;break}r=l+104|0;o=0;while(1){s=l+(o<<2)|0;if((o|0)==26){t=r;break}if((c[s>>2]|0)==(b|0)){t=s;break}else o=o+1|0}o=t-l|0;r=o>>2;if((o|0)>92)q=-1;else{s=24239+r|0;switch(d|0){case 10:case 8:{if((r|0)>=(d|0)){q=-1;break a}break}case 16:{if((o|0)>=88){if(n){q=-1;break a}if((m-e|0)>=3){q=-1;break a}if((a[m+-1>>0]|0)!=48){q=-1;break a}c[g>>2]=0;o=a[s>>0]|0;c[f>>2]=m+1;a[m>>0]=o;q=0;break a}break}default:{}}o=a[s>>0]|0;c[f>>2]=m+1;a[m>>0]=o;c[g>>2]=(c[g>>2]|0)+1;q=0}}while(0);return q|0}function Fr(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;b=l;l=l+352|0;j=b+208|0;k=b+200|0;m=b+196|0;n=b+184|0;o=b+172|0;p=b+168|0;q=b+8|0;r=b+4|0;s=b;t=b+337|0;u=b+336|0;Gr(n,f,j,k,m);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[o+(f<<2)>>2]=0;f=f+1|0}f=o+11|0;v=o+8|0;if((a[f>>0]|0)<0)w=(c[v>>2]&2147483647)+-1|0;else w=10;mz(o,w,0);w=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=w;c[r>>2]=q;c[s>>2]=0;a[t>>0]=1;a[u>>0]=69;x=o+4|0;y=c[d>>2]|0;z=w;w=y;A=y;a:while(1){if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))B=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else B=Rp(c[y>>2]|0)|0;if(cq(B,Qp()|0)|0){c[d>>2]=0;C=0;D=0;E=1}else{C=w;D=A;E=0}}else{C=0;D=0;E=1}y=c[e>>2]|0;do if(y){F=c[y+12>>2]|0;if((F|0)==(c[y+16>>2]|0))G=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else G=Rp(c[F>>2]|0)|0;if(!(cq(G,Qp()|0)|0))if(E){H=y;break}else{I=z;J=y;break a}else{c[e>>2]=0;K=19;break}}else K=19;while(0);if((K|0)==19){K=0;if(E){I=z;J=0;break}else H=0}y=a[f>>0]|0;F=y<<24>>24<0?c[x>>2]|0:y&255;if((c[p>>2]|0)==(z+F|0)){mz(o,F<<1,0);if((a[f>>0]|0)<0)L=(c[v>>2]&2147483647)+-1|0;else L=10;mz(o,L,0);y=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=y+F;M=y}else M=z;y=C+12|0;F=c[y>>2]|0;N=C+16|0;if((F|0)==(c[N>>2]|0))O=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else O=Rp(c[F>>2]|0)|0;if(Hr(O,t,u,M,p,c[k>>2]|0,c[m>>2]|0,n,q,r,s,j)|0){I=M;J=H;break}F=c[y>>2]|0;if((F|0)==(c[N>>2]|0)){fb[c[(c[C>>2]|0)+40>>2]&127](C)|0;z=M;w=C;A=D;continue}else{c[y>>2]=F+4;Rp(c[F>>2]|0)|0;z=M;w=C;A=D;continue}}A=a[n+11>>0]|0;if(!((a[t>>0]|0)==0?1:((A<<24>>24<0?c[n+4>>2]|0:A&255)|0)==0)?(A=c[r>>2]|0,(A-q|0)<160):0){t=c[s>>2]|0;c[r>>2]=A+4;c[A>>2]=t}h[i>>3]=+Yq(I,c[p>>2]|0,g);Zq(n,q,c[r>>2]|0,g);if(C){r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0))P=fb[c[(c[D>>2]|0)+36>>2]&127](C)|0;else P=Rp(c[r>>2]|0)|0;if(cq(P,Qp()|0)|0){c[d>>2]=0;Q=1}else Q=0}else Q=1;do if(J){P=c[J+12>>2]|0;if((P|0)==(c[J+16>>2]|0))R=fb[c[(c[J>>2]|0)+36>>2]&127](J)|0;else R=Rp(c[P>>2]|0)|0;if(!(cq(R,Qp()|0)|0))if(Q)break;else{K=49;break}else{c[e>>2]=0;K=47;break}}else K=47;while(0);if((K|0)==47?Q:0)K=49;if((K|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(o);fz(n);l=b;return g|0}function Gr(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=l;l=l+16|0;h=g;bq(h,b);b=Kq(h,28728)|0;jb[c[(c[b>>2]|0)+48>>2]&7](b,24239,24271,d)|0;d=Kq(h,28736)|0;c[e>>2]=fb[c[(c[d>>2]|0)+12>>2]&127](d)|0;c[f>>2]=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;db[c[(c[d>>2]|0)+20>>2]&63](a,d);Lq(h);l=g;return}function Hr(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,q=0,r=0,s=0,t=0;o=k;a:do if((b|0)==(h|0))if(a[d>>0]|0){a[d>>0]=0;k=c[g>>2]|0;c[g>>2]=k+1;a[k>>0]=46;k=a[j+11>>0]|0;if(((k<<24>>24<0?c[j+4>>2]|0:k&255)|0)!=0?(k=c[l>>2]|0,(k-o|0)<160):0){p=c[m>>2]|0;c[l>>2]=k+4;c[k>>2]=p;q=0}else q=0}else q=-1;else{if((b|0)==(i|0)?(p=a[j+11>>0]|0,(p<<24>>24<0?c[j+4>>2]|0:p&255)|0):0){if(!(a[d>>0]|0)){q=-1;break}p=c[l>>2]|0;if((p-o|0)>=160){q=0;break}k=c[m>>2]|0;c[l>>2]=p+4;c[p>>2]=k;c[m>>2]=0;q=0;break}k=n+128|0;p=0;while(1){r=n+(p<<2)|0;if((p|0)==32){s=k;break}if((c[r>>2]|0)==(b|0)){s=r;break}else p=p+1|0}p=s-n|0;k=p>>2;if((p|0)<=124){r=a[24239+k>>0]|0;switch(k|0){case 24:case 25:{k=c[g>>2]|0;if((k|0)!=(f|0)?(a[k+-1>>0]&95)!=(a[e>>0]&127):0){q=-1;break a}c[g>>2]=k+1;a[k>>0]=r;q=0;break a;break}case 23:case 22:{a[e>>0]=80;break}default:{k=r&95;if((((k|0)==(a[e>>0]|0)?(a[e>>0]=k|128,a[d>>0]|0):0)?(a[d>>0]=0,k=a[j+11>>0]|0,(k<<24>>24<0?c[j+4>>2]|0:k&255)|0):0)?(k=c[l>>2]|0,(k-o|0)<160):0){t=c[m>>2]|0;c[l>>2]=k+4;c[k>>2]=t}}}t=c[g>>2]|0;c[g>>2]=t+1;a[t>>0]=r;if((p|0)>84)q=0;else{c[m>>2]=(c[m>>2]|0)+1;q=0}}else q=-1}while(0);return q|0}function Ir(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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;b=l;l=l+352|0;j=b+208|0;k=b+200|0;m=b+196|0;n=b+184|0;o=b+172|0;p=b+168|0;q=b+8|0;r=b+4|0;s=b;t=b+337|0;u=b+336|0;Gr(n,f,j,k,m);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[o+(f<<2)>>2]=0;f=f+1|0}f=o+11|0;v=o+8|0;if((a[f>>0]|0)<0)w=(c[v>>2]&2147483647)+-1|0;else w=10;mz(o,w,0);w=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=w;c[r>>2]=q;c[s>>2]=0;a[t>>0]=1;a[u>>0]=69;x=o+4|0;y=c[d>>2]|0;z=w;w=y;A=y;a:while(1){if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))B=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else B=Rp(c[y>>2]|0)|0;if(cq(B,Qp()|0)|0){c[d>>2]=0;C=0;D=0;E=1}else{C=w;D=A;E=0}}else{C=0;D=0;E=1}y=c[e>>2]|0;do if(y){F=c[y+12>>2]|0;if((F|0)==(c[y+16>>2]|0))G=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else G=Rp(c[F>>2]|0)|0;if(!(cq(G,Qp()|0)|0))if(E){H=y;break}else{I=z;J=y;break a}else{c[e>>2]=0;K=19;break}}else K=19;while(0);if((K|0)==19){K=0;if(E){I=z;J=0;break}else H=0}y=a[f>>0]|0;F=y<<24>>24<0?c[x>>2]|0:y&255;if((c[p>>2]|0)==(z+F|0)){mz(o,F<<1,0);if((a[f>>0]|0)<0)L=(c[v>>2]&2147483647)+-1|0;else L=10;mz(o,L,0);y=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=y+F;M=y}else M=z;y=C+12|0;F=c[y>>2]|0;N=C+16|0;if((F|0)==(c[N>>2]|0))O=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else O=Rp(c[F>>2]|0)|0;if(Hr(O,t,u,M,p,c[k>>2]|0,c[m>>2]|0,n,q,r,s,j)|0){I=M;J=H;break}F=c[y>>2]|0;if((F|0)==(c[N>>2]|0)){fb[c[(c[C>>2]|0)+40>>2]&127](C)|0;z=M;w=C;A=D;continue}else{c[y>>2]=F+4;Rp(c[F>>2]|0)|0;z=M;w=C;A=D;continue}}A=a[n+11>>0]|0;if(!((a[t>>0]|0)==0?1:((A<<24>>24<0?c[n+4>>2]|0:A&255)|0)==0)?(A=c[r>>2]|0,(A-q|0)<160):0){t=c[s>>2]|0;c[r>>2]=A+4;c[A>>2]=t}h[i>>3]=+$q(I,c[p>>2]|0,g);Zq(n,q,c[r>>2]|0,g);if(C){r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0))P=fb[c[(c[D>>2]|0)+36>>2]&127](C)|0;else P=Rp(c[r>>2]|0)|0;if(cq(P,Qp()|0)|0){c[d>>2]=0;Q=1}else Q=0}else Q=1;do if(J){P=c[J+12>>2]|0;if((P|0)==(c[J+16>>2]|0))R=fb[c[(c[J>>2]|0)+36>>2]&127](J)|0;else R=Rp(c[P>>2]|0)|0;if(!(cq(R,Qp()|0)|0))if(Q)break;else{K=49;break}else{c[e>>2]=0;K=47;break}}else K=47;while(0);if((K|0)==47?Q:0)K=49;if((K|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(o);fz(n);l=b;return g|0}function Jr(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,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;b=l;l=l+352|0;j=b+208|0;k=b+200|0;m=b+196|0;n=b+184|0;o=b+172|0;p=b+168|0;q=b+8|0;r=b+4|0;s=b;t=b+337|0;u=b+336|0;Gr(n,f,j,k,m);c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[o+(f<<2)>>2]=0;f=f+1|0}f=o+11|0;v=o+8|0;if((a[f>>0]|0)<0)w=(c[v>>2]&2147483647)+-1|0;else w=10;mz(o,w,0);w=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=w;c[r>>2]=q;c[s>>2]=0;a[t>>0]=1;a[u>>0]=69;x=o+4|0;y=c[d>>2]|0;z=w;w=y;A=y;a:while(1){if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))B=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else B=Rp(c[y>>2]|0)|0;if(cq(B,Qp()|0)|0){c[d>>2]=0;C=0;D=0;E=1}else{C=w;D=A;E=0}}else{C=0;D=0;E=1}y=c[e>>2]|0;do if(y){F=c[y+12>>2]|0;if((F|0)==(c[y+16>>2]|0))G=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else G=Rp(c[F>>2]|0)|0;if(!(cq(G,Qp()|0)|0))if(E){H=y;break}else{I=z;J=y;break a}else{c[e>>2]=0;K=19;break}}else K=19;while(0);if((K|0)==19){K=0;if(E){I=z;J=0;break}else H=0}y=a[f>>0]|0;F=y<<24>>24<0?c[x>>2]|0:y&255;if((c[p>>2]|0)==(z+F|0)){mz(o,F<<1,0);if((a[f>>0]|0)<0)L=(c[v>>2]&2147483647)+-1|0;else L=10;mz(o,L,0);y=(a[f>>0]|0)<0?c[o>>2]|0:o;c[p>>2]=y+F;M=y}else M=z;y=C+12|0;F=c[y>>2]|0;N=C+16|0;if((F|0)==(c[N>>2]|0))O=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else O=Rp(c[F>>2]|0)|0;if(Hr(O,t,u,M,p,c[k>>2]|0,c[m>>2]|0,n,q,r,s,j)|0){I=M;J=H;break}F=c[y>>2]|0;if((F|0)==(c[N>>2]|0)){fb[c[(c[C>>2]|0)+40>>2]&127](C)|0;z=M;w=C;A=D;continue}else{c[y>>2]=F+4;Rp(c[F>>2]|0)|0;z=M;w=C;A=D;continue}}A=a[n+11>>0]|0;if(!((a[t>>0]|0)==0?1:((A<<24>>24<0?c[n+4>>2]|0:A&255)|0)==0)?(A=c[r>>2]|0,(A-q|0)<160):0){t=c[s>>2]|0;c[r>>2]=A+4;c[A>>2]=t}g[i>>2]=+br(I,c[p>>2]|0,h);Zq(n,q,c[r>>2]|0,h);if(C){r=c[C+12>>2]|0;if((r|0)==(c[C+16>>2]|0))P=fb[c[(c[D>>2]|0)+36>>2]&127](C)|0;else P=Rp(c[r>>2]|0)|0;if(cq(P,Qp()|0)|0){c[d>>2]=0;Q=1}else Q=0}else Q=1;do if(J){P=c[J+12>>2]|0;if((P|0)==(c[J+16>>2]|0))R=fb[c[(c[J>>2]|0)+36>>2]&127](J)|0;else R=Rp(c[P>>2]|0)|0;if(!(cq(R,Qp()|0)|0))if(Q)break;else{K=49;break}else{c[e>>2]=0;K=47;break}}else K=47;while(0);if((K|0)==47?Q:0)K=49;if((K|0)==49)c[h>>2]=c[h>>2]|2;h=c[d>>2]|0;fz(o);fz(n);l=b;return h|0}function Kr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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;b=l;l=l+304|0;i=b+200|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;Lr(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Rp(c[v>>2]|0)|0;if(cq(y,Qp()|0)|0){c[d>>2]=0;z=0;B=0;C=1}else{z=t;B=x;C=0}}else{z=0;B=0;C=1}v=c[e>>2]|0;do if(v){D=c[v+12>>2]|0;if((D|0)==(c[v+16>>2]|0))E=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else E=Rp(c[D>>2]|0)|0;if(!(cq(E,Qp()|0)|0))if(C){F=v;break}else{G=w;H=v;break a}else{c[e>>2]=0;I=19;break}}else I=19;while(0);if((I|0)==19){I=0;if(C){G=w;H=0;break}else F=0}v=a[f>>0]|0;D=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+D|0)){mz(m,D<<1,0);if((a[f>>0]|0)<0)J=(c[s>>2]&2147483647)+-1|0;else J=10;mz(m,J,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+D;K=v}else K=w;v=z+12|0;D=c[v>>2]|0;L=z+16|0;if((D|0)==(c[L>>2]|0))M=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else M=Rp(c[D>>2]|0)|0;if(Er(M,r,K,n,q,c[j>>2]|0,k,o,p,i)|0){G=K;H=F;break}D=c[v>>2]|0;if((D|0)==(c[L>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=K;t=z;x=B;continue}else{c[v>>2]=D+4;Rp(c[D>>2]|0)|0;w=K;t=z;x=B;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}t=fr(G,c[n>>2]|0,g,r)|0;r=h;c[r>>2]=t;c[r+4>>2]=A;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](z)|0;else N=Rp(c[p>>2]|0)|0;if(cq(N,Qp()|0)|0){c[d>>2]=0;O=1}else O=0}else O=1;do if(H){N=c[H+12>>2]|0;if((N|0)==(c[H+16>>2]|0))P=fb[c[(c[H>>2]|0)+36>>2]&127](H)|0;else P=Rp(c[N>>2]|0)|0;if(!(cq(P,Qp()|0)|0))if(O)break;else{I=49;break}else{c[e>>2]=0;I=47;break}}else I=47;while(0);if((I|0)==47?O:0)I=49;if((I|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Lr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f;bq(g,b);b=Kq(g,28728)|0;jb[c[(c[b>>2]|0)+48>>2]&7](b,24239,24265,d)|0;d=Kq(g,28736)|0;c[e>>2]=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;db[c[(c[d>>2]|0)+20>>2]&63](a,d);Lq(g);l=f;return}function Mr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+304|0;i=b+200|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;Lr(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Rp(c[v>>2]|0)|0;if(cq(y,Qp()|0)|0){c[d>>2]=0;z=0;A=0;B=1}else{z=t;A=x;B=0}}else{z=0;A=0;B=1}v=c[e>>2]|0;do if(v){C=c[v+12>>2]|0;if((C|0)==(c[v+16>>2]|0))D=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else D=Rp(c[C>>2]|0)|0;if(!(cq(D,Qp()|0)|0))if(B){E=v;break}else{F=w;G=v;break a}else{c[e>>2]=0;H=19;break}}else H=19;while(0);if((H|0)==19){H=0;if(B){F=w;G=0;break}else E=0}v=a[f>>0]|0;C=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+C|0)){mz(m,C<<1,0);if((a[f>>0]|0)<0)I=(c[s>>2]&2147483647)+-1|0;else I=10;mz(m,I,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+C;J=v}else J=w;v=z+12|0;C=c[v>>2]|0;K=z+16|0;if((C|0)==(c[K>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else L=Rp(c[C>>2]|0)|0;if(Er(L,r,J,n,q,c[j>>2]|0,k,o,p,i)|0){F=J;G=E;break}C=c[v>>2]|0;if((C|0)==(c[K>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=J;t=z;x=A;continue}else{c[v>>2]=C+4;Rp(c[C>>2]|0)|0;w=J;t=z;x=A;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}c[h>>2]=hr(F,c[n>>2]|0,g,r)|0;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](z)|0;else M=Rp(c[p>>2]|0)|0;if(cq(M,Qp()|0)|0){c[d>>2]=0;N=1}else N=0}else N=1;do if(G){M=c[G+12>>2]|0;if((M|0)==(c[G+16>>2]|0))O=fb[c[(c[G>>2]|0)+36>>2]&127](G)|0;else O=Rp(c[M>>2]|0)|0;if(!(cq(O,Qp()|0)|0))if(N)break;else{H=49;break}else{c[e>>2]=0;H=47;break}}else H=47;while(0);if((H|0)==47?N:0)H=49;if((H|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Nr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+304|0;i=b+200|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;Lr(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Rp(c[v>>2]|0)|0;if(cq(y,Qp()|0)|0){c[d>>2]=0;z=0;A=0;B=1}else{z=t;A=x;B=0}}else{z=0;A=0;B=1}v=c[e>>2]|0;do if(v){C=c[v+12>>2]|0;if((C|0)==(c[v+16>>2]|0))D=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else D=Rp(c[C>>2]|0)|0;if(!(cq(D,Qp()|0)|0))if(B){E=v;break}else{F=w;G=v;break a}else{c[e>>2]=0;H=19;break}}else H=19;while(0);if((H|0)==19){H=0;if(B){F=w;G=0;break}else E=0}v=a[f>>0]|0;C=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+C|0)){mz(m,C<<1,0);if((a[f>>0]|0)<0)I=(c[s>>2]&2147483647)+-1|0;else I=10;mz(m,I,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+C;J=v}else J=w;v=z+12|0;C=c[v>>2]|0;K=z+16|0;if((C|0)==(c[K>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else L=Rp(c[C>>2]|0)|0;if(Er(L,r,J,n,q,c[j>>2]|0,k,o,p,i)|0){F=J;G=E;break}C=c[v>>2]|0;if((C|0)==(c[K>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=J;t=z;x=A;continue}else{c[v>>2]=C+4;Rp(c[C>>2]|0)|0;w=J;t=z;x=A;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}c[h>>2]=jr(F,c[n>>2]|0,g,r)|0;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](z)|0;else M=Rp(c[p>>2]|0)|0;if(cq(M,Qp()|0)|0){c[d>>2]=0;N=1}else N=0}else N=1;do if(G){M=c[G+12>>2]|0;if((M|0)==(c[G+16>>2]|0))O=fb[c[(c[G>>2]|0)+36>>2]&127](G)|0;else O=Rp(c[M>>2]|0)|0;if(!(cq(O,Qp()|0)|0))if(N)break;else{H=49;break}else{c[e>>2]=0;H=47;break}}else H=47;while(0);if((H|0)==47?N:0)H=49;if((H|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Or(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,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;d=l;l=l+304|0;j=d+200|0;k=d+196|0;m=d+184|0;n=d+172|0;o=d+168|0;p=d+8|0;q=d+4|0;r=d;s=dr(g)|0;Lr(m,g,j,k);c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;g=0;while(1){if((g|0)==3)break;c[n+(g<<2)>>2]=0;g=g+1|0}g=n+11|0;t=n+8|0;if((a[g>>0]|0)<0)u=(c[t>>2]&2147483647)+-1|0;else u=10;mz(n,u,0);u=(a[g>>0]|0)<0?c[n>>2]|0:n;c[o>>2]=u;c[q>>2]=p;c[r>>2]=0;v=n+4|0;w=c[e>>2]|0;x=u;u=w;y=w;a:while(1){if(u){w=c[u+12>>2]|0;if((w|0)==(c[u+16>>2]|0))z=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else z=Rp(c[w>>2]|0)|0;if(cq(z,Qp()|0)|0){c[e>>2]=0;A=0;B=0;C=1}else{A=u;B=y;C=0}}else{A=0;B=0;C=1}w=c[f>>2]|0;do if(w){D=c[w+12>>2]|0;if((D|0)==(c[w+16>>2]|0))E=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else E=Rp(c[D>>2]|0)|0;if(!(cq(E,Qp()|0)|0))if(C){F=w;break}else{G=x;H=w;break a}else{c[f>>2]=0;I=19;break}}else I=19;while(0);if((I|0)==19){I=0;if(C){G=x;H=0;break}else F=0}w=a[g>>0]|0;D=w<<24>>24<0?c[v>>2]|0:w&255;if((c[o>>2]|0)==(x+D|0)){mz(n,D<<1,0);if((a[g>>0]|0)<0)J=(c[t>>2]&2147483647)+-1|0;else J=10;mz(n,J,0);w=(a[g>>0]|0)<0?c[n>>2]|0:n;c[o>>2]=w+D;K=w}else K=x;w=A+12|0;D=c[w>>2]|0;L=A+16|0;if((D|0)==(c[L>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else M=Rp(c[D>>2]|0)|0;if(Er(M,s,K,o,r,c[k>>2]|0,m,p,q,j)|0){G=K;H=F;break}D=c[w>>2]|0;if((D|0)==(c[L>>2]|0)){fb[c[(c[A>>2]|0)+40>>2]&127](A)|0;x=K;u=A;y=B;continue}else{c[w>>2]=D+4;Rp(c[D>>2]|0)|0;x=K;u=A;y=B;continue}}y=a[m+11>>0]|0;if((y<<24>>24<0?c[m+4>>2]|0:y&255)|0?(y=c[q>>2]|0,(y-p|0)<160):0){u=c[r>>2]|0;c[q>>2]=y+4;c[y>>2]=u}b[i>>1]=lr(G,c[o>>2]|0,h,s)|0;Zq(m,p,c[q>>2]|0,h);if(A){q=c[A+12>>2]|0;if((q|0)==(c[A+16>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](A)|0;else N=Rp(c[q>>2]|0)|0;if(cq(N,Qp()|0)|0){c[e>>2]=0;O=1}else O=0}else O=1;do if(H){N=c[H+12>>2]|0;if((N|0)==(c[H+16>>2]|0))P=fb[c[(c[H>>2]|0)+36>>2]&127](H)|0;else P=Rp(c[N>>2]|0)|0;if(!(cq(P,Qp()|0)|0))if(O)break;else{I=49;break}else{c[f>>2]=0;I=47;break}}else I=47;while(0);if((I|0)==47?O:0)I=49;if((I|0)==49)c[h>>2]=c[h>>2]|2;h=c[e>>2]|0;fz(n);fz(m);l=d;return h|0}function Pr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=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;b=l;l=l+304|0;i=b+200|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;Lr(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Rp(c[v>>2]|0)|0;if(cq(y,Qp()|0)|0){c[d>>2]=0;z=0;B=0;C=1}else{z=t;B=x;C=0}}else{z=0;B=0;C=1}v=c[e>>2]|0;do if(v){D=c[v+12>>2]|0;if((D|0)==(c[v+16>>2]|0))E=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else E=Rp(c[D>>2]|0)|0;if(!(cq(E,Qp()|0)|0))if(C){F=v;break}else{G=w;H=v;break a}else{c[e>>2]=0;I=19;break}}else I=19;while(0);if((I|0)==19){I=0;if(C){G=w;H=0;break}else F=0}v=a[f>>0]|0;D=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+D|0)){mz(m,D<<1,0);if((a[f>>0]|0)<0)J=(c[s>>2]&2147483647)+-1|0;else J=10;mz(m,J,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+D;K=v}else K=w;v=z+12|0;D=c[v>>2]|0;L=z+16|0;if((D|0)==(c[L>>2]|0))M=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else M=Rp(c[D>>2]|0)|0;if(Er(M,r,K,n,q,c[j>>2]|0,k,o,p,i)|0){G=K;H=F;break}D=c[v>>2]|0;if((D|0)==(c[L>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=K;t=z;x=B;continue}else{c[v>>2]=D+4;Rp(c[D>>2]|0)|0;w=K;t=z;x=B;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}t=nr(G,c[n>>2]|0,g,r)|0;r=h;c[r>>2]=t;c[r+4>>2]=A;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](z)|0;else N=Rp(c[p>>2]|0)|0;if(cq(N,Qp()|0)|0){c[d>>2]=0;O=1}else O=0}else O=1;do if(H){N=c[H+12>>2]|0;if((N|0)==(c[H+16>>2]|0))P=fb[c[(c[H>>2]|0)+36>>2]&127](H)|0;else P=Rp(c[N>>2]|0)|0;if(!(cq(P,Qp()|0)|0))if(O)break;else{I=49;break}else{c[e>>2]=0;I=47;break}}else I=47;while(0);if((I|0)==47?O:0)I=49;if((I|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Qr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+304|0;i=b+200|0;j=b+196|0;k=b+184|0;m=b+172|0;n=b+168|0;o=b+8|0;p=b+4|0;q=b;r=dr(f)|0;Lr(k,f,i,j);c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;f=0;while(1){if((f|0)==3)break;c[m+(f<<2)>>2]=0;f=f+1|0}f=m+11|0;s=m+8|0;if((a[f>>0]|0)<0)t=(c[s>>2]&2147483647)+-1|0;else t=10;mz(m,t,0);t=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=t;c[p>>2]=o;c[q>>2]=0;u=m+4|0;v=c[d>>2]|0;w=t;t=v;x=v;a:while(1){if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))y=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else y=Rp(c[v>>2]|0)|0;if(cq(y,Qp()|0)|0){c[d>>2]=0;z=0;A=0;B=1}else{z=t;A=x;B=0}}else{z=0;A=0;B=1}v=c[e>>2]|0;do if(v){C=c[v+12>>2]|0;if((C|0)==(c[v+16>>2]|0))D=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else D=Rp(c[C>>2]|0)|0;if(!(cq(D,Qp()|0)|0))if(B){E=v;break}else{F=w;G=v;break a}else{c[e>>2]=0;H=19;break}}else H=19;while(0);if((H|0)==19){H=0;if(B){F=w;G=0;break}else E=0}v=a[f>>0]|0;C=v<<24>>24<0?c[u>>2]|0:v&255;if((c[n>>2]|0)==(w+C|0)){mz(m,C<<1,0);if((a[f>>0]|0)<0)I=(c[s>>2]&2147483647)+-1|0;else I=10;mz(m,I,0);v=(a[f>>0]|0)<0?c[m>>2]|0:m;c[n>>2]=v+C;J=v}else J=w;v=z+12|0;C=c[v>>2]|0;K=z+16|0;if((C|0)==(c[K>>2]|0))L=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else L=Rp(c[C>>2]|0)|0;if(Er(L,r,J,n,q,c[j>>2]|0,k,o,p,i)|0){F=J;G=E;break}C=c[v>>2]|0;if((C|0)==(c[K>>2]|0)){fb[c[(c[z>>2]|0)+40>>2]&127](z)|0;w=J;t=z;x=A;continue}else{c[v>>2]=C+4;Rp(c[C>>2]|0)|0;w=J;t=z;x=A;continue}}x=a[k+11>>0]|0;if((x<<24>>24<0?c[k+4>>2]|0:x&255)|0?(x=c[p>>2]|0,(x-o|0)<160):0){t=c[q>>2]|0;c[p>>2]=x+4;c[x>>2]=t}c[h>>2]=pr(F,c[n>>2]|0,g,r)|0;Zq(k,o,c[p>>2]|0,g);if(z){p=c[z+12>>2]|0;if((p|0)==(c[z+16>>2]|0))M=fb[c[(c[A>>2]|0)+36>>2]&127](z)|0;else M=Rp(c[p>>2]|0)|0;if(cq(M,Qp()|0)|0){c[d>>2]=0;N=1}else N=0}else N=1;do if(G){M=c[G+12>>2]|0;if((M|0)==(c[G+16>>2]|0))O=fb[c[(c[G>>2]|0)+36>>2]&127](G)|0;else O=Rp(c[M>>2]|0)|0;if(!(cq(O,Qp()|0)|0))if(N)break;else{H=49;break}else{c[e>>2]=0;H=47;break}}else H=47;while(0);if((H|0)==47?N:0)H=49;if((H|0)==49)c[g>>2]=c[g>>2]|2;g=c[d>>2]|0;fz(m);fz(k);l=b;return g|0}function Rr(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;j=l;l=l+112|0;k=j;m=(f-e|0)/12|0;if(m>>>0>100){n=Pm(m)|0;if(!n)_y();else{o=n;p=n}}else{o=k;p=0}k=0;n=m;m=e;q=o;while(1){if((m|0)==(f|0))break;r=a[m+8+3>>0]|0;if(r<<24>>24<0)s=c[m+4>>2]|0;else s=r&255;if(!s){a[q>>0]=2;t=k+1|0;u=n+-1|0}else{a[q>>0]=1;t=k;u=n}k=t;n=u;m=m+12|0;q=q+1|0}q=0;m=k;k=n;a:while(1){n=c[b>>2]|0;do if(n){u=c[n+12>>2]|0;if((u|0)==(c[n+16>>2]|0))v=fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else v=Rp(c[u>>2]|0)|0;if(cq(v,Qp()|0)|0){c[b>>2]=0;w=1;break}else{w=(c[b>>2]|0)==0;break}}else w=1;while(0);n=c[d>>2]|0;if(n){u=c[n+12>>2]|0;if((u|0)==(c[n+16>>2]|0))x=fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else x=Rp(c[u>>2]|0)|0;if(cq(x,Qp()|0)|0){c[d>>2]=0;y=0;z=1}else{y=n;z=0}}else{y=0;z=1}A=c[b>>2]|0;if(!((k|0)!=0&(w^z)))break;n=c[A+12>>2]|0;if((n|0)==(c[A+16>>2]|0))B=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else B=Rp(c[n>>2]|0)|0;if(i)C=B;else C=lb[c[(c[g>>2]|0)+28>>2]&15](g,B)|0;n=q+1|0;u=e;t=0;s=o;r=m;D=k;while(1){if((u|0)==(f|0))break;do if((a[s>>0]|0)==1){E=u+8+3|0;if((a[E>>0]|0)<0)F=c[u>>2]|0;else F=u;G=c[F+(q<<2)>>2]|0;if(i)H=G;else H=lb[c[(c[g>>2]|0)+28>>2]&15](g,G)|0;G=D+-1|0;if((C|0)!=(H|0)){a[s>>0]=0;I=t;J=r;K=G;break}L=a[E>>0]|0;if(L<<24>>24<0)M=c[u+4>>2]|0;else M=L&255;if((M|0)==(n|0)){a[s>>0]=2;I=1;J=r+1|0;K=G}else{I=1;J=r;K=D}}else{I=t;J=r;K=D}while(0);u=u+12|0;t=I;s=s+1|0;r=J;D=K}if(!t){q=n;m=r;k=D;continue}s=c[b>>2]|0;u=s+12|0;G=c[u>>2]|0;if((G|0)==(c[s+16>>2]|0))fb[c[(c[s>>2]|0)+40>>2]&127](s)|0;else{c[u>>2]=G+4;Rp(c[G>>2]|0)|0}if((r+D|0)>>>0>1){N=e;O=o;P=r}else{q=n;m=r;k=D;continue}while(1){if((N|0)==(f|0)){q=n;m=P;k=D;continue a}if((a[O>>0]|0)==2){G=a[N+8+3>>0]|0;if(G<<24>>24<0)Q=c[N+4>>2]|0;else Q=G&255;if((Q|0)!=(n|0)){a[O>>0]=0;R=P+-1|0}else R=P}else R=P;N=N+12|0;O=O+1|0;P=R}}do if(A){R=c[A+12>>2]|0;if((R|0)==(c[A+16>>2]|0))S=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else S=Rp(c[R>>2]|0)|0;if(cq(S,Qp()|0)|0){c[b>>2]=0;T=1;break}else{T=(c[b>>2]|0)==0;break}}else T=1;while(0);do if(y){b=c[y+12>>2]|0;if((b|0)==(c[y+16>>2]|0))U=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else U=Rp(c[b>>2]|0)|0;if(!(cq(U,Qp()|0)|0))if(T){V=e;W=o;break}else{X=77;break}else{c[d>>2]=0;X=41;break}}else X=41;while(0);if((X|0)==41)if(T)X=77;else{V=e;W=o}if((X|0)==77){c[h>>2]=c[h>>2]|2;V=e;W=o}while(1){if((V|0)==(f|0)){X=81;break}if((a[W>>0]|0)==2){Y=V;break}V=V+12|0;W=W+1|0}if((X|0)==81){c[h>>2]=c[h>>2]|4;Y=f}Qm(p);l=j;return Y|0}function Sr(a){a=a|0;qq(a);return}function Tr(a){a=a|0;qq(a);Yy(a);return}function Ur(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=l;l=l+16|0;i=h+4|0;j=h;if(!(c[e+4>>2]&1)){k=c[(c[b>>2]|0)+24>>2]|0;c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];m=nb[k&31](b,i,e,f,g&1)|0}else{bq(i,e);e=Kq(i,28712)|0;Lq(i);f=c[e>>2]|0;if(g)db[c[f+24>>2]&63](i,e);else db[c[f+28>>2]&63](i,e);e=i+11|0;f=a[e>>0]|0;if(f<<24>>24<0){n=f;o=c[i>>2]|0;p=8}else{q=i;r=f}while(1){if((p|0)==8){p=0;q=o;r=n}f=r<<24>>24<0;if((q|0)==((f?c[i>>2]|0:i)+(f?c[i+4>>2]|0:r&255)|0))break;f=a[q>>0]|0;g=c[d>>2]|0;if(g|0){b=g+24|0;k=c[b>>2]|0;if((k|0)==(c[g+28>>2]|0)){j=c[(c[g>>2]|0)+52>>2]|0;s=Np(f)|0;t=lb[j&15](g,s)|0}else{c[b>>2]=k+1;a[k>>0]=f;t=Np(f)|0}if(aq(t,Mp()|0)|0)c[d>>2]=0}n=a[e>>0]|0;o=q+1|0;p=8}p=c[d>>2]|0;fz(i);m=p}l=h;return m|0}function Vr(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;b=l;l=l+64|0;h=b;i=b+52|0;j=b+39|0;k=b+16|0;m=b+12|0;n=b+4|0;o=b+8|0;a[i>>0]=a[24493]|0;a[i+1>>0]=a[24494]|0;a[i+2>>0]=a[24495]|0;a[i+3>>0]=a[24496]|0;a[i+4>>0]=a[24497]|0;a[i+5>>0]=a[24498]|0;fs(i+1|0,24499,1,c[e+4>>2]|0);p=Nq()|0;c[h>>2]=g;g=j+(as(j,13,p,i,h)|0)|0;i=bs(j,g,e)|0;bq(h,e);gs(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[d>>2];d=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=Nh(h,k,d,m,e,f)|0;l=b;return o|0}function Wr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;a=l;l=l+96|0;h=a+8|0;i=a;j=a+71|0;k=a+28|0;m=a+24|0;n=a+16|0;o=a+20|0;p=i;c[p>>2]=37;c[p+4>>2]=0;fs(i+1|0,24490,1,c[d+4>>2]|0);p=Nq()|0;q=h;c[q>>2]=f;c[q+4>>2]=g;g=j+(as(j,23,p,i,h)|0)|0;i=bs(j,g,d)|0;bq(h,d);gs(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[b>>2];b=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=Nh(h,k,b,m,d,e)|0;l=a;return o|0}function Xr(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;b=l;l=l+64|0;h=b;i=b+52|0;j=b+40|0;k=b+16|0;m=b+12|0;n=b+4|0;o=b+8|0;a[i>>0]=a[24493]|0;a[i+1>>0]=a[24494]|0;a[i+2>>0]=a[24495]|0;a[i+3>>0]=a[24496]|0;a[i+4>>0]=a[24497]|0;a[i+5>>0]=a[24498]|0;fs(i+1|0,24499,0,c[e+4>>2]|0);p=Nq()|0;c[h>>2]=g;g=j+(as(j,12,p,i,h)|0)|0;i=bs(j,g,e)|0;bq(h,e);gs(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[d>>2];d=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=Nh(h,k,d,m,e,f)|0;l=b;return o|0}function Yr(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;a=l;l=l+96|0;h=a+8|0;i=a;j=a+71|0;k=a+28|0;m=a+24|0;n=a+16|0;o=a+20|0;p=i;c[p>>2]=37;c[p+4>>2]=0;fs(i+1|0,24490,0,c[d+4>>2]|0);p=Nq()|0;q=h;c[q>>2]=f;c[q+4>>2]=g;g=j+(as(j,23,p,i,h)|0)|0;i=bs(j,g,d)|0;bq(h,d);gs(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[b>>2];b=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=Nh(h,k,b,m,d,e)|0;l=a;return o|0} +function ob(a){a=a|0;var b=0;b=l;l=l+a|0;l=l+15&-16;return b|0}function pb(){return l|0}function qb(a){a=a|0;l=a}function rb(a,b){a=a|0;b=b|0;l=a;m=b}function sb(a,b){a=a|0;b=b|0;if(!p){p=a;q=b}}function tb(a){a=a|0;A=a}function ub(){return A|0}function vb(){var a=0;a=Wy(512)|0;pg(a,2);return a|0}function wb(a,b){a=a|0;b=+b;sh(a,6,b);return}function xb(a,b,d,e,f){a=a|0;b=+b;d=+d;e=+e;f=+f;var g=0,h=0,i=0,j=0,k=0;g=l;l=l+96|0;h=g+48|0;i=g+24|0;j=g;be(i,b,d);be(j,e,f);te(h,i,j);j=Wy(96)|0;Ch(j,a,h,0);c[h>>2]=1624;a=c[h+32>>2]|0;if(a|0){i=h+36|0;k=c[i>>2]|0;if((k|0)!=(a|0))c[i>>2]=k+(~((k+-32-a|0)>>>5)<<5);Yy(a)}a=c[h+20>>2]|0;if(a|0){k=h+24|0;if((c[k>>2]|0)!=(a|0))c[k>>2]=a;Yy(a)}a=c[h+8>>2]|0;if(!a){l=g;return j|0}k=h+12|0;h=c[k>>2]|0;if((h|0)!=(a|0))c[k>>2]=h+(~(((h+-24-a|0)>>>0)/24|0)*24|0);Yy(a);l=g;return j|0}function yb(a){a=a|0;Aa(a|0)|0;Xz()}function zb(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;hh(a,b,c,d);return}function Ab(a,b,d,e,f,g){a=a|0;b=b|0;d=+d;e=+e;f=+f;g=+g;var h=0,i=0,j=0,k=0;h=l;l=l+96|0;i=h+48|0;j=h+24|0;k=h;be(j,d,e);be(k,f,g);te(i,j,k);ih(a,b,i,0);c[i>>2]=1624;b=c[i+32>>2]|0;if(b|0){a=i+36|0;k=c[a>>2]|0;if((k|0)!=(b|0))c[a>>2]=k+(~((k+-32-b|0)>>>5)<<5);Yy(b)}b=c[i+20>>2]|0;if(b|0){k=i+24|0;if((c[k>>2]|0)!=(b|0))c[k>>2]=b;Yy(b)}b=c[i+8>>2]|0;if(!b){l=h;return}k=i+12|0;i=c[k>>2]|0;if((i|0)!=(b|0))c[k>>2]=i+(~(((i+-24-b|0)>>>0)/24|0)*24|0);Yy(b);l=h;return}function Bb(a){a=a|0;ch(a)|0;return}function Cb(a,b,c,d,e,f,g){a=a|0;b=+b;c=+c;d=+d;e=+e;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=l;l=l+144|0;i=h+80|0;j=h+24|0;k=h;be(j,b,c);od(i,j,f);be(k,d,e);od(j,k,g);g=Wy(176)|0;cc(g,a,i,j,0);rd(j);rd(i);l=h;return g|0}function Db(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,h=0;f=l;l=l+112|0;g=f+56|0;h=f;pd(g,b,d);pd(h,c,e);e=Wy(176)|0;cc(e,a,g,h,0);rd(h);rd(g);l=f;return e|0}function Eb(a,b){a=a|0;b=b|0;gh(a,b);return}function Fb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;e=l;l=l+48|0;f=e;Gb(f,Cc(a)|0);a=(Yd(f)|0)<<1;if((d|0)!=0&(a|0)!=0){g=0;do{i=_d(f,g>>>1)|0;j=+h[i+8>>3];h[b+(g<<3)>>3]=+h[i>>3];h[b+((g|1)<<3)>>3]=j;g=g+2|0}while(g>>>0>>0&g>>>0>>0)}g=a>>>0>d>>>0?d:a;c[f>>2]=1624;a=c[f+32>>2]|0;if(a|0){d=f+36|0;b=c[d>>2]|0;if((b|0)!=(a|0))c[d>>2]=b+(~((b+-32-a|0)>>>5)<<5);Yy(a)}a=c[f+20>>2]|0;if(a|0){b=f+24|0;if((c[b>>2]|0)!=(a|0))c[b>>2]=a;Yy(a)}a=c[f+8>>2]|0;if(!a){l=e;return g|0}b=f+12|0;f=c[b>>2]|0;if((f|0)!=(a|0))c[b>>2]=f+(~(((f+-24-a|0)>>>0)/24|0)*24|0);Yy(a);l=e;return g|0}function Gb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;c[a>>2]=1624;c[a+4>>2]=c[b+4>>2];Ib(a+8|0,b+8|0);d=a+20|0;e=b+20|0;c[d>>2]=0;f=a+24|0;c[f>>2]=0;c[a+28>>2]=0;g=b+24|0;h=(c[g>>2]|0)-(c[e>>2]|0)|0;if(h|0){if((h|0)<0)rx(d);i=Wy(h)|0;c[f>>2]=i;c[d>>2]=i;c[a+28>>2]=i+h;h=c[e>>2]|0;e=(c[g>>2]|0)-h|0;if((e|0)>0){EA(i|0,h|0,e|0)|0;c[f>>2]=i+e}}Jb(a+32|0,b+32|0);return}function Hb(a,b,c,d,e,f,g){a=a|0;b=b|0;c=+c;d=+d;e=e|0;f=+f;g=g|0;var h=0;h=Wy(80)|0;Mb(h,a,b,c,d,e,f,g);return h|0}function Ib(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;e=b+4|0;f=(c[e>>2]|0)-(c[b>>2]|0)|0;g=(f|0)/24|0;if(!f)return;if(g>>>0>178956970)rx(a);h=Wy(f)|0;c[d>>2]=h;c[a>>2]=h;c[a+8>>2]=h+(g*24|0);g=c[b>>2]|0;b=(c[e>>2]|0)-g|0;if((b|0)<=0)return;EA(h|0,g|0,b|0)|0;c[d>>2]=h+(((b>>>0)/24|0)*24|0);return}function Jb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;e=b+4|0;f=(c[e>>2]|0)-(c[b>>2]|0)|0;g=f>>5;if(!g)return;if(g>>>0>134217727)rx(a);h=Wy(f)|0;c[d>>2]=h;c[a>>2]=h;c[a+8>>2]=h+(g<<5);g=c[b>>2]|0;b=(c[e>>2]|0)-g|0;if((b|0)<=0)return;EA(h|0,g|0,b|0)|0;c[d>>2]=h+(b>>>5<<5);return}function Kb(){Fh(27728,0,0,0);Fh(27736,0,0,b[4624]|0);return}function Lb(){Fh(27744,0,0,0);Fh(27752,0,0,b[4624]|0);return}function Mb(b,d,e,f,g,i,j,k){b=b|0;d=d|0;e=e|0;f=+f;g=+g;i=i|0;j=+j;k=k|0;c[b+4>>2]=d;c[b+8>>2]=0;c[b+12>>2]=e;h[b+16>>3]=f;h[b+24>>3]=g;h[b+32>>3]=j;c[b+40>>2]=k;a[b+44>>0]=1;h[b+48>>3]=0.0;c[b+60>>2]=0;c[b+64>>2]=0;c[b+56>>2]=b+60;c[b+68>>2]=0;a[b+72>>0]=i&1;Nb(b);return}function Nb(d){d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0;e=l;l=l+176|0;f=e+104|0;g=e+88|0;i=e+80|0;j=e+72|0;k=e+24|0;m=e;n=e+120|0;o=d+4|0;p=c[o>>2]|0;if(!p)ta(10030,10044,79,10062);if(!(c[d+12>>2]|0))ta(10091,10044,80,10062);if(!(a[d+72>>0]|0)){je(k,Eh(p)|0,0.0);p=d+16|0;q=+h[p>>3];if(q>+ke(k)){q=+h[p>>3];r=+ke(k);h[g>>3]=q;h[g+8>>3]=r;Pb(10270,g)}g=d+24|0;r=+h[g>>3];if(r>+le(k)){r=+h[g>>3];q=+le(k);h[f>>3]=r;h[f+8>>3]=q;Pb(10355,f)}}else{q=+h[d+16>>3];if(q<0.0|q>1.0){h[j>>3]=q;Pb(10106,j)}q=+h[d+24>>3];if(q<0.0|q>1.0){h[i>>3]=q;Pb(10188,i)}}c[d>>2]=Xf(c[o>>2]|0)|0;Qf(c[o>>2]|0,d)|0;i=Wf(c[o>>2]|0)|0;Fh(k,i,9,b[4628]|b[4627]);i=Wy(160)|0;o=c[d>>2]|0;me(n);Qb(m,d,n);Oh(i,o,k,m,1);m=d+68|0;c[m>>2]=i;c[n>>2]=1624;i=c[n+32>>2]|0;if(i|0){k=n+36|0;o=c[k>>2]|0;if((o|0)!=(i|0))c[k>>2]=o+(~((o+-32-i|0)>>>5)<<5);Yy(i)}i=c[n+20>>2]|0;if(i|0){o=n+24|0;if((c[o>>2]|0)!=(i|0))c[o>>2]=i;Yy(i)}i=c[n+8>>2]|0;if(i|0){o=n+12|0;n=c[o>>2]|0;if((n|0)!=(i|0))c[o>>2]=n+(~(((n+-24-i|0)>>>0)/24|0)*24|0);Yy(i)}i=c[d+40>>2]|0;a:do if(i){n=c[m>>2]|0;c[n+128>>2]=i;if((i|0)==15){s=n;t=39}else u=n}else{q=+h[d+16>>3];if(!(q==0.0))if(q==1.0)v=8;else v=0;else v=4;q=+h[d+24>>3];do if(!(q==0.0)){if(q==1.0){w=v|2;break}if(!v){n=c[m>>2]|0;c[n+128>>2]=15;s=n;t=39;break a}else w=v}else w=v|1;while(0);n=c[m>>2]|0;c[n+128>>2]=w;u=n}while(0);if((t|0)==39){a[d+44>>0]=0;u=s}if(!(a[(c[d>>2]|0)+380>>0]|0)){l=e;return}ui(u,0,1,1);l=e;return}function Ob(a,b){a=a|0;b=b|0;if(!b)return;else{Ob(a,c[b>>2]|0);Ob(a,c[b+4>>2]|0);Yy(b);return}}function Pb(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=b;mn(c[638]|0,a,e)|0;l=d;return}function Qb(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0.0,o=0.0,p=0.0;g=l;l=l+80|0;i=g+24|0;j=g;k=c[e+8>>2]|0;if(k|0){db[c[(c[k>>2]|0)+8>>2]&63](d,k);l=g;return}if(fb[c[(c[f>>2]|0)+12>>2]&127](f)|0)m=Eh(c[e+4>>2]|0)|0;else m=f;je(i,m,0.0);ae(j);m=e+16|0;n=+h[m>>3];f=n==0.0;do if(a[e+72>>0]|0){do if(!f)if(n==1.0){h[j>>3]=+h[i+24>>3]-+h[e+32>>3];b[j+20>>1]=4;break}else{o=+h[i>>3];h[j>>3]=o+n*+ke(i);break}else{h[j>>3]=+h[i>>3]+ +h[e+32>>3];b[j+20>>1]=6}while(0);o=+h[e+24>>3];if(o==0.0){h[j+8>>3]=+h[i+8>>3]+ +h[e+32>>3];b[j+20>>1]=5;break}if(o==1.0){h[j+8>>3]=+h[i+32>>3]-+h[e+32>>3];b[j+20>>1]=7;break}else{p=+h[i+8>>3];h[j+8>>3]=p+o*+le(i);break}}else{do if(f){h[j>>3]=+h[i>>3]+ +h[e+32>>3];b[j+20>>1]=6}else{if(!(n==-1.0)?!(n==+ke(i)):0){h[j>>3]=+h[i>>3]+ +h[m>>3];break}h[j>>3]=+h[i+24>>3]-+h[e+32>>3];b[j+20>>1]=4}while(0);k=e+24|0;o=+h[k>>3];if(o==0.0){h[j+8>>3]=+h[i+8>>3]+ +h[e+32>>3];b[j+20>>1]=5;break}if(!(o==-1.0)?!(o==+le(i)):0){h[j+8>>3]=+h[i+8>>3]+ +h[k>>3];break}h[j+8>>3]=+h[i+32>>3]-+h[e+32>>3];b[j+20>>1]=7}while(0);c[d>>2]=c[j>>2];c[d+4>>2]=c[j+4>>2];c[d+8>>2]=c[j+8>>2];c[d+12>>2]=c[j+12>>2];c[d+16>>2]=c[j+16>>2];c[d+20>>2]=c[j+20>>2];l=g;return}function Rb(a){a=a|0;var b=0,d=0.0,e=0,f=0;b=c[a+40>>2]|0;if(b|0)return b|0;d=+h[a+16>>3];if(!(d==0.0))if(d==1.0)e=8;else e=0;else e=4;d=+h[a+24>>3];if(!(d==0.0))if(d==1.0)f=e|2;else f=e;else f=e|1;return ((f|0)==0?15:f)|0}function Sb(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0;i=l;l=l+32|0;j=i+24|0;k=i;c[d+4>>2]=0;m=d+8|0;c[m>>2]=e;c[d+12>>2]=f;f=d+16|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[d+40>>2]=g;a[d+44>>0]=1;h[d+48>>3]=0.0;c[d+60>>2]=0;c[d+64>>2]=0;c[d+56>>2]=d+60;f=d+68|0;c[f>>2]=0;a[d+72>>0]=0;if(!e)ta(10441,10044,151,10458);c[d>>2]=Xf(e)|0;Qf(c[m>>2]|0,d)|0;e=Wf(c[m>>2]|0)|0;Fh(j,e,9,b[4628]|b[4627]);e=Wy(160)|0;n=c[d>>2]|0;o=c[m>>2]|0;db[c[(c[o>>2]|0)+8>>2]&63](k,o);Oh(e,n,j,k,1);c[f>>2]=e;c[e+128>>2]=g;if(!(a[(c[d>>2]|0)+380>>0]|0)){l=i;return}ui(e,0,1,1);l=i;return}function Tb(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+4>>2]|0;do if(!b){d=c[a+8>>2]|0;if(!d)ta(10477,10044,173,10499);else{Rf(d,a);break}}else Rf(b,a);while(0);b=a+56|0;d=a+64|0;while(1){if(!(c[d>>2]|0))break;Bd(c[(c[b>>2]|0)+16>>2]|0)}d=a+68|0;e=c[d>>2]|0;if(!e){f=a+60|0;g=c[f>>2]|0;Ob(b,g);return}Vh(e,1);di((c[a>>2]|0)+100|0,c[d>>2]|0)|0;e=c[d>>2]|0;if(e|0){Qh(e);Yy(e)}c[d>>2]=0;f=a+60|0;g=c[f>>2]|0;Ob(b,g);return}function Ub(b){b=b|0;var d=0;d=b+68|0;Vh(c[d>>2]|0,1);if(!(a[(c[b>>2]|0)+380>>0]|0))return;ui(c[d>>2]|0,0,1,1);return}function Vb(b,c){b=b|0;c=c|0;a[b+44>>0]=c&1;return}function Wb(b){b=b|0;return (a[b+44>>0]|0)!=0|0}function Xb(a,b){a=a|0;b=b|0;Uh(c[a+68>>2]|0,b);return}function Yb(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+32|0;e=d;f=c[a+68>>2]|0;Qb(e,a,b);Uh(f,e);l=d;return}function Zb(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0.0,o=0.0,p=0.0,q=0;e=l;l=l+64|0;f=e+48|0;g=e;i=c[b+4>>2]|0;do if(!i){j=c[b+8>>2]|0;if(!j)ta(10477,10044,365,10519);else{k=Wf(j)|0;j=c[b+12>>2]|0;m=c[b+40>>2]|0;c[f>>2]=k;c[f+4>>2]=j;c[f+8>>2]=m;Bo(d,10620,f)|0;break}}else{m=Wf(i)|0;j=c[b+12>>2]|0;n=+h[b+16>>3];o=+h[b+24>>3];k=a[b+72>>0]|0?26336:26330;p=+h[b+32>>3];q=c[b+40>>2]|0;c[g>>2]=m;c[g+4>>2]=j;h[g+8>>3]=n;h[g+16>>3]=o;c[g+24>>2]=k;h[g+32>>3]=p;c[g+40>>2]=q;Bo(d,10530,g)|0}while(0);if((c[(c[b+68>>2]|0)+128>>2]|0)==15){l=e;return}if(a[b+44>>0]|0){l=e;return}bo(10697,34,1,d)|0;l=e;return}function _b(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[b+4>>2]|0;do if(!d){e=c[b+8>>2]|0;if(!e)ta(10477,10044,395,10732);else{f=e;break}}else f=d;while(0);d=Wf(f)|0;f=c[b+12>>2]|0;c[a>>2]=d;c[a+4>>2]=f;return}function $b(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0.0;if((c[a>>2]|0)!=(c[b>>2]|0))ta(10751,10044,434,20136);d=a+4|0;e=c[d>>2]|0;do if(!e){f=c[a+8>>2]|0;if(!f)ta(10477,10044,395,10732);else{g=f;break}}else g=e;while(0);e=Wf(g)|0;g=b+4|0;f=c[g>>2]|0;do if(!f){i=c[b+8>>2]|0;if(!i)ta(10477,10044,395,10732);else{j=i;break}}else j=f;while(0);if((e|0)!=(Wf(j)|0)){j=c[d>>2]|0;do if(!j){d=c[a+8>>2]|0;if(!d)ta(10477,10044,395,10732);else{k=d;break}}else k=j;while(0);j=Wf(k)|0;k=c[g>>2]|0;do if(!k){g=c[b+8>>2]|0;if(!g)ta(10477,10044,395,10732);else{l=g;break}}else l=k;while(0);m=j>>>0<(Wf(l)|0)>>>0;return m|0}l=c[a+12>>2]|0;j=c[b+12>>2]|0;if((l|0)!=(j|0)){m=l>>>0>>0;return m|0}j=c[a+40>>2]|0;l=c[b+40>>2]|0;if((j|0)!=(l|0)){m=j>>>0>>0;return m|0}n=+h[a+16>>3];o=+h[b+16>>3];if(n!=o){m=n>3];n=+h[b+24>>3];if(o!=n){m=o>3]<+h[b+32>>3];return m|0}return 0}function ac(){Fh(27760,0,0,0);Fh(27768,0,0,b[4624]|0);return}function bc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;c[b>>2]=d;c[b+8>>2]=rh(d,0)|0;d=b+12|0;c[d>>2]=0;f=b+16|0;a[f>>0]=a[f>>0]&-112|1;f=b+20|0;me(f);me(b+64|0);g=b+112|0;h=g+64|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));g=c[b>>2]|0;if(!g)ta(17587,10776,67,10790);else{c[b+4>>2]=mh(g,e)|0;Wd(f);c[d>>2]=vh((c[b>>2]|0)+256|0,b)|0;return}}function cc(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;c[b>>2]=d;c[b+8>>2]=rh(d,0)|0;d=b+12|0;c[d>>2]=0;i=b+16|0;a[i>>0]=a[i>>0]&-112|1;i=b+20|0;me(i);me(b+64|0);j=b+112|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;j=b+136|0;k=j+40|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));j=c[b>>2]|0;if(!j)ta(17587,10776,96,10790);else{c[b+4>>2]=mh(j,h)|0;Wd(i);xg(c[b>>2]|0,b,e[4625]|0,f,0);xg(c[b>>2]|0,b,e[4626]|0,g,0);c[d>>2]=vh((c[b>>2]|0)+256|0,b)|0;return}}function dc(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=l;l=l+16|0;e=c[b>>2]|0;if(!e)ta(14395,10776,109,10798);if(!(a[e+169>>0]|0)){Pb(10807,d);Pb(10865,d+8|0);ra()}wh(e+256|0,b);eh(c[b>>2]|0,b);e=b+20|0;Wd(e);f=b+64|0;Wd(f);g=b+124|0;h=c[g>>2]|0;if(h|0){Vh(h,1);di((c[b>>2]|0)+100|0,c[g>>2]|0)|0;h=c[g>>2]|0;if(h|0){Qh(h);Yy(h)}c[g>>2]=0}g=b+144|0;h=c[g>>2]|0;if(h|0){Ed(h,0);Bd(c[g>>2]|0);h=c[g>>2]|0;if(h|0){rd(h);Yy(h)}c[g>>2]=0}g=b+128|0;h=c[g>>2]|0;if(h|0){Vh(h,1);di((c[b>>2]|0)+100|0,c[g>>2]|0)|0;h=c[g>>2]|0;if(h|0){Qh(h);Yy(h)}c[g>>2]=0}g=b+148|0;h=c[g>>2]|0;if(h|0){Ed(h,0);Bd(c[g>>2]|0);h=c[g>>2]|0;if(h|0){rd(h);Yy(h)}c[g>>2]=0}g=b+164|0;h=b+168|0;i=c[h>>2]|0;j=c[g>>2]|0;k=j;if((i|0)==(j|0)){m=k;n=i;o=i;p=k}else{i=0;j=k;while(1){Vh(c[j+(i<<2)>>2]|0,1);di((c[b>>2]|0)+100|0,c[(c[g>>2]|0)+(i<<2)>>2]|0)|0;k=c[g>>2]|0;q=c[k+(i<<2)>>2]|0;if(!q){r=k;s=k}else{Qh(q);Yy(q);q=c[g>>2]|0;r=q;s=q}i=i+1|0;q=c[h>>2]|0;k=s;if(i>>>0>=q-s>>2>>>0){m=k;n=q;o=s;p=r;break}else j=k}}j=n;if((j|0)!=(m|0))c[h>>2]=j+(~((j+-4-o|0)>>>2)<<2);o=b+16|0;if(!(a[o>>0]&8))t=p;else{p=c[b>>2]|0;j=c[b+120>>2]|0;m=j+4|0;n=c[j>>2]|0;c[n+4>>2]=c[m>>2];c[c[m>>2]>>2]=n;n=p+24|0;c[n>>2]=(c[n>>2]|0)+-1;Yy(j);a[o>>0]=a[o>>0]&-9;t=c[g>>2]|0}if(t|0){g=c[h>>2]|0;if((g|0)!=(t|0))c[h>>2]=g+(~((g+-4-t|0)>>>2)<<2);Yy(t)}t=c[b+152>>2]|0;if(t|0){g=b+156|0;h=c[g>>2]|0;if((h|0)!=(t|0))c[g>>2]=h+(~((h+-32-t|0)>>>5)<<5);Yy(t)}c[f>>2]=1624;f=c[b+96>>2]|0;if(f|0){t=b+100|0;h=c[t>>2]|0;if((h|0)!=(f|0))c[t>>2]=h+(~((h+-32-f|0)>>>5)<<5);Yy(f)}f=c[b+84>>2]|0;if(f|0){h=b+88|0;if((c[h>>2]|0)!=(f|0))c[h>>2]=f;Yy(f)}f=c[b+72>>2]|0;if(f|0){h=b+76|0;t=c[h>>2]|0;if((t|0)!=(f|0))c[h>>2]=t+(~(((t+-24-f|0)>>>0)/24|0)*24|0);Yy(f)}c[e>>2]=1624;e=c[b+52>>2]|0;if(e|0){f=b+56|0;t=c[f>>2]|0;if((t|0)!=(e|0))c[f>>2]=t+(~((t+-32-e|0)>>>5)<<5);Yy(e)}e=c[b+40>>2]|0;if(e|0){t=b+44|0;if((c[t>>2]|0)!=(e|0))c[t>>2]=e;Yy(e)}e=c[b+28>>2]|0;if(!e){l=d;return}t=b+32|0;b=c[t>>2]|0;if((b|0)!=(e|0))c[t>>2]=b+(~(((b+-24-e|0)>>>0)/24|0)*24|0);Yy(e);l=d;return}function ec(a){a=a|0;Wd(a+20|0);Wd(a+64|0);return}function fc(a){a=a|0;return c[a+8>>2]|0}function gc(b){b=b|0;var c=0;c=b+16|0;a[c>>0]=a[c>>0]|1;return}function hc(a,b){a=a|0;b=b|0;ic(a,b+152|0);return}function ic(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;e=b+4|0;f=(c[e>>2]|0)-(c[b>>2]|0)|0;g=f>>5;if(!g)return;if(g>>>0>134217727)rx(a);h=Wy(f)|0;c[d>>2]=h;c[a>>2]=h;c[a+8>>2]=h+(g<<5);g=c[b>>2]|0;b=(c[e>>2]|0)-g|0;if((b|0)<=0)return;EA(h|0,g|0,b|0)|0;c[d>>2]=h+(b>>>5<<5);return}function jc(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function kc(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=l;l=l+32|0;i=h;j=h+24|0;td(i,g);k=(e[4625]|0|0)==(f|0);if(!k?(e[4626]|0|0)!=(f|0):0)ta(10941,10776,234,11018);c[g+44>>2]=0;m=d+16|0;if(!(a[m>>0]&8)){n=c[d>>2]|0;o=c[n+20>>2]|0;p=Wy(12)|0;c[p>>2]=0;c[p+8>>2]=d;q=c[o>>2]|0;c[q+4>>2]=p;c[p>>2]=q;c[o>>2]=p;c[p+4>>2]=o;o=n+24|0;c[o>>2]=(c[o>>2]|0)+1;c[d+120>>2]=p;a[m>>0]=a[m>>0]|8}p=b[4627]|0;o=wd(g)|0;Fh(j,c[d+4>>2]|0,f&65535,(o?b[4630]|0:0)|p);if(k){k=d+124|0;p=c[k>>2]|0;if(!p){o=Wy(160)|0;Oh(o,c[d>>2]|0,j,i,1);c[k>>2]=o}else Th(p,j,i);p=ud(g)|0;c[(c[k>>2]|0)+128>>2]=p;p=d+144|0;o=c[p>>2]|0;if(o|0){Ed(o,0);Bd(c[p>>2]|0);o=c[p>>2]|0;if(o|0){rd(o);Yy(o)}c[p>>2]=0}if(wd(g)|0){o=Wy(56)|0;r=o;s=g;t=r+56|0;do{c[r>>2]=c[s>>2];r=r+4|0;s=s+4|0}while((r|0)<(t|0));c[p>>2]=o;Dd(o,d);c[(c[k>>2]|0)+128>>2]=0;u=k}else u=k}else{k=d+128|0;o=c[k>>2]|0;if(!o){p=Wy(160)|0;Oh(p,c[d>>2]|0,j,i,1);c[k>>2]=p}else Th(o,j,i);i=ud(g)|0;c[(c[k>>2]|0)+128>>2]=i;i=d+148|0;j=c[i>>2]|0;if(j|0){Ed(j,0);Bd(c[i>>2]|0);j=c[i>>2]|0;if(j|0){rd(j);Yy(j)}c[i>>2]=0}if(wd(g)|0){j=Wy(56)|0;r=j;s=g;t=r+56|0;do{c[r>>2]=c[s>>2];r=r+4|0;s=s+4|0}while((r|0)<(t|0));c[i>>2]=j;Dd(j,d);c[(c[k>>2]|0)+128>>2]=0;u=k}else u=k}Vh(c[u>>2]|0,1);a[m>>0]=a[m>>0]|1;jh(c[d>>2]|0,1);l=h;return}function lc(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=b+16|0;if(!(a[d>>0]&8)){e=c[b>>2]|0;f=c[e+20>>2]|0;g=Wy(12)|0;c[g>>2]=0;c[g+8>>2]=b;h=c[f>>2]|0;c[h+4>>2]=g;c[g>>2]=h;c[f>>2]=g;c[g+4>>2]=f;f=e+24|0;c[f>>2]=(c[f>>2]|0)+1;c[b+120>>2]=g;a[d>>0]=a[d>>0]|8;return}else ta(14516,10776,552,14526)}function mc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0;e=l;l=l+96|0;f=e+80|0;g=e+24|0;i=e;if(!b){c[f>>2]=c[a+4>>2];Pb(11040,f);j=0;l=e;return j|0}f=a+124|0;if((c[f>>2]|0)==(b|0)){k=c[a+144>>2]|0;if(!k){be(i,+h[b+16>>3],+h[b+24>>3]);od(g,i,c[(c[f>>2]|0)+128>>2]|0);m=d;n=g;o=m+52|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));rd(g);j=1;l=e;return j|0}else{m=d;n=k;o=m+52|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));j=1;l=e;return j|0}}k=a+128|0;if((c[k>>2]|0)!=(b|0)){j=0;l=e;return j|0}f=c[a+148>>2]|0;if(!f){be(i,+h[b+16>>3],+h[b+24>>3]);od(g,i,c[(c[k>>2]|0)+128>>2]|0);m=d;n=g;o=m+52|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));rd(g);j=1;l=e;return j|0}else{m=d;n=f;o=m+52|0;do{c[m>>2]=c[n>>2];m=m+4|0;n=n+4|0}while((m|0)<(o|0));j=1;l=e;return j|0}return 0}function nc(a){a=a|0;return c[a+4>>2]|0}function oc(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0;g=l;l=l+64|0;h=g;i=h;j=f;f=i+56|0;do{c[i>>2]=c[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(f|0));kc(b,d,h);rd(h);if(a[b+16>>0]&64){l=g;return}if(!(a[(c[b>>2]|0)+380>>0]|0)){l=g;return}if((e[4625]|0)==(d|0)){d=c[b+144>>2]|0;if(d|0?wd(d)|0:0){l=g;return}ui(c[b+124>>2]|0,c[b+128>>2]|0,1,1);l=g;return}else{d=c[b+148>>2]|0;if(d|0?wd(d)|0:0){l=g;return}ui(c[b+128>>2]|0,c[b+124>>2]|0,1,1);l=g;return}}function pc(a){a=a|0;return c[a+124>>2]|0}function qc(a){a=a|0;return c[a+128>>2]|0}function rc(a){a=a|0;return a+20|0}function sc(a,b){a=a|0;b=b|0;var d=0;d=a;c[d>>2]=0;c[d+4>>2]=0;d=c[b+144>>2]|0;if(d|0)c[a>>2]=c[d+40>>2];d=c[b+148>>2]|0;if(!d)return;c[a+4>>2]=c[d+40>>2];return}function tc(a,b){a=a|0;b=b|0;var d=0;nd(a);d=a+56|0;nd(d);mc(b,c[b+124>>2]|0,a)|0;mc(b,c[b+128>>2]|0,d)|0;return}function uc(a){a=a|0;var b=0;b=c[a+144>>2]|0;if(b|0)Bd(b);b=c[a+148>>2]|0;if(!b)return;Bd(b);return}function vc(a){a=a|0;return a+20|0}function wc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;if((a+64|0)==(b|0)){xc(11232,d);l=d;return}e=b+8|0;f=a+72|0;if((f|0)==(e|0)){l=d;return}yc(f,c[e>>2]|0,c[b+12>>2]|0);l=d;return}function xc(a,b){a=a|0;b=b|0;return}function yc(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;e=d;f=b;g=e-f|0;h=(g|0)/24|0;i=a+8|0;j=c[i>>2]|0;k=c[a>>2]|0;l=k;if(h>>>0<=((j-k|0)/24|0)>>>0){m=a+4|0;n=((c[m>>2]|0)-k|0)/24|0;o=h>>>0>n>>>0;p=o?b+(n*24|0)|0:d;d=p;n=d-f|0;if(n|0)MA(k|0,b|0,n|0)|0;f=l+(((n|0)/24|0)*24|0)|0;if(o){o=e-d|0;if((o|0)<=0)return;EA(c[m>>2]|0,p|0,o|0)|0;c[m>>2]=(c[m>>2]|0)+(((o>>>0)/24|0)*24|0);return}else{o=c[m>>2]|0;if((o|0)==(f|0))return;c[m>>2]=o+(~(((o+-24-f|0)>>>0)/24|0)*24|0);return}}f=k;if(!k)q=j;else{j=a+4|0;o=c[j>>2]|0;if((o|0)!=(l|0))c[j>>2]=o+(~(((o+-24-k|0)>>>0)/24|0)*24|0);Yy(f);c[i>>2]=0;c[j>>2]=0;c[a>>2]=0;q=0}if(h>>>0>178956970)rx(a);j=(q|0)/24|0;q=j<<1;f=j>>>0<89478485?(q>>>0>>0?h:q):178956970;if(f>>>0>178956970)rx(a);q=Wy(f*24|0)|0;h=a+4|0;c[h>>2]=q;c[a>>2]=q;c[i>>2]=q+(f*24|0);if((g|0)<=0)return;EA(q|0,b|0,g|0)|0;c[h>>2]=q+(((g>>>0)/24|0)*24|0);return}function zc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=d;f=b;g=e-f|0;h=a+8|0;i=c[h>>2]|0;j=c[a>>2]|0;k=j;if(g>>>0>(i-j|0)>>>0){if(!j)l=i;else{i=a+4|0;if((c[i>>2]|0)!=(k|0))c[i>>2]=k;Yy(k);c[h>>2]=0;c[i>>2]=0;c[a>>2]=0;l=0}if((g|0)<0)rx(a);i=l<<1;m=l>>>0<1073741823?(i>>>0>>0?g:i):2147483647;if((m|0)<0)rx(a);i=Wy(m)|0;l=a+4|0;c[l>>2]=i;c[a>>2]=i;c[h>>2]=i+m;EA(i|0,b|0,g|0)|0;c[l>>2]=i+g;return}i=a+4|0;a=(c[i>>2]|0)-j|0;j=g>>>0>a>>>0;g=j?b+a|0:d;d=g;a=d-f|0;if(a|0)MA(k|0,b|0,a|0)|0;b=k+a|0;if(j){j=e-d|0;if((j|0)<=0)return;EA(c[i>>2]|0,g|0,j|0)|0;c[i>>2]=(c[i>>2]|0)+j;return}else{if((c[i>>2]|0)==(b|0))return;c[i>>2]=b;return}}function Ac(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=e;g=d;h=f-g|0;i=h>>5;j=a+8|0;k=c[j>>2]|0;l=c[a>>2]|0;m=l;if(i>>>0>k-l>>5>>>0){n=l;if(!l)o=k;else{k=a+4|0;p=c[k>>2]|0;if((p|0)!=(m|0))c[k>>2]=p+(~((p+-32-l|0)>>>5)<<5);Yy(n);c[j>>2]=0;c[k>>2]=0;c[a>>2]=0;o=0}if(i>>>0>134217727)rx(a);k=o>>4;n=o>>5>>>0<67108863?(k>>>0>>0?i:k):134217727;if(n>>>0>134217727)rx(a);k=Wy(n<<5)|0;o=a+4|0;c[o>>2]=k;c[a>>2]=k;c[j>>2]=k+(n<<5);if((h|0)<=0)return;EA(k|0,d|0,h|0)|0;c[o>>2]=k+(h>>>5<<5);return}h=a+4|0;a=(c[h>>2]|0)-l>>5;l=i>>>0>a>>>0;i=l?d+(a<<5)|0:e;if((i|0)==(d|0))q=m;else{e=i+-32-g|0;g=d;d=m;while(1){c[d>>2]=c[g>>2];a=g+8|0;k=d+8|0;c[k>>2]=c[a>>2];c[k+4>>2]=c[a+4>>2];c[k+8>>2]=c[a+8>>2];c[k+12>>2]=c[a+12>>2];c[k+16>>2]=c[a+16>>2];b[k+20>>1]=b[a+20>>1]|0;g=g+32|0;if((g|0)==(i|0))break;else d=d+32|0}q=m+((e>>>5)+1<<5)|0}if(l){l=f-i|0;if((l|0)<=0)return;EA(c[h>>2]|0,i|0,l|0)|0;c[h>>2]=(c[h>>2]|0)+(l>>>5<<5);return}else{l=c[h>>2]|0;if((l|0)==(q|0))return;c[h>>2]=l+(~((l+-32-q|0)>>>5)<<5);return}}function Bc(b){b=b|0;return (a[b+16>>0]&64)!=0|0}function Cc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=l;l=l+48|0;d=b;e=a+64|0;if(!(Xd(e)|0)){l=b;return e|0}re(d,a+20|0);c[a+68>>2]=c[d+4>>2];if((e|0)==(d|0))f=d+32|0;else{yc(a+72|0,c[d+8>>2]|0,c[d+12>>2]|0);zc(a+84|0,c[d+20>>2]|0,c[d+24>>2]|0);g=d+32|0;Ac(a+96|0,c[g>>2]|0,c[d+36>>2]|0);f=g}c[d>>2]=1624;g=c[f>>2]|0;if(g|0){f=d+36|0;a=c[f>>2]|0;if((a|0)!=(g|0))c[f>>2]=a+(~((a+-32-g|0)>>>5)<<5);Yy(g)}g=c[d+20>>2]|0;if(g|0){a=d+24|0;if((c[a>>2]|0)!=(g|0))c[a>>2]=g;Yy(g)}g=c[d+8>>2]|0;if(g|0){a=d+12|0;d=c[a>>2]|0;if((d|0)!=(g|0))c[a>>2]=d+(~(((d+-24-g|0)>>>0)/24|0)*24|0);Yy(g)}l=b;return e|0}function Dc(a){a=a|0;return c[a>>2]|0}function Ec(a){a=a|0;var b=0;b=c[a+136>>2]|0;if(!b)return;cb[b&127](c[a+140>>2]|0);return}function Fc(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=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,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0;f=b[d+10>>1]|0;if((b[4628]&f)<<16>>16){g=1;return g|0}if((b[4629]&f)<<16>>16){g=1;return g|0}if((a|0)==0|(e|0)==0){g=1;return g|0}f=c[d+48>>2]|0;i=c[d+52>>2]|0;if(!f)ta(11285,10776,825,11296);if(!i)ta(11314,10776,826,11296);j=a+16|0;k=d+16|0;l=e+16|0;if(ce(j,k)|0){g=1;return g|0}if(ce(k,l)|0){g=1;return g|0}m=+h[j>>3];n=+h[a+24>>3];o=+h[k>>3];p=+h[d+24>>3];q=+h[l>>3];r=+h[e+24>>3];s=o-m;t=p-n;u=s*(r-n)-t*(q-m);e=u<-0.0;l=e?-1:u>0.0&1;if(!l){g=1;return g|0}u=+h[f+16>>3];v=+h[f+24>>3];w=+h[i+16>>3];x=+h[i+24>>3];y=(o-u)*(x-v)-(p-v)*(w-u);if(!(y>0.0&!(y<-0.0)))ta(11325,10776,862,11296);y=s*(x-n)-t*(w-m);i=s*(v-n)-t*(u-m)<-0.0;m=q-o;q=r-p;r=m*(v-p)-q*(u-o);if(y>0.0&!(y<-0.0))return ((l|0)>0?((m*(x-p)-q*(w-o)<-0.0?-2147483648:0)|(i?-2147483648:0)|0)>-1:0)|0;if(!i){g=0;return g|0}g=e&(r<-0.0|!(r>0.0));return g|0}function Gc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=d+144|0;g=c[f>>2]|0;if((g|0)!=0?wd(g)|0:0){g=d+124|0;Vh(c[g>>2]|0,1);if(e){Fd(c[f>>2]|0,c[g>>2]|0,c[d+128>>2]|0);h=1}else h=1}else h=0;g=d+148|0;f=c[g>>2]|0;if((f|0)!=0?wd(f)|0:0){f=d+128|0;Vh(c[f>>2]|0,1);if(e){Fd(c[g>>2]|0,c[f>>2]|0,c[d+124>>2]|0);i=1}else i=1}else i=0;a[b>>0]=h;a[b+1>>0]=i;return}function Hc(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;f=l;l=l+96|0;g=f+80|0;h=f;i=f+76|0;j=f+84|0;k=f+72|0;m=f+60|0;n=f+48|0;o=f+32|0;p=f+44|0;q=f+28|0;r=f+24|0;s=d+16|0;t=a[s>>0]|0;if(!(t&3)){u=0;l=f;return u|0}v=d+128|0;if(!(c[v>>2]|0)){u=0;l=f;return u|0}w=d+124|0;x=c[w>>2]|0;if(!x){u=0;l=f;return u|0}a[s>>0]=t&-4;c[d+132>>2]=x;Gc(j,d,1);if(a[(c[d>>2]|0)+144>>0]|0?(x=d+20|0,t=(fb[c[(c[x>>2]|0)+16>>2]&127](x)|0)==0,!(t|(a[j>>0]|0)==0)):0){t=c[w>>2]|0;x=t+16|0;c[h>>2]=c[x>>2];c[h+4>>2]=c[x+4>>2];c[h+8>>2]=c[x+8>>2];c[h+12>>2]=c[x+12>>2];c[h+16>>2]=c[x+16>>2];c[h+20>>2]=c[x+20>>2];c[h+16>>2]=c[t+4>>2];b[h+20>>1]=b[t+8>>1]|0;t=d+28|0;c[k>>2]=c[t>>2];c[g>>2]=c[k>>2];Ic(t,g,1,h)|0}c[m>>2]=0;t=m+4|0;c[t>>2]=0;c[m+8>>2]=0;c[n>>2]=0;k=n+4|0;c[k>>2]=0;c[n+8>>2]=0;if((c[d+152>>2]|0)==(c[d+156>>2]|0))Jc(d,m,n);else Kc(d,m,n);x=c[n>>2]|0;y=(c[k>>2]|0)-x>>2;z=x;if(y>>>0<=1)ta(11345,10776,981,11366);if((c[z>>2]|0)!=(c[w>>2]|0))ta(11379,10776,982,11366);if((c[z+(y+-1<<2)>>2]|0)!=(c[v>>2]|0))ta(11400,10776,983,11366);y=d+12|0;if(!(c[y>>2]|0))ta(11439,10776,984,11366);x=b[4627]|0;A=d+8|0;B=1;C=z;do{if((a[(c[d>>2]|0)+141>>0]|0)!=0?(c[A>>2]|0)==1:0){z=Ye(c[C+(B+-1<<2)>>2]|0,c[C+(B<<2)>>2]|0)|0;if(z|0)Ke(z,c[y>>2]|0)}else a[s>>0]=a[s>>0]|2;z=c[(c[n>>2]|0)+(B<<2)>>2]|0;D=z+104|0;E=c[D>>2]|0;if((((E|0?ce(E+16|0,z+16|0)|0:0)?(E=c[D>>2]|0,(x&b[E+10>>1])<<16>>16==0):0)?(b[z+10>>1]&x)<<16>>16==0:0)?(D=(e[E+8>>1]|0)-(e[z+8>>1]|0)|0,(((D|0)>-1?D:0-D|0)|0)==2):0){F=29;break}B=B+1|0;D=c[n>>2]|0;C=D}while(B>>>0<(c[k>>2]|0)-D>>2>>>0);if((F|0)==29)ta(11464,10776,1009,11366);c[o>>2]=0;F=o+4|0;c[F>>2]=0;c[o+8>>2]=0;B=c[m>>2]|0;x=c[t>>2]|0;s=x;y=B;if((a[j>>0]|0)==0?1:((s-y|0)/24|0)>>>0<3){G=B;H=y;I=s}else{zd(c[d+144>>2]|0,c[C+4>>2]|0);G=B+24|0;H=c[m>>2]|0;I=c[t>>2]|0}B=G;if(((I-H|0)/24|0)>>>0>2?(a[j+1>>0]|0)!=0:0){j=c[n>>2]|0;zd(c[d+148>>2]|0,c[j+(((c[k>>2]|0)-j>>2)+-2<<2)>>2]|0);J=x+-24|0}else J=s;c[p>>2]=c[F>>2];c[q>>2]=B;c[r>>2]=J;c[i>>2]=c[p>>2];c[h>>2]=c[q>>2];c[g>>2]=c[r>>2];Lc(o,i,h,g)|0;g=c[d+144>>2]|0;if(g|0?wd(g)|0:0)Vh(c[w>>2]|0,1);w=c[d+148>>2]|0;if(w|0?wd(w)|0:0)Vh(c[v>>2]|0,1);Wd(d+20|0);Wd(d+64|0);v=d+28|0;if((v|0)!=(o|0))yc(v,c[o>>2]|0,c[F>>2]|0);if(wg(c[d>>2]|0)|0){v=wg(c[d>>2]|0)|0;kb[c[(c[v>>2]|0)+12>>2]&7](v,d,-1,-1)}d=c[o>>2]|0;if(d|0){o=c[F>>2]|0;if((o|0)!=(d|0))c[F>>2]=o+(~(((o+-24-d|0)>>>0)/24|0)*24|0);Yy(d)}d=c[n>>2]|0;if(d|0){n=c[k>>2]|0;if((n|0)!=(d|0))c[k>>2]=n+(~((n+-4-d|0)>>>2)<<2);Yy(d)}d=c[m>>2]|0;if(d|0){m=c[t>>2]|0;if((m|0)!=(d|0))c[t>>2]=m+(~(((m+-24-d|0)>>>0)/24|0)*24|0);Yy(d)}u=1;l=f;return u|0}function Ic(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,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;g=c[a>>2]|0;h=g;i=(c[d>>2]|0)-h|0;d=g+(((i|0)/24|0)*24|0)|0;if(!e){j=d;return j|0}g=a+8|0;k=c[g>>2]|0;l=a+4|0;m=c[l>>2]|0;n=m;if(((k-n|0)/24|0)>>>0>=e>>>0){o=n-d|0;p=(o|0)/24|0;if(p>>>0>>0){q=e-p|0;r=m;do{c[r>>2]=c[f>>2];c[r+4>>2]=c[f+4>>2];c[r+8>>2]=c[f+8>>2];c[r+12>>2]=c[f+12>>2];c[r+16>>2]=c[f+16>>2];c[r+20>>2]=c[f+20>>2];r=(c[l>>2]|0)+24|0;c[l>>2]=r;q=q+-1|0}while((q|0)!=0);if(!o){j=d;return j|0}else{s=p;t=r}}else{s=e;t=m}r=t-(d+(e*24|0))|0;p=d+(((r|0)/24|0)*24|0)|0;if(p>>>0>>0){o=p;p=t;do{c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];c[p+16>>2]=c[o+16>>2];c[p+20>>2]=c[o+20>>2];o=o+24|0;p=(c[l>>2]|0)+24|0;c[l>>2]=p}while(o>>>0>>0)}if(r|0)MA(t+(((r|0)/-24|0)*24|0)|0,d|0,r|0)|0;if(d>>>0>f>>>0)u=f;else u=(c[l>>2]|0)>>>0>f>>>0?f+(e*24|0)|0:f;r=s;s=d;while(1){c[s>>2]=c[u>>2];c[s+4>>2]=c[u+4>>2];c[s+8>>2]=c[u+8>>2];c[s+12>>2]=c[u+12>>2];c[s+16>>2]=c[u+16>>2];b[s+20>>1]=b[u+20>>1]|0;r=r+-1|0;if(!r){j=d;break}else s=s+24|0}return j|0}s=((n-h|0)/24|0)+e|0;if(s>>>0>178956970)rx(a);n=(k-h|0)/24|0;h=n<<1;k=n>>>0<89478485?(h>>>0>>0?s:h):178956970;h=d;s=(i|0)/24|0;do if(k)if(k>>>0>178956970){i=ua(8)|0;bz(i,20621);c[i>>2]=9140;Qa(i|0,1496,99)}else{v=Wy(k*24|0)|0;break}else v=0;while(0);i=v+(s*24|0)|0;s=v+(k*24|0)|0;k=e;e=i;v=i;do{c[e>>2]=c[f>>2];c[e+4>>2]=c[f+4>>2];c[e+8>>2]=c[f+8>>2];c[e+12>>2]=c[f+12>>2];c[e+16>>2]=c[f+16>>2];c[e+20>>2]=c[f+20>>2];e=v+24|0;v=e;k=k+-1|0}while((k|0)!=0);k=c[a>>2]|0;f=h-k|0;n=i+(((f|0)/-24|0)*24|0)|0;if((f|0)>0)EA(n|0,k|0,f|0)|0;f=(c[l>>2]|0)-h|0;if((f|0)>0){EA(e|0,d|0,f|0)|0;w=e+(((f>>>0)/24|0)*24|0)|0;x=c[a>>2]|0}else{w=v;x=k}c[a>>2]=n;c[l>>2]=w;c[g>>2]=s;if(!x){j=i;return j|0}Yy(x);j=i;return j|0}function Jc(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,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;g=l;l=l+32|0;h=g;i=g+16|0;j=g+8|0;k=d+128|0;m=c[k>>2]|0;n=d+20|0;o=c[d>>2]|0;do if(a[o+144>>0]|0){if(!(a[o+139>>0]|0))ta(11643,10776,1171,11675);if((fb[c[(c[n>>2]|0)+16>>2]&127](n)|0)>>>0>2?ce((c[d+124>>2]|0)+16|0,c[d+28>>2]|0)|0:0){p=(fb[c[(c[n>>2]|0)+16>>2]&127](n)|0)+-2|0;if(!p)ta(11696,10776,1190,11675);q=lb[c[(c[n>>2]|0)+24>>2]&15](n,p)|0;Fh(i,c[q+16>>2]|0,b[q+20>>1]|0,0);q=ei((c[d>>2]|0)+100|0,i)|0;c[d+132>>2]=q;if(!q)ta(11719,10776,1195,11675);else{r=p;break}}else r=0}else r=0;while(0);o=d+124|0;p=d+132|0;q=b[4627]|0;s=r;a:while(1){rf(i);uf(i,d,c[o>>2]|0,c[k>>2]|0,c[p>>2]|0);r=Xh(c[k>>2]|0,c[o>>2]|0)|0;b:do if(r>>>0<2)if(!s){t=3;u=r;v=0}else{w=s+-1|0;x=lb[c[(c[n>>2]|0)+24>>2]&15](n,w)|0;Fh(j,c[x+16>>2]|0,b[x+20>>1]|0,w|0?0:q);x=ei((c[d>>2]|0)+100|0,j)|0;c[p>>2]=x;if(!x){y=15;break a}t=0;u=r;v=w}else if((a[(c[d>>2]|0)+144>>0]|0)!=0?(m|0)!=(c[(c[p>>2]|0)+104>>2]|0):0){w=m;x=0;while(1){z=w+104|0;if(!(Fc(c[z>>2]|0,w,x)|0))break;A=c[z>>2]|0;if((A|0)==(c[(c[p>>2]|0)+104>>2]|0)){t=0;u=r;v=s;break b}else{z=w;w=A;x=z}}if(!s){t=3;u=r;v=0}else{x=s+-1|0;w=lb[c[(c[n>>2]|0)+24>>2]&15](n,x)|0;Fh(j,c[w+16>>2]|0,b[w+20>>1]|0,x|0?0:q);w=ei((c[d>>2]|0)+100|0,j)|0;c[p>>2]=w;if(!w){y=23;break a}t=0;u=0;v=x}}else{t=0;u=r;v=s}while(0);sf(i);if(!(u|t))s=v;else{y=26;break}}if((y|0)==15)ta(11719,10776,1223,11675);else if((y|0)==23)ta(11719,10776,1260,11675);else if((y|0)==26){if(u>>>0<2){xc(11514,h);h=d+16|0;a[h>>0]=a[h>>0]|1;c[m+104>>2]=c[o>>2];B=2}else B=u;u=e+4|0;h=c[u>>2]|0;d=c[e>>2]|0;y=(h-d|0)/24|0;v=d;d=h;if(B>>>0<=y>>>0){if(B>>>0>>0?(h=v+(B*24|0)|0,(d|0)!=(h|0)):0)c[u>>2]=d+(~(((d+-24-h|0)>>>0)/24|0)*24|0)}else Pc(e,B-y|0);y=f+4|0;h=c[y>>2]|0;d=c[f>>2]|0;u=h-d>>2;v=d;d=h;if(B>>>0<=u>>>0){if(B>>>0>>0?(h=v+(B<<2)|0,(d|0)!=(h|0)):0)c[y>>2]=d+(~((d+-4-h|0)>>>2)<<2)}else Qc(f,B-u|0);if((m|0)==(c[o>>2]|0)){C=m;D=e;E=f;F=c[E>>2]|0;c[F>>2]=C;G=c[o>>2]|0;H=G+16|0;I=c[e>>2]|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];b[I+20>>1]=b[H+20>>1]|0;J=c[o>>2]|0;K=J+4|0;L=c[K>>2]|0;M=c[D>>2]|0;N=M+16|0;c[N>>2]=L;O=J+8|0;P=b[O>>1]|0;Q=M+20|0;b[Q>>1]=P;l=g;return}u=B;B=m;m=c[e>>2]|0;while(1){u=u+-1|0;h=B+16|0;d=m+(u*24|0)|0;c[d>>2]=c[h>>2];c[d+4>>2]=c[h+4>>2];c[d+8>>2]=c[h+8>>2];c[d+12>>2]=c[h+12>>2];c[d+16>>2]=c[h+16>>2];b[d+20>>1]=b[h+20>>1]|0;c[(c[f>>2]|0)+(u<<2)>>2]=B;m=c[e>>2]|0;c[m+(u*24|0)+16>>2]=c[B+4>>2];b[m+(u*24|0)+20>>1]=b[B+8>>1]|0;h=c[B+104>>2]|0;if((h|0)==(c[o>>2]|0)){C=h;D=e;E=f;break}else B=h}F=c[E>>2]|0;c[F>>2]=C;G=c[o>>2]|0;H=G+16|0;I=c[e>>2]|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];b[I+20>>1]=b[H+20>>1]|0;J=c[o>>2]|0;K=J+4|0;L=c[K>>2]|0;M=c[D>>2]|0;N=M+16|0;c[N>>2]=L;O=J+8|0;P=b[O>>1]|0;Q=M+20|0;b[Q>>1]=P;l=g;return}}function Kc(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,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.0,W=0.0,X=0,Y=0,Z=0,_=0,$=0;g=l;l=l+64|0;i=g+52|0;j=g+8|0;k=g;m=g+40|0;n=g+32|0;o=g+36|0;Mc(m,d+164|0);c[n>>2]=c[m>>2];p=d+124|0;c[o>>2]=c[p>>2];c[i>>2]=c[n>>2];Nc(m,i,o)|0;n=d+128|0;q=c[n>>2]|0;c[i>>2]=q;r=m+4|0;s=c[r>>2]|0;if((s|0)==(c[m+8>>2]|0))jc(m,i);else{c[s>>2]=q;c[r>>2]=(c[r>>2]|0)+4}q=c[e>>2]|0;s=e+4|0;t=c[s>>2]|0;if((t|0)==(q|0))u=q;else{v=t+(~(((t+-24-q|0)>>>0)/24|0)*24|0)|0;c[s>>2]=v;u=v}v=c[f>>2]|0;q=f+4|0;t=c[q>>2]|0;if((t|0)!=(v|0))c[q>>2]=t+(~((t+-4-v|0)>>>2)<<2);v=(c[p>>2]|0)+16|0;t=e+8|0;if((u|0)==(c[t>>2]|0))Oc(e,v);else{c[u>>2]=c[v>>2];c[u+4>>2]=c[v+4>>2];c[u+8>>2]=c[v+8>>2];c[u+12>>2]=c[v+12>>2];c[u+16>>2]=c[v+16>>2];c[u+20>>2]=c[v+20>>2];c[s>>2]=(c[s>>2]|0)+24}v=c[p>>2]|0;c[i>>2]=v;p=c[q>>2]|0;u=f+8|0;if((p|0)==(c[u>>2]|0))jc(f,i);else{c[p>>2]=v;c[q>>2]=(c[q>>2]|0)+4}v=c[r>>2]|0;p=c[m>>2]|0;w=p;a:do if(v-p>>2>>>0>1){x=d+152|0;y=b[4627]|0;z=d+4|0;A=d+16|0;B=c[638]|0;C=0;D=1;E=p;F=v;G=w;b:while(1){H=c[G+(C<<2)>>2]|0;I=c[G+(D<<2)>>2]|0;J=(C|0)!=0;if(J?(K=c[(c[x>>2]|0)+(C+-1<<5)+28>>2]|0,(K|0)!=15):0){Wh(H,K);L=c[m>>2]|0;M=c[r>>2]|0}else{L=E;M=F}K=D;D=D+1|0;if(D>>>0>2>>>0?(N=c[(c[x>>2]|0)+(K+-1<<5)+24>>2]|0,(N|0)!=15):0)Wh(I,N);rf(i);uf(i,d,H,I,0);if(J)Wh(H,15);if(D>>>0<(c[r>>2]|0)-(c[m>>2]|0)>>2>>>0)Wh(I,15);J=Xh(I,H)|0;c:do if((J|0)>1){H=c[s>>2]|0;N=c[e>>2]|0;O=(H-N|0)/24|0;P=J+-1|0;Q=O+P|0;R=N;N=H;if(O>>>0>=Q>>>0){if(O>>>0>Q>>>0?(H=R+(Q*24|0)|0,(N|0)!=(H|0)):0)c[s>>2]=N+(~(((N+-24-H|0)>>>0)/24|0)*24|0)}else Pc(e,P);P=c[q>>2]|0;H=c[f>>2]|0;N=P-H>>2;R=H;H=P;if(Q>>>0<=N>>>0){if(Q>>>0>>0?(P=R+(Q<<2)|0,(H|0)!=(P|0)):0)c[q>>2]=H+(~((H+-4-P|0)>>>2)<<2)}else Qc(f,Q-N|0);N=c[e>>2]|0;Q=(((c[s>>2]|0)-N|0)/24|0)+-1|0;if(Q>>>0>>0)S=K;else{P=Q;Q=I;H=N;while(1){N=Q+16|0;R=H+(P*24|0)|0;c[R>>2]=c[N>>2];c[R+4>>2]=c[N+4>>2];c[R+8>>2]=c[N+8>>2];c[R+12>>2]=c[N+12>>2];c[R+16>>2]=c[N+16>>2];b[R+20>>1]=b[N+20>>1]|0;if(!((y&b[Q+10>>1])<<16>>16)){N=c[e>>2]|0;c[N+(P*24|0)+16>>2]=c[Q+4>>2];T=b[Q+8>>1]|0;U=N}else{N=c[e>>2]|0;c[N+(P*24|0)+16>>2]=c[z>>2];T=8;U=N}b[U+(P*24|0)+20>>1]=T;c[(c[f>>2]|0)+(P<<2)>>2]=Q;N=P+-1|0;if(N>>>0>>0){S=K;break c}P=N;Q=c[Q+104>>2]|0;H=c[e>>2]|0}}}else{H=c[m>>2]|0;if((D|0)!=((c[r>>2]|0)-H>>2|0)){Q=c[H+(K<<2)>>2]|0;V=+h[Q+16>>3];W=+h[Q+24>>3];c[j>>2]=c[z>>2];h[j+8>>3]=V;h[j+16>>3]=W;Pb(11583,j);go(B)|0;S=C;break}xc(11514,k);a[A>>0]=a[A>>0]|1;Q=(c[n>>2]|0)+16|0;H=c[s>>2]|0;if((H|0)==(c[t>>2]|0))Oc(e,Q);else{c[H>>2]=c[Q>>2];c[H+4>>2]=c[Q+4>>2];c[H+8>>2]=c[Q+8>>2];c[H+12>>2]=c[Q+12>>2];c[H+16>>2]=c[Q+16>>2];c[H+20>>2]=c[Q+20>>2];c[s>>2]=(c[s>>2]|0)+24}Q=c[n>>2]|0;c[o>>2]=Q;H=c[q>>2]|0;if((H|0)==(c[u>>2]|0))jc(f,o);else{c[H>>2]=Q;c[q>>2]=(c[q>>2]|0)+4}if((((c[s>>2]|0)-(c[e>>2]|0)|0)/24|0)>>>0>1)S=C;else break b}while(0);sf(i);K=c[r>>2]|0;E=c[m>>2]|0;I=E;if(D>>>0>=K-E>>2>>>0){X=K;Y=s;Z=e;_=z;$=I;break a}else{C=S;F=K;G=I}}ta(11542,10776,1145,11559)}else{X=v;Y=s;Z=e;_=d+4|0;$=w}while(0);w=X;X=c[Z>>2]|0;Z=(((c[Y>>2]|0)-X|0)/24|0)+-1|0;Y=X;c[Y+(Z*24|0)+16>>2]=c[_>>2]|-2147483648;b[Y+(Z*24|0)+20>>1]=8;if(!$){l=g;return}if((w|0)!=($|0))c[r>>2]=w+(~((w+-4-$|0)>>>2)<<2);Yy($);l=g;return}function Lc(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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;f=c[a>>2]|0;g=f;h=(c[b>>2]|0)-g|0;b=f+(((h|0)/24|0)*24|0)|0;i=c[d>>2]|0;j=c[e>>2]|0;e=j-i|0;k=(e|0)/24|0;l=i;m=j;if((e|0)<=0){n=b;return n|0}e=a+8|0;o=c[e>>2]|0;p=a+4|0;q=c[p>>2]|0;r=q;if((k|0)<=((o-r|0)/24|0|0)){s=r-b|0;t=(s|0)/24|0;if((k|0)>(t|0)){u=l+(t*24|0)|0;t=u;if((u|0)==(m|0))v=q;else{w=q;x=u;while(1){c[w>>2]=c[x>>2];c[w+4>>2]=c[x+4>>2];c[w+8>>2]=c[x+8>>2];c[w+12>>2]=c[x+12>>2];c[w+16>>2]=c[x+16>>2];c[w+20>>2]=c[x+20>>2];x=x+24|0;u=(c[p>>2]|0)+24|0;c[p>>2]=u;if((x|0)==(m|0)){v=u;break}else w=u}}if((s|0)>0){y=t;z=v}else{n=b;return n|0}}else{y=j;z=q}j=z-(b+(k*24|0))|0;v=b+(((j|0)/24|0)*24|0)|0;if(v>>>0>>0){t=v;v=z;do{c[v>>2]=c[t>>2];c[v+4>>2]=c[t+4>>2];c[v+8>>2]=c[t+8>>2];c[v+12>>2]=c[t+12>>2];c[v+16>>2]=c[t+16>>2];c[v+20>>2]=c[t+20>>2];t=t+24|0;v=(c[p>>2]|0)+24|0;c[p>>2]=v}while(t>>>0>>0)}if(!j)A=i;else{MA(z+(((j|0)/-24|0)*24|0)|0,b|0,j|0)|0;A=c[d>>2]|0}d=y-A|0;if(!d){n=b;return n|0}MA(b|0,A|0,d|0)|0;n=b;return n|0}d=((r-g|0)/24|0)+k|0;if(d>>>0>178956970)rx(a);k=(o-g|0)/24|0;g=k<<1;o=k>>>0<89478485?(g>>>0>>0?d:g):178956970;g=b;d=(h|0)/24|0;do if(o)if(o>>>0>178956970){h=ua(8)|0;bz(h,20621);c[h>>2]=9140;Qa(h|0,1496,99)}else{B=Wy(o*24|0)|0;break}else B=0;while(0);h=B+(d*24|0)|0;d=h;k=B+(o*24|0)|0;if((l|0)==(m|0)){C=d;D=f}else{f=h;o=d;d=l;do{c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];c[f+16>>2]=c[d+16>>2];c[f+20>>2]=c[d+20>>2];f=o+24|0;o=f;d=d+24|0}while((d|0)!=(m|0));C=o;D=c[a>>2]|0}o=g-D|0;m=h+(((o|0)/-24|0)*24|0)|0;if((o|0)>0)EA(m|0,D|0,o|0)|0;o=(c[p>>2]|0)-g|0;if((o|0)>0){EA(C|0,b|0,o|0)|0;E=C+(((o>>>0)/24|0)*24|0)|0;F=c[a>>2]|0}else{E=C;F=D}c[a>>2]=m;c[p>>2]=E;c[e>>2]=k;if(!F){n=h;return n|0}Yy(F);n=h;return n|0}function Mc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;e=b+4|0;f=(c[e>>2]|0)-(c[b>>2]|0)|0;g=f>>2;if(!g)return;if(g>>>0>1073741823)rx(a);h=Wy(f)|0;c[d>>2]=h;c[a>>2]=h;c[a+8>>2]=h+(g<<2);g=c[b>>2]|0;b=(c[e>>2]|0)-g|0;if((b|0)<=0)return;EA(h|0,g|0,b|0)|0;c[d>>2]=h+(b>>>2<<2);return}function Nc(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,w=0,x=0,y=0,z=0,A=0;e=c[a>>2]|0;f=e;g=(c[b>>2]|0)-f|0;b=e+(g>>2<<2)|0;h=a+4|0;i=c[h>>2]|0;j=a+8|0;k=c[j>>2]|0;l=i;m=k;if(i>>>0>>0){if((b|0)==(i|0)){c[b>>2]=c[d>>2];c[h>>2]=(c[h>>2]|0)+4;n=b;return n|0}k=l-(b+4)|0;o=k>>2;p=b+(o<<2)|0;if(p>>>0>>0){q=p;p=i;do{c[p>>2]=c[q>>2];q=q+4|0;p=(c[h>>2]|0)+4|0;c[h>>2]=p}while(q>>>0>>0)}if(o|0)MA(i+(0-o<<2)|0,b|0,k|0)|0;if(b>>>0>d>>>0)r=d;else r=(c[h>>2]|0)>>>0>d>>>0?d+4|0:d;c[b>>2]=c[r>>2];n=b;return n|0}r=(l-f>>2)+1|0;if(r>>>0>1073741823)rx(a);l=m-f|0;f=l>>1;m=l>>2>>>0<536870911?(f>>>0>>0?r:f):1073741823;f=b;r=g>>2;do if(m)if(m>>>0>1073741823){l=ua(8)|0;bz(l,20621);c[l>>2]=9140;Qa(l|0,1496,99)}else{l=Wy(m<<2)|0;s=l;t=l;break}else{s=0;t=0}while(0);l=s+(r<<2)|0;k=l;o=s+(m<<2)|0;do if((r|0)==(m|0)){if((g|0)>0){i=l+(((m+1|0)/-2|0)<<2)|0;u=i;v=o;w=i;x=e;break}i=m<<2>>1;q=(i|0)==0?1:i;if(q>>>0>1073741823){i=ua(8)|0;bz(i,20621);c[i>>2]=9140;Qa(i|0,1496,99)}i=Wy(q<<2)|0;p=i+(q>>>2<<2)|0;y=p;z=i+(q<<2)|0;if(!s){u=y;v=z;w=p;x=e}else{Yy(t);u=y;v=z;w=p;x=c[a>>2]|0}}else{u=k;v=o;w=l;x=e}while(0);c[w>>2]=c[d>>2];d=u+4|0;w=u;u=f-x|0;e=w+(0-(u>>2)<<2)|0;if((u|0)>0)EA(e|0,x|0,u|0)|0;u=(c[h>>2]|0)-f|0;if((u|0)>0){EA(d|0,b|0,u|0)|0;A=d+(u>>>2<<2)|0}else A=d;d=c[a>>2]|0;c[a>>2]=e;c[h>>2]=A;c[j>>2]=v;if(!d){n=w;return n|0}Yy(d);n=w;return n|0}function Oc(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=(f|0)/24|0;h=g+1|0;if(h>>>0>178956970)rx(a);i=a+8|0;j=((c[i>>2]|0)-e|0)/24|0;k=j<<1;l=j>>>0<89478485?(k>>>0>>0?h:k):178956970;do if(l)if(l>>>0>178956970){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l*24|0)|0;break}else m=0;while(0);k=m+(g*24|0)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];c[k+16>>2]=c[b+16>>2];c[k+20>>2]=c[b+20>>2];b=k+(((f|0)/-24|0)*24|0)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+24;c[i>>2]=m+(l*24|0);if(!e)return;Yy(e);return}function Pc(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;d=a+8|0;e=c[d>>2]|0;f=a+4|0;g=c[f>>2]|0;if(((e-g|0)/24|0)>>>0>=b>>>0){h=b;i=g;do{ae(i);i=(c[f>>2]|0)+24|0;c[f>>2]=i;h=h+-1|0}while((h|0)!=0);return}h=c[a>>2]|0;i=(g-h|0)/24|0;g=i+b|0;if(g>>>0>178956970)rx(a);j=(e-h|0)/24|0;h=j<<1;e=j>>>0<89478485?(h>>>0>>0?g:h):178956970;do if(e)if(e>>>0>178956970){h=ua(8)|0;bz(h,20621);c[h>>2]=9140;Qa(h|0,1496,99)}else{k=Wy(e*24|0)|0;break}else k=0;while(0);h=k+(i*24|0)|0;i=k+(e*24|0)|0;e=b;b=h;k=h;do{ae(k);k=b+24|0;b=k;e=e+-1|0}while((e|0)!=0);e=c[a>>2]|0;k=(c[f>>2]|0)-e|0;g=h+(((k|0)/-24|0)*24|0)|0;if((k|0)>0)EA(g|0,e|0,k|0)|0;c[a>>2]=g;c[f>>2]=b;c[d>>2]=i;if(!e)return;Yy(e);return}function Qc(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;d=a+8|0;e=c[d>>2]|0;f=a+4|0;g=c[f>>2]|0;if(e-g>>2>>>0>=b>>>0){h=b;i=g;do{c[i>>2]=0;i=(c[f>>2]|0)+4|0;c[f>>2]=i;h=h+-1|0}while((h|0)!=0);return}h=c[a>>2]|0;i=g-h>>2;g=i+b|0;if(g>>>0>1073741823)rx(a);j=e-h|0;h=j>>1;e=j>>2>>>0<536870911?(h>>>0>>0?g:h):1073741823;do if(e)if(e>>>0>1073741823){h=ua(8)|0;bz(h,20621);c[h>>2]=9140;Qa(h|0,1496,99)}else{k=Wy(e<<2)|0;break}else k=0;while(0);h=k+(i<<2)|0;i=k+(e<<2)|0;e=b;b=h;k=h;do{c[k>>2]=0;k=b+4|0;b=k;e=e+-1|0}while((e|0)!=0);e=c[a>>2]|0;k=(c[f>>2]|0)-e|0;g=h+(0-(k>>2)<<2)|0;if((k|0)>0)EA(g|0,e|0,k|0)|0;c[a>>2]=g;c[f>>2]=b;c[d>>2]=i;if(!e)return;Yy(e);return}function Rc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;f=c[b+148>>2]|0;if(!f){l=d;return}Ad(e,f);if((e|0)!=(a|0))yc(a,c[e>>2]|0,c[e+4>>2]|0);a=c[e>>2]|0;if(a|0){f=e+4|0;e=c[f>>2]|0;if((e|0)!=(a|0))c[f>>2]=e+(~(((e+-24-a|0)>>>0)/24|0)*24|0);Yy(a)}l=d;return}function Sc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+64>>2]|0;if(b|0){d=a+68|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-8-b|0)>>>3)<<3);Yy(b)}b=c[a+52>>2]|0;if(b|0){e=a+56|0;d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~((d+-8-b|0)>>>3)<<3);Yy(b)}b=a+40|0;d=a+48|0;if(c[d>>2]|0?(e=c[a+44>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+28|0;d=a+36|0;if(c[d>>2]|0?(e=c[a+32>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=c[a+16>>2]|0;if(b|0){d=a+20|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-8-b|0)>>>3)<<3);Yy(b)}b=c[a+4>>2]|0;if(!b)return;e=a+8|0;a=c[e>>2]|0;if((a|0)!=(b|0))c[e>>2]=a+(~((a+-8-b|0)>>>3)<<3);Yy(b);return}function Tc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,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;e=l;l=l+48|0;f=e+36|0;g=e+24|0;h=e;a[b+d>>0]=1;i=b+4+(d*12|0)|0;j=b+4+(d*12|0)+4|0;k=(c[j>>2]|0)-(c[i>>2]|0)|0;m=k>>3;c[f>>2]=0;n=f+4|0;c[n>>2]=0;c[f+8>>2]=0;o=(m|0)==0;a:do if(!o){if(m>>>0>357913941)rx(f);p=m*12|0;q=Wy(p)|0;c[f>>2]=q;r=q+(m*12|0)|0;c[f+8>>2]=r;zA(q|0,0,p|0)|0;c[n>>2]=r;r=0;p=q;while(1){a[g>>0]=0;Uc(p+(r*12|0)|0,m,g);q=r+1|0;if(q>>>0>=m>>>0)break a;r=q;p=c[f>>2]|0}}while(0);c[g>>2]=0;p=g+4|0;c[p>>2]=0;c[g+8>>2]=0;do if(!o)if(m>>>0>1073741823)rx(g);else{r=k>>1;q=Wy(r)|0;c[g>>2]=q;s=q+(m<<2)|0;c[g+8>>2]=s;zA(q|0,0,r|0)|0;c[p>>2]=s;break}while(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;k=c[b+28+(d*12|0)+4>>2]|0;s=b+28+(d*12|0)|0;r=k;if((r|0)!=(s|0)){q=c[f>>2]|0;t=k;k=r;do{r=t;u=c[r+12>>2]|0;v=(c[q+((c[r+8>>2]|0)*12|0)>>2]|0)+(u>>>5<<2)|0;c[v>>2]=c[v>>2]|1<<(u&31);t=c[k+4>>2]|0;k=t}while((k|0)!=(s|0))}if(o){w=h+20|0;x=h+4|0;y=h+16|0;z=0;A=0}else{s=h+8|0;k=h+4|0;t=h+16|0;q=h+20|0;u=0;v=0;r=0;B=0;while(1){C=c[f>>2]|0;D=B>>>5;E=1<<(B&31);F=0;G=0;do{G=((c[(c[C+(F*12|0)>>2]|0)+(D<<2)>>2]&E|0)!=0&1)+G|0;F=F+1|0}while((F|0)!=(m|0));c[(c[g>>2]|0)+(B<<2)>>2]=G;if(!G){F=(c[s>>2]|0)-r|0;E=c[t>>2]|0;D=c[q>>2]|0;if((((F|0)==0?0:(F<<8)+-1|0)|0)==(D+E|0)){Vc(h);F=c[k>>2]|0;H=F;I=F;J=F;K=c[t>>2]|0;L=c[q>>2]|0;M=F}else{H=u;I=v;J=r;K=E;L=D;M=r}D=L+K|0;c[(c[M+(D>>>10<<2)>>2]|0)+((D&1023)<<2)>>2]=B;c[q>>2]=(c[q>>2]|0)+1;N=H;O=I;P=J}else{N=u;O=v;P=r}B=B+1|0;if(B>>>0>=m>>>0){w=q;x=k;y=t;z=O;A=N;break}else{u=N;v=O;r=P}}}P=c[w>>2]|0;r=c[y>>2]|0;O=z+(r>>>10<<2)|0;b:do if(!P){Q=O;R=r;S=z;T=h+8|0}else{v=b+52+(d*12|0)+4|0;N=b+52+(d*12|0)+8|0;u=b+52+(d*12|0)|0;t=h+8|0;k=O;q=r;B=P;J=A;while(1){I=c[(c[k>>2]|0)+((q&1023)<<2)>>2]|0;H=c[i>>2]|0;if(I>>>0>=(c[j>>2]|0)-H>>3>>>0)break;c[w>>2]=B+-1;M=q+1|0;c[y>>2]=M;if(M>>>0>2047){Yy(c[J>>2]|0);c[x>>2]=(c[x>>2]|0)+4;c[y>>2]=(c[y>>2]|0)+-1024;U=c[i>>2]|0}else U=H;H=U+(I<<3)|0;M=c[v>>2]|0;if((M|0)==(c[N>>2]|0))Wc(u,H);else{K=H;H=c[K+4>>2]|0;L=M;c[L>>2]=c[K>>2];c[L+4>>2]=H;c[v>>2]=(c[v>>2]|0)+8}if(!o){H=0;do{L=(c[(c[f>>2]|0)+(I*12|0)>>2]|0)+(H>>>5<<2)|0;K=1<<(H&31);M=c[L>>2]|0;if(M&K|0?(c[L>>2]=M&~K,K=(c[g>>2]|0)+(H<<2)|0,M=(c[K>>2]|0)+-1|0,c[K>>2]=M,(M|0)==0):0){M=c[x>>2]|0;K=(c[t>>2]|0)-M|0;L=c[y>>2]|0;s=c[w>>2]|0;if((((K|0)==0?0:(K<<8)+-1|0)|0)==(s+L|0)){Vc(h);V=c[y>>2]|0;W=c[w>>2]|0;X=c[x>>2]|0}else{V=L;W=s;X=M}M=W+V|0;c[(c[X+(M>>>10<<2)>>2]|0)+((M&1023)<<2)>>2]=H;c[w>>2]=(c[w>>2]|0)+1}H=H+1|0}while(H>>>0>>0)}B=c[w>>2]|0;H=c[x>>2]|0;I=c[y>>2]|0;M=H+(I>>>10<<2)|0;if(!B){Q=M;R=I;S=H;T=t;break b}else{k=M;q=I;J=H}}ta(11732,10776,1461,11754)}while(0);m=c[T>>2]|0;X=m;V=S;if((m|0)==(S|0)){Y=0;Z=0}else{W=R&1023;Y=(c[S+(R>>>10<<2)>>2]|0)+(W<<2)|0;Z=(c[Q>>2]|0)+(W<<2)|0}W=Q;Q=Z;c:while(1){Z=Q;do{R=Z;if((R|0)==(Y|0))break c;Z=R+4|0}while((Z-(c[W>>2]|0)|0)!=4096);Z=W+4|0;W=Z;Q=c[Z>>2]|0}c[w>>2]=0;w=X-V>>2;if(w>>>0>2){V=S;do{Yy(c[V>>2]|0);V=(c[x>>2]|0)+4|0;c[x>>2]=V;_=c[T>>2]|0;$=_-V>>2}while($>>>0>2);aa=$;ba=_}else{aa=w;ba=m}switch(aa|0){case 1:{ca=512;da=54;break}case 2:{ca=1024;da=54;break}default:{}}if((da|0)==54)c[y>>2]=ca;ca=c[x>>2]|0;if((ca|0)!=(ba|0)){y=ca;do{Yy(c[y>>2]|0);y=y+4|0}while((y|0)!=(ba|0));ba=c[x>>2]|0;x=c[T>>2]|0;if((x|0)!=(ba|0))c[T>>2]=x+(~((x+-4-ba|0)>>>2)<<2)}ba=c[h>>2]|0;if(ba|0)Yy(ba);ba=c[g>>2]|0;if(ba|0){g=c[p>>2]|0;if((g|0)!=(ba|0))c[p>>2]=g+(~((g+-4-ba|0)>>>2)<<2);Yy(ba)}ba=c[f>>2]|0;if(!ba){l=e;return}g=c[n>>2]|0;if((g|0)==(ba|0))ea=ba;else{p=g;while(1){g=p+-12|0;c[n>>2]=g;h=c[g>>2]|0;if(!h)fa=g;else{Yy(h);fa=c[n>>2]|0}if((fa|0)==(ba|0))break;else p=fa}ea=c[f>>2]|0}Yy(ea);l=e;return}function Uc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;f=l;l=l+16|0;g=f;h=b+4|0;c[h>>2]=0;if(!d){l=f;return}i=b+8|0;j=c[i>>2]|0;k=j<<5;if(k>>>0>>0){c[g>>2]=0;m=g+4|0;c[m>>2]=0;n=g+8|0;c[n>>2]=0;if((d|0)<0)rx(b);o=j<<6;j=d+31&-32;Zc(g,k>>>0<1073741823?(o>>>0>>0?j:o):2147483647);o=c[b>>2]|0;c[b>>2]=c[g>>2];c[g>>2]=o;g=c[h>>2]|0;c[h>>2]=d;c[m>>2]=g;g=c[i>>2]|0;c[i>>2]=c[n>>2];c[n>>2]=g;if(o|0)Yy(o);p=b}else{c[h>>2]=d;p=b}b=c[p>>2]|0;p=b;h=b;b=d>>>5;o=b<<2;if(!(a[e>>0]|0)){zA(h|0,0,o|0)|0;e=d-(b<<5)|0;g=p+(b<<2)|0;if(!e){l=f;return}c[g>>2]=c[g>>2]&~(-1>>>(32-e|0));l=f;return}else{zA(h|0,-1,o|0)|0;o=d-(b<<5)|0;d=p+(b<<2)|0;if(!o){l=f;return}c[d>>2]=c[d>>2]|-1>>>(32-o|0);l=f;return}}function Vc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+32|0;d=b;e=a+16|0;f=c[e>>2]|0;if(f>>>0>1023){c[e>>2]=f+-1024;f=a+4|0;e=c[f>>2]|0;g=c[e>>2]|0;h=e+4|0;c[f>>2]=h;e=a+8|0;i=c[e>>2]|0;j=a+12|0;k=c[j>>2]|0;m=k;n=i;do if((i|0)==(k|0)){o=c[a>>2]|0;p=o;if(h>>>0>o>>>0){q=h;r=((q-p>>2)+1|0)/-2|0;s=h+(r<<2)|0;t=n-q|0;q=t>>2;if(!q)u=h;else{MA(s|0,h|0,t|0)|0;u=c[f>>2]|0}t=s+(q<<2)|0;c[e>>2]=t;c[f>>2]=u+(r<<2);v=t;break}t=m-p>>1;p=(t|0)==0?1:t;if(p>>>0>1073741823){t=ua(8)|0;bz(t,20621);c[t>>2]=9140;Qa(t|0,1496,99)}t=Wy(p<<2)|0;r=t;q=t+(p>>>2<<2)|0;s=q;w=t+(p<<2)|0;if((h|0)==(i|0)){x=s;y=o}else{o=q;q=s;p=h;do{c[o>>2]=c[p>>2];o=q+4|0;q=o;p=p+4|0}while((p|0)!=(i|0));x=q;y=c[a>>2]|0}c[a>>2]=r;c[f>>2]=s;c[e>>2]=x;c[j>>2]=w;if(!y)v=x;else{Yy(y);v=c[e>>2]|0}}else v=i;while(0);c[v>>2]=g;c[e>>2]=(c[e>>2]|0)+4;l=b;return}e=a+8|0;g=c[e>>2]|0;v=a+4|0;i=c[v>>2]|0;y=g-i|0;x=a+12|0;j=c[x>>2]|0;f=c[a>>2]|0;h=j-f|0;m=g;u=j;n=i;k=f;if(y>>>0>=h>>>0){p=h>>1;o=(p|0)==0?1:p;c[d+12>>2]=0;c[d+16>>2]=a+12;if(o>>>0>1073741823){p=ua(8)|0;bz(p,20621);c[p>>2]=9140;Qa(p|0,1496,99)}p=y>>2;t=Wy(o<<2)|0;c[d>>2]=t;z=t+(p<<2)|0;A=d+8|0;c[A>>2]=z;B=d+4|0;c[B>>2]=z;C=t+(o<<2)|0;D=d+12|0;c[D>>2]=C;E=t;F=Wy(4096)|0;G=C;C=z;do if((p|0)==(o|0)){if(z>>>0>t>>>0){H=z+((((C-E>>2)+1|0)/-2|0)<<2)|0;c[A>>2]=H;c[B>>2]=H;I=H;break}H=G-E>>1;J=(H|0)==0?1:H;if(J>>>0>1073741823){H=ua(8)|0;bz(H,20621);c[H>>2]=9140;Qa(H|0,1496,99)}else{H=Wy(J<<2)|0;K=H+(J>>>2<<2)|0;L=K;c[d>>2]=H;c[B>>2]=L;c[A>>2]=L;c[D>>2]=H+(J<<2);Yy(t);I=K;break}}else I=z;while(0);c[I>>2]=F;c[A>>2]=(c[A>>2]|0)+4;F=c[e>>2]|0;while(1){M=c[v>>2]|0;if((F|0)==(M|0))break;I=F+-4|0;Yc(d,I);F=I}I=M;M=c[a>>2]|0;c[a>>2]=c[d>>2];c[d>>2]=M;c[v>>2]=c[B>>2];c[B>>2]=I;B=c[e>>2]|0;c[e>>2]=c[A>>2];c[A>>2]=B;z=c[x>>2]|0;c[x>>2]=c[D>>2];c[D>>2]=z;z=B;if((z|0)!=(F|0))c[A>>2]=z+(~((z+-4-I|0)>>>2)<<2);if(M|0)Yy(M);l=b;return}if((j|0)==(g|0)){c[d>>2]=Wy(4096)|0;Xc(a,d);d=c[v>>2]|0;j=c[d>>2]|0;M=d+4|0;c[v>>2]=M;d=c[e>>2]|0;I=c[x>>2]|0;z=I;A=d;do if((d|0)==(I|0)){F=c[a>>2]|0;B=F;if(M>>>0>F>>>0){D=M;t=((D-B>>2)+1|0)/-2|0;E=M+(t<<2)|0;G=A-D|0;D=G>>2;if(!D)N=M;else{MA(E|0,M|0,G|0)|0;N=c[v>>2]|0}G=E+(D<<2)|0;c[e>>2]=G;c[v>>2]=N+(t<<2);O=G;break}G=z-B>>1;B=(G|0)==0?1:G;if(B>>>0>1073741823){G=ua(8)|0;bz(G,20621);c[G>>2]=9140;Qa(G|0,1496,99)}G=Wy(B<<2)|0;t=G;D=G+(B>>>2<<2)|0;E=D;C=G+(B<<2)|0;if((M|0)==(d|0)){P=E;Q=F}else{F=D;D=E;B=M;do{c[F>>2]=c[B>>2];F=D+4|0;D=F;B=B+4|0}while((B|0)!=(d|0));P=D;Q=c[a>>2]|0}c[a>>2]=t;c[v>>2]=E;c[e>>2]=P;c[x>>2]=C;if(!Q)O=P;else{Yy(Q);O=c[e>>2]|0}}else O=d;while(0);c[O>>2]=j;c[e>>2]=(c[e>>2]|0)+4;l=b;return}else{j=Wy(4096)|0;O=g;do if((m|0)==(u|0)){if(n>>>0>k>>>0){g=((i-f>>2)+1|0)/-2|0;d=n+(g<<2)|0;Q=y>>2;if(!Q)R=n;else{MA(d|0,i|0,y|0)|0;R=c[v>>2]|0}P=d+(Q<<2)|0;c[e>>2]=P;c[v>>2]=R+(g<<2);S=P;break}P=h>>1;g=(P|0)==0?1:P;if(g>>>0>1073741823){P=ua(8)|0;bz(P,20621);c[P>>2]=9140;Qa(P|0,1496,99)}P=Wy(g<<2)|0;Q=P;d=P+(g>>>2<<2)|0;M=d;z=P+(g<<2)|0;if((n|0)==(m|0)){T=M;U=k}else{g=d;d=M;P=n;do{c[g>>2]=c[P>>2];g=d+4|0;d=g;P=P+4|0}while((P|0)!=(m|0));T=d;U=c[a>>2]|0}c[a>>2]=Q;c[v>>2]=M;c[e>>2]=T;c[x>>2]=z;if(!U)S=T;else{Yy(U);S=c[e>>2]|0}}else S=O;while(0);c[S>>2]=j;c[e>>2]=(c[e>>2]|0)+4;l=b;return}}function Wc(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>3;h=g+1|0;if(h>>>0>536870911)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>2;l=j>>3>>>0<268435455?(k>>>0>>0?h:k):536870911;do if(l)if(l>>>0>536870911){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<3)|0;break}else m=0;while(0);k=m+(g<<3)|0;h=b;b=c[h+4>>2]|0;j=k;c[j>>2]=c[h>>2];c[j+4>>2]=b;b=k+(0-g<<3)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+8;c[i>>2]=m+(l<<3);if(!e)return;Yy(e);return}function Xc(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;d=a+4|0;e=c[d>>2]|0;f=c[a>>2]|0;g=f;do if((e|0)==(f|0)){h=a+8|0;i=c[h>>2]|0;j=a+12|0;k=c[j>>2]|0;l=k;if(i>>>0>>0){k=i;m=((l-k>>2)+1|0)/2|0;n=i+(m<<2)|0;o=k-e|0;k=o>>2;p=n+(0-k<<2)|0;if(!k){q=n;r=i}else{MA(p|0,e|0,o|0)|0;q=p;r=c[h>>2]|0}c[d>>2]=q;c[h>>2]=r+(m<<2);s=q;break}m=l-g>>1;l=(m|0)==0?1:m;if(l>>>0>1073741823){m=ua(8)|0;bz(m,20621);c[m>>2]=9140;Qa(m|0,1496,99)}m=Wy(l<<2)|0;p=m;o=m+((l+3|0)>>>2<<2)|0;n=o;k=m+(l<<2)|0;if((e|0)==(i|0)){t=n;u=e}else{l=o;m=n;v=e;do{c[l>>2]=c[v>>2];l=m+4|0;m=l;v=v+4|0}while((v|0)!=(i|0));t=m;u=c[a>>2]|0}c[a>>2]=p;c[d>>2]=n;c[h>>2]=t;c[j>>2]=k;if(!u)s=o;else{Yy(u);s=c[d>>2]|0}}else s=e;while(0);c[s+-4>>2]=c[b>>2];c[d>>2]=(c[d>>2]|0)+-4;return}function Yc(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;d=a+4|0;e=c[d>>2]|0;f=c[a>>2]|0;g=f;do if((e|0)==(f|0)){h=a+8|0;i=c[h>>2]|0;j=a+12|0;k=c[j>>2]|0;l=k;if(i>>>0>>0){k=i;m=((l-k>>2)+1|0)/2|0;n=i+(m<<2)|0;o=k-e|0;k=o>>2;p=n+(0-k<<2)|0;if(!k){q=n;r=i}else{MA(p|0,e|0,o|0)|0;q=p;r=c[h>>2]|0}c[d>>2]=q;c[h>>2]=r+(m<<2);s=q;break}m=l-g>>1;l=(m|0)==0?1:m;if(l>>>0>1073741823){m=ua(8)|0;bz(m,20621);c[m>>2]=9140;Qa(m|0,1496,99)}m=Wy(l<<2)|0;p=m;o=m+((l+3|0)>>>2<<2)|0;n=o;k=m+(l<<2)|0;if((e|0)==(i|0)){t=n;u=e}else{l=o;m=n;v=e;do{c[l>>2]=c[v>>2];l=m+4|0;m=l;v=v+4|0}while((v|0)!=(i|0));t=m;u=c[a>>2]|0}c[a>>2]=p;c[d>>2]=n;c[h>>2]=t;c[j>>2]=k;if(!u)s=o;else{Yy(u);s=c[d>>2]|0}}else s=e;while(0);c[s+-4>>2]=c[b>>2];c[d>>2]=(c[d>>2]|0)+-4;return}function Zc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;d=l;l=l+32|0;e=d+16|0;f=d+8|0;g=d;h=a+8|0;if(c[h>>2]<<5>>>0>=b>>>0){l=d;return}c[e>>2]=0;i=e+4|0;c[i>>2]=0;j=e+8|0;c[j>>2]=0;if((b|0)<0)rx(e);k=((b+-1|0)>>>5)+1|0;c[e>>2]=Wy(k<<2)|0;c[i>>2]=0;c[j>>2]=k;k=c[a>>2]|0;c[f>>2]=k;c[f+4>>2]=0;b=a+4|0;m=c[b>>2]|0;c[g>>2]=k+(m>>>5<<2);c[g+4>>2]=m&31;_c(e,f,g);g=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=g;e=c[b>>2]|0;c[b>>2]=c[i>>2];c[i>>2]=e;e=c[h>>2]|0;c[h>>2]=c[j>>2];c[j>>2]=e;if(g|0)Yy(g);l=d;return}function _c(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=l;l=l+32|0;f=e+24|0;g=e+16|0;h=e+8|0;i=e;j=a+4|0;k=c[j>>2]|0;m=c[b>>2]|0;n=c[b+4>>2]|0;b=c[d>>2]|0;o=c[d+4>>2]|0;d=b-m<<3;c[j>>2]=k-n+o+d;j=(c[a>>2]|0)+(k>>>5<<2)|0;a=k&31;k=j;if((n|0)!=(a|0)){c[f>>2]=m;c[f+4>>2]=n;c[g>>2]=b;c[g+4>>2]=o;c[h>>2]=k;c[h+4>>2]=a;$c(i,f,g,h);l=e;return}h=o-n+d|0;d=m;if((h|0)>0){if(!n){p=h;q=j;r=0;s=m;t=d}else{m=32-n|0;o=(h|0)<(m|0)?h:m;g=-1>>>(m-o|0)&-1<>2]=c[j>>2]&~g|c[d>>2]&g;g=o+n|0;m=d+4|0;p=h-o|0;q=j+(g>>>5<<2)|0;r=g&31;s=m;t=m}m=(p|0)/32|0;MA(q|0,s|0,m<<2|0)|0;s=p-(m<<5)|0;p=q+(m<<2)|0;q=p;if((s|0)>0){g=-1>>>(32-s|0);c[p>>2]=c[p>>2]&~g|c[t+(m<<2)>>2]&g;u=s;v=q}else{u=r;v=q}}else{u=n;v=k}c[i>>2]=v;c[i+4>>2]=u;l=e;return}function $c(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,y=0;f=c[b>>2]|0;g=b+4|0;h=c[g>>2]|0;i=((c[d>>2]|0)-f<<3)+(c[d+4>>2]|0)-h|0;d=f;if((i|0)<=0){j=e+4|0;k=c[e>>2]|0;c[a>>2]=k;l=a+4|0;m=c[j>>2]|0;c[l>>2]=m;return}if(!h){f=e+4|0;n=i;o=f;p=d;q=c[f>>2]|0}else{f=32-h|0;r=(i|0)<(f|0)?i:f;s=-1>>>(f-r|0)&-1<>2];d=e+4|0;h=c[d>>2]|0;f=32-h|0;t=f>>>0>>0?f:r;u=c[e>>2]|0;v=c[u>>2]&~(-1>>>(f-t|0)&-1<>2]=v;h=c[d>>2]|0;f=c[g>>2]|0;c[u>>2]=(h>>>0>f>>>0?s<>>(f-h|0))|v;v=(c[d>>2]|0)+t|0;h=u+(v>>>5<<2)|0;c[e>>2]=h;u=v&31;c[d>>2]=u;v=r-t|0;if((v|0)>0){f=c[h>>2]&~(-1>>>(32-v|0));c[h>>2]=f;c[h>>2]=s>>>((c[g>>2]|0)+t|0)|f;c[d>>2]=v;w=v}else w=u;u=(c[b>>2]|0)+4|0;c[b>>2]=u;n=i-r|0;o=d;p=u;q=w}w=32-q|0;u=-1<31){q=~u;d=n;r=p;do{i=c[r>>2]|0;v=c[e>>2]|0;f=c[v>>2]&q;c[v>>2]=f;c[v>>2]=i<>2]|f;f=v+4|0;c[e>>2]=f;c[f>>2]=c[f>>2]&u|i>>>w;d=d+-32|0;r=(c[b>>2]|0)+4|0;c[b>>2]=r}while((d|0)>31);x=n&31;y=r}else{x=n;y=p}if((x|0)<=0){j=o;k=c[e>>2]|0;c[a>>2]=k;l=a+4|0;m=c[j>>2]|0;c[l>>2]=m;return}p=c[y>>2]&-1>>>(32-x|0);y=(w|0)<(x|0)?w:x;n=c[e>>2]|0;r=c[n>>2]&~(-1<>2]&-1>>>(w-y|0));c[n>>2]=r;c[n>>2]=r|p<>2];r=(c[o>>2]|0)+y|0;w=n+(r>>>5<<2)|0;c[e>>2]=w;c[o>>2]=r&31;r=x-y|0;if((r|0)<=0){j=o;k=c[e>>2]|0;c[a>>2]=k;l=a+4|0;m=c[j>>2]|0;c[l>>2]=m;return}c[w>>2]=c[w>>2]&~(-1>>>(32-r|0))|p>>>y;c[o>>2]=r;j=o;k=c[e>>2]|0;c[a>>2]=k;l=a+4|0;m=c[j>>2]|0;c[l>>2]=m;return}function ad(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if(!(a[b+d>>0]|0))Tc(b,d);f=c[b+52+(d*12|0)+4>>2]|0;g=c[b+52+(d*12|0)>>2]|0;d=g;if((f|0)==(g|0)){h=-1;return h|0}b=f-g>>3;g=0;while(1){if((c[d+(g<<3)+4>>2]|0)==(e|0)){h=g;i=7;break}g=g+1|0;if(g>>>0>=b>>>0){h=-1;i=7;break}}if((i|0)==7)return h|0;return 0}function bd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,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;g=l;l=l+16|0;h=g+8|0;i=g;j=f?e:d;k=c[j>>2]|0;m=c[j+4>>2]|0;j=h;c[j>>2]=k;c[j+4>>2]=m;j=f?d:e;e=c[j>>2]|0;d=c[j+4>>2]|0;j=i;c[j>>2]=e;c[j+4>>2]=d;j=m;if((k|0)==(e|0)?(j|0)==(d|0):0)ta(11759,10776,1402,11774);d=a+4+(b*12|0)|0;e=a+4+(b*12|0)+4|0;f=c[e>>2]|0;n=c[d>>2]|0;o=n;p=f;a:do if((f|0)==(n|0))q=8;else{r=f-n>>3;s=0;while(1){if((c[o+(s<<3)+4>>2]|0)==(j|0)){t=s;u=f;v=n;break a}s=s+1|0;if(s>>>0>=r>>>0){q=8;break}}}while(0);if((q|0)==8){if((p|0)==(c[a+4+(b*12|0)+8>>2]|0)){Wc(d,h);w=c[e>>2]|0}else{h=f;c[h>>2]=k;c[h+4>>2]=m;m=(c[e>>2]|0)+8|0;c[e>>2]=m;w=m}m=c[d>>2]|0;t=(w-m>>3)+-1|0;u=w;v=m}m=v;w=u;b:do if((u|0)!=(v|0)){h=c[i+4>>2]|0;k=u-v>>3;f=0;while(1){if((c[m+(f<<3)+4>>2]|0)==(h|0)){x=f;break}f=f+1|0;if(f>>>0>=k>>>0)break b}y=a+28+(b*12|0)|0;z=Wy(16)|0;A=z+8|0;B=A;C=B;c[C>>2]=x;D=B+4|0;E=D;c[E>>2]=t;F=z+4|0;c[F>>2]=y;G=c[y>>2]|0;c[z>>2]=G;H=G+4|0;c[H>>2]=z;c[y>>2]=z;I=a+28+(b*12|0)+8|0;J=c[I>>2]|0;K=J+1|0;c[I>>2]=K;l=g;return}while(0);if((w|0)==(c[a+4+(b*12|0)+8>>2]|0)){Wc(d,i);L=c[e>>2]|0}else{w=i;i=c[w+4>>2]|0;m=u;c[m>>2]=c[w>>2];c[m+4>>2]=i;i=(c[e>>2]|0)+8|0;c[e>>2]=i;L=i}x=(L-(c[d>>2]|0)>>3)+-1|0;y=a+28+(b*12|0)|0;z=Wy(16)|0;A=z+8|0;B=A;C=B;c[C>>2]=x;D=B+4|0;E=D;c[E>>2]=t;F=z+4|0;c[F>>2]=y;G=c[y>>2]|0;c[z>>2]=G;H=G+4|0;c[H>>2]=z;c[y>>2]=z;I=a+28+(b*12|0)+8|0;J=c[I>>2]|0;K=J+1|0;c[I>>2]=K;l=g;return}function cd(a,d,e,f){a=a|0;d=d|0;e=e|0;f=+f;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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;g=l;l=l+32|0;h=g+16|0;i=g+12|0;j=g+8|0;k=g+4|0;m=g;n=e+8|0;o=c[n>>2]|0;p=e+12|0;if((o|0)==(c[p>>2]|0)){l=g;return}e=a+8|0;q=a+12|0;a=o;r=o;while(1){o=a;a:do if((a|0)!=(r|0)?(s=c[e>>2]|0,t=c[q>>2]|0,u=s,(u|0)!=(t|0)):0){v=o;w=s;s=u;u=t;while(1){t=s+-24|0;b:do if(!d){x=v;y=x+-24|0;z=((s|0)==(c[e>>2]|0)?u:s)+-24|0;if((y|0)==(c[n>>2]|0)?Id(z,s,y,f)|0:0){A=z;B=y;C=x;D=v;E=19;break}if(Id(z,s,x,f)|0){F=z;G=x;H=v;E=21}else{I=y;J=x;K=v;E=22}}else{x=s+-4|0;y=v;while(1){if((s|0)==(c[e>>2]|0))break;z=y;L=z+-24|0;if((L|0)==(c[n>>2]|0)?Id(t,s,L,f)|0:0){A=t;B=L;C=z;D=y;E=19;break b}if(Id(t,s,z,f)|0){F=t;G=z;H=y;E=21;break b}if((t|0)!=(c[e>>2]|0)){I=L;J=z;K=y;E=22;break b}if(!(Id(L,z,t,f)|0)){I=L;J=z;K=y;E=22;break b}b[x>>1]=dd(L,z,b[x>>1]|0)|0;c[k>>2]=y;c[h>>2]=c[k>>2];z=ed(n,h,t)|0;if((s|0)==(c[q>>2]|0)){M=z;break a}else y=z}N=y;O=s+24|0}while(0);if((E|0)==19){E=0;t=C+-4|0;b[t>>1]=dd(A,s,b[t>>1]|0)|0;c[i>>2]=w;c[h>>2]=c[i>>2];t=ed(e,h,B)|0;N=D;O=(t|0)==(c[e>>2]|0)?t:t+-24|0}else if((E|0)==21){E=0;t=G+20|0;b[t>>1]=dd(F,s,b[t>>1]|0)|0;c[j>>2]=w;c[h>>2]=c[j>>2];t=ed(e,h,G)|0;N=H;O=(t|0)==(c[e>>2]|0)?t:t+-24|0}else if((E|0)==22){E=0;if(Id(I,J,s,f)|0){t=s+20|0;b[t>>1]=dd(I,J,b[t>>1]|0)|0;c[m>>2]=K;c[h>>2]=c[m>>2];P=ed(n,h,s)|0}else P=K;N=P;O=s+24|0}u=c[q>>2]|0;if((O|0)==(u|0)){M=N;break}else{v=N;w=O;s=O}}}else M=o;while(0);o=M+24|0;if((o|0)==(c[p>>2]|0))break;a=o;r=c[n>>2]|0}l=g;return}function dd(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;g=l;l=l+16|0;i=g+8|0;j=g;a:do if(f<<16>>16==8){k=a+20|0;m=b[k>>1]|0;n=m&65535;if((m&-4)<<16>>16!=4){o=d+20|0;p=b[o>>1]|0;if((p&-4)<<16>>16==4)q=p&65535;else{if(((p|m)&65535)<4){l=g;return (m<<16>>16==p<<16>>16?n+4|0:n)|0}r=+h[a>>3]==+h[d>>3];if(!r?!(+h[a+8>>3]==+h[d+8>>3]):0)ta(11791,10776,1522,11824);if(m<<16>>16!=8){if(r){l=g;return ((m&-2)<<16>>16==2?6:4)|0}switch(m<<16>>16){case 3:case 0:{q=7;break a;break}default:{}}q=5;break}if(p<<16>>16==8){xc(11840,j);m=e[o>>1]|0;c[i>>2]=e[k>>1];c[i+4>>2]=m;xc(11907,i);q=8;break}if(r){q=(p&-2)<<16>>16==2?6:4;break}switch(p<<16>>16){case 3:case 0:{q=7;break a;break}default:{}}q=5}}else q=n}else q=f&65535;while(0);l=g;return q|0}function ed(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,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;f=c[a>>2]|0;g=f;h=(c[d>>2]|0)-g|0;d=f+(((h|0)/24|0)*24|0)|0;i=a+4|0;j=c[i>>2]|0;k=a+8|0;l=c[k>>2]|0;m=j;n=l;if(j>>>0>>0){if((d|0)==(j|0)){c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[d+16>>2]=c[e+16>>2];c[d+20>>2]=c[e+20>>2];c[i>>2]=(c[i>>2]|0)+24;o=d;return o|0}l=m-(d+24)|0;p=d+(((l|0)/24|0)*24|0)|0;if(p>>>0>>0){q=p;p=j;do{c[p>>2]=c[q>>2];c[p+4>>2]=c[q+4>>2];c[p+8>>2]=c[q+8>>2];c[p+12>>2]=c[q+12>>2];c[p+16>>2]=c[q+16>>2];c[p+20>>2]=c[q+20>>2];q=q+24|0;p=(c[i>>2]|0)+24|0;c[i>>2]=p}while(q>>>0>>0)}if(l|0)MA(j+(((l|0)/-24|0)*24|0)|0,d|0,l|0)|0;if(d>>>0>e>>>0)r=e;else r=(c[i>>2]|0)>>>0>e>>>0?e+24|0:e;c[d>>2]=c[r>>2];c[d+4>>2]=c[r+4>>2];c[d+8>>2]=c[r+8>>2];c[d+12>>2]=c[r+12>>2];c[d+16>>2]=c[r+16>>2];b[d+20>>1]=b[r+20>>1]|0;o=d;return o|0}r=((m-g|0)/24|0)+1|0;if(r>>>0>178956970)rx(a);m=(n-g|0)/24|0;g=m<<1;n=m>>>0<89478485?(g>>>0>>0?r:g):178956970;g=d;r=(h|0)/24|0;do if(n)if(n>>>0>178956970){m=ua(8)|0;bz(m,20621);c[m>>2]=9140;Qa(m|0,1496,99)}else{m=Wy(n*24|0)|0;s=m;t=m;break}else{s=0;t=0}while(0);m=s+(r*24|0)|0;l=m;j=s+(n*24|0)|0;do if((r|0)==(n|0)){if((h|0)>0){q=m+(((n+1|0)/-2|0)*24|0)|0;u=q;v=j;w=q;x=f;break}q=n*24|0;p=(q|0)==0?1:((q|0)/24|0)<<1;q=p>>>2;do if(p)if(p>>>0>178956970){y=ua(8)|0;bz(y,20621);c[y>>2]=9140;Qa(y|0,1496,99)}else{z=Wy(p*24|0)|0;break}else z=0;while(0);y=z+(q*24|0)|0;A=y;B=z+(p*24|0)|0;if(!s){u=A;v=B;w=y;x=f}else{Yy(t);u=A;v=B;w=y;x=c[a>>2]|0}}else{u=l;v=j;w=m;x=f}while(0);c[w>>2]=c[e>>2];c[w+4>>2]=c[e+4>>2];c[w+8>>2]=c[e+8>>2];c[w+12>>2]=c[e+12>>2];c[w+16>>2]=c[e+16>>2];c[w+20>>2]=c[e+20>>2];e=u+24|0;w=u;u=g-x|0;f=w+(((u|0)/-24|0)*24|0)|0;if((u|0)>0)EA(f|0,x|0,u|0)|0;u=(c[i>>2]|0)-g|0;if((u|0)>0){EA(e|0,d|0,u|0)|0;C=e+(((u>>>0)/24|0)*24|0)|0}else C=e;e=c[a>>2]|0;c[a>>2]=f;c[i>>2]=C;c[k>>2]=v;if(!e){o=w;return o|0}Yy(e);o=w;return o|0}function fd(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;c[b>>2]=d;a[b+4>>0]=e&1;c[b+8>>2]=f;a[b+12>>0]=0;c[b+16>>2]=g;c[b+20>>2]=h;c[b+32>>2]=0;c[b+36>>2]=0;c[b+40>>2]=0;return}function gd(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,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,pa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0.0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0.0,Za=0.0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,gb=0,hb=0,ib=0.0,jb=0,kb=0.0,lb=0.0,mb=0,nb=0,ob=0,pb=0;i=l;l=l+224|0;j=i+112|0;k=i;m=e+24|0;c[m>>2]=0;n=e+28|0;c[n>>2]=0;o=e+48|0;h[o>>3]=1797693134862315708145274.0e284;p=e+56|0;h[p>>3]=1797693134862315708145274.0e284;q=e+16|0;r=c[q>>2]|0;s=(r|0)==0;if(s)t=0;else t=(c[r+8>>2]|0)==2;u=e+20|0;v=c[u>>2]|0;w=(v|0)==0;if(w)x=0;else x=(c[v+8>>2]|0)==2;if(s)y=0;else y=(a[r+16>>0]&64)!=0;if(w)z=0;else z=(a[v+16>>0]&64)!=0;v=t^1;t=x^1;if(z|(y|(a[e+12>>0]|0)!=0)|v|t){y=e+8|0;z=c[y>>2]|0;x=fb[c[(c[z>>2]|0)+16>>2]&127](z)|0;z=(a[e+4>>0]|0)!=0;cd(c[e>>2]|0,z,c[y>>2]|0,z?0.0:2.220446049250313e-16);z=c[y>>2]|0;A=f-x+(fb[c[(c[z>>2]|0)+16>>2]&127](z)|0)|0}else A=f;if(!A)ta(11926,10776,1782,11938);f=e+8|0;z=c[f>>2]|0;if(A>>>0>=(fb[c[(c[z>>2]|0)+16>>2]&127](z)|0)>>>0)ta(11954,10776,1783,11938);z=c[e>>2]|0;x=fb[c[(c[z>>2]|0)+16>>2]&127](z)|0;z=c[f>>2]|0;y=A+-1|0;w=c[z+8>>2]|0;r=w+(y*24|0)|0;s=w+(A*24|0)|0;B=fb[c[(c[z>>2]|0)+16>>2]&127](z)|0;z=B>>>0>>0?B:x;B=z>>>0>1073741823?-1:z<<2;z=Xy(B)|0;C=Xy(B)|0;B=e+4|0;D=d[B>>0]|0;if(D>>>0>=x>>>0){Zy(z);Zy(C);l=i;return}E=x<<1;F=e+40|0;G=v|t;H=C+4|0;I=C+8|0;J=z+4|0;K=z+8|0;L=e+36|0;M=j+4|0;N=k+4|0;O=j+4|0;P=k+4|0;Q=e+32|0;R=x+-1|0;S=j+4|0;T=j+56|0;U=k+56|0;V=A+-2|0;W=x+-2|0;X=w+(y*24|0)+8|0;y=j+4|0;Y=r;Z=k+4|0;_=j+4|0;$=k+4|0;aa=w+(A*24|0)+8|0;w=j+8|0;ba=(A|0)>-1;ca=A>>>0<2;da=D;a:while(1){D=da+-1|0;ea=c[(c[e>>2]|0)+8>>2]|0;fa=ea+((((D+x|0)>>>0)%(x>>>0)|0)*24|0)|0;ga=ea+(da*24|0)|0;ea=ce(r,fa)|0;ha=ce(s,fa)|0;ia=ce(s,ga)|0;ja=ce(r,ga)|0;b:do if(ea&ia|ha&ja){if(g){ka=ia?-1:1;la=ia;ma=ia?da:D;na=27}}else if(!(ha|ia|ja))if(ea){if((da|0)==1&(a[B>>0]|0)!=0)break;oa=da+-2|0;pa=((oa+x|0)>>>0)%(x>>>0)|0;if(ce(s,(c[(c[e>>2]|0)+8>>2]|0)+(pa*24|0)|0)|0|ca)break;qa=(c[(c[e>>2]|0)+8>>2]|0)+(pa*24|0)|0;pa=(c[(c[f>>2]|0)+8>>2]|0)+(V*24|0)|0;if(!(ce(pa,ga)|0)?!(ce(pa,qa)|0):0){if(!(da>>>0>1|(a[B>>0]|0)==0)){na=146;break a}ra=c[(c[f>>2]|0)+8>>2]|0;sa=ra+(V*24|0)|0;ua=Md(sa,r,s,(c[(c[e>>2]|0)+8>>2]|0)+((((W+da|0)>>>0)%(x>>>0)|0)*24|0)|0)|0;do if((ua|0)!=(Md(sa,r,s,ga)|0)){c[m>>2]=(c[m>>2]|0)+1;va=c[Q>>2]|0;if(!va)break;wa=va+4|0;xa=c[wa>>2]|0;do if(xa){ya=va+4|0;za=xa;while(1){Aa=za+16|0;if(fe(r,Aa)|0){Ba=c[za>>2]|0;if(!Ba){na=153;break}else{Ca=za;Da=Ba}}else{if(!(fe(Aa,r)|0)){na=158;break}Ea=za+4|0;Aa=c[Ea>>2]|0;if(!Aa){na=157;break}else{Ca=Ea;Da=Aa}}ya=Ca;za=Da}if((na|0)==153){na=0;Fa=za;Ga=za;break}else if((na|0)==157){na=0;Fa=Ea;Ga=za;break}else if((na|0)==158){na=0;Fa=ya;Ga=za;break}}else{Fa=wa;Ga=wa}while(0);if(c[Fa>>2]|0)break;wa=Wy(40)|0;xa=wa+16|0;c[xa>>2]=c[r>>2];c[xa+4>>2]=c[r+4>>2];c[xa+8>>2]=c[r+8>>2];c[xa+12>>2]=c[r+12>>2];c[xa+16>>2]=c[r+16>>2];c[xa+20>>2]=c[r+20>>2];c[wa>>2]=0;c[wa+4>>2]=0;c[wa+8>>2]=Ga;c[Fa>>2]=wa;xa=c[c[va>>2]>>2]|0;if(!xa)Ha=wa;else{c[va>>2]=xa;Ha=c[Fa>>2]|0}kd(c[va+4>>2]|0,Ha);xa=va+8|0;c[xa>>2]=(c[xa>>2]|0)+1}while(0);c[n>>2]=c[n>>2]|1;ua=c[L>>2]|0;if((ua|0)==0|v|t)break;Ia=+h[r>>3];if(+h[sa>>3]>3]>3];if(+h[ra+(V*24|0)+8>>3]>3]>2]|0;wa=fa;c[j>>2]=wa;c[y>>2]=ua;ua=c[u>>2]|0;c[k>>2]=Y;c[Z>>2]=ua;bd(xa,0,j,k,Ja^1);xa=ld(c[L>>2]|0,fa)|0;ua=c[q>>2]|0;c[j>>2]=wa;c[_>>2]=ua;ua=c[u>>2]|0;c[k>>2]=Y;c[$>>2]=ua;bd(xa,1,j,k,Ka^1);break}xa=ce(pa,qa)|0;ka=xa?-1:1;la=xa;ma=xa?da:oa;na=27;break}else{if(!G)break;ae(j);do if((Rd(r,s,fa,ga,j,w)|0)==1){c:do if(!(a[B>>0]|0)){do if(!(ce(r,j)|0)){if(ce(s,j)|0)break;if(ce(fa,j)|0)break;if(!(ce(ga,j)|0))break c}while(0);if(!(de(r,j)|0)){na=178;break a}if(!(de(s,j)|0)){na=180;break a}if(!(de(fa,j)|0)){na=182;break a}if(!(de(ga,j)|0)){na=184;break a}break b}while(0);c[m>>2]=(c[m>>2]|0)+1;va=c[Q>>2]|0;if(va|0){za=va+4|0;ya=c[za>>2]|0;do if(ya){xa=va+4|0;ua=ya;while(1){wa=ua+16|0;if(fe(j,wa)|0){Aa=c[ua>>2]|0;if(!Aa){na=190;break}else{La=ua;Ma=Aa}}else{if(!(fe(wa,j)|0)){na=195;break}Na=ua+4|0;wa=c[Na>>2]|0;if(!wa){na=194;break}else{La=Na;Ma=wa}}xa=La;ua=Ma}if((na|0)==190){na=0;Oa=ua;Pa=ua;break}else if((na|0)==194){na=0;Oa=Na;Pa=ua;break}else if((na|0)==195){na=0;Oa=xa;Pa=ua;break}}else{Oa=za;Pa=za}while(0);if(c[Oa>>2]|0)break;za=Wy(40)|0;ya=za+16|0;c[ya>>2]=c[j>>2];c[ya+4>>2]=c[j+4>>2];c[ya+8>>2]=c[j+8>>2];c[ya+12>>2]=c[j+12>>2];c[ya+16>>2]=c[j+16>>2];c[ya+20>>2]=c[j+20>>2];c[za>>2]=0;c[za+4>>2]=0;c[za+8>>2]=Pa;c[Oa>>2]=za;ya=c[c[va>>2]>>2]|0;if(!ya)Qa=za;else{c[va>>2]=ya;Qa=c[Oa>>2]|0}kd(c[va+4>>2]|0,Qa);ya=va+8|0;c[ya>>2]=(c[ya>>2]|0)+1}}while(0);break}while(0);if((na|0)==27){na=0;c[n>>2]=c[n>>2]|2;d:do if(ba){ga=0;fa=A;ea=ma;while(1){if(a[B>>0]|0?!((ea|0)>-1&(ea|0)<(x|0)):0){Ra=ga;break d}ja=((ea+E|0)>>>0)%(x>>>0)|0;ia=(c[f>>2]|0)+8|0;c[z+(ga<<2)>>2]=(c[ia>>2]|0)+(fa*24|0);ha=(c[e>>2]|0)+8|0;c[C+(ga<<2)>>2]=(c[ha>>2]|0)+(ja*24|0);D=ga+1|0;if(ga|0?de((c[ia>>2]|0)+(fa*24|0)|0,(c[ha>>2]|0)+(ja*24|0)|0)|0:0){Ra=D;break d}if((fa|0)>0){ga=D;fa=fa+-1|0;ea=ea+ka|0}else{Ra=D;break}}}else Ra=0;while(0);ea=ce(c[z>>2]|0,c[C>>2]|0)|0;fa=Ra+-1|0;ga=z+(fa<<2)|0;D=C+(fa<<2)|0;fa=ce(c[ga>>2]|0,c[D>>2]|0)|0;if((c[q>>2]|0)!=0?(ja=c[u>>2]|0,(ea|fa)&(ja|0)!=0):0){tc(j,ja);tc(k,c[q>>2]|0);if(ea)Sa=vd(T)|0;else Sa=vd(j)|0;if(la^fa)Ta=vd(U)|0;else Ta=vd(k)|0;rd(U);rd(k);rd(T);rd(j);Ua=(Sa|0)!=0&(Sa|0)==(Ta|0)}else Ua=0;if(c[F>>2]|0){ja=(ea^1)&1;ha=Ra-((fa^1)&1)|0;hd(j,ha-ja|0);if(ha>>>0>ja>>>0){ia=c[j>>2]|0;oa=ja;do{qa=c[z+(oa<<2)>>2]|0;pa=ia+((oa-ja|0)*24|0)|0;c[pa>>2]=c[qa>>2];c[pa+4>>2]=c[qa+4>>2];c[pa+8>>2]=c[qa+8>>2];c[pa+12>>2]=c[qa+12>>2];c[pa+16>>2]=c[qa+16>>2];b[pa+20>>1]=b[qa+20>>1]|0;oa=oa+1|0}while((oa|0)!=(ha|0))}ha=c[F>>2]|0;oa=ha+4|0;Va=c[oa>>2]|0;if((Va|0)==(c[ha+8>>2]|0)){id(ha,j);Wa=c[j>>2]|0}else{c[Va>>2]=0;ha=Va+4|0;c[ha>>2]=0;c[Va+8>>2]=0;ja=c[j>>2]|0;ia=(c[S>>2]|0)-ja|0;qa=(ia|0)/24|0;do if(!ia)Xa=ja;else{if(qa>>>0>178956970){na=48;break a}pa=Wy(ia)|0;c[ha>>2]=pa;c[Va>>2]=pa;c[Va+8>>2]=pa+(qa*24|0);ra=c[j>>2]|0;sa=(c[S>>2]|0)-ra|0;if((sa|0)<=0){Xa=ra;break}EA(pa|0,ra|0,sa|0)|0;c[ha>>2]=pa+(((sa>>>0)/24|0)*24|0);Xa=ra}while(0);c[oa>>2]=(c[oa>>2]|0)+12;Wa=Xa}if(Wa|0){ha=c[S>>2]|0;if((ha|0)!=(Wa|0))c[S>>2]=ha+(~(((ha+-24-Wa|0)>>>0)/24|0)*24|0);Yy(Wa)}}do if(!G){ha=z+(((ea^1)&1)<<2)|0;qa=z+(Ra-(fa?1:2)<<2)|0;Ia=+h[(ge(c[ha>>2]|0,0)|0)>>3];ia=Ia==+h[(ge(c[qa>>2]|0,0)|0)>>3];do if(Ua){do if(ia){Ia=+h[(ge(c[ha>>2]|0,0)|0)>>3];if(!(Ia==+h[(ge(c[(c[e>>2]|0)+8>>2]|0,0)|0)>>3])?!(Ia==+h[(ge((c[(c[e>>2]|0)+8>>2]|0)+(R*24|0)|0,0)|0)>>3]):0)break;if(Ia==+h[(ge(c[(c[f>>2]|0)+8>>2]|0,0)|0)>>3])break;ge((c[(c[f>>2]|0)+8>>2]|0)+(A*24|0)|0,0)|0}while(0);Ia=+h[(ge(c[ha>>2]|0,1)|0)>>3];if(Ia==+h[(ge(c[qa>>2]|0,1)|0)>>3]){Ia=+h[(ge(c[ha>>2]|0,1)|0)>>3];if(!(Ia==+h[(ge(c[(c[e>>2]|0)+8>>2]|0,1)|0)>>3])?!(Ia==+h[(ge((c[(c[e>>2]|0)+8>>2]|0)+(R*24|0)|0,1)|0)>>3]):0)break;if(Ia==+h[(ge(c[(c[f>>2]|0)+8>>2]|0,1)|0)>>3])break;ge((c[(c[f>>2]|0)+8>>2]|0)+(A*24|0)|0,1)|0}}else{do if(ia){Ia=+h[(ge(c[ha>>2]|0,0)|0)>>3];if(!(Ia==+h[(ge(c[(c[e>>2]|0)+8>>2]|0,0)|0)>>3])?!(Ia==+h[(ge((c[(c[e>>2]|0)+8>>2]|0)+(R*24|0)|0,0)|0)>>3]):0)break;if(!(Ia==+h[(ge(c[(c[f>>2]|0)+8>>2]|0,0)|0)>>3])?Ia!=+h[(ge((c[(c[f>>2]|0)+8>>2]|0)+(A*24|0)|0,0)|0)>>3]:0)break;c[n>>2]=c[n>>2]|8}while(0);Ia=+h[(ge(c[ha>>2]|0,1)|0)>>3];if(Ia==+h[(ge(c[qa>>2]|0,1)|0)>>3]){Ia=+h[(ge(c[ha>>2]|0,1)|0)>>3];if(!(Ia==+h[(ge(c[(c[e>>2]|0)+8>>2]|0,1)|0)>>3])?!(Ia==+h[(ge((c[(c[e>>2]|0)+8>>2]|0)+(R*24|0)|0,1)|0)>>3]):0)break;if(!(Ia==+h[(ge(c[(c[f>>2]|0)+8>>2]|0,1)|0)>>3])?Ia!=+h[(ge((c[(c[f>>2]|0)+8>>2]|0)+(A*24|0)|0,1)|0)>>3]:0)break;c[n>>2]=c[n>>2]|8}}while(0);if(!(ea|fa)){ha=z+(Ra+-2<<2)|0;Ia=+h[(ge(c[J>>2]|0,1)|0)>>3];do if(Ia==+h[(ge(c[ha>>2]|0,1)|0)>>3]){Ya=+h[(ge(c[J>>2]|0,0)|0)>>3];Za=+h[(ge(c[ha>>2]|0,0)|0)>>3];if(!(Ya==+h[(ge(c[z>>2]|0,0)|0)>>3]))break;if(!(Ya==+h[(ge(c[C>>2]|0,0)|0)>>3]))break;if(!(Za==+h[(ge(c[ga>>2]|0,0)|0)>>3]))break;if(!(Za==+h[(ge(c[D>>2]|0,0)|0)>>3]))break;if(!(jd(Ya,0,c[f>>2]|0,c[e>>2]|0)|0))break;if(!(jd(Za,0,c[f>>2]|0,c[e>>2]|0)|0))break;c[n>>2]=c[n>>2]|8}while(0);Ia=+h[(ge(c[J>>2]|0,0)|0)>>3];if(Ia==+h[(ge(c[ha>>2]|0,0)|0)>>3]){Ia=+h[(ge(c[J>>2]|0,1)|0)>>3];Za=+h[(ge(c[ha>>2]|0,1)|0)>>3];if(!(Ia==+h[(ge(c[z>>2]|0,1)|0)>>3]))break;if(!(Ia==+h[(ge(c[C>>2]|0,1)|0)>>3]))break;if(!(Za==+h[(ge(c[ga>>2]|0,1)|0)>>3]))break;if(!(Za==+h[(ge(c[D>>2]|0,1)|0)>>3]))break;if(!(jd(Ia,1,c[f>>2]|0,c[e>>2]|0)|0))break;if(!(jd(Za,1,c[f>>2]|0,c[e>>2]|0)|0))break;c[n>>2]=c[n>>2]|8}}}while(0);if(ea)_a=1;else _a=Md(c[z>>2]|0,c[J>>2]|0,c[K>>2]|0,c[C>>2]|0)|0;if(fa)$a=_a;else $a=Md(c[z+(Ra+-3<<2)>>2]|0,c[z+(Ra+-2<<2)>>2]|0,c[ga>>2]|0,c[D>>2]|0)|0;oa=ea?$a:_a;do if(($a|0)!=(oa|0)?(c[m>>2]=(c[m>>2]|0)+1,qa=c[Q>>2]|0,qa|0):0){ia=c[J>>2]|0;va=qa+4|0;ja=c[va>>2]|0;do if(ja){ra=qa+4|0;sa=ja;while(1){pa=sa+16|0;if(fe(ia,pa)|0){ya=c[sa>>2]|0;if(!ya){na=94;break}else{ab=sa;bb=ya}}else{if(!(fe(pa,ia)|0)){na=99;break}cb=sa+4|0;pa=c[cb>>2]|0;if(!pa){na=98;break}else{ab=cb;bb=pa}}ra=ab;sa=bb}if((na|0)==94){na=0;db=sa;eb=sa;break}else if((na|0)==98){na=0;db=cb;eb=sa;break}else if((na|0)==99){na=0;db=ra;eb=sa;break}}else{db=va;eb=va}while(0);if(c[db>>2]|0)break;va=Wy(40)|0;ja=va+16|0;c[ja>>2]=c[ia>>2];c[ja+4>>2]=c[ia+4>>2];c[ja+8>>2]=c[ia+8>>2];c[ja+12>>2]=c[ia+12>>2];c[ja+16>>2]=c[ia+16>>2];c[ja+20>>2]=c[ia+20>>2];c[va>>2]=0;c[va+4>>2]=0;c[va+8>>2]=eb;c[db>>2]=va;ja=c[c[qa>>2]>>2]|0;if(!ja)gb=va;else{c[qa>>2]=ja;gb=c[db>>2]|0}kd(c[qa+4>>2]|0,gb);ja=qa+8|0;c[ja>>2]=(c[ja>>2]|0)+1}while(0);do if(!(ea|fa)){if(G){hb=oa;break}ja=c[z>>2]|0;va=c[J>>2]|0;ha=c[K>>2]|0;Za=+h[ja>>3];Ia=+h[ja+8>>3];Ya=(+h[va>>3]-Za)*(+h[ha+8>>3]-Ia)-(+h[va+8>>3]-Ia)*(+h[ha>>3]-Za);ha=Ya<-0.0?-1:Ya>0.0&1;va=c[C>>2]|0;ja=c[H>>2]|0;pa=c[I>>2]|0;Ya=+h[va>>3];Za=+h[va+8>>3];Ia=(+h[ja>>3]-Ya)*(+h[pa+8>>3]-Za)-(+h[ja+8>>3]-Za)*(+h[pa>>3]-Ya);if(ha|0?(ha|0)==((Ia<-0.0?1:(Ia>0.0)<<31>>31)|0):0){hb=0-ha|0;break}else{ha=Ra+-3|0;pa=c[z+(ha<<2)>>2]|0;ja=Ra+-2|0;va=c[z+(ja<<2)>>2]|0;ya=c[ga>>2]|0;Ia=+h[pa>>3];Ya=+h[pa+8>>3];Za=(+h[va>>3]-Ia)*(+h[ya+8>>3]-Ya)-(+h[va+8>>3]-Ya)*(+h[ya>>3]-Ia);ya=Za<-0.0?-1:Za>0.0&1;va=c[C+(ha<<2)>>2]|0;ha=c[C+(ja<<2)>>2]|0;ja=c[D>>2]|0;Za=+h[va>>3];Ia=+h[va+8>>3];Ya=(+h[ha>>3]-Za)*(+h[ja+8>>3]-Ia)-(+h[ha+8>>3]-Ia)*(+h[ja>>3]-Za);hb=(ya|0?(ya|0)==((Ya<-0.0?1:(Ya>0.0)<<31>>31)|0):0)?0-ya|0:oa;break}}else{c[n>>2]=c[n>>2]|4;if(Ra>>>0>1){ib=0.0;jb=1}else{c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;hb=oa;break}while(1){ya=jb+-1|0;ja=z+(ya<<2)|0;do if(ce(c[ja>>2]|0,c[C+(ya<<2)>>2]|0)|0){ha=z+(jb<<2)|0;if(!(ce(c[ha>>2]|0,c[C+(jb<<2)>>2]|0)|0)){kb=ib;break}kb=ib+ +Od(c[ja>>2]|0,c[ha>>2]|0)}else kb=ib;while(0);jb=jb+1|0;if((jb|0)==(Ra|0))break;else ib=kb}h[p>>3]=kb;h[o>>3]=kb;qa=Ra>>>0>2;if(qa&fa){ia=c[C>>2]|0;ja=c[H>>2]|0;ya=c[I>>2]|0;Ya=+h[ia>>3];Za=+h[ia+8>>3];Ia=(+h[ja>>3]-Ya)*(+h[ya+8>>3]-Za)-(+h[ja+8>>3]-Za)*(+h[ya>>3]-Ya);if(!(Ia<-0.0)&!(Ia>0.0))h[o>>3]=kb+-200.0;ya=c[z>>2]|0;ja=c[J>>2]|0;ia=c[K>>2]|0;Ia=+h[ya>>3];Ya=+h[ya+8>>3];Za=(+h[ja>>3]-Ia)*(+h[ia+8>>3]-Ya)-(+h[ja+8>>3]-Ya)*(+h[ia>>3]-Ia);if(!(!(Za<-0.0)&!(Za>0.0))){hb=oa;break}h[p>>3]=kb+-200.0;hb=oa;break}if(!(ea&qa)){hb=oa;break}qa=Ra+-3|0;ia=c[C+(qa<<2)>>2]|0;ja=Ra+-2|0;ya=c[C+(ja<<2)>>2]|0;sa=c[D>>2]|0;Za=+h[ia>>3];Ia=+h[ia+8>>3];Ya=(+h[ya>>3]-Za)*(+h[sa+8>>3]-Ia)-(+h[ya+8>>3]-Ia)*(+h[sa>>3]-Za);if(!(Ya<-0.0)&!(Ya>0.0))h[o>>3]=kb+-200.0;sa=c[z+(qa<<2)>>2]|0;qa=c[z+(ja<<2)>>2]|0;ja=c[ga>>2]|0;Ya=+h[sa>>3];Za=+h[sa+8>>3];Ia=(+h[qa>>3]-Ya)*(+h[ja+8>>3]-Za)-(+h[qa+8>>3]-Za)*(+h[ja>>3]-Ya);if(!(!(Ia<-0.0)&!(Ia>0.0))){hb=oa;break}h[p>>3]=kb+-200.0;hb=oa}while(0);do if(c[L>>2]|0){oa=(ea^1)&1;if(Ra>>>0<=(ea?1:2)>>>0){na=128;break a}ga=Ra-((fa^1)&1)|0;if(oa>>>0>=ga>>>0)break;D=oa;ja=0;qa=(hb|0)>0;while(1){sa=c[z+(D<<2)>>2]|0;ya=c[C+(D<<2)>>2]|0;if(!(ce(sa,ya)|0)){na=132;break a}if(D>>>0>oa>>>0){ia=D+-1|0;ra=c[z+(ia<<2)>>2]|0;ha=c[C+(ia<<2)>>2]|0;Ia=+h[ra>>3];Ya=+h[ra+8>>3];Za=+h[sa>>3];lb=+h[sa+8>>3];if(Ia==Za)mb=lb>Ya;else mb=Za>2]|0,sa)|0;wa=c[q>>2]|0;c[j>>2]=ya;c[M>>2]=wa;wa=c[u>>2]|0;c[k>>2]=sa;c[N>>2]=wa;bd(za,pa,j,k,va);if(!(ce(ra,ha)|0)){na=141;break a}za=ld(c[L>>2]|0,ra)|0;wa=c[q>>2]|0;c[j>>2]=ha;c[O>>2]=wa;wa=c[u>>2]|0;c[k>>2]=ra;c[P>>2]=wa;bd(za,pa,j,k,va);ob=ia;pb=va}else{ob=ja;pb=qa}D=D+1|0;if(D>>>0>=ga>>>0)break;else{ja=ob;qa=pb}}}while(0);c[n>>2]=c[n>>2]|1}da=da+1|0;if(da>>>0>=x>>>0){na=204;break}}switch(na|0){case 48:{rx(Va);break}case 128:{ta(11975,10776,2257,11938);break}case 132:{ta(11996,10776,2272,11938);break}case 141:{ta(12005,10776,2300,11938);break}case 146:{ta(12014,10776,2360,11938);break}case 178:{ta(12038,10776,2459,11938);break}case 180:{ta(12048,10776,2460,11938);break}case 182:{ta(12058,10776,2461,11938);break}case 184:{ta(12068,10776,2462,11938);break}case 204:{Zy(z);Zy(C);l=i;return}}}function hd(a,b){a=a|0;b=b|0;var d=0,e=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;if(!b)return;if(b>>>0>178956970)rx(a);e=Wy(b*24|0)|0;c[d>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(b*24|0);a=b;b=e;do{ae(b);b=(c[d>>2]|0)+24|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function id(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;d=a+4|0;e=c[a>>2]|0;f=((c[d>>2]|0)-e|0)/12|0;g=f+1|0;if(g>>>0>357913941)rx(a);h=a+8|0;i=((c[h>>2]|0)-e|0)/12|0;e=i<<1;j=i>>>0<178956970?(e>>>0>>0?g:e):357913941;do if(j)if(j>>>0>357913941){e=ua(8)|0;bz(e,20621);c[e>>2]=9140;Qa(e|0,1496,99)}else{k=Wy(j*12|0)|0;break}else k=0;while(0);e=k+(f*12|0)|0;f=e;g=k+(j*12|0)|0;Ib(e,b);b=e+12|0;j=c[a>>2]|0;k=c[d>>2]|0;if((k|0)==(j|0)){l=f;m=j;n=j}else{i=k;k=f;f=e;do{i=i+-12|0;Ib(f+-12|0,i);f=k+-12|0;k=f}while((i|0)!=(j|0));l=k;m=c[a>>2]|0;n=c[d>>2]|0}c[a>>2]=l;c[d>>2]=b;c[h>>2]=g;g=m;if((n|0)!=(g|0)){h=n;do{n=h;h=h+-12|0;b=c[h>>2]|0;if(b|0){d=n+-8|0;n=c[d>>2]|0;if((n|0)!=(b|0))c[d>>2]=n+(~(((n+-24-b|0)>>>0)/24|0)*24|0);Yy(b)}}while((h|0)!=(g|0))}if(!m)return;Yy(m);return}function jd(a,b,d,e){a=+a;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0;f=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;g=f+-1|0;i=fb[c[(c[e>>2]|0)+16>>2]&127](e)|0;j=i+-1|0;k=d+8|0;if(+h[(he(c[k>>2]|0,b)|0)>>3]==a?+h[(he((c[k>>2]|0)+24|0,b)|0)>>3]==a:0)l=5;else l=3;if(((l|0)==3?+h[(he((c[k>>2]|0)+(g*24|0)|0,b)|0)>>3]==a:0)?+h[(he((c[k>>2]|0)+((f+-2|0)*24|0)|0,b)|0)>>3]==a:0)l=5;if((l|0)==5){l=e+8|0;if(+h[(he(c[l>>2]|0,b)|0)>>3]==a?+h[(he((c[l>>2]|0)+24|0,b)|0)>>3]==a:0){m=1;return m|0}if(+h[(he((c[l>>2]|0)+(j*24|0)|0,b)|0)>>3]==a?+h[(he((c[l>>2]|0)+((i+-2|0)*24|0)|0,b)|0)>>3]==a:0){m=1;return m|0}}m=0;return m|0}function kd(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;e=(d|0)==(b|0);a[d+12>>0]=e&1;if(e)return;else f=d;while(1){g=c[f+8>>2]|0;d=g+12|0;if(a[d>>0]|0){h=23;break}i=g+8|0;j=c[i>>2]|0;e=c[j>>2]|0;if((e|0)==(g|0)){k=c[j+4>>2]|0;if(!k){h=7;break}l=k+12|0;if(!(a[l>>0]|0))m=l;else{h=7;break}}else{if(!e){h=16;break}l=e+12|0;if(!(a[l>>0]|0))m=l;else{h=16;break}}a[d>>0]=1;d=(j|0)==(b|0);a[j+12>>0]=d&1;a[m>>0]=1;if(d){h=23;break}else f=j}if((h|0)==7){if((c[g>>2]|0)==(f|0)){n=g;o=j}else{m=g+4|0;b=c[m>>2]|0;d=c[b>>2]|0;c[m>>2]=d;if(!d)p=j;else{c[d+8>>2]=g;p=c[i>>2]|0}c[b+8>>2]=p;p=c[i>>2]|0;c[((c[p>>2]|0)==(g|0)?p:p+4|0)>>2]=b;c[b>>2]=g;c[i>>2]=b;n=b;o=c[b+8>>2]|0}a[n+12>>0]=1;a[o+12>>0]=0;n=c[o>>2]|0;b=n+4|0;p=c[b>>2]|0;c[o>>2]=p;if(p|0)c[p+8>>2]=o;p=o+8|0;c[n+8>>2]=c[p>>2];d=c[p>>2]|0;c[((c[d>>2]|0)==(o|0)?d:d+4|0)>>2]=n;c[b>>2]=o;c[p>>2]=n;return}else if((h|0)==16){if((c[g>>2]|0)==(f|0)){f=c[g>>2]|0;n=f+4|0;p=c[n>>2]|0;c[g>>2]=p;if(!p)q=j;else{c[p+8>>2]=g;q=c[i>>2]|0}c[f+8>>2]=q;q=c[i>>2]|0;c[((c[q>>2]|0)==(g|0)?q:q+4|0)>>2]=f;c[n>>2]=g;c[i>>2]=f;r=f;s=c[f+8>>2]|0}else{r=g;s=j}a[r+12>>0]=1;a[s+12>>0]=0;r=s+4|0;j=c[r>>2]|0;g=c[j>>2]|0;c[r>>2]=g;if(g|0)c[g+8>>2]=s;g=s+8|0;c[j+8>>2]=c[g>>2];r=c[g>>2]|0;c[((c[r>>2]|0)==(s|0)?r:r+4|0)>>2]=j;c[j>>2]=s;c[g>>2]=j;return}else if((h|0)==23)return}function ld(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,u=0,v=0,w=0;e=b+4|0;f=c[e>>2]|0;do if(f){g=b+4|0;h=f;while(1){i=h+16|0;if(fe(d,i)|0){j=c[h>>2]|0;if(!j){k=5;break}else{l=h;m=j}}else{if(!(fe(i,d)|0)){k=10;break}n=h+4|0;i=c[n>>2]|0;if(!i){k=9;break}else{l=n;m=i}}g=l;h=m}if((k|0)==5){o=h;p=h;break}else if((k|0)==9){o=n;p=h;break}else if((k|0)==10){i=c[g>>2]|0;q=g;r=h;s=i;t=i;k=12;break}}else{q=e;r=e;s=f;t=0;k=12}while(0);if((k|0)==12)if(!s){o=q;p=r}else{u=t;v=u+40|0;return v|0}t=Wy(120)|0;r=t+16|0;c[r>>2]=c[d>>2];c[r+4>>2]=c[d+4>>2];c[r+8>>2]=c[d+8>>2];c[r+12>>2]=c[d+12>>2];c[r+16>>2]=c[d+16>>2];c[r+20>>2]=c[d+20>>2];d=t+40|0;r=t+44|0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;c[r+16>>2]=0;c[r+20>>2]=0;r=t+68|0;c[r>>2]=r;c[t+72>>2]=r;c[t+76>>2]=0;r=t+80|0;c[r>>2]=r;c[t+84>>2]=r;r=t+88|0;a[d>>0]=0;a[d+1>>0]=0;c[r>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;c[r+16>>2]=0;c[r+20>>2]=0;c[r+24>>2]=0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=p;c[o>>2]=t;p=c[c[b>>2]>>2]|0;if(!p)w=t;else{c[b>>2]=p;w=c[o>>2]|0}kd(c[b+4>>2]|0,w);w=b+8|0;c[w>>2]=(c[w>>2]|0)+1;u=t;v=u+40|0;return v|0}function md(){Fh(27776,0,0,0);Fh(27784,0,0,b[4624]|0);return}function nd(a){a=a|0;c[a>>2]=3;be(a+8|0,0.0,0.0);c[a+32>>2]=15;c[a+36>>2]=2147483647;c[a+40>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;return}function od(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;c[a>>2]=0;e=a+8|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[e+20>>2]=c[b+20>>2];c[a+32>>2]=d;c[a+36>>2]=2147483647;c[a+40>>2]=0;c[a+44>>2]=0;c[a+48>>2]=0;return}function pd(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=l;l=l+32|0;g=f;c[a>>2]=1;h=a+8|0;be(h,0.0,0.0);c[a+32>>2]=15;i=a+36|0;c[i>>2]=e;c[a+40>>2]=d;c[a+44>>2]=0;c[a+48>>2]=0;if(!d)ta(12078,12097,88,12109);if(!e)ta(12117,12097,89,12109);db[c[(c[d>>2]|0)+8>>2]&63](g,d);c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[h+16>>2]=c[g+16>>2];b[h+20>>1]=b[g+20>>1]|0;if((c[i>>2]|0)==2147483647)ta(12147,12097,92,12109);else{l=f;return}}function qd(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=l;l=l+32|0;f=e;c[a>>2]=2;g=a+8|0;ae(g);c[a+32>>2]=15;c[a+36>>2]=2147483646;c[a+40>>2]=d;c[a+44>>2]=0;c[a+48>>2]=0;if(!d)ta(12078,12097,104,12109);else{db[c[(c[d>>2]|0)+8>>2]&63](f,d);c[g>>2]=c[f>>2];c[g+4>>2]=c[f+4>>2];c[g+8>>2]=c[f+8>>2];c[g+12>>2]=c[f+12>>2];c[g+16>>2]=c[f+16>>2];b[g+20>>1]=b[f+20>>1]|0;l=e;return}}function rd(a){a=a|0;return}function sd(a){a=a|0;return c[a>>2]|0}function td(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=l;l=l+48|0;e=d;f=c[b+48>>2]|0;if(!f){g=c[b+40>>2]|0;if(!g){h=b+8|0;c[a>>2]=c[h>>2];c[a+4>>2]=c[h+4>>2];c[a+8>>2]=c[h+8>>2];c[a+12>>2]=c[h+12>>2];c[a+16>>2]=c[h+16>>2];c[a+20>>2]=c[h+20>>2];l=d;return}else{db[c[(c[g>>2]|0)+8>>2]&63](a,g);l=d;return}}me(e);Qb(a,f,e);c[e>>2]=1624;f=c[e+32>>2]|0;if(f|0){a=e+36|0;g=c[a>>2]|0;if((g|0)!=(f|0))c[a>>2]=g+(~((g+-32-f|0)>>>5)<<5);Yy(f)}f=c[e+20>>2]|0;if(f|0){g=e+24|0;if((c[g>>2]|0)!=(f|0))c[g>>2]=f;Yy(f)}f=c[e+8>>2]|0;if(f|0){g=e+12|0;e=c[g>>2]|0;if((e|0)!=(f|0))c[g>>2]=e+(~(((e+-24-f|0)>>>0)/24|0)*24|0);Yy(f)}l=d;return}function ud(a){a=a|0;var b=0,d=0;b=c[a+48>>2]|0;if(!b){d=c[a+32>>2]|0;return d|0}else{d=Rb(b)|0;return d|0}return 0}function vd(a){a=a|0;var b=0,d=0;b=c[a+40>>2]|0;if(!b){d=0;return d|0}d=Pz(b,64,48,0)|0;return d|0}function wd(a){a=a|0;return ((c[a>>2]|0)+-1|0)>>>0<2|0}function xd(a){a=a|0;var d=0;d=c[a+44>>2]|0;if(!d)ta(12196,12097,176,12213);else return ((c[d+148>>2]|0)==(a|0)?b[4626]|0:b[4625]|0)&65535|0;return 0}function yd(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;d=a+48|0;if(c[d>>2]|0)ta(12226,12097,184,12245);c[d>>2]=b;if(!b)return;d=b+56|0;e=a;f=b+60|0;g=c[f>>2]|0;do if(g){h=b+60|0;i=g;while(1){j=c[i+16>>2]|0;if(j>>>0>a>>>0){k=c[i>>2]|0;if(!k){l=9;break}else{m=i;n=k}}else{if(j>>>0>=a>>>0){l=13;break}o=i+4|0;j=c[o>>2]|0;if(!j){l=12;break}else{m=o;n=j}}h=m;i=n}if((l|0)==9){p=i;q=i;break}else if((l|0)==12){p=o;q=i;break}else if((l|0)==13){p=h;q=i;break}}else{p=f;q=f}while(0);if(c[p>>2]|0)return;f=Wy(20)|0;c[f+16>>2]=e;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=q;c[p>>2]=f;q=c[c[d>>2]>>2]|0;if(!q)r=f;else{c[d>>2]=q;r=c[p>>2]|0}kd(c[b+60>>2]|0,r);r=b+64|0;c[r>>2]=(c[r>>2]|0)+1;return}function zd(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;if(c[a+48>>2]|0)ta(12226,12097,197,12252);d=c[a+40>>2]|0;e=c[d+84>>2]|0;f=d+88|0;if((e|0)==(f|0))return;else g=e;while(1){h=c[g+16>>2]|0;if((c[h+68>>2]|0)==(b|0))break;e=c[g+4>>2]|0;if(!e){d=g+8|0;i=c[d>>2]|0;if((c[i>>2]|0)==(g|0))j=i;else{i=d;do{d=c[i>>2]|0;i=d+8|0;k=c[i>>2]|0}while((c[k>>2]|0)!=(d|0));j=k}}else{i=e;while(1){k=c[i>>2]|0;if(!k)break;else i=k}j=i}if((j|0)==(f|0)){l=12;break}else g=j}if((l|0)==12)return;yd(a,h);return}function Ad(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[b+40>>2]|0;if(d|0?(e=c[b+36>>2]|0,(e|0)!=2147483647):0){Pf(a,d,e);return}c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;return}function Bd(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;b=a+48|0;d=c[b>>2]|0;if(!d){c[b>>2]=0;return}e=d+56|0;f=d+60|0;g=c[f>>2]|0;if(!g){c[b>>2]=0;return}else{h=f;i=g}a:while(1){j=i;while(1){if((c[j+16>>2]|0)>>>0>=a>>>0)break;k=c[j+4>>2]|0;if(!k){l=h;break a}else j=k}i=c[j>>2]|0;if(!i){l=j;break}else h=j}if((l|0)==(f|0)){c[b>>2]=0;return}if((c[l+16>>2]|0)>>>0>a>>>0){c[b>>2]=0;return}a=c[l+4>>2]|0;if(!a){f=l+8|0;h=c[f>>2]|0;if((c[h>>2]|0)==(l|0))m=h;else{h=f;do{f=c[h>>2]|0;h=f+8|0;i=c[h>>2]|0}while((c[i>>2]|0)!=(f|0));m=i}}else{h=a;while(1){a=c[h>>2]|0;if(!a)break;else h=a}m=h}if((c[e>>2]|0)==(l|0))c[e>>2]=m;m=d+64|0;c[m>>2]=(c[m>>2]|0)+-1;Cd(g,l);Yy(l);c[b>>2]=0;return}function Cd(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,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=c[d>>2]|0;if(e){f=c[d+4>>2]|0;if(!f){g=d;h=e}else{e=f;while(1){f=c[e>>2]|0;if(!f){g=e;h=0;break}else e=f}}}else{g=d;h=0}e=g+4|0;f=c[(h|0?g:e)>>2]|0;h=(f|0)==0;i=g+8|0;if(!h)c[f+8>>2]=c[i>>2];j=c[i>>2]|0;if((c[j>>2]|0)==(g|0)){c[j>>2]=f;if((g|0)==(b|0)){k=f;l=0}else{m=j+4|0;n=10}}else{c[j+4>>2]=f;m=j;n=10}if((n|0)==10){k=b;l=c[m>>2]|0}m=g+12|0;b=(a[m>>0]|0)==0;if((g|0)==(d|0))o=k;else{j=d+8|0;p=c[j>>2]|0;c[i>>2]=p;c[((c[c[j>>2]>>2]|0)==(d|0)?p:p+4|0)>>2]=g;p=c[d>>2]|0;c[g>>2]=p;c[p+8>>2]=g;p=c[d+4>>2]|0;c[e>>2]=p;if(p|0)c[p+8>>2]=g;a[m>>0]=a[d+12>>0]|0;o=(k|0)==(d|0)?g:k}if(b|(o|0)==0)return;if(h){q=l;r=o}else{a[f+12>>0]=1;return}while(1){f=c[q+8>>2]|0;o=q+12|0;l=(a[o>>0]|0)!=0;if((c[f>>2]|0)==(q|0)){if(l){s=q;t=r}else{a[o>>0]=1;a[f+12>>0]=0;h=c[f>>2]|0;b=h+4|0;k=c[b>>2]|0;c[f>>2]=k;if(k|0)c[k+8>>2]=f;k=f+8|0;c[h+8>>2]=c[k>>2];g=c[k>>2]|0;c[((c[g>>2]|0)==(f|0)?g:g+4|0)>>2]=h;c[b>>2]=f;c[k>>2]=h;h=c[q+4>>2]|0;s=c[h>>2]|0;t=(r|0)==(h|0)?q:r}u=c[s>>2]|0;v=(u|0)==0;if(!v?(a[u+12>>0]|0)==0:0){n=50;break}h=c[s+4>>2]|0;if(h|0?(a[h+12>>0]|0)==0:0){n=49;break}a[s+12>>0]=0;h=c[s+8>>2]|0;w=h+12|0;if((h|0)==(t|0)|(a[w>>0]|0)==0){n=48;break}else{x=t;y=h}}else{if(l){z=q;A=r}else{a[o>>0]=1;a[f+12>>0]=0;o=f+4|0;l=c[o>>2]|0;h=c[l>>2]|0;c[o>>2]=h;if(h|0)c[h+8>>2]=f;h=f+8|0;c[l+8>>2]=c[h>>2];o=c[h>>2]|0;c[((c[o>>2]|0)==(f|0)?o:o+4|0)>>2]=l;c[l>>2]=f;c[h>>2]=l;l=c[q>>2]|0;z=c[l+4>>2]|0;A=(r|0)==(l|0)?q:r}B=c[z>>2]|0;if(B|0?(a[B+12>>0]|0)==0:0){n=31;break}l=c[z+4>>2]|0;if(l|0?(a[l+12>>0]|0)==0:0){C=l;n=32;break}a[z+12>>0]=0;l=c[z+8>>2]|0;if((l|0)==(A|0)){D=A;n=30;break}if(!(a[l+12>>0]|0)){D=l;n=30;break}else{x=A;y=l}}l=c[y+8>>2]|0;q=c[((c[l>>2]|0)==(y|0)?l+4|0:l)>>2]|0;r=x}if((n|0)==30){a[D+12>>0]=1;return}else if((n|0)==31){D=c[z+4>>2]|0;if(!D)n=33;else{C=D;n=32}}else if((n|0)==48){a[w>>0]=1;return}else if((n|0)==49)if(v)n=51;else n=50;if((n|0)==32)if(!(a[C+12>>0]|0)){E=z;F=C;n=36}else n=33;else if((n|0)==50)if(!(a[u+12>>0]|0)){G=s;H=u;n=54}else n=51;if((n|0)==33){a[B+12>>0]=1;a[z+12>>0]=0;u=B+4|0;C=c[u>>2]|0;c[z>>2]=C;if(C|0)c[C+8>>2]=z;C=z+8|0;c[B+8>>2]=c[C>>2];v=c[C>>2]|0;c[((c[v>>2]|0)==(z|0)?v:v+4|0)>>2]=B;c[u>>2]=z;c[C>>2]=B;E=B;F=z;n=36}else if((n|0)==51){z=s+4|0;B=c[z>>2]|0;a[B+12>>0]=1;a[s+12>>0]=0;C=c[B>>2]|0;c[z>>2]=C;if(C|0)c[C+8>>2]=s;C=s+8|0;c[B+8>>2]=c[C>>2];z=c[C>>2]|0;c[((c[z>>2]|0)==(s|0)?z:z+4|0)>>2]=B;c[B>>2]=s;c[C>>2]=B;G=B;H=s;n=54}if((n|0)==36){s=c[E+8>>2]|0;B=s+12|0;a[E+12>>0]=a[B>>0]|0;a[B>>0]=1;a[F+12>>0]=1;F=s+4|0;B=c[F>>2]|0;E=c[B>>2]|0;c[F>>2]=E;if(E|0)c[E+8>>2]=s;E=s+8|0;c[B+8>>2]=c[E>>2];F=c[E>>2]|0;c[((c[F>>2]|0)==(s|0)?F:F+4|0)>>2]=B;c[B>>2]=s;c[E>>2]=B;return}else if((n|0)==54){n=c[G+8>>2]|0;B=n+12|0;a[G+12>>0]=a[B>>0]|0;a[B>>0]=1;a[H+12>>0]=1;H=c[n>>2]|0;B=H+4|0;G=c[B>>2]|0;c[n>>2]=G;if(G|0)c[G+8>>2]=n;G=n+8|0;c[H+8>>2]=c[G>>2];E=c[G>>2]|0;c[((c[E>>2]|0)==(n|0)?E:E+4|0)>>2]=H;c[B>>2]=n;c[G>>2]=H;return}}function Dd(a,b){a=a|0;b=b|0;var d=0,e=0;if(((c[a>>2]|0)+-1|0)>>>0>=2)ta(12265,12097,239,12283);d=c[a+40>>2]|0;if(!d)ta(12291,12097,240,12283);e=a+44|0;if(!(c[e>>2]|0)){_f(d,a);c[e>>2]=b;return}else ta(12304,12097,241,12283)}function Ed(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+32|0;f=e;g=a+44|0;if(!(c[g>>2]|0)){l=e;return}td(f,a);h=a+8|0;c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];c[h+16>>2]=c[f+16>>2];b[h+20>>1]=b[f+20>>1]|0;i=a+40|0;$f(c[i>>2]|0,a);c[g>>2]=0;if(!d){l=e;return}td(f,a);c[h>>2]=c[f>>2];c[h+4>>2]=c[f+4>>2];c[h+8>>2]=c[f+8>>2];c[h+12>>2]=c[f+12>>2];c[h+16>>2]=c[f+16>>2];b[h+20>>1]=b[f+20>>1]|0;c[i>>2]=0;c[a>>2]=0;c[a+36>>2]=2147483647;l=e;return}function Fd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0,w=0.0,x=0,y=0,z=0,A=0.0,B=0,C=0,D=0,E=0;f=l;l=l+48|0;g=f+24|0;i=f;j=b+40|0;k=c[j>>2]|0;if(!k)ta(12291,12097,279,12321);m=b+36|0;if((c[m>>2]|0)==2147483647)ta(12147,12097,280,12321);n=Xf(k)|0;k=c[j>>2]|0;o=c[k+84>>2]|0;if((o|0)!=(k+88|0)){k=e+16|0;e=n+381|0;p=n+380|0;q=d+16|0;r=0;s=o;while(1){o=c[s+16>>2]|0;do if((c[o+12>>2]|0)==(c[m>>2]|0)){if(a[o+44>>0]|0?c[o+64>>2]|0:0){t=r;break}u=+h[o+48>>3];v=o+68|0;ie(i,k,(c[v>>2]|0)+16|0);w=+Td(i);if(w<=45.0|w>=315.0)x=((Rb(o)|0)&8|0)!=0;else x=0;if(w>=45.0&w<=135.0)y=x|((Rb(o)|0)&2|0)!=0;else y=x;if(w>=135.0&w<=225.0)z=y|((Rb(o)|0)&4|0)!=0;else z=y;if(w>=225.0&w<=315.0)if(z|((Rb(o)|0)&1|0)!=0)A=u;else B=20;else if(z)A=u;else B=20;if((B|0)==20){B=0;A=u+ +ph(n,5)}if(a[e>>0]|0){C=Wy(72)|0;ve(C,d,c[v>>2]|0,1);u=+Od(q,(c[v>>2]|0)+16|0);Be(C,(A>.001?A:.001)+u)}if(a[p>>0]|0){C=Wy(72)|0;ve(C,d,c[v>>2]|0,0);u=+Nd(q,(c[v>>2]|0)+16|0);Be(C,(A>.001?A:.001)+u)}t=r+1|0}else t=r;while(0);o=c[s+4>>2]|0;if(!o){C=s+8|0;v=c[C>>2]|0;if((c[v>>2]|0)==(s|0))D=v;else{v=C;do{C=c[v>>2]|0;v=C+8|0;E=c[v>>2]|0}while((c[E>>2]|0)!=(C|0));D=E}}else{v=o;while(1){E=c[v>>2]|0;if(!E)break;else v=E}D=v}if((D|0)==((c[j>>2]|0)+88|0))break;else{r=t;s=D}}if(t|0){l=f;return}}t=nc(c[b+44>>2]|0)|0;b=Wf(c[j>>2]|0)|0;j=c[m>>2]|0;c[g>>2]=t;c[g+4>>2]=b;c[g+8>>2]=j;Pb(12343,g);l=f;return}function Gd(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=l;l=l+16|0;h=g;i=c[e+40>>2]|0;if(!i){Fh(h,0,8,b[4627]|0);j=Wy(160)|0;Oh(j,f,h,e+8|0,1);c[j+128>>2]=c[e+32>>2];if(a[f+380>>0]|0)ui(j,0,1,1);k=1;m=j;n=m;a[d>>0]=k;o=d+4|0;c[o>>2]=n;l=g;return}j=c[i+84>>2]|0;f=i+88|0;if((j|0)==(f|0))ta(12501,12097,391,12514);i=c[e+36>>2]|0;e=0;h=j;while(1){j=c[h+16>>2]|0;do if((c[j+12>>2]|0)==(i|0)){if(a[j+44>>0]|0?c[j+64>>2]|0:0){p=e;break}p=c[j+68>>2]|0}else p=e;while(0);j=c[h+4>>2]|0;if(!j){q=h+8|0;r=c[q>>2]|0;if((c[r>>2]|0)==(h|0))s=r;else{r=q;do{q=c[r>>2]|0;r=q+8|0;t=c[r>>2]|0}while((c[t>>2]|0)!=(q|0));s=t}}else{r=j;while(1){t=c[r>>2]|0;if(!t)break;else r=t}s=r}if((s|0)==(f|0))break;else{e=p;h=s}}if(!p)ta(12501,12097,391,12514);else{k=0;m=p;n=m;a[d>>0]=k;o=d+4|0;c[o>>2]=n;l=g;return}}function Hd(){Fh(27792,0,0,0);Fh(27800,0,0,b[4624]|0);return}function Id(a,b,c,d){a=a|0;b=b|0;c=c|0;d=+d;var e=0.0,f=0.0,g=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0;e=+h[a>>3];f=+h[b>>3];if(e==f){if(!(e==+h[c>>3])){g=0;return g|0}i=+h[a+8>>3];j=+h[c+8>>3];k=+h[b+8>>3];if(i>3];j=+h[b+8>>3];if(i==j){if(!(i==+h[c+8>>3])){g=0;return g|0}k=+h[c>>3];if(e=0.0))ta(12586,12601,82,12624);k=+h[c+8>>3];l=+h[c>>3];m=(k-i)*(f-e)-(l-e)*(j-i);if(!(!(m<-d)&!(m>d))){g=0;return g|0}if(!(!(m<-2.220446049250313e-16)&!(m>2.220446049250313e-16)))ta(12533,12563,61,12576);if(+C(+(e-f))>2.220446049250313e-16){if(e>3];f=+h[a+8>>3];g=+h[b>>3];i=+h[b+8>>3];j=+h[c>>3];k=+h[c+8>>3];l=g-e;m=i-f;n=l*(k-f)-m*(j-e);c=n<-0.0?-1:n>0.0&1;if(!c){o=0;return o|0}n=+h[d>>3];p=+h[d+8>>3];q=l*(p-f)-m*(n-e);d=q<-0.0?-1:q>0.0&1;if(!d){o=0;return o|0}q=n-j;n=p-k;p=(f-k)*q-(e-j)*n;e=(i-k)*q-(g-j)*n;o=((P(d,c)|0)&(P(p<-0.0?-1:p>0.0&1,e<-0.0?-1:e>0.0&1)|0)|0)<0;return o|0}function Kd(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0.0,i=0,j=0.0,k=0.0,l=0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0.0,t=0,u=0.0,v=0.0,w=0,x=0,y=0;g=+h[b>>3];i=b+8|0;j=+h[i>>3];k=+h[c>>3];l=c+8|0;m=+h[l>>3];n=+h[d>>3];o=d+8|0;p=+h[o>>3];q=k-g;r=m-j;s=q*(p-j)-r*(n-g);t=s<-0.0?-1:s>0.0&1;if((t|0?(s=+h[e>>3],u=+h[e+8>>3],v=q*(u-j)-r*(s-g),w=v<-0.0?-1:v>0.0&1,w|0):0)?(v=s-n,s=u-p,u=(j-p)*v-(g-n)*s,g=(m-p)*v-(k-n)*s,((P(w,t)|0)&(P(u<-0.0?-1:u>0.0&1,g<-0.0?-1:g>0.0&1)|0)|0)<0):0){x=1;return x|0}if(!(ce(e,b)|0)?!(Id(d,e,b,0.0)|0):0)y=7;else y=6;if((y|0)==6?(g=+h[d>>3],u=+h[o>>3],s=(+h[e>>3]-g)*(+h[l>>3]-u)-(+h[e+8>>3]-u)*(+h[c>>3]-g),!(s<-0.0)&!(s>0.0)):0)y=7;if((y|0)==7){if(!(ce(e,c)|0)?!(Id(d,e,c,0.0)|0):0){x=0;return x|0}s=+h[d>>3];g=+h[o>>3];u=(+h[e>>3]-s)*(+h[i>>3]-g)-(+h[e+8>>3]-g)*(+h[b>>3]-s);if(!(u<-0.0)&!(u>0.0)){x=0;return x|0}}if(a[f>>0]|0){x=1;return x|0}a[f>>0]=1;x=0;return x|0}function Ld(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0.0,g=0.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;f=+h[e>>3];g=+h[e+8>>3];i=+h[b>>3];j=+h[b+8>>3];k=+h[c>>3];l=+h[c+8>>3];m=l-g;n=k-f;o=(i-f)*m-(j-g)*n;c=o<-0.0?-1:o>0.0&1;o=+h[d>>3];p=+h[d+8>>3];q=n*(p-g)-m*(o-f);d=q<-0.0;b=(c|0)<1;e=d|!(q>0.0);q=(k-i)*(p-j)-(l-j)*(o-i);if(!(q>0.0&!(q<-0.0))){r=b&e&(a^1);return r|0}if(a)return e&(c|0)>-1|b&(d^1)|0;r=b|e;return r|0}function Md(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0.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;e=+h[a>>3];f=+h[a+8>>3];g=+h[b>>3];i=+h[b+8>>3];j=+h[c>>3];k=+h[c+8>>3];l=g-e;m=i-f;n=l*(k-f)-m*(j-e);o=+h[d>>3];p=+h[d+8>>3];q=l*(p-f)-m*(o-e);d=q<-0.0?-1:q>0.0&1;q=(j-g)*(p-i)-(k-i)*(o-g);c=q<-0.0?-1:q>0.0&1;switch((n<-0.0?-1:n>0.0&1)|0){case 1:{r=(d|c)>>31|1;return r|0}case -1:{r=(d|0)<1&(c|0)<1?-1:1;return r|0}default:{r=d;return r|0}}return 0}function Nd(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;c=+h[a>>3]-+h[b>>3];d=+h[a+8>>3]-+h[b+8>>3];return +(+D(+(c*c+d*d)))}function Od(a,b){a=a|0;b=b|0;var c=0.0;c=+C(+(+h[a>>3]-+h[b>>3]));return +(c+ +C(+(+h[a+8>>3]-+h[b+8>>3])))}function Pd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0.0,n=0.0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0;e=fb[c[(c[a>>2]|0)+16>>2]&127](a)|0;f=e+-1|0;if(!e){g=1;i=1;j=i|d;k=g&j;return k|0}l=c[a+8>>2]|0;m=+h[b>>3];n=+h[b+8>>3];b=0;a=0;while(1){o=((f+a|0)>>>0)%(e>>>0)|0;p=+h[l+(o*24|0)>>3];q=+h[l+(o*24|0)+8>>3];r=(+h[l+(a*24|0)>>3]-p)*(n-q)-(+h[l+(a*24|0)+8>>3]-q)*(m-p);o=r<-0.0;s=r>0.0|o;a=a+1|0;if(o){t=0;break}if(a>>>0>=e>>>0){t=1;break}else b=b|s^1}g=t;i=s&(b^1);j=i|d;k=g&j;return k|0}function Qd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0;d=l;l=l+48|0;e=d;ne(e,a);a=e+8|0;f=Yd(e)|0;g=(f|0)==0;a:do if(!g){i=c[a>>2]|0;j=b+8|0;k=0;do{m=i+(k*24|0)|0;h[m>>3]=+h[m>>3]-+h[b>>3];m=i+(k*24|0)+8|0;h[m>>3]=+h[m>>3]-+h[j>>3];k=k+1|0}while((k|0)!=(f|0));if(!g){k=c[a>>2]|0;j=f+-1|0;i=0;m=0;n=0;while(1){o=+h[k+(n*24|0)>>3];p=+h[k+(n*24|0)+8>>3];if(o==0.0&p==0.0){q=1;break a}r=((j+n|0)>>>0)%(f>>>0)|0;s=+h[k+(r*24|0)+8>>3];if(p>0.0^s>0.0)t=((s*o-p*+h[k+(r*24|0)>>3])/(s-p)>0.0&1)+i|0;else t=i;if(p<0.0^s<0.0)u=((s*o-p*+h[k+(r*24|0)>>3])/(s-p)<0.0&1)+m|0;else u=m;n=n+1|0;if(n>>>0>=f>>>0){v=t;w=u;x=12;break}else{i=t;m=u}}}else{v=0;w=0;x=12}}else{v=0;w=0;x=12}while(0);if((x|0)==12){x=(v|0)%2|0;q=(x|0)==1?1:(x|0)!=((w|0)%2|0|0)}c[e>>2]=1624;w=c[e+32>>2]|0;if(w|0){x=e+36|0;v=c[x>>2]|0;if((v|0)!=(w|0))c[x>>2]=v+(~((v+-32-w|0)>>>5)<<5);Yy(w)}w=c[e+20>>2]|0;if(w|0){v=e+24|0;if((c[v>>2]|0)!=(w|0))c[v>>2]=w;Yy(w)}w=c[e+8>>2]|0;if(!w){l=d;return q|0}v=e+12|0;e=c[v>>2]|0;if((e|0)!=(w|0))c[v>>2]=e+(~(((e+-24-w|0)>>>0)/24|0)*24|0);Yy(w);l=d;return q|0}function Rd(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=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,r=0.0,s=0.0,t=0.0,u=0.0;g=+h[b>>3];i=+h[a>>3];j=g-i;k=+h[c>>3];l=+h[d>>3];m=k-l;n=j<0.0;o=n?g:i;p=n?i:g;if(m>0.0){if(p>3];b=a+8|0;l=+h[b>>3];p=o-l;g=+h[c+8>>3];r=+h[d+8>>3];s=g-r;d=p<0.0;t=d?o:l;u=d?l:o;if(s>0.0){if(u0.0){if(g<0.0|g>l){q=0;return q|0}s=j*k-p*t;if(s<0.0|s>l){q=0;return q|0}}else{if(g>0.0|g0.0|s>3]=j*g/l+i;h[f>>3]=p*g/l+ +h[b>>3];q=1;return q|0}function Sd(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=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;g=a+8|0;i=+h[g>>3];j=+h[b+8>>3]-i;k=+h[c+8>>3];l=k-+h[d+8>>3];m=+h[a>>3];n=+h[b>>3]-m;o=+h[c>>3];p=o-+h[d>>3];q=l*(m-o)-(i-k)*p;k=j*p-l*n;if(k==0.0){r=3;return r|0}h[e>>3]=m+n*q/k;h[f>>3]=j*q/k+ +h[g>>3];r=1;return r|0}function Td(a){a=a|0;var b=0.0,c=0.0,d=0.0,e=0.0,f=0.0;b=+h[a+8>>3];c=+h[a>>3];if(b==0.0){d=c<0.0?180.0:0.0;return +d}if(c==0.0){d=b<0.0?270.0:90.0;return +d}e=+K(+(b/c))*180.0/3.141592653589793;if(!(c<0.0))if(b<0.0)f=e+360.0;else f=e;else f=e+180.0;if(!(f>=0.0))ta(12631,12563,633,12640);if(!(f<=360.0))ta(12656,12563,634,12640);else{d=f;return +d}return +(0.0)}function Ud(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=1624;b=c[a+32>>2]|0;if(b|0){d=a+36|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-32-b|0)>>>5)<<5);Yy(b)}b=c[a+20>>2]|0;if(b|0){e=a+24|0;if((c[e>>2]|0)!=(b|0))c[e>>2]=b;Yy(b)}b=c[a+8>>2]|0;if(!b)return;e=a+12|0;a=c[e>>2]|0;if((a|0)!=(b|0))c[e>>2]=a+(~(((a+-24-b|0)>>>0)/24|0)*24|0);Yy(b);return}function Vd(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=1624;b=c[a+32>>2]|0;if(b|0){d=a+36|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-32-b|0)>>>5)<<5);Yy(b)}b=c[a+20>>2]|0;if(b|0){e=a+24|0;if((c[e>>2]|0)!=(b|0))c[e>>2]=b;Yy(b)}b=c[a+8>>2]|0;if(!b){Yy(a);return}e=a+12|0;d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~(((d+-24-b|0)>>>0)/24|0)*24|0);Yy(b);Yy(a);return}function Wd(a){a=a|0;var b=0,d=0,e=0;b=c[a+8>>2]|0;d=a+12|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~(((e+-24-b|0)>>>0)/24|0)*24|0);b=c[a+20>>2]|0;e=a+24|0;if((c[e>>2]|0)==(b|0))return;c[e>>2]=b;return}function Xd(a){a=a|0;return (c[a+8>>2]|0)==(c[a+12>>2]|0)|0}function Yd(a){a=a|0;return ((c[a+12>>2]|0)-(c[a+8>>2]|0)|0)/24|0|0}function Zd(a){a=a|0;return c[a+4>>2]|0}function _d(a,b){a=a|0;b=b|0;if((fb[c[(c[a>>2]|0)+16>>2]&127](a)|0)>>>0>b>>>0)return (c[a+8>>2]|0)+(b*24|0)|0;else ta(12667,12682,392,12696);return 0}function $d(){Fh(27808,0,0,0);Fh(27816,0,0,b[4624]|0);return}function ae(a){a=a|0;c[a+16>>2]=0;b[a+20>>1]=8;return}function be(a,d,e){a=a|0;d=+d;e=+e;h[a>>3]=d;h[a+8>>3]=e;c[a+16>>2]=0;b[a+20>>1]=8;return}function ce(a,b){a=a|0;b=b|0;var c=0;if(+h[a>>3]==+h[b>>3]?+h[a+8>>3]==+h[b+8>>3]:0){c=1;return c|0}c=0;return c|0}function de(a,b){a=a|0;b=b|0;var c=0;if(+h[a>>3]!=+h[b>>3]){c=1;return c|0}if(+h[a+8>>3]!=+h[b+8>>3]){c=1;return c|0}c=0;return c|0}function ee(a,b,c){a=a|0;b=b|0;c=+c;var d=0;if(+C(+(+h[a>>3]-+h[b>>3]))>3]-+h[b+8>>3]))>3];d=+h[b>>3];if(c==d){e=+h[a+8>>3]<+h[b+8>>3];return e|0}else{e=c>3]-+h[e+8>>3];h[a>>3]=+h[d>>3]-+h[e>>3];h[a+8>>3]=f;c[a+16>>2]=0;b[a+20>>1]=8;return}function je(a,d,e){a=a|0;d=d|0;e=+e;var f=0,g=0,i=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,s=0.0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0.0;c[a+16>>2]=0;b[a+20>>1]=8;c[a+40>>2]=0;b[a+44>>1]=8;h[a>>3]=1797693134862315708145274.0e284;f=a+8|0;h[f>>3]=1797693134862315708145274.0e284;g=a+24|0;h[g>>3]=-1797693134862315708145274.0e284;i=a+32|0;h[i>>3]=-1797693134862315708145274.0e284;if(!(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0)){j=1797693134862315708145274.0e284;k=1797693134862315708145274.0e284;l=-1797693134862315708145274.0e284;m=-1797693134862315708145274.0e284;n=j-e;h[a>>3]=n;o=k-e;h[f>>3]=o;p=l+e;h[g>>3]=p;q=m+e;h[i>>3]=q;return}r=0;s=1797693134862315708145274.0e284;t=1797693134862315708145274.0e284;u=-1797693134862315708145274.0e284;v=-1797693134862315708145274.0e284;while(1){w=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,r)|0)>>3];x=w>3]=x;w=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,r)|0)+8>>3];y=w>3]=y;w=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,r)|0)>>3];z=u>3]=z;w=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,r)|0)+8>>3];A=v>3]=A;r=r+1|0;if(r>>>0>=(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0)>>>0){j=x;k=y;l=z;m=A;break}else{s=x;t=y;u=z;v=A}}n=j-e;h[a>>3]=n;o=k-e;h[f>>3]=o;p=l+e;h[g>>3]=p;q=m+e;h[i>>3]=q;return}function ke(a){a=a|0;return +(+h[a+24>>3]-+h[a>>3])}function le(a){a=a|0;return +(+h[a+32>>3]-+h[a+8>>3])}function me(a){a=a|0;var b=0;c[a>>2]=1624;b=a+4|0;a=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(a|0));return}function ne(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;c[a>>2]=1624;c[a+4>>2]=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;e=a+8|0;f=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;c[e>>2]=0;g=a+12|0;c[g>>2]=0;c[a+16>>2]=0;if(f|0){if(f>>>0>178956970)rx(e);h=Wy(f*24|0)|0;c[g>>2]=h;c[e>>2]=h;i=h+(f*24|0)|0;c[a+16>>2]=i;j=f;f=h;while(1){c[f+16>>2]=0;b[f+20>>1]=8;j=j+-1|0;if(!j)break;else f=f+24|0}c[g>>2]=i}i=a+20|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[i+16>>2]=0;c[i+20>>2]=0;i=0;while(1){if(i>>>0>=(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0)>>>0)break;a=lb[c[(c[d>>2]|0)+24>>2]&15](d,i)|0;g=(c[e>>2]|0)+(i*24|0)|0;c[g>>2]=c[a>>2];c[g+4>>2]=c[a+4>>2];c[g+8>>2]=c[a+8>>2];c[g+12>>2]=c[a+12>>2];c[g+16>>2]=c[a+16>>2];b[g+20>>1]=b[a+20>>1]|0;i=i+1|0}return}function oe(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=1624;b=c[a+32>>2]|0;if(b|0){d=a+36|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-32-b|0)>>>5)<<5);Yy(b)}b=c[a+20>>2]|0;if(b|0){e=a+24|0;if((c[e>>2]|0)!=(b|0))c[e>>2]=b;Yy(b)}b=c[a+8>>2]|0;if(!b){Yy(a);return}e=a+12|0;d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~(((d+-24-b|0)>>>0)/24|0)*24|0);Yy(b);Yy(a);return}function pe(a,d,e){a=a|0;d=d|0;e=+e;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0.0,w=0.0,x=0.0,y=0.0,z=0.0,A=0,B=0,C=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0.0,N=0;f=l;l=l+96|0;g=f+72|0;i=f+48|0;j=f+24|0;k=f;c[a>>2]=1624;m=a+4|0;n=m;o=n+40|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));c[m>>2]=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;if(e==0.0){m=a+12|0;n=a+16|0;o=a+8|0;p=0;while(1){if(p>>>0>=(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0)>>>0)break;q=lb[c[(c[d>>2]|0)+24>>2]&15](d,p)|0;r=c[m>>2]|0;if((r|0)==(c[n>>2]|0))Oc(o,q);else{c[r>>2]=c[q>>2];c[r+4>>2]=c[q+4>>2];c[r+8>>2]=c[q+8>>2];c[r+12>>2]=c[q+12>>2];c[r+16>>2]=c[q+16>>2];c[r+20>>2]=c[q+20>>2];c[m>>2]=(c[m>>2]|0)+24}p=p+1|0}l=f;return}p=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;c[g>>2]=0;m=g+4|0;c[m>>2]=0;c[g+8>>2]=0;o=(p|0)==0;if(!o){if(p>>>0>178956970)rx(g);n=Wy(p*24|0)|0;c[m>>2]=n;c[g>>2]=n;q=n+(p*24|0)|0;c[g+8>>2]=q;r=p;s=n;while(1){c[s+16>>2]=0;b[s+20>>1]=8;r=r+-1|0;if(!r)break;else s=s+24|0}c[m>>2]=q;if(!o){o=0;do{q=lb[c[(c[d>>2]|0)+24>>2]&15](d,o)|0;s=o;o=o+1|0;r=lb[c[(c[d>>2]|0)+24>>2]&15](d,(o|0)==(p|0)?0:o)|0;t=+h[q>>3];u=+h[q+8>>3];v=+h[r>>3];w=+h[r+8>>3];if(v==t&w==u){x=0.0;y=0.0}else{z=v-t;t=w-u;u=1.0/+D(+(z*z+t*t));x=-(z*u);y=t*u}r=c[g>>2]|0;h[r+(s*24|0)>>3]=y;h[r+(s*24|0)+8>>3]=x;c[r+(s*24|0)+16>>2]=0;b[r+(s*24|0)+20>>1]=8}while(o>>>0

>>0);o=i+8|0;s=i+16|0;r=i+20|0;q=k+8|0;n=k+16|0;A=k+20|0;B=a+8|0;C=a+12|0;E=a+16|0;a=j+16|0;F=j+20|0;G=i+8|0;H=i+16|0;I=i+20|0;J=0;K=p+-1|0;while(1){L=c[g>>2]|0;x=+h[L+(J*24|0)>>3];y=+h[L+(K*24|0)>>3];u=+h[L+(J*24|0)+8>>3];t=+h[L+(K*24|0)+8>>3];if(!((y*u-x*t)*e>=0.0)){z=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0)>>3];w=+h[(c[g>>2]|0)+(K*24|0)>>3];v=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0)+8>>3];M=v+ +h[(c[g>>2]|0)+(K*24|0)+8>>3]*e;h[i>>3]=z+w*e;h[o>>3]=M;c[s>>2]=0;b[r>>1]=8;L=lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0;c[j>>2]=c[L>>2];c[j+4>>2]=c[L+4>>2];c[j+8>>2]=c[L+8>>2];c[j+12>>2]=c[L+12>>2];c[j+16>>2]=c[L+16>>2];c[j+20>>2]=c[L+20>>2];M=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0)>>3];w=+h[(c[g>>2]|0)+(J*24|0)>>3];z=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0)+8>>3];v=z+ +h[(c[g>>2]|0)+(J*24|0)+8>>3]*e;h[k>>3]=M+w*e;h[q>>3]=v;c[n>>2]=0;b[A>>1]=8;c[s>>2]=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;L=c[C>>2]|0;b[r>>1]=(L-(c[B>>2]|0)|0)/24|0;if((L|0)==(c[E>>2]|0))Oc(B,i);else{N=L;c[N>>2]=c[i>>2];c[N+4>>2]=c[i+4>>2];c[N+8>>2]=c[i+8>>2];c[N+12>>2]=c[i+12>>2];c[N+16>>2]=c[i+16>>2];c[N+20>>2]=c[i+20>>2];c[C>>2]=(c[C>>2]|0)+24}c[a>>2]=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;N=c[C>>2]|0;b[F>>1]=(N-(c[B>>2]|0)|0)/24|0;if((N|0)==(c[E>>2]|0))Oc(B,j);else{L=N;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];c[L+16>>2]=c[j+16>>2];c[L+20>>2]=c[j+20>>2];c[C>>2]=(c[C>>2]|0)+24}c[n>>2]=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;L=c[C>>2]|0;b[A>>1]=(L-(c[B>>2]|0)|0)/24|0;if((L|0)==(c[E>>2]|0))Oc(B,k);else{N=L;c[N>>2]=c[k>>2];c[N+4>>2]=c[k+4>>2];c[N+8>>2]=c[k+8>>2];c[N+12>>2]=c[k+12>>2];c[N+16>>2]=c[k+16>>2];c[N+20>>2]=c[k+20>>2];c[C>>2]=(c[C>>2]|0)+24}}else{v=e/(x*y+u*t+1.0);t=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0)>>3];N=c[g>>2]|0;u=+h[N+(K*24|0)>>3];y=+h[N+(J*24|0)>>3];x=+h[(lb[c[(c[d>>2]|0)+24>>2]&15](d,J)|0)+8>>3];N=c[g>>2]|0;w=x+v*(+h[N+(K*24|0)+8>>3]+ +h[N+(J*24|0)+8>>3]);h[i>>3]=t+v*(u+y);h[G>>3]=w;c[H>>2]=0;b[I>>1]=8;c[H>>2]=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;N=c[C>>2]|0;b[I>>1]=(N-(c[B>>2]|0)|0)/24|0;if((N|0)==(c[E>>2]|0))Oc(B,i);else{L=N;c[L>>2]=c[i>>2];c[L+4>>2]=c[i+4>>2];c[L+8>>2]=c[i+8>>2];c[L+12>>2]=c[i+12>>2];c[L+16>>2]=c[i+16>>2];c[L+20>>2]=c[i+20>>2];c[C>>2]=(c[C>>2]|0)+24}}L=J+1|0;if(L>>>0

>>0){N=J;J=L;K=N}else break}}}K=c[g>>2]|0;if(K|0){g=c[m>>2]|0;if((g|0)!=(K|0))c[m>>2]=g+(~(((g+-24-K|0)>>>0)/24|0)*24|0);Yy(K)}l=f;return}function qe(a,b,d){a=a|0;b=+b;d=+d;var e=0,f=0,g=0,i=0;if(!(fb[c[(c[a>>2]|0)+16>>2]&127](a)|0))return;e=a+8|0;f=0;do{g=c[e>>2]|0;i=g+(f*24|0)|0;h[i>>3]=+h[i>>3]+b;i=g+(f*24|0)+8|0;h[i>>3]=+h[i>>3]+d;f=f+1|0}while(f>>>0<(fb[c[(c[a>>2]|0)+16>>2]&127](a)|0)>>>0);return}function re(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=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,y=0.0,z=0.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;Gb(a,b);b=a+32|0;d=a+36|0;e=(c[b>>2]|0)==(c[d>>2]|0);f=a+8|0;g=c[f>>2]|0;i=a+12|0;a=c[i>>2]|0;j=g;if(((a-j|0)/24|0)>>>0<=2)return;k=2;l=(g|0)==(a|0)?g:g+24|0;m=a;n=a;o=j;j=g;g=a;a:while(1){a=l;p=k+-2|0;q=k+-1|0;b:do if(e){r=a;s=m;t=o;u=g;v=j;w=n;while(1){x=+h[v+(p*24|0)>>3];y=+h[v+(p*24|0)+8>>3];z=(+h[v+(q*24|0)>>3]-x)*(+h[v+(k*24|0)+8>>3]-y)-(+h[v+(q*24|0)+8>>3]-y)*(+h[v+(k*24|0)>>3]-x);if(!(!(z<-0.0)&!(z>0.0))){A=r;B=t;C=u;D=s;E=w;break b}F=v+(((r-v|0)/24|0)*24|0)|0;G=F+24|0;H=w-G|0;if(!H){I=s;J=w}else{MA(F|0,G|0,H|0)|0;G=c[i>>2]|0;I=G;J=G}G=F+(((H|0)/24|0)*24|0)|0;if((J|0)==(G|0))K=I;else{H=J+(~(((J+-24-G|0)>>>0)/24|0)*24|0)|0;c[i>>2]=H;K=H}H=c[f>>2]|0;if(k>>>0<((K-H|0)/24|0)>>>0){r=F;s=K;t=H;u=K;v=H;w=K}else{L=10;break a}}}else{w=a;v=m;u=n;t=o;s=g;r=j;H=g;while(1){z=+h[r+(p*24|0)>>3];x=+h[r+(p*24|0)+8>>3];y=(+h[r+(q*24|0)>>3]-z)*(+h[r+(k*24|0)+8>>3]-x)-(+h[r+(q*24|0)+8>>3]-x)*(+h[r+(k*24|0)>>3]-z);if(!(!(y<-0.0)&!(y>0.0))){A=w;B=t;C=s;D=v;E=u;break b}F=r+(((w-r|0)/24|0)*24|0)|0;G=F+24|0;M=H-G|0;if(!M){N=v;O=u;P=s;Q=H;R=H}else{MA(F|0,G|0,M|0)|0;G=c[i>>2]|0;S=G;N=S;O=S;P=S;Q=S;R=G}G=F+(((M|0)/24|0)*24|0)|0;if((R|0)==(G|0)){T=N;U=O;V=P;W=Q}else{M=R+(~(((R+-24-G|0)>>>0)/24|0)*24|0)|0;c[i>>2]=M;G=M;T=G;U=G;V=G;W=G}G=F;F=c[d>>2]|0;M=c[b>>2]|0;S=M;if((F|0)!=(M|0)){X=F-M>>5;M=0;do{F=S+(M<<5)|0;Y=c[F>>2]|0;if((Y|0)!=(p|0)){if(Y>>>0>p>>>0){Z=-2;L=21}}else{Z=-1;L=21}if((L|0)==21){L=0;c[F>>2]=Z+Y}M=M+1|0}while(M>>>0>>0)}X=c[f>>2]|0;if(k>>>0<((W-X|0)/24|0)>>>0){w=G;v=T;u=U;t=X;s=V;r=X;H=W}else{L=10;break a}}}while(0);k=k+1|0;if(k>>>0>=((C-B|0)/24|0)>>>0){L=10;break}else{l=A+24|0;m=D;n=E;o=B;j=B;g=C}}if((L|0)==10)return}function se(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;c[a>>2]=0;f=a+4|0;c[f>>2]=0;c[a+8>>2]=0;g=d<<1;d=g+2|0;if((e|0)>0){h=g|1;i=d}else{h=g;i=e|0?g|1:d}d=b+32|0;g=b+36|0;b=c[d>>2]|0;if((c[g>>2]|0)==(b|0))return;e=a+8|0;j=0;k=b;do{b=k;l=c[b+(j<<5)>>2]|0;do if(!(l>>>0>>0|l>>>0>i>>>0)){m=b+(j<<5)+8|0;n=c[f>>2]|0;if((n|0)==(c[e>>2]|0)){Oc(a,m);break}else{c[n>>2]=c[m>>2];c[n+4>>2]=c[m+4>>2];c[n+8>>2]=c[m+8>>2];c[n+12>>2]=c[m+12>>2];c[n+16>>2]=c[m+16>>2];c[n+20>>2]=c[m+20>>2];c[f>>2]=(c[f>>2]|0)+24;break}}while(0);j=j+1|0;k=c[d>>2]|0}while(j>>>0<(c[g>>2]|0)-k>>5>>>0);return}function te(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0.0,k=0.0,l=0.0,m=0.0,n=0.0;c[a>>2]=1624;f=a+4|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;f=Wy(96)|0;c[a+8>>2]=f;g=f+96|0;c[a+16>>2]=g;c[f+40>>2]=0;b[f+44>>1]=8;c[f+64>>2]=0;b[f+68>>1]=8;c[f+88>>2]=0;b[f+92>>1]=8;c[a+12>>2]=g;g=a+20|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;c[a>>2]=1660;i=+h[e>>3];j=+h[d>>3];k=i>3];i=+h[d+8>>3];m=j>3]=l;h[f+8>>3]=m;c[f+16>>2]=0;b[f+20>>1]=8;f=c[d>>2]|0;h[f+24>>3]=l;h[f+32>>3]=n;c[f+40>>2]=0;b[f+44>>1]=8;f=c[d>>2]|0;h[f+48>>3]=k;h[f+56>>3]=n;c[f+64>>2]=0;b[f+68>>1]=8;f=c[d>>2]|0;h[f+72>>3]=k;h[f+80>>3]=m;c[f+88>>2]=0;b[f+92>>1]=8;return}function ue(){Fh(27824,0,0,0);Fh(27832,0,0,b[4624]|0);return}function ve(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;b[d+16>>1]=0;a[d+18>>0]=g&1;a[d+19>>0]=0;a[d+20>>0]=0;c[d+24>>2]=e;c[d+28>>2]=f;c[d+32>>2]=0;c[d+36>>2]=0;g=d+40|0;c[g>>2]=g;c[d+44>>2]=g;c[d+48>>2]=0;h[d+56>>3]=-1.0;if(!((e|0)!=0&(f|0)!=0))ta(12810,12819,58,12829);g=c[e>>2]|0;if((g|0)==(c[f>>2]|0)){c[d+8>>2]=g;return}else ta(12837,12819,61,12829)}function we(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;if(a[b+16>>0]|0)xe(b);d=b+40|0;e=b+48|0;if(!(c[e>>2]|0))return;f=c[b+44>>2]|0;b=(c[d>>2]|0)+4|0;g=c[f>>2]|0;c[g+4>>2]=c[b>>2];c[c[b>>2]>>2]=g;c[e>>2]=0;if((f|0)==(d|0))return;else h=f;do{f=h;h=c[h+4>>2]|0;Yy(f)}while((h|0)!=(d|0));return}function xe(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;d=b+16|0;if(!(a[d>>0]|0))ta(12874,12819,223,14546);e=(a[b+17>>0]|0)!=0;f=c[b+8>>2]|0;do if(!(a[b+18>>0]|0)){g=c[b>>2]|0;h=(g|0)==0;i=b+4|0;if(e){if(!h)c[g+4>>2]=c[i>>2];j=c[i>>2]|0;if(j|0)c[j>>2]=g;k=f+48|0;l=f+44|0;m=(c[l>>2]|0)==(b|0);if((c[k>>2]|0)==(b|0)){c[k>>2]=c[b>>2];if(m)c[l>>2]=0}else if(m)c[l>>2]=j;c[b>>2]=0;c[i>>2]=0;j=f+52|0;c[j>>2]=(c[j>>2]|0)+-1;j=b+24|0;l=c[j>>2]|0;m=c[b+32>>2]|0;k=m+4|0;n=c[m>>2]|0;c[n+4>>2]=c[k>>2];c[c[k>>2]>>2]=n;n=l+64|0;c[n>>2]=(c[n>>2]|0)+-1;Yy(m);m=(c[j>>2]|0)+68|0;c[m>>2]=(c[m>>2]|0)+-1;m=b+28|0;j=c[m>>2]|0;n=c[b+36>>2]|0;l=n+4|0;k=c[n>>2]|0;c[k+4>>2]=c[l>>2];c[c[l>>2]>>2]=k;k=j+64|0;c[k>>2]=(c[k>>2]|0)+-1;Yy(n);o=(c[m>>2]|0)+68|0;break}else{if(!h)c[g+4>>2]=c[i>>2];h=c[i>>2]|0;if(h|0)c[h>>2]=g;g=f+64|0;m=f+60|0;n=(c[m>>2]|0)==(b|0);if((c[g>>2]|0)==(b|0)){c[g>>2]=c[b>>2];if(n)c[m>>2]=0}else if(n)c[m>>2]=h;c[b>>2]=0;c[i>>2]=0;i=f+68|0;c[i>>2]=(c[i>>2]|0)+-1;i=b+24|0;h=c[i>>2]|0;m=c[b+32>>2]|0;n=m+4|0;g=c[m>>2]|0;c[g+4>>2]=c[n>>2];c[c[n>>2]>>2]=g;g=h+96|0;c[g>>2]=(c[g>>2]|0)+-1;Yy(m);m=(c[i>>2]|0)+100|0;c[m>>2]=(c[m>>2]|0)+-1;m=b+28|0;i=c[m>>2]|0;g=c[b+36>>2]|0;h=g+4|0;n=c[g>>2]|0;c[n+4>>2]=c[h>>2];c[c[h>>2]>>2]=n;n=i+96|0;c[n>>2]=(c[n>>2]|0)+-1;Yy(g);o=(c[m>>2]|0)+100|0;break}}else{if(!e)ta(12890,12819,227,14546);m=c[b>>2]|0;g=b+4|0;if(m|0)c[m+4>>2]=c[g>>2];n=c[g>>2]|0;if(n|0)c[n>>2]=m;m=f+80|0;i=f+76|0;h=(c[i>>2]|0)==(b|0);if((c[m>>2]|0)==(b|0)){c[m>>2]=c[b>>2];if(h)c[i>>2]=0}else if(h)c[i>>2]=n;c[b>>2]=0;c[g>>2]=0;g=f+84|0;c[g>>2]=(c[g>>2]|0)+-1;g=b+24|0;n=c[g>>2]|0;i=c[b+32>>2]|0;h=i+4|0;m=c[i>>2]|0;c[m+4>>2]=c[h>>2];c[c[h>>2]>>2]=m;m=n+80|0;c[m>>2]=(c[m>>2]|0)+-1;Yy(i);i=(c[g>>2]|0)+84|0;c[i>>2]=(c[i>>2]|0)+-1;i=b+28|0;g=c[i>>2]|0;m=c[b+36>>2]|0;n=m+4|0;h=c[m>>2]|0;c[h+4>>2]=c[n>>2];c[c[n>>2]>>2]=h;h=g+80|0;c[h>>2]=(c[h>>2]|0)+-1;Yy(m);o=(c[i>>2]|0)+84|0}while(0);c[o>>2]=(c[o>>2]|0)+-1;c[b+12>>2]=0;o=b+40|0;f=b+48|0;if(!(c[f>>2]|0)){a[d>>0]=0;return}e=c[b+44>>2]|0;b=(c[o>>2]|0)+4|0;i=c[e>>2]|0;c[i+4>>2]=c[b>>2];c[c[b>>2]>>2]=i;c[f>>2]=0;if((e|0)==(o|0)){a[d>>0]=0;return}else p=e;do{e=p;p=c[p+4>>2]|0;Yy(e)}while((p|0)!=(o|0));a[d>>0]=0;return}function ye(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=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.0,x=0,y=0.0,z=0.0,A=0,B=0.0,C=0;e=l;l=l+32|0;f=e;g=c[a+24>>2]|0;i=c[d+24>>2]|0;j=(g|0)==(i|0);k=c[d+28>>2]|0;d=c[a+28>>2]|0;a=(d|0)==(k|0);if(j&a){m=0;l=e;return m|0}if(!j)if((g|0)==(k|0)){n=d;o=i;p=g}else{j=(d|0)==(i|0);q=j|a;n=q?g:0;o=j?k:a?i:0;p=q?d:0}else{n=d;o=k;p=g}g=p+16|0;if(!b){be(f,+h[g>>3]+-10.0,+h[p+24>>3]);r=g}else{k=b+16|0;c[f>>2]=c[k>>2];c[f+4>>2]=c[k+4>>2];c[f+8>>2]=c[k+8>>2];c[f+12>>2]=c[k+12>>2];c[f+16>>2]=c[k+16>>2];c[f+20>>2]=c[k+20>>2];r=g}s=+h[f>>3];t=+h[f+8>>3];u=+h[n+16>>3];v=+h[r>>3];if(u!=v){w=+h[p+24>>3];if(+h[n+24>>3]!=w){x=4;y=w}else{z=w;A=11}}else{z=+h[p+24>>3];A=11}do if((A|0)==11)if(!(v!=s&z!=t)){w=+h[n+24>>3];B=(v-s)*(w-t)-(u-s)*(z-t);p=B<-0.0;r=B>0.0&(p^1);if(p|r){x=r?1:2;y=z}else{if(v==u){if(z>t&wz){x=0;y=z;break}}else{if(v>s&uv){x=0;y=z;break}}x=3;y=z}}else{x=4;y=z}while(0);z=+h[o+16>>3];if(z!=v?+h[o+24>>3]!=y:0)C=4;else A=21;do if((A|0)==21)if(!(v!=s&y!=t)){u=+h[o+24>>3];w=(v-s)*(u-t)-(z-s)*(y-t);n=w<-0.0;r=w>0.0&(n^1);if(n|r)C=r?1:2;else{if(v==z){if(y>t&uy){C=0;break}}else{if(v>s&zv){C=0;break}}C=3}}else C=4;while(0);m=x>>>0>>0;l=e;return m|0}function ze(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;d=b+16|0;if(a[d>>0]|0)ta(12900,12819,187,14526);e=(a[b+17>>0]|0)!=0;f=c[b+8>>2]|0;if(a[b+18>>0]|0){if(!e)ta(12890,12819,191,14526);Ae(f+72|0,b);g=c[b+24>>2]|0;h=c[g+76>>2]|0;i=b;j=Wy(12)|0;c[j>>2]=0;c[j+8>>2]=i;k=c[h>>2]|0;c[k+4>>2]=j;c[j>>2]=k;c[h>>2]=j;c[j+4>>2]=h;h=g+80|0;c[h>>2]=(c[h>>2]|0)+1;c[b+32>>2]=j;j=g+84|0;c[j>>2]=(c[j>>2]|0)+1;j=c[b+28>>2]|0;g=c[j+76>>2]|0;h=Wy(12)|0;c[h>>2]=0;c[h+8>>2]=i;i=c[g>>2]|0;c[i+4>>2]=h;c[h>>2]=i;c[g>>2]=h;c[h+4>>2]=g;g=j+80|0;c[g>>2]=(c[g>>2]|0)+1;c[b+36>>2]=h;l=j+84|0;m=c[l>>2]|0;n=m+1|0;c[l>>2]=n;a[d>>0]=1;return}if(e){Ae(f+40|0,b);e=c[b+24>>2]|0;j=c[e+60>>2]|0;h=b;g=Wy(12)|0;c[g>>2]=0;c[g+8>>2]=h;i=c[j>>2]|0;c[i+4>>2]=g;c[g>>2]=i;c[j>>2]=g;c[g+4>>2]=j;j=e+64|0;c[j>>2]=(c[j>>2]|0)+1;c[b+32>>2]=g;g=e+68|0;c[g>>2]=(c[g>>2]|0)+1;g=c[b+28>>2]|0;e=c[g+60>>2]|0;j=Wy(12)|0;c[j>>2]=0;c[j+8>>2]=h;h=c[e>>2]|0;c[h+4>>2]=j;c[j>>2]=h;c[e>>2]=j;c[j+4>>2]=e;e=g+64|0;c[e>>2]=(c[e>>2]|0)+1;c[b+36>>2]=j;l=g+68|0;m=c[l>>2]|0;n=m+1|0;c[l>>2]=n;a[d>>0]=1;return}else{Ae(f+56|0,b);f=c[b+24>>2]|0;g=c[f+92>>2]|0;j=b;e=Wy(12)|0;c[e>>2]=0;c[e+8>>2]=j;h=c[g>>2]|0;c[h+4>>2]=e;c[e>>2]=h;c[g>>2]=e;c[e+4>>2]=g;g=f+96|0;c[g>>2]=(c[g>>2]|0)+1;c[b+32>>2]=e;e=f+100|0;c[e>>2]=(c[e>>2]|0)+1;e=c[b+28>>2]|0;f=c[e+92>>2]|0;g=Wy(12)|0;c[g>>2]=0;c[g+8>>2]=j;j=c[f>>2]|0;c[j+4>>2]=g;c[g>>2]=j;c[f>>2]=g;c[g+4>>2]=f;f=e+96|0;c[f>>2]=(c[f>>2]|0)+1;c[b+36>>2]=g;l=e+100|0;m=c[l>>2]|0;n=m+1|0;c[l>>2]=n;a[d>>0]=1;return}}function Ae(d,e){d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;do if((a[d>>0]|0?(f=c[e+24>>2]|0,g=c[e+28>>2]|0,!(+h[f+16>>3]==+h[g+16>>3])):0)?!(+h[f+24>>3]==+h[g+24>>3]):0){i=b[f+10>>1]|0;f=b[4628]|0;j=b[g+10>>1]|0;if((f&i)<<16>>16?(b[4627]&j)<<16>>16:0)break;if(!((j&f)<<16>>16))ta(12917,12819,713,12984);if(!((b[4627]&i)<<16>>16))ta(12917,12819,713,12984)}while(0);i=d+4|0;f=d+8|0;j=c[f>>2]|0;g=(j|0)==0;if(!(c[i>>2]|0)){if(!g)ta(12992,12819,717,12984);c[f>>2]=e;c[i>>2]=e;c[e>>2]=0;k=e+4|0;c[k>>2]=0;l=d+12|0;m=c[l>>2]|0;n=m+1|0;c[l>>2]=n;return}else{if(g)ta(13010,12819,727,12984);c[j+4>>2]=e;c[e>>2]=j;c[f>>2]=e;k=e+4|0;c[k>>2]=0;l=d+12|0;m=c[l>>2]|0;n=m+1|0;c[l>>2]=n;return}}function Be(b,d){b=b|0;d=+d;var e=0,f=0,g=0;e=b+16|0;f=b+17|0;if(a[e>>0]|0){if(!(a[f>>0]|0)){xe(b);if(!(a[e>>0]|0))g=5;else ta(13028,12819,266,13037)}}else g=5;if((g|0)==5){a[f>>0]=1;ze(b)}h[b+56>>3]=d;c[b+12>>2]=0;return}function Ce(a,b){a=a|0;b=+b;h[a+64>>3]=b;return}function De(a){a=a|0;return +(+h[a+64>>3])}function Ee(b){b=b|0;return (a[b+20>>0]|0)!=0|0}function Fe(b,c){b=b|0;c=c|0;a[b+20>>0]=c&1;return}function Ge(b,c){b=b|0;c=c|0;a[b+19>>0]=c&1;return}function He(b){b=b|0;return (a[b+16>>0]|0)!=0|0}function Ie(a){a=a|0;return c[a+12>>2]|0}function Je(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=b+40|0;e=c[b+44>>2]|0;f=e;g=(f|0)==(d|0);if(!g){h=e;e=f;do{a[c[h+8>>2]>>0]=1;h=c[e+4>>2]|0;e=h}while((e|0)!=(d|0))}e=b+48|0;if(!(c[e>>2]|0))return;b=(c[d>>2]|0)+4|0;h=c[f>>2]|0;c[h+4>>2]=c[b>>2];c[c[b>>2]>>2]=h;c[e>>2]=0;if(g)return;else i=f;do{f=i;i=c[i+4>>2]|0;Yy(f)}while((i|0)!=(d|0));return}function Ke(a,b){a=a|0;b=b|0;var d=0,e=0;d=a+40|0;e=Wy(12)|0;c[e+8>>2]=b;c[e+4>>2]=d;b=c[d>>2]|0;c[e>>2]=b;c[b+4>>2]=e;c[d>>2]=e;e=a+48|0;c[e>>2]=(c[e>>2]|0)+1;return}function Le(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0;if(!(a[(c[b+8>>2]|0)+141>>0]|0))ta(13045,12819,344,13072);e=b+16|0;f=b+17|0;if(a[e>>0]|0){if(!(a[f>>0]|0)){g=b+56|0;h[g>>3]=0.0;i=b+12|0;c[i>>2]=d;return}xe(b);if(a[e>>0]|0)ta(13028,12819,349,13072)}a[f>>0]=0;ze(b);g=b+56|0;h[g>>3]=0.0;i=b+12|0;c[i>>2]=d;return}function Me(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=l;l=l+16|0;e=d+8|0;f=d;Gh(e,(c[b+24>>2]|0)+4|0);Gh(f,(c[b+28>>2]|0)+4|0);Gh(a,e);Gh(a+8|0,f);l=d;return}function Ne(a,b){a=a|0;b=b|0;var d=0;d=(c[b+24>>2]|0)+16|0;c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];c[a+20>>2]=c[d+20>>2];d=(c[b+28>>2]|0)+16|0;b=a+24|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];return}function Oe(a){a=a|0;var b=0;b=l;l=l+32|0;xc(13083,b);Lh((c[a+24>>2]|0)+4|0);xc(13089,b+8|0);Lh((c[a+28>>2]|0)+4|0);xc(13091,b+16|0);l=b;return}function Pe(d){d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0.0,N=0,O=0.0;e=l;l=l+144|0;f=e+136|0;g=e+128|0;i=e+120|0;j=e+112|0;k=e+104|0;m=e+96|0;n=e+88|0;o=e+80|0;p=e+72|0;q=e+64|0;r=e+56|0;s=e+48|0;t=e+40|0;u=e+32|0;v=e+24|0;w=e+16|0;x=e+8|0;y=e;z=d+16|0;do if(a[z>>0]|0)if(!(a[d+17>>0]|0)){xc(13094,y);xc(13083,x);A=d+24|0;Lh((c[A>>2]|0)+4|0);xc(13089,w);B=d+28|0;Lh((c[B>>2]|0)+4|0);xc(13091,v);C=B;D=A;break}else{xc(13152,u);xc(13083,t);A=d+24|0;Lh((c[A>>2]|0)+4|0);xc(13089,s);B=d+28|0;Lh((c[B>>2]|0)+4|0);xc(13091,r);C=B;D=A;break}else{C=d+28|0;D=d+24|0}while(0);r=c[D>>2]|0;s=c[C>>2]|0;t=r+4|0;u=s+4|0;v=r+16|0;w=s+16|0;x=d+8|0;y=c[x>>2]|0;A=y+148|0;c[A>>2]=(c[A>>2]|0)+1;A=r+10|0;B=b[4627]|0;E=a[y+139>>0]|0;if(!((B&b[A>>1])<<16>>16))if(Ld(E<<24>>24!=0,(c[r+48>>2]|0)+16|0,v,(c[r+52>>2]|0)+16|0,w)|0)F=19;else{G=0;F=38}else if((E<<24>>24==0?(E=Qe(y+88|0,t)|0,(B&b[s+10>>1])<<16>>16==0):0)?(y=E+4|0,E=c[y>>2]|0,(E|0)!=0):0){r=c[u>>2]|0;H=y;I=E;a:while(1){E=I;while(1){if((c[E+16>>2]|0)>>>0>=r>>>0)break;J=c[E+4>>2]|0;if(!J){K=H;break a}else E=J}I=c[E>>2]|0;if(!I){K=E;break}else H=E}if((K|0)!=(y|0)?r>>>0>=(c[K+16>>2]|0)>>>0:0){xc(13208,q);G=0;F=38}else F=19}else F=19;do if((F|0)==19){q=c[x>>2]|0;K=a[q+139>>0]|0;if(!((B&b[s+10>>1])<<16>>16)){if(!(Ld(K<<24>>24!=0,(c[s+48>>2]|0)+16|0,w,(c[s+52>>2]|0)+16|0,v)|0)){G=0;F=38;break}}else if((K<<24>>24==0?(K=Qe(q+88|0,u)|0,(B&b[A>>1])<<16>>16==0):0)?(q=K+4|0,K=c[q>>2]|0,K|0):0){r=c[t>>2]|0;y=q;H=K;b:while(1){K=H;while(1){if((c[K+16>>2]|0)>>>0>=r>>>0)break;I=c[K+4>>2]|0;if(!I){L=y;break b}else K=I}H=c[K>>2]|0;if(!H){L=K;break}else y=K}if((L|0)!=(q|0)?r>>>0>=(c[L+16>>2]|0)>>>0:0){xc(13235,p);G=0;F=38;break}}y=Re(d)|0;if(!y){xc(17343,o);xc(13083,n);Lh((c[D>>2]|0)+4|0);xc(13089,m);Lh((c[C>>2]|0)+4|0);xc(13091,k);M=+Nd(v,w);H=d+17|0;if(a[z>>0]|0){if(a[H>>0]|0){N=0;O=M;break}xe(d);if(a[z>>0]|0)ta(13028,12819,266,13037)}a[H>>0]=1;ze(d);N=0;O=M}else{G=y;F=38}}while(0);do if((F|0)==38){if(!(a[(c[x>>2]|0)+141>>0]|0)){l=e;return}xc(17309,j);xc(13083,i);Lh((c[D>>2]|0)+4|0);xc(13089,g);Lh((c[C>>2]|0)+4|0);xc(13091,f);if(!(a[(c[x>>2]|0)+141>>0]|0))ta(13045,12819,344,13072);w=d+17|0;if(a[z>>0]|0){if(!(a[w>>0]|0)){N=G;O=0.0;break}xe(d);if(a[z>>0]|0)ta(13028,12819,349,13072)}a[w>>0]=0;ze(d);N=G;O=0.0}while(0);h[d+56>>3]=O;c[d+12>>2]=N;l=e;return}function Qe(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;d=a+4|0;e=c[d>>2]|0;do if(e){f=a+4|0;g=e;while(1){h=g+16|0;if(Jh(b,h)|0){i=c[g>>2]|0;if(!i){j=6;break}else{k=g;l=i}}else{if(!(Jh(h,b)|0)){j=10;break}m=g+4|0;h=c[m>>2]|0;if(!h){j=9;break}else{k=m;l=h}}f=k;g=l}if((j|0)==6){n=g;o=g;break}else if((j|0)==9){n=m;o=g;break}else if((j|0)==10){h=c[f>>2]|0;p=f;q=g;r=h;s=h;j=12;break}}else{p=d;q=d;r=e;s=0;j=12}while(0);if((j|0)==12)if(!r){n=p;o=q}else{t=s;u=t+24|0;return u|0}s=Wy(36)|0;Gh(s+16|0,b);b=s+28|0;c[b>>2]=0;c[s+32>>2]=0;c[s+24>>2]=b;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=o;c[n>>2]=s;o=c[c[a>>2]>>2]|0;if(!o)v=s;else{c[a>>2]=o;v=c[n>>2]|0}kd(c[a+4>>2]|0,v);v=a+8|0;c[v>>2]=(c[v>>2]|0)+1;t=s;u=t+24|0;return u|0}function Re(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;e=l;l=l+48|0;f=e+32|0;g=e;h=e+24|0;i=e+20|0;j=e+16|0;k=e+4|0;m=k+4|0;c[m>>2]=0;n=k+8|0;c[n>>2]=0;o=k+4|0;c[k>>2]=o;p=c[d+24>>2]|0;q=p+16|0;r=c[d+28>>2]|0;s=r+16|0;t=p+4|0;u=r+4|0;v=d+8|0;d=(c[v>>2]|0)+88|0;w=b[4627]|0;if((w&b[p+10>>1])<<16>>16?(p=c[(Qe(d,t)|0)>>2]|0,x=(Qe(d,t)|0)+4|0,(p|0)!=(x|0)):0){t=o;y=p;while(1){p=y+16|0;c[j>>2]=t;c[f>>2]=c[j>>2];z=Se(k,f,h,i,p)|0;if(!(c[z>>2]|0)){A=Wy(20)|0;c[A+16>>2]=c[p>>2];p=c[h>>2]|0;c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=p;c[z>>2]=A;p=c[c[k>>2]>>2]|0;if(!p)B=A;else{c[k>>2]=p;B=c[z>>2]|0}kd(c[m>>2]|0,B);c[n>>2]=(c[n>>2]|0)+1}z=c[y+4>>2]|0;if(!z){p=y+8|0;A=c[p>>2]|0;if((c[A>>2]|0)==(y|0))C=A;else{A=p;do{p=c[A>>2]|0;A=p+8|0;D=c[A>>2]|0}while((c[D>>2]|0)!=(p|0));C=D}}else{A=z;while(1){D=c[A>>2]|0;if(!D)break;else A=D}C=A}if((C|0)==(x|0))break;else y=C}}if((w&b[r+10>>1])<<16>>16?(r=c[(Qe(d,u)|0)>>2]|0,w=(Qe(d,u)|0)+4|0,(r|0)!=(w|0)):0){u=o;d=r;while(1){r=d+16|0;c[j>>2]=u;c[f>>2]=c[j>>2];C=Se(k,f,h,i,r)|0;if(!(c[C>>2]|0)){y=Wy(20)|0;c[y+16>>2]=c[r>>2];r=c[h>>2]|0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=r;c[C>>2]=y;r=c[c[k>>2]>>2]|0;if(!r)E=y;else{c[k>>2]=r;E=c[C>>2]|0}kd(c[m>>2]|0,E);c[n>>2]=(c[n>>2]|0)+1}C=c[d+4>>2]|0;if(!C){r=d+8|0;y=c[r>>2]|0;if((c[y>>2]|0)==(d|0))F=y;else{y=r;do{r=c[y>>2]|0;y=r+8|0;x=c[y>>2]|0}while((c[x>>2]|0)!=(r|0));F=x}}else{y=C;while(1){A=c[y>>2]|0;if(!A)break;else y=A}F=y}if((F|0)==(w|0))break;else d=F}}F=ai((c[v>>2]|0)+100|0)|0;a[f>>0]=0;d=bi((c[v>>2]|0)+100|0)|0;a:do if((d|0)==(F|0))G=o;else{v=d;w=0;b:while(1){E=v+4|0;Gh(h,E);c:do if(!(Hh(E,27824)|0)){m=c[h>>2]|0;if((m|0)==(w|0))H=w;else{i=c[o>>2]|0;if(i|0){j=o;u=i;d:while(1){i=u;while(1){if((c[i+16>>2]|0)>>>0>=m>>>0)break;C=c[i+4>>2]|0;if(!C){I=j;break d}else i=C}u=c[i>>2]|0;if(!u){I=i;break}else j=i}if((I|0)!=(o|0)?m>>>0>=(c[I+16>>2]|0)>>>0:0){c[g>>2]=m;xc(13262,g);if((v|0)==(F|0)){J=44;break b}else K=v;while(1){if((c[K+4>>2]|0)!=(m|0)){L=w;M=K;break c}K=c[K+44>>2]|0;if((K|0)==(F|0)){J=44;break b}}}}a[f>>0]=0;H=m}if(Kd(q,s,(c[v+48>>2]|0)+16|0,v+16|0,f)|0)break b;else{N=H;J=45}}else{N=w;J=45}while(0);if((J|0)==45){J=0;L=N;M=c[v+44>>2]|0}if((M|0)==(F|0)){G=o;break a}else{v=M;w=L}}if((J|0)==44){G=o;break}Te(k,c[o>>2]|0);c[n>>2]=0;c[k>>2]=o;c[o>>2]=0;O=c[h>>2]|0;P=k;Te(P,0);l=e;return O|0}while(0);Te(k,c[G>>2]|0);c[n>>2]=0;c[k>>2]=o;c[o>>2]=0;O=0;P=k;Te(P,0);l=e;return O|0}function Se(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,t=0,u=0,v=0,w=0,x=0;g=a+4|0;h=c[b>>2]|0;b=h;if((h|0)!=(g|0)?(i=c[f>>2]|0,j=c[h+16>>2]|0,i>>>0>=j>>>0):0){if(j>>>0>=i>>>0){c[d>>2]=b;c[e>>2]=b;k=e;return k|0}e=h+4|0;j=c[e>>2]|0;if(!j){l=h+8|0;m=c[l>>2]|0;if((c[m>>2]|0)==(h|0))n=m;else{m=l;do{l=c[m>>2]|0;m=l+8|0;o=c[m>>2]|0}while((c[o>>2]|0)!=(l|0));n=o}}else{m=j;while(1){j=c[m>>2]|0;if(!j)break;else m=j}n=m}if((n|0)!=(g|0)?i>>>0>=(c[n+16>>2]|0)>>>0:0){m=c[g>>2]|0;if(!m){c[d>>2]=g;k=g;return k|0}j=a+4|0;o=m;while(1){m=c[o+16>>2]|0;if(i>>>0>>0){l=c[o>>2]|0;if(!l){p=39;break}else{q=o;r=l}}else{if(m>>>0>=i>>>0){p=43;break}s=o+4|0;m=c[s>>2]|0;if(!m){p=42;break}else{q=s;r=m}}j=q;o=r}if((p|0)==39){c[d>>2]=o;k=o;return k|0}else if((p|0)==42){c[d>>2]=o;k=s;return k|0}else if((p|0)==43){c[d>>2]=o;k=j;return k|0}}if(!(c[h+4>>2]|0)){c[d>>2]=b;k=e;return k|0}else{c[d>>2]=n;k=n;return k|0}}n=c[h>>2]|0;if((h|0)!=(c[a>>2]|0)){if(!n){e=h;while(1){j=c[e+8>>2]|0;if((c[j>>2]|0)==(e|0))e=j;else{t=j;break}}}else{e=n;while(1){j=c[e+4>>2]|0;if(!j){t=e;break}else e=j}}e=c[f>>2]|0;if((c[t+16>>2]|0)>>>0>=e>>>0){f=c[g>>2]|0;if(!f){c[d>>2]=g;k=g;return k|0}g=a+4|0;a=f;while(1){f=c[a+16>>2]|0;if(e>>>0>>0){j=c[a>>2]|0;if(!j){p=17;break}else{u=a;v=j}}else{if(f>>>0>=e>>>0){p=21;break}w=a+4|0;f=c[w>>2]|0;if(!f){p=20;break}else{u=w;v=f}}g=u;a=v}if((p|0)==17){c[d>>2]=a;k=a;return k|0}else if((p|0)==20){c[d>>2]=a;k=w;return k|0}else if((p|0)==21){c[d>>2]=a;k=g;return k|0}}else x=t}else x=b;if(!n){c[d>>2]=h;k=h;return k|0}else{h=x;c[d>>2]=h;k=h+4|0;return k|0}return 0}function Te(a,b){a=a|0;b=b|0;if(!b)return;else{Te(a,c[b>>2]|0);Te(a,c[b+4>>2]|0);Yy(b);return}}function Ue(a){a=a|0;var b=0,d=0,e=0;b=c[a+24>>2]|0;d=c[a+28>>2]|0;if(+h[b+16>>3]==+h[d+16>>3]){e=1;return e|0}e=+h[b+24>>3]==+h[d+24>>3];return e|0}function Ve(a){a=a|0;var d=0,e=0,f=0,g=0;d=b[(c[a+24>>2]|0)+10>>1]|0;e=b[4628]|0;f=b[(c[a+28>>2]|0)+10>>1]|0;if((e&d)<<16>>16?(b[4627]&f)<<16>>16:0){g=1;return g|0}if(!((e&f)<<16>>16)){g=0;return g|0}g=(b[4627]&d)<<16>>16!=0;return g|0}function We(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+24>>2]|0;e=c[a+28>>2]|0;if((d|0)==(b|0)){f=e;return f|0}if((e|0)==(b|0)){f=d;return f|0}else ta(13314,12819,580,13353);return 0}function Xe(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;if(!(Ih(b+4|0,27824)|0))ta(13363,12819,590,13386);if(!(Ih(d+4|0,27824)|0))ta(13406,12819,591,13386);f=c[b>>2]|0;g=Ye(b,d)|0;h=(g|0)==0;do if(e)if(h){i=Wy(72)|0;ve(i,b,d,0);j=i;break}else ta(13429,12819,598,13386);else if(h){i=Wy(72)|0;ve(i,b,d,0);j=i}else j=g;while(0);Pe(j);if(a[j+16>>0]|0){k=j;return k|0}if(a[f+141>>0]|0){k=j;return k|0}if(!j){k=0;return k|0}we(j);Yy(j);k=0;return k|0}function Ye(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=(c[a+68>>2]|0)>>>0<=(c[b+68>>2]|0)>>>0?a:b;e=d+56|0;f=c[d+60>>2]|0;d=f;a:do if((d|0)!=(e|0)){g=f;h=d;while(1){i=c[g+8>>2]|0;j=c[i+24>>2]|0;k=c[i+28>>2]|0;if((j|0)==(a|0)&(k|0)==(b|0)|(j|0)==(b|0)&(k|0)==(a|0)){l=i;break}g=c[h+4>>2]|0;h=g;if((h|0)==(e|0))break a}return l|0}while(0);e=(c[a+84>>2]|0)>>>0<=(c[b+84>>2]|0)>>>0?a:b;d=e+72|0;f=c[e+76>>2]|0;e=f;b:do if((e|0)!=(d|0)){h=f;g=e;while(1){i=c[h+8>>2]|0;k=c[i+24>>2]|0;j=c[i+28>>2]|0;if((k|0)==(a|0)&(j|0)==(b|0)|(k|0)==(b|0)&(j|0)==(a|0)){l=i;break}h=c[g+4>>2]|0;g=h;if((g|0)==(d|0))break b}return l|0}while(0);d=(c[a+100>>2]|0)>>>0<=(c[b+100>>2]|0)>>>0?a:b;e=d+88|0;f=c[d+92>>2]|0;d=f;if((d|0)==(e|0)){l=0;return l|0}else{m=f;n=d}while(1){d=c[m+8>>2]|0;f=c[d+24>>2]|0;g=c[d+28>>2]|0;if((f|0)==(a|0)&(g|0)==(b|0)|(f|0)==(b|0)&(g|0)==(a|0)){l=d;o=10;break}m=c[n+4>>2]|0;n=m;if((n|0)==(e|0)){l=0;o=10;break}}if((o|0)==10)return l|0;return 0}function Ze(b,d){b=b|0;d=d|0;a[b>>0]=d&1;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;return}function _e(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;d=c[b>>2]|0;if(d|0){e=d;do{we(e);Yy(e);e=c[b>>2]|0}while((e|0)!=0)}if(!(c[a+12>>2]|0)){c[a+8>>2]=0;return}else ta(13454,12819,696,13467)}function $e(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;d=c[b>>2]|0;if(d|0){e=d;do{we(e);Yy(e);e=c[b>>2]|0}while((e|0)!=0)}if(!(c[a+12>>2]|0)){c[a+8>>2]=0;return}else ta(13454,12819,696,13467)}function af(a){a=a|0;return c[a+12>>2]|0}function bf(a){a=a|0;return c[a+4>>2]|0}function cf(a){a=a|0;return 0}function df(b){b=b|0;var d=0;d=l;l=l+16|0;c[b>>2]=1696;if(!(a[(c[b+4>>2]|0)+169>>0]|0)){Pb(13669,d);Pb(13735,d+8|0);ra()}else{Ff(b);l=d;return}}function ef(b){b=b|0;var d=0;d=l;l=l+16|0;c[b>>2]=1696;if(!(a[(c[b+4>>2]|0)+169>>0]|0)){Pb(13669,d);Pb(13735,d+8|0);ra()}else{Ff(b);Yy(b);l=d;return}}function ff(a,b){a=a|0;b=b|0;var d=0;d=b+96|0;c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];c[a+20>>2]=c[d+20>>2];return}function gf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0.0,n=0.0,o=0,p=0;e=l;l=l+96|0;f=e+80|0;g=e+48|0;i=e+24|0;j=e;k=Wf(b)|0;db[c[(c[b>>2]|0)+8>>2]&63](i,b);m=+h[i>>3];db[c[(c[b>>2]|0)+8>>2]&63](j,b);n=+h[j+8>>3];j=Wf(b)|0;c[g>>2]=k;h[g+8>>3]=m;h[g+16>>3]=n;c[g+24>>2]=j;Bo(d,13473,g)|0;if(a[b+144>>0]|0){c[f>>2]=Wf(b)|0;Bo(d,13551,f)|0}bo(13595,7,1,d)|0;bo(13603,57,1,d)|0;f=c[b+84>>2]|0;g=b+88|0;if((f|0)==(g|0)){bo(13661,7,1,d)|0;pp(10,d)|0;l=e;return}else o=f;while(1){Zb(c[o+16>>2]|0,d);f=c[o+4>>2]|0;if(!f){b=o+8|0;j=c[b>>2]|0;if((c[j>>2]|0)==(o|0))p=j;else{j=b;do{b=c[j>>2]|0;j=b+8|0;k=c[j>>2]|0}while((c[k>>2]|0)!=(b|0));p=k}}else{j=f;while(1){k=c[j>>2]|0;if(!k)break;else j=k}p=j}if((p|0)==(g|0))break;else o=p}bo(13661,7,1,d)|0;pp(10,d)|0;l=e;return}function hf(){Fh(27840,0,0,0);Fh(27848,0,0,b[4624]|0);return} +function Zr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;a=l;l=l+176|0;g=a+72|0;i=a+48|0;j=a+32|0;k=a+24|0;m=a+8|0;n=a;o=a+134|0;p=a+68|0;q=a+76|0;r=a+64|0;s=a+60|0;t=a+56|0;u=n;c[u>>2]=37;c[u+4>>2]=0;u=cs(n+1|0,31664,c[d+4>>2]|0)|0;c[p>>2]=o;v=Nq()|0;if(u){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;w=as(o,30,v,n,m)|0}else{h[k>>3]=f;w=as(o,30,v,n,k)|0}if((w|0)>29){k=Nq()|0;if(u){c[j>>2]=c[d+8>>2];h[j+8>>3]=f;x=ds(p,k,n,j)|0}else{h[i>>3]=f;x=ds(p,k,n,i)|0}i=c[p>>2]|0;if(!i)_y();else{y=x;z=i;A=i}}else{y=w;z=0;A=c[p>>2]|0}p=A+y|0;w=bs(A,p,d)|0;if((A|0)!=(o|0)){o=Pm(y<<1)|0;if(!o)_y();else{B=o;C=o}}else{B=q;C=0}bq(g,d);es(A,w,p,B,r,s,g);Lq(g);c[t>>2]=c[b>>2];b=c[r>>2]|0;r=c[s>>2]|0;c[g>>2]=c[t>>2];t=Nh(g,B,b,r,d,e)|0;Qm(C);Qm(z);l=a;return t|0}function _r(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;a=l;l=l+176|0;g=a+72|0;i=a+48|0;j=a+32|0;k=a+24|0;m=a+8|0;n=a;o=a+134|0;p=a+68|0;q=a+76|0;r=a+64|0;s=a+60|0;t=a+56|0;u=n;c[u>>2]=37;c[u+4>>2]=0;u=cs(n+1|0,24488,c[d+4>>2]|0)|0;c[p>>2]=o;v=Nq()|0;if(u){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;w=as(o,30,v,n,m)|0}else{h[k>>3]=f;w=as(o,30,v,n,k)|0}if((w|0)>29){k=Nq()|0;if(u){c[j>>2]=c[d+8>>2];h[j+8>>3]=f;x=ds(p,k,n,j)|0}else{h[i>>3]=f;x=ds(p,k,n,i)|0}i=c[p>>2]|0;if(!i)_y();else{y=x;z=i;A=i}}else{y=w;z=0;A=c[p>>2]|0}p=A+y|0;w=bs(A,p,d)|0;if((A|0)!=(o|0)){o=Pm(y<<1)|0;if(!o)_y();else{B=o;C=o}}else{B=q;C=0}bq(g,d);es(A,w,p,B,r,s,g);Lq(g);c[t>>2]=c[b>>2];b=c[r>>2]|0;r=c[s>>2]|0;c[g>>2]=c[t>>2];t=Nh(g,B,b,r,d,e)|0;Qm(C);Qm(z);l=a;return t|0}function $r(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;b=l;l=l+80|0;h=b;i=b+68|0;j=b+48|0;k=b+8|0;m=b+4|0;a[i>>0]=a[24482]|0;a[i+1>>0]=a[24483]|0;a[i+2>>0]=a[24484]|0;a[i+3>>0]=a[24485]|0;a[i+4>>0]=a[24486]|0;a[i+5>>0]=a[24487]|0;n=Nq()|0;c[h>>2]=g;g=as(j,20,n,i,h)|0;i=j+g|0;n=bs(j,i,e)|0;bq(h,e);o=Kq(h,28696)|0;Lq(h);jb[c[(c[o>>2]|0)+32>>2]&7](o,j,i,k)|0;o=k+g|0;c[m>>2]=c[d>>2];c[h>>2]=c[m>>2];m=Nh(h,k,(n|0)==(i|0)?o:k+(n-j)|0,o,e,f)|0;l=b;return m|0}function as(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=l;l=l+16|0;h=g;c[h>>2]=f;f=Zo(d)|0;d=ln(a,b,e,h)|0;if(f|0)Zo(f)|0;l=g;return d|0}function bs(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:do switch((c[e+4>>2]&176)<<24>>24){case 16:{f=a[b>>0]|0;g=b+1|0;switch(f<<24>>24){case 43:case 45:{h=g;break a;break}default:{}}if((d-b|0)>1&f<<24>>24==48){switch(a[g>>0]|0){case 88:case 120:break;default:{i=6;break a}}h=b+2|0}else i=6;break}case 32:{h=d;break}default:i=6}while(0);if((i|0)==6)h=b;return h|0}function cs(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!(d&2048))e=b;else{a[b>>0]=43;e=b+1|0}if(!(d&1024))f=e;else{a[e>>0]=35;f=e+1|0}e=d&260;b=(d&16384|0)!=0;d=(e|0)==260;if(d){g=0;h=f}else{a[f>>0]=46;a[f+1>>0]=42;g=1;h=f+2|0}f=c;c=h;while(1){h=a[f>>0]|0;if(!(h<<24>>24))break;a[c>>0]=h;f=f+1|0;c=c+1|0}a:do switch(e&511){case 4:{i=b?70:102;break}case 256:{i=b?69:101;break}default:if(d){i=b?65:97;break a}else{i=b?71:103;break a}}while(0);a[c>>0]=i;return g|0}function ds(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f;c[g>>2]=e;e=Zo(b)|0;b=qp(a,d,g)|0;if(e|0)Zo(e)|0;l=f;return b|0}function es(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;j=l;l=l+16|0;k=j;m=Kq(i,28696)|0;n=Kq(i,28712)|0;db[c[(c[n>>2]|0)+20>>2]&63](k,n);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{o=lb[c[(c[m>>2]|0)+28>>2]&15](m,i)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=o;p=b+1|0;break}default:p=b}o=e;a:do if((o-p|0)>1?(a[p>>0]|0)==48:0){i=p+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{q=p;r=10;break a}}s=lb[c[(c[m>>2]|0)+28>>2]&15](m,48)|0;t=c[h>>2]|0;c[h>>2]=t+1;a[t>>0]=s;s=p+2|0;t=lb[c[(c[m>>2]|0)+28>>2]&15](m,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+1;a[i>>0]=t;t=s;while(1){if(t>>>0>=e>>>0){u=s;v=t;break a}i=a[t>>0]|0;if(!(ap(i,Nq()|0)|0)){u=s;v=t;break a}t=t+1|0}}else{q=p;r=10}while(0);b:do if((r|0)==10)while(1){r=0;if(q>>>0>=e>>>0){u=p;v=q;break b}t=a[q>>0]|0;if(!(So(t,Nq()|0)|0)){u=p;v=q;break b}q=q+1|0;r=10}while(0);q=k+11|0;p=a[q>>0]|0;t=k+4|0;s=u;i=b;c:do if((p<<24>>24<0?c[t>>2]|0:p&255)|0){d:do if((u|0)!=(v|0)){b=v;w=u;while(1){x=b+-1|0;if(w>>>0>=x>>>0)break d;y=a[w>>0]|0;a[w>>0]=a[x>>0]|0;a[x>>0]=y;b=x;w=w+1|0}}while(0);w=fb[c[(c[n>>2]|0)+16>>2]&127](n)|0;b=u;x=0;y=0;while(1){if(b>>>0>=v>>>0)break;z=a[((a[q>>0]|0)<0?c[k>>2]|0:k)+y>>0]|0;if(z<<24>>24>0&(x|0)==(z<<24>>24|0)){z=c[h>>2]|0;c[h>>2]=z+1;a[z>>0]=w;z=a[q>>0]|0;A=(y>>>0<((z<<24>>24<0?c[t>>2]|0:z&255)+-1|0)>>>0&1)+y|0;B=0}else{A=y;B=x}z=lb[c[(c[m>>2]|0)+28>>2]&15](m,a[b>>0]|0)|0;C=c[h>>2]|0;c[h>>2]=C+1;a[C>>0]=z;b=b+1|0;x=B+1|0;y=A}y=f+(s-i)|0;x=c[h>>2]|0;if((y|0)==(x|0))D=m;else{b=x;x=y;while(1){y=b+-1|0;if(x>>>0>=y>>>0){D=m;break c}w=a[x>>0]|0;a[x>>0]=a[y>>0]|0;a[y>>0]=w;b=y;x=x+1|0}}}else{jb[c[(c[m>>2]|0)+32>>2]&7](m,u,v,c[h>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(v-s);D=m}while(0);s=v;while(1){if(s>>>0>=e>>>0){E=s;break}v=a[s>>0]|0;F=s+1|0;if(v<<24>>24==46){r=29;break}u=lb[c[(c[D>>2]|0)+28>>2]&15](m,v)|0;v=c[h>>2]|0;c[h>>2]=v+1;a[v>>0]=u;s=F}if((r|0)==29){r=fb[c[(c[n>>2]|0)+12>>2]&127](n)|0;n=c[h>>2]|0;c[h>>2]=n+1;a[n>>0]=r;E=F}jb[c[(c[m>>2]|0)+32>>2]&7](m,E,e,c[h>>2]|0)|0;m=(c[h>>2]|0)+(o-E)|0;c[h>>2]=m;c[g>>2]=(d|0)==(e|0)?m:f+(d-i)|0;fz(k);l=j;return}function fs(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if(!(e&2048))f=b;else{a[b>>0]=43;f=b+1|0}if(!(e&512)){g=c;h=f}else{a[f>>0]=35;g=c;h=f+1|0}while(1){f=a[g>>0]|0;if(!(f<<24>>24))break;a[h>>0]=f;g=g+1|0;h=h+1|0}switch(e&74){case 64:{i=111;break}case 8:{i=e&16384|0?88:120;break}default:i=d?100:117}a[h>>0]=i;return}function gs(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=l;l=l+16|0;k=j;m=Kq(i,28696)|0;n=Kq(i,28712)|0;db[c[(c[n>>2]|0)+20>>2]&63](k,n);i=k+11|0;o=a[i>>0]|0;p=k+4|0;q=b;r=e;if((o<<24>>24<0?c[p>>2]|0:o&255)|0){c[h>>2]=f;o=a[b>>0]|0;switch(o<<24>>24){case 43:case 45:{s=lb[c[(c[m>>2]|0)+28>>2]&15](m,o)|0;o=c[h>>2]|0;c[h>>2]=o+1;a[o>>0]=s;t=b+1|0;break}default:t=b}a:do if((r-t|0)>1?(a[t>>0]|0)==48:0){s=t+1|0;switch(a[s>>0]|0){case 88:case 120:break;default:{u=t;break a}}o=lb[c[(c[m>>2]|0)+28>>2]&15](m,48)|0;v=c[h>>2]|0;c[h>>2]=v+1;a[v>>0]=o;o=lb[c[(c[m>>2]|0)+28>>2]&15](m,a[s>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+1;a[s>>0]=o;u=t+2|0}else u=t;while(0);b:do if((u|0)!=(e|0)){t=e;o=u;while(1){s=t+-1|0;if(o>>>0>=s>>>0)break b;v=a[o>>0]|0;a[o>>0]=a[s>>0]|0;a[s>>0]=v;t=s;o=o+1|0}}while(0);o=fb[c[(c[n>>2]|0)+16>>2]&127](n)|0;n=u;t=0;s=0;while(1){if(n>>>0>=e>>>0)break;v=a[((a[i>>0]|0)<0?c[k>>2]|0:k)+t>>0]|0;if(v<<24>>24!=0&(s|0)==(v<<24>>24|0)){v=c[h>>2]|0;c[h>>2]=v+1;a[v>>0]=o;v=a[i>>0]|0;w=(t>>>0<((v<<24>>24<0?c[p>>2]|0:v&255)+-1|0)>>>0&1)+t|0;x=0}else{w=t;x=s}v=lb[c[(c[m>>2]|0)+28>>2]&15](m,a[n>>0]|0)|0;y=c[h>>2]|0;c[h>>2]=y+1;a[y>>0]=v;n=n+1|0;t=w;s=x+1|0}x=f+(u-q)|0;u=c[h>>2]|0;if((x|0)==(u|0))z=x;else{s=u;u=x;while(1){x=s+-1|0;if(u>>>0>=x>>>0)break;w=a[u>>0]|0;a[u>>0]=a[x>>0]|0;a[x>>0]=w;s=x;u=u+1|0}z=c[h>>2]|0}}else{jb[c[(c[m>>2]|0)+32>>2]&7](m,b,e,f)|0;b=f+(r-q)|0;c[h>>2]=b;z=b}c[g>>2]=(d|0)==(e|0)?z:f+(d-q)|0;fz(k);l=j;return}function hs(a){a=a|0;qq(a);return}function is(a){a=a|0;qq(a);Yy(a);return}function js(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=l;l=l+16|0;i=h+4|0;j=h;if(!(c[e+4>>2]&1)){k=c[(c[b>>2]|0)+24>>2]|0;c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];m=nb[k&31](b,i,e,f,g&1)|0}else{bq(i,e);e=Kq(i,28736)|0;Lq(i);f=c[e>>2]|0;if(g)db[c[f+24>>2]&63](i,e);else db[c[f+28>>2]&63](i,e);e=i+8+3|0;f=a[e>>0]|0;g=c[i>>2]|0;b=i+4|0;k=f<<24>>24<0?g:i;j=f;f=g;while(1){g=j<<24>>24<0;if((k|0)==((g?f:i)+((g?c[b>>2]|0:j&255)<<2)|0))break;g=c[k>>2]|0;n=c[d>>2]|0;if(n|0){o=n+24|0;p=c[o>>2]|0;if((p|0)==(c[n+28>>2]|0)){q=c[(c[n>>2]|0)+52>>2]|0;r=Rp(g)|0;s=lb[q&15](n,r)|0}else{c[o>>2]=p+4;c[p>>2]=g;s=Rp(g)|0}if(cq(s,Qp()|0)|0)c[d>>2]=0}k=k+4|0;j=a[e>>0]|0;f=c[i>>2]|0}f=c[d>>2]|0;rz(i);m=f}l=h;return m|0}function ks(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;b=l;l=l+128|0;h=b;i=b+122|0;j=b+108|0;k=b+16|0;m=b+12|0;n=b+4|0;o=b+8|0;a[i>>0]=a[24493]|0;a[i+1>>0]=a[24494]|0;a[i+2>>0]=a[24495]|0;a[i+3>>0]=a[24496]|0;a[i+4>>0]=a[24497]|0;a[i+5>>0]=a[24498]|0;fs(i+1|0,24499,1,c[e+4>>2]|0);p=Nq()|0;c[h>>2]=g;g=j+(as(j,13,p,i,h)|0)|0;i=bs(j,g,e)|0;bq(h,e);us(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[d>>2];d=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=rs(h,k,d,m,e,f)|0;l=b;return o|0}function ls(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;a=l;l=l+224|0;h=a+8|0;i=a;j=a+200|0;k=a+28|0;m=a+24|0;n=a+16|0;o=a+20|0;p=i;c[p>>2]=37;c[p+4>>2]=0;fs(i+1|0,24490,1,c[d+4>>2]|0);p=Nq()|0;q=h;c[q>>2]=f;c[q+4>>2]=g;g=j+(as(j,23,p,i,h)|0)|0;i=bs(j,g,d)|0;bq(h,d);us(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[b>>2];b=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=rs(h,k,b,m,d,e)|0;l=a;return o|0}function ms(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;b=l;l=l+128|0;h=b;i=b+112|0;j=b+100|0;k=b+16|0;m=b+12|0;n=b+4|0;o=b+8|0;a[i>>0]=a[24493]|0;a[i+1>>0]=a[24494]|0;a[i+2>>0]=a[24495]|0;a[i+3>>0]=a[24496]|0;a[i+4>>0]=a[24497]|0;a[i+5>>0]=a[24498]|0;fs(i+1|0,24499,0,c[e+4>>2]|0);p=Nq()|0;c[h>>2]=g;g=j+(as(j,12,p,i,h)|0)|0;i=bs(j,g,e)|0;bq(h,e);us(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[d>>2];d=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=rs(h,k,d,m,e,f)|0;l=b;return o|0}function ns(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;a=l;l=l+224|0;h=a+8|0;i=a;j=a+200|0;k=a+28|0;m=a+24|0;n=a+16|0;o=a+20|0;p=i;c[p>>2]=37;c[p+4>>2]=0;fs(i+1|0,24490,0,c[d+4>>2]|0);p=Nq()|0;q=h;c[q>>2]=f;c[q+4>>2]=g;g=j+(as(j,23,p,i,h)|0)|0;i=bs(j,g,d)|0;bq(h,d);us(j,i,g,k,m,n,h);Lq(h);c[o>>2]=c[b>>2];b=c[m>>2]|0;m=c[n>>2]|0;c[h>>2]=c[o>>2];o=rs(h,k,b,m,d,e)|0;l=a;return o|0}function os(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;a=l;l=l+336|0;g=a+300|0;i=a+48|0;j=a+32|0;k=a+24|0;m=a+8|0;n=a;o=a+304|0;p=a+296|0;q=a+68|0;r=a+64|0;s=a+60|0;t=a+56|0;u=n;c[u>>2]=37;c[u+4>>2]=0;u=cs(n+1|0,31664,c[d+4>>2]|0)|0;c[p>>2]=o;v=Nq()|0;if(u){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;w=as(o,30,v,n,m)|0}else{h[k>>3]=f;w=as(o,30,v,n,k)|0}if((w|0)>29){k=Nq()|0;if(u){c[j>>2]=c[d+8>>2];h[j+8>>3]=f;x=ds(p,k,n,j)|0}else{h[i>>3]=f;x=ds(p,k,n,i)|0}i=c[p>>2]|0;if(!i)_y();else{y=x;z=i;A=i}}else{y=w;z=0;A=c[p>>2]|0}p=A+y|0;w=bs(A,p,d)|0;do if((A|0)!=(o|0)){i=Pm(y<<3)|0;if(!i)_y();else{B=i;C=0;D=i;break}}else{B=q;C=1;D=0}while(0);bq(g,d);ts(A,w,p,B,r,s,g);Lq(g);c[t>>2]=c[b>>2];p=c[r>>2]|0;r=c[s>>2]|0;c[g>>2]=c[t>>2];t=rs(g,B,p,r,d,e)|0;c[b>>2]=t;if(!C)Qm(D);Qm(z);l=a;return t|0}function ps(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=+f;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;a=l;l=l+336|0;g=a+300|0;i=a+48|0;j=a+32|0;k=a+24|0;m=a+8|0;n=a;o=a+304|0;p=a+296|0;q=a+68|0;r=a+64|0;s=a+60|0;t=a+56|0;u=n;c[u>>2]=37;c[u+4>>2]=0;u=cs(n+1|0,24488,c[d+4>>2]|0)|0;c[p>>2]=o;v=Nq()|0;if(u){c[m>>2]=c[d+8>>2];h[m+8>>3]=f;w=as(o,30,v,n,m)|0}else{h[k>>3]=f;w=as(o,30,v,n,k)|0}if((w|0)>29){k=Nq()|0;if(u){c[j>>2]=c[d+8>>2];h[j+8>>3]=f;x=ds(p,k,n,j)|0}else{h[i>>3]=f;x=ds(p,k,n,i)|0}i=c[p>>2]|0;if(!i)_y();else{y=x;z=i;A=i}}else{y=w;z=0;A=c[p>>2]|0}p=A+y|0;w=bs(A,p,d)|0;do if((A|0)!=(o|0)){i=Pm(y<<3)|0;if(!i)_y();else{B=i;C=0;D=i;break}}else{B=q;C=1;D=0}while(0);bq(g,d);ts(A,w,p,B,r,s,g);Lq(g);c[t>>2]=c[b>>2];p=c[r>>2]|0;r=c[s>>2]|0;c[g>>2]=c[t>>2];t=rs(g,B,p,r,d,e)|0;c[b>>2]=t;if(!C)Qm(D);Qm(z);l=a;return t|0}function qs(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;b=l;l=l+192|0;h=b;i=b+176|0;j=b+156|0;k=b+4|0;m=b+152|0;a[i>>0]=a[24482]|0;a[i+1>>0]=a[24483]|0;a[i+2>>0]=a[24484]|0;a[i+3>>0]=a[24485]|0;a[i+4>>0]=a[24486]|0;a[i+5>>0]=a[24487]|0;n=Nq()|0;c[h>>2]=g;g=as(j,20,n,i,h)|0;i=j+g|0;n=bs(j,i,e)|0;bq(h,e);o=Kq(h,28728)|0;Lq(h);jb[c[(c[o>>2]|0)+48>>2]&7](o,j,i,k)|0;o=k+(g<<2)|0;c[m>>2]=c[d>>2];c[h>>2]=c[m>>2];m=rs(h,k,(n|0)==(i|0)?o:k+(n-j<<2)|0,o,e,f)|0;l=b;return m|0}function rs(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;i=l;l=l+16|0;j=i+12|0;k=i;m=c[b>>2]|0;a:do if(!m)n=0;else{o=f;p=d;q=o-p>>2;r=g+12|0;s=c[r>>2]|0;t=(s|0)>(q|0)?s-q|0:0;q=e;s=q-p|0;p=s>>2;if((s|0)>0?(Za[c[(c[m>>2]|0)+48>>2]&31](m,d,p)|0)!=(p|0):0){c[b>>2]=0;n=0;break}do if((t|0)>0){c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;if(t>>>0>1073741807)dz(k);do if(t>>>0>=2){p=t+4&2147483644;if(p>>>0>1073741823)ra();else{s=Wy(p<<2)|0;c[k>>2]=s;u=k+8|0;c[u>>2]=p|-2147483648;c[k+4>>2]=t;v=s;w=u+3|0;x=k;break}}else{u=k+8+3|0;a[u>>0]=t;v=k;w=u;x=k}while(0);ss(v,t,h)|0;c[j>>2]=0;wq(v+(t<<2)|0,j);if((Za[c[(c[m>>2]|0)+48>>2]&31](m,(a[w>>0]|0)<0?c[k>>2]|0:x,t)|0)==(t|0)){rz(k);break}else{c[b>>2]=0;rz(k);n=0;break a}}while(0);t=o-q|0;u=t>>2;if((t|0)>0?(Za[c[(c[m>>2]|0)+48>>2]&31](m,e,u)|0)!=(u|0):0){c[b>>2]=0;n=0;break}c[r>>2]=0;n=m}while(0);l=i;return n|0}function ss(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=a;else{mp(a,c,b)|0;d=a}return d|0}function ts(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;j=l;l=l+16|0;k=j;m=Kq(i,28728)|0;n=Kq(i,28736)|0;db[c[(c[n>>2]|0)+20>>2]&63](k,n);c[h>>2]=f;i=a[b>>0]|0;switch(i<<24>>24){case 43:case 45:{o=lb[c[(c[m>>2]|0)+44>>2]&15](m,i)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=o;p=b+1|0;break}default:p=b}o=e;a:do if((o-p|0)>1?(a[p>>0]|0)==48:0){i=p+1|0;switch(a[i>>0]|0){case 88:case 120:break;default:{q=p;r=10;break a}}s=lb[c[(c[m>>2]|0)+44>>2]&15](m,48)|0;t=c[h>>2]|0;c[h>>2]=t+4;c[t>>2]=s;s=p+2|0;t=lb[c[(c[m>>2]|0)+44>>2]&15](m,a[i>>0]|0)|0;i=c[h>>2]|0;c[h>>2]=i+4;c[i>>2]=t;t=s;while(1){if(t>>>0>=e>>>0){u=s;v=t;break a}i=a[t>>0]|0;if(!(ap(i,Nq()|0)|0)){u=s;v=t;break a}t=t+1|0}}else{q=p;r=10}while(0);b:do if((r|0)==10)while(1){r=0;if(q>>>0>=e>>>0){u=p;v=q;break b}t=a[q>>0]|0;if(!(So(t,Nq()|0)|0)){u=p;v=q;break b}q=q+1|0;r=10}while(0);q=k+11|0;p=a[q>>0]|0;t=k+4|0;s=u;i=b;c:do if((p<<24>>24<0?c[t>>2]|0:p&255)|0){d:do if((u|0)!=(v|0)){b=v;w=u;while(1){x=b+-1|0;if(w>>>0>=x>>>0)break d;y=a[w>>0]|0;a[w>>0]=a[x>>0]|0;a[x>>0]=y;b=x;w=w+1|0}}while(0);w=fb[c[(c[n>>2]|0)+16>>2]&127](n)|0;b=u;x=0;y=0;while(1){if(b>>>0>=v>>>0)break;z=a[q>>0]|0;A=z<<24>>24<0;B=a[(A?c[k>>2]|0:k)+x>>0]|0;if(B<<24>>24>0&(y|0)==(B<<24>>24|0)){B=c[h>>2]|0;c[h>>2]=B+4;c[B>>2]=w;C=(x>>>0<((A?c[t>>2]|0:z&255)+-1|0)>>>0&1)+x|0;D=0}else{C=x;D=y}z=lb[c[(c[m>>2]|0)+44>>2]&15](m,a[b>>0]|0)|0;A=c[h>>2]|0;c[h>>2]=A+4;c[A>>2]=z;b=b+1|0;x=C;y=D+1|0}y=f+(s-i<<2)|0;x=c[h>>2]|0;if((y|0)==(x|0)){E=m;F=y}else{b=x;w=y;while(1){y=b+-4|0;if(w>>>0>=y>>>0){E=m;F=x;break c}z=c[w>>2]|0;c[w>>2]=c[y>>2];c[y>>2]=z;b=y;w=w+4|0}}}else{jb[c[(c[m>>2]|0)+48>>2]&7](m,u,v,c[h>>2]|0)|0;w=(c[h>>2]|0)+(v-s<<2)|0;c[h>>2]=w;E=m;F=w}while(0);s=v;v=F;while(1){if(s>>>0>=e>>>0){G=s;H=v;break}F=a[s>>0]|0;I=s+1|0;if(F<<24>>24==46){r=29;break}u=lb[c[(c[E>>2]|0)+44>>2]&15](m,F)|0;F=c[h>>2]|0;D=F+4|0;c[h>>2]=D;c[F>>2]=u;s=I;v=D}if((r|0)==29){r=fb[c[(c[n>>2]|0)+12>>2]&127](n)|0;n=c[h>>2]|0;v=n+4|0;c[h>>2]=v;c[n>>2]=r;G=I;H=v}jb[c[(c[m>>2]|0)+48>>2]&7](m,G,e,H)|0;H=(c[h>>2]|0)+(o-G<<2)|0;c[h>>2]=H;c[g>>2]=(d|0)==(e|0)?H:f+(d-i<<2)|0;fz(k);l=j;return}function us(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;j=l;l=l+16|0;k=j;m=Kq(i,28728)|0;n=Kq(i,28736)|0;db[c[(c[n>>2]|0)+20>>2]&63](k,n);i=k+11|0;o=a[i>>0]|0;p=k+4|0;q=b;r=e;if((o<<24>>24<0?c[p>>2]|0:o&255)|0){c[h>>2]=f;o=a[b>>0]|0;switch(o<<24>>24){case 43:case 45:{s=lb[c[(c[m>>2]|0)+44>>2]&15](m,o)|0;o=c[h>>2]|0;c[h>>2]=o+4;c[o>>2]=s;t=b+1|0;break}default:t=b}a:do if((r-t|0)>1?(a[t>>0]|0)==48:0){s=t+1|0;switch(a[s>>0]|0){case 88:case 120:break;default:{u=t;break a}}o=lb[c[(c[m>>2]|0)+44>>2]&15](m,48)|0;v=c[h>>2]|0;c[h>>2]=v+4;c[v>>2]=o;o=lb[c[(c[m>>2]|0)+44>>2]&15](m,a[s>>0]|0)|0;s=c[h>>2]|0;c[h>>2]=s+4;c[s>>2]=o;u=t+2|0}else u=t;while(0);b:do if((u|0)!=(e|0)){t=e;o=u;while(1){s=t+-1|0;if(o>>>0>=s>>>0)break b;v=a[o>>0]|0;a[o>>0]=a[s>>0]|0;a[s>>0]=v;t=s;o=o+1|0}}while(0);o=fb[c[(c[n>>2]|0)+16>>2]&127](n)|0;n=u;t=0;s=0;while(1){if(n>>>0>=e>>>0)break;v=a[i>>0]|0;w=v<<24>>24<0;x=a[(w?c[k>>2]|0:k)+t>>0]|0;if(x<<24>>24!=0&(s|0)==(x<<24>>24|0)){x=c[h>>2]|0;c[h>>2]=x+4;c[x>>2]=o;y=(t>>>0<((w?c[p>>2]|0:v&255)+-1|0)>>>0&1)+t|0;z=0}else{y=t;z=s}v=lb[c[(c[m>>2]|0)+44>>2]&15](m,a[n>>0]|0)|0;w=c[h>>2]|0;c[h>>2]=w+4;c[w>>2]=v;n=n+1|0;t=y;s=z+1|0}z=f+(u-q<<2)|0;u=c[h>>2]|0;if((z|0)==(u|0))A=z;else{s=u;u=z;while(1){z=s+-4|0;if(u>>>0>=z>>>0)break;y=c[u>>2]|0;c[u>>2]=c[z>>2];c[z>>2]=y;s=z;u=u+4|0}A=c[h>>2]|0}}else{jb[c[(c[m>>2]|0)+48>>2]&7](m,b,e,f)|0;b=f+(r-q<<2)|0;c[h>>2]=b;A=b}c[g>>2]=(d|0)==(e|0)?A:f+(d-q<<2)|0;fz(k);l=j;return}function vs(a){a=a|0;qq(a);return}function ws(a){a=a|0;qq(a);Yy(a);return}function xs(a){a=a|0;return 2}function ys(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Ts(a,j,i,e,f,g,25018,25026)|0;l=h;return m|0}function zs(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;i=l;l=l+16|0;j=i+12|0;k=i+8|0;m=i+4|0;n=i;o=b+8|0;p=fb[c[(c[o>>2]|0)+20>>2]&127](o)|0;c[m>>2]=c[d>>2];c[n>>2]=c[e>>2];e=a[p+11>>0]|0;d=e<<24>>24<0;o=d?c[p>>2]|0:p;q=o+(d?c[p+4>>2]|0:e&255)|0;c[k>>2]=c[m>>2];c[j>>2]=c[n>>2];n=Ts(b,k,j,f,g,h,o,q)|0;l=i;return n|0}function As(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=l;l=l+16|0;i=h+4|0;j=h;bq(i,e);e=Kq(i,28696)|0;Lq(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Rs(a,g+24|0,b,i,f,e);l=h;return c[b>>2]|0}function Bs(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=l;l=l+16|0;i=h+4|0;j=h;bq(i,e);e=Kq(i,28696)|0;Lq(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Ss(a,g+16|0,b,i,f,e);l=h;return c[b>>2]|0}function Cs(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=l;l=l+16|0;i=h+4|0;j=h;bq(i,e);e=Kq(i,28696)|0;Lq(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];ct(a,g+20|0,b,i,f,e);l=h;return c[b>>2]|0}function Ds(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,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,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;j=l;l=l+144|0;k=j+128|0;m=j+112|0;n=j+124|0;o=j+120|0;p=j+116|0;q=j+108|0;r=j+104|0;s=j+100|0;t=j+96|0;u=j+92|0;v=j+88|0;w=j+84|0;x=j+80|0;y=j+76|0;z=j+72|0;A=j+68|0;B=j+64|0;C=j+60|0;D=j+56|0;E=j+52|0;F=j+48|0;G=j+44|0;H=j+40|0;I=j+36|0;J=j+32|0;K=j+28|0;L=j+24|0;M=j+20|0;N=j+16|0;O=j+12|0;P=j+8|0;Q=j+4|0;R=j;c[g>>2]=0;bq(k,f);S=Kq(k,28696)|0;Lq(k);T=h+8|0;U=h+20|0;V=h+16|0;W=h+24|0;X=b+8|0;do switch(i<<24>>24|0){case 65:case 97:{c[n>>2]=c[e>>2];c[k>>2]=c[n>>2];Rs(b,W,d,k,g,S);Y=26;break}case 104:case 66:case 98:{c[o>>2]=c[e>>2];c[k>>2]=c[o>>2];Ss(b,V,d,k,g,S);Y=26;break}case 99:{Z=fb[c[(c[X>>2]|0)+12>>2]&127](X)|0;c[p>>2]=c[d>>2];c[q>>2]=c[e>>2];_=a[Z+11>>0]|0;$=_<<24>>24<0;aa=$?c[Z>>2]|0:Z;ba=aa+($?c[Z+4>>2]|0:_&255)|0;c[m>>2]=c[p>>2];c[k>>2]=c[q>>2];c[d>>2]=Ts(b,m,k,f,g,h,aa,ba)|0;Y=26;break}case 101:case 100:{c[r>>2]=c[e>>2];c[k>>2]=c[r>>2];Us(b,h+12|0,d,k,g,S);Y=26;break}case 68:{c[s>>2]=c[d>>2];c[t>>2]=c[e>>2];c[m>>2]=c[s>>2];c[k>>2]=c[t>>2];c[d>>2]=Ts(b,m,k,f,g,h,24978,24986)|0;Y=26;break}case 70:{c[u>>2]=c[d>>2];c[v>>2]=c[e>>2];c[m>>2]=c[u>>2];c[k>>2]=c[v>>2];c[d>>2]=Ts(b,m,k,f,g,h,24986,24994)|0;Y=26;break}case 72:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];Vs(b,T,d,k,g,S);Y=26;break}case 73:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];Ws(b,T,d,k,g,S);Y=26;break}case 106:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];Xs(b,h+28|0,d,k,g,S);Y=26;break}case 109:{c[z>>2]=c[e>>2];c[k>>2]=c[z>>2];Ys(b,V,d,k,g,S);Y=26;break}case 77:{c[A>>2]=c[e>>2];c[k>>2]=c[A>>2];Zs(b,h+4|0,d,k,g,S);Y=26;break}case 116:case 110:{c[B>>2]=c[e>>2];c[k>>2]=c[B>>2];_s(b,d,k,g,S);Y=26;break}case 112:{c[C>>2]=c[e>>2];c[k>>2]=c[C>>2];$s(b,T,d,k,g,S);Y=26;break}case 114:{c[D>>2]=c[d>>2];c[E>>2]=c[e>>2];c[m>>2]=c[D>>2];c[k>>2]=c[E>>2];c[d>>2]=Ts(b,m,k,f,g,h,24994,25005)|0;Y=26;break}case 82:{c[F>>2]=c[d>>2];c[G>>2]=c[e>>2];c[m>>2]=c[F>>2];c[k>>2]=c[G>>2];c[d>>2]=Ts(b,m,k,f,g,h,25005,25010)|0;Y=26;break}case 83:{c[H>>2]=c[e>>2];c[k>>2]=c[H>>2];at(b,h,d,k,g,S);Y=26;break}case 84:{c[I>>2]=c[d>>2];c[J>>2]=c[e>>2];c[m>>2]=c[I>>2];c[k>>2]=c[J>>2];c[d>>2]=Ts(b,m,k,f,g,h,25010,25018)|0;Y=26;break}case 119:{c[K>>2]=c[e>>2];c[k>>2]=c[K>>2];bt(b,W,d,k,g,S);Y=26;break}case 120:{ba=c[(c[b>>2]|0)+20>>2]|0;c[L>>2]=c[d>>2];c[M>>2]=c[e>>2];c[m>>2]=c[L>>2];c[k>>2]=c[M>>2];ca=eb[ba&63](b,m,k,f,g,h)|0;break}case 88:{ba=fb[c[(c[X>>2]|0)+24>>2]&127](X)|0;c[N>>2]=c[d>>2];c[O>>2]=c[e>>2];aa=a[ba+11>>0]|0;_=aa<<24>>24<0;Z=_?c[ba>>2]|0:ba;$=Z+(_?c[ba+4>>2]|0:aa&255)|0;c[m>>2]=c[N>>2];c[k>>2]=c[O>>2];c[d>>2]=Ts(b,m,k,f,g,h,Z,$)|0;Y=26;break}case 121:{c[P>>2]=c[e>>2];c[k>>2]=c[P>>2];ct(b,U,d,k,g,S);Y=26;break}case 89:{c[Q>>2]=c[e>>2];c[k>>2]=c[Q>>2];dt(b,U,d,k,g,S);Y=26;break}case 37:{c[R>>2]=c[e>>2];c[k>>2]=c[R>>2];et(b,d,k,g,S);Y=26;break}default:{c[g>>2]=c[g>>2]|4;Y=26}}while(0);if((Y|0)==26)ca=c[d>>2]|0;l=j;return ca|0}function Es(b){b=b|0;if((a[27144]|0)==0?sA(27144)|0:0){Ps();c[7392]=29400}return c[7392]|0}function Fs(b){b=b|0;if((a[27128]|0)==0?sA(27128)|0:0){Ns();c[7349]=29108}return c[7349]|0}function Gs(b){b=b|0;if((a[27112]|0)==0?sA(27112)|0:0){Ls();c[7276]=28816}return c[7276]|0}function Hs(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27104]|0)==0?sA(27104)|0:0){c[7201]=0;c[7202]=0;c[7203]=0;e=Yp(24736)|0;if(e>>>0>4294967279)dz(28804);if(e>>>0<11){a[28815]=e;f=28804}else{g=e+16&-16;h=Wy(g)|0;c[7201]=h;c[7203]=g|-2147483648;c[7202]=e;f=h}Op(f,24736,e)|0;a[d>>0]=0;Zp(f+e|0,d);Pa(108,28804,o|0)|0}l=b;return 28804}function Is(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27096]|0)==0?sA(27096)|0:0){c[7198]=0;c[7199]=0;c[7200]=0;e=Yp(24724)|0;if(e>>>0>4294967279)dz(28792);if(e>>>0<11){a[28803]=e;f=28792}else{g=e+16&-16;h=Wy(g)|0;c[7198]=h;c[7200]=g|-2147483648;c[7199]=e;f=h}Op(f,24724,e)|0;a[d>>0]=0;Zp(f+e|0,d);Pa(108,28792,o|0)|0}l=b;return 28792}function Js(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27088]|0)==0?sA(27088)|0:0){c[7195]=0;c[7196]=0;c[7197]=0;e=Yp(24715)|0;if(e>>>0>4294967279)dz(28780);if(e>>>0<11){a[28791]=e;f=28780}else{g=e+16&-16;h=Wy(g)|0;c[7195]=h;c[7197]=g|-2147483648;c[7196]=e;f=h}Op(f,24715,e)|0;a[d>>0]=0;Zp(f+e|0,d);Pa(108,28780,o|0)|0}l=b;return 28780}function Ks(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27080]|0)==0?sA(27080)|0:0){c[7192]=0;c[7193]=0;c[7194]=0;e=Yp(24706)|0;if(e>>>0>4294967279)dz(28768);if(e>>>0<11){a[28779]=e;f=28768}else{g=e+16&-16;h=Wy(g)|0;c[7192]=h;c[7194]=g|-2147483648;c[7193]=e;f=h}Op(f,24706,e)|0;a[d>>0]=0;Zp(f+e|0,d);Pa(108,28768,o|0)|0}l=b;return 28768}function Ls(){var b=0,d=0;if((a[27120]|0)==0?sA(27120)|0:0){b=28816;do{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}b=b+12|0}while((b|0)!=29104);Pa(109,0,o|0)|0}lz(28816,24757)|0;lz(28828,24760)|0;return}function Ms(a){a=a|0;a=29104;do{a=a+-12|0;fz(a)}while((a|0)!=28816);return}function Ns(){var b=0,d=0;if((a[27136]|0)==0?sA(27136)|0:0){b=29108;do{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}b=b+12|0}while((b|0)!=29396);Pa(110,0,o|0)|0}lz(29108,24763)|0;lz(29120,24771)|0;lz(29132,24780)|0;lz(29144,24786)|0;lz(29156,24792)|0;lz(29168,24796)|0;lz(29180,24801)|0;lz(29192,24806)|0;lz(29204,24813)|0;lz(29216,24823)|0;lz(29228,24831)|0;lz(29240,24840)|0;lz(29252,24849)|0;lz(29264,24853)|0;lz(29276,24857)|0;lz(29288,24861)|0;lz(29300,24792)|0;lz(29312,24865)|0;lz(29324,24869)|0;lz(29336,24873)|0;lz(29348,24877)|0;lz(29360,24881)|0;lz(29372,24885)|0;lz(29384,24889)|0;return}function Os(a){a=a|0;a=29396;do{a=a+-12|0;fz(a)}while((a|0)!=29108);return}function Ps(){var b=0,d=0;if((a[27152]|0)==0?sA(27152)|0:0){b=29400;do{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}b=b+12|0}while((b|0)!=29568);Pa(111,0,o|0)|0}lz(29400,24893)|0;lz(29412,24900)|0;lz(29424,24907)|0;lz(29436,24915)|0;lz(29448,24925)|0;lz(29460,24934)|0;lz(29472,24941)|0;lz(29484,24950)|0;lz(29496,24954)|0;lz(29508,24958)|0;lz(29520,24962)|0;lz(29532,24966)|0;lz(29544,24970)|0;lz(29556,24974)|0;return}function Qs(a){a=a|0;a=29568;do{a=a+-12|0;fz(a)}while((a|0)!=29400);return}function Rs(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;h=l;l=l+16|0;i=h+4|0;j=h;k=a+8|0;a=fb[c[c[k>>2]>>2]&127](k)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];j=(qr(d,i,a,a+168|0,g,f,0)|0)-a|0;if((j|0)<168)c[b>>2]=((j|0)/12|0|0)%7|0;l=h;return}function Ss(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;h=l;l=l+16|0;i=h+4|0;j=h;k=a+8|0;a=fb[c[(c[k>>2]|0)+4>>2]&127](k)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];j=(qr(d,i,a,a+288|0,g,f,0)|0)-a|0;if((j|0)<288)c[b>>2]=((j|0)/12|0|0)%12|0;l=h;return}function Ts(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,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;m=l;l=l+16|0;n=m+12|0;o=m+8|0;p=m+4|0;q=m;bq(n,g);r=Kq(n,28696)|0;Lq(n);c[h>>2]=0;s=r+8|0;t=j;j=0;a:while(1){u=(t|0)!=(k|0);v=j;while(1){w=c[e>>2]|0;if(!(u&(v|0)==0)){x=w;break a}y=w;if(w){z=c[w+12>>2]|0;if((z|0)==(c[w+16>>2]|0))A=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else A=Np(a[z>>0]|0)|0;if(aq(A,Mp()|0)|0){c[e>>2]=0;B=0;C=1;D=0}else{B=w;C=0;D=y}}else{B=0;C=1;D=y}y=c[f>>2]|0;w=y;do if(y){z=c[y+12>>2]|0;if((z|0)==(c[y+16>>2]|0))E=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else E=Np(a[z>>0]|0)|0;if(!(aq(E,Mp()|0)|0))if(C){F=y;G=w;break}else{H=61;break a}else{c[f>>2]=0;I=0;H=16;break}}else{I=w;H=16}while(0);if((H|0)==16){H=0;if(C){H=61;break a}else{F=0;G=I}}if((Za[c[(c[r>>2]|0)+36>>2]&31](r,a[t>>0]|0,0)|0)<<24>>24==37){H=19;break}w=a[t>>0]|0;if(w<<24>>24>-1?(J=c[s>>2]|0,b[J+(w<<24>>24<<1)>>1]&8192):0){K=t;H=27;break}L=B+12|0;w=c[L>>2]|0;M=B+16|0;if((w|0)==(c[M>>2]|0))N=fb[c[(c[B>>2]|0)+36>>2]&127](B)|0;else N=Np(a[w>>0]|0)|0;w=lb[c[(c[r>>2]|0)+12>>2]&15](r,N&255)|0;if(w<<24>>24==(lb[c[(c[r>>2]|0)+12>>2]&15](r,a[t>>0]|0)|0)<<24>>24){H=57;break}c[h>>2]=4;v=4}b:do if((H|0)==19){H=0;v=t+1|0;if((v|0)==(k|0)){H=61;break a}u=Za[c[(c[r>>2]|0)+36>>2]&31](r,a[v>>0]|0,0)|0;switch(u<<24>>24){case 48:case 69:{w=t+2|0;if((w|0)==(k|0)){H=61;break a}O=u;P=Za[c[(c[r>>2]|0)+36>>2]&31](r,a[w>>0]|0,0)|0;Q=v;break}default:{O=0;P=u;Q=t}}u=c[(c[d>>2]|0)+36>>2]|0;c[p>>2]=D;c[q>>2]=G;c[o>>2]=c[p>>2];c[n>>2]=c[q>>2];c[e>>2]=ib[u&15](d,o,n,g,h,i,P,O)|0;R=Q+2|0}else if((H|0)==27){while(1){H=0;u=K+1|0;if((u|0)==(k|0)){S=k;break}v=a[u>>0]|0;if(v<<24>>24<=-1){S=u;break}if(!(b[J+(v<<24>>24<<1)>>1]&8192)){S=u;break}else{K=u;H=27}}u=B;v=F;w=F;while(1){if(u){y=c[u+12>>2]|0;if((y|0)==(c[u+16>>2]|0))T=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else T=Np(a[y>>0]|0)|0;if(aq(T,Mp()|0)|0){c[e>>2]=0;U=1;V=0}else{U=0;V=u}}else{U=1;V=0}do if(w){y=c[w+12>>2]|0;if((y|0)==(c[w+16>>2]|0))W=fb[c[(c[w>>2]|0)+36>>2]&127](w)|0;else W=Np(a[y>>0]|0)|0;if(!(aq(W,Mp()|0)|0))if(U^(v|0)==0){X=v;Y=v;break}else{R=S;break b}else{c[f>>2]=0;Z=0;H=43;break}}else{Z=v;H=43}while(0);if((H|0)==43){H=0;if(U){R=S;break b}else{X=Z;Y=0}}y=V+12|0;z=c[y>>2]|0;_=V+16|0;if((z|0)==(c[_>>2]|0))$=fb[c[(c[V>>2]|0)+36>>2]&127](V)|0;else $=Np(a[z>>0]|0)|0;if(($&255)<<24>>24<=-1){R=S;break b}if(!(b[(c[s>>2]|0)+($<<24>>24<<1)>>1]&8192)){R=S;break b}z=c[y>>2]|0;if((z|0)==(c[_>>2]|0)){fb[c[(c[V>>2]|0)+40>>2]&127](V)|0;u=V;v=X;w=Y;continue}else{c[y>>2]=z+1;Np(a[z>>0]|0)|0;u=V;v=X;w=Y;continue}}}else if((H|0)==57){H=0;w=t+1|0;v=c[L>>2]|0;if((v|0)==(c[M>>2]|0)){fb[c[(c[B>>2]|0)+40>>2]&127](B)|0;R=w;break}else{c[L>>2]=v+1;Np(a[v>>0]|0)|0;R=w;break}}while(0);t=R;j=c[h>>2]|0}if((H|0)==61){c[h>>2]=4;x=B}if(x){B=c[x+12>>2]|0;if((B|0)==(c[x+16>>2]|0))aa=fb[c[(c[x>>2]|0)+36>>2]&127](x)|0;else aa=Np(a[B>>0]|0)|0;if(aq(aa,Mp()|0)|0){c[e>>2]=0;ba=0;ca=1}else{ba=x;ca=0}}else{ba=0;ca=1}x=c[f>>2]|0;do if(x){e=c[x+12>>2]|0;if((e|0)==(c[x+16>>2]|0))da=fb[c[(c[x>>2]|0)+36>>2]&127](x)|0;else da=Np(a[e>>0]|0)|0;if(!(aq(da,Mp()|0)|0))if(ca)break;else{H=76;break}else{c[f>>2]=0;H=74;break}}else H=74;while(0);if((H|0)==74?ca:0)H=76;if((H|0)==76)c[h>>2]=c[h>>2]|2;l=m;return ba|0}function Us(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,2)|0;g=c[f>>2]|0;if((i+-1|0)>>>0<31&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Vs(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<24&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Ws(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,2)|0;g=c[f>>2]|0;if((i+-1|0)>>>0<12&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Xs(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,3)|0;g=c[f>>2]|0;if((i|0)<366&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Ys(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<13&(g&4|0)==0)c[b>>2]=i+-1;else c[f>>2]=g|4;l=a;return}function Zs(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<60&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function _s(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;d=h+8|0;a:while(1){h=c[e>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))j=fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else j=Np(a[i>>0]|0)|0;if(aq(j,Mp()|0)|0){c[e>>2]=0;k=1;break}else{k=(c[e>>2]|0)==0;break}}else k=1;while(0);h=c[f>>2]|0;do if(h){i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))l=fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else l=Np(a[i>>0]|0)|0;if(!(aq(l,Mp()|0)|0))if(k){m=h;break}else{n=h;break a}else{c[f>>2]=0;o=15;break}}else o=15;while(0);if((o|0)==15){o=0;if(k){n=0;break}else m=0}h=c[e>>2]|0;i=c[h+12>>2]|0;if((i|0)==(c[h+16>>2]|0))p=fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else p=Np(a[i>>0]|0)|0;if((p&255)<<24>>24<=-1){n=m;break}if(!(b[(c[d>>2]|0)+(p<<24>>24<<1)>>1]&8192)){n=m;break}i=c[e>>2]|0;h=i+12|0;q=c[h>>2]|0;if((q|0)==(c[i+16>>2]|0)){fb[c[(c[i>>2]|0)+40>>2]&127](i)|0;continue}else{c[h>>2]=q+1;Np(a[q>>0]|0)|0;continue}}m=c[e>>2]|0;do if(m){p=c[m+12>>2]|0;if((p|0)==(c[m+16>>2]|0))r=fb[c[(c[m>>2]|0)+36>>2]&127](m)|0;else r=Np(a[p>>0]|0)|0;if(aq(r,Mp()|0)|0){c[e>>2]=0;s=1;break}else{s=(c[e>>2]|0)==0;break}}else s=1;while(0);do if(n){e=c[n+12>>2]|0;if((e|0)==(c[n+16>>2]|0))t=fb[c[(c[n>>2]|0)+36>>2]&127](n)|0;else t=Np(a[e>>0]|0)|0;if(!(aq(t,Mp()|0)|0))if(s)break;else{o=40;break}else{c[f>>2]=0;o=38;break}}else o=38;while(0);if((o|0)==38?s:0)o=40;if((o|0)==40)c[g>>2]=c[g>>2]|2;return}function $s(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0;i=l;l=l+16|0;j=i+4|0;k=i;m=b+8|0;b=fb[c[(c[m>>2]|0)+8>>2]&127](m)|0;m=a[b+11>>0]|0;if(m<<24>>24<0)n=c[b+4>>2]|0;else n=m&255;m=a[b+12+11>>0]|0;if(m<<24>>24<0)o=c[b+16>>2]|0;else o=m&255;do if((n|0)!=(0-o|0)){c[k>>2]=c[f>>2];c[j>>2]=c[k>>2];m=(qr(e,j,b,b+24|0,h,g,0)|0)-b|0;p=c[d>>2]|0;if((p|0)==12&(m|0)==0){c[d>>2]=0;break}if((p|0)<12&(m|0)==12)c[d>>2]=p+12}else c[g>>2]=c[g>>2]|4;while(0);l=i;return}function at(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<61&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function bt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,1)|0;g=c[f>>2]|0;if((i|0)<7&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function ct(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,4)|0;if(!(c[f>>2]&4)){if((i|0)<69)j=i+2e3|0;else j=(i|0)<100?i+1900|0:i;c[b>>2]=j+-1900}l=a;return}function dt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=ft(d,h,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=i+-1900;l=a;return}function et(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;b=c[d>>2]|0;do if(b){h=c[b+12>>2]|0;if((h|0)==(c[b+16>>2]|0))i=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0;else i=Np(a[h>>0]|0)|0;if(aq(i,Mp()|0)|0){c[d>>2]=0;j=1;break}else{j=(c[d>>2]|0)==0;break}}else j=1;while(0);i=c[e>>2]|0;do if(i){b=c[i+12>>2]|0;if((b|0)==(c[i+16>>2]|0))k=fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else k=Np(a[b>>0]|0)|0;if(!(aq(k,Mp()|0)|0))if(j){l=i;m=16;break}else{n=6;m=38;break}else{c[e>>2]=0;m=14;break}}else m=14;while(0);if((m|0)==14)if(j){n=6;m=38}else{l=0;m=16}a:do if((m|0)==16){j=c[d>>2]|0;i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))o=fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else o=Np(a[i>>0]|0)|0;if((Za[c[(c[g>>2]|0)+36>>2]&31](g,o&255,0)|0)<<24>>24==37){i=c[d>>2]|0;j=i+12|0;k=c[j>>2]|0;if((k|0)==(c[i+16>>2]|0))fb[c[(c[i>>2]|0)+40>>2]&127](i)|0;else{c[j>>2]=k+1;Np(a[k>>0]|0)|0}k=c[d>>2]|0;do if(k){j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))p=fb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else p=Np(a[j>>0]|0)|0;if(aq(p,Mp()|0)|0){c[d>>2]=0;q=1;break}else{q=(c[d>>2]|0)==0;break}}else q=1;while(0);do if(l|0){k=c[l+12>>2]|0;if((k|0)==(c[l+16>>2]|0))r=fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else r=Np(a[k>>0]|0)|0;if(!(aq(r,Mp()|0)|0))if(q)break a;else{n=2;m=38;break a}else{c[e>>2]=0;break}}while(0);if(q){n=2;m=38}}else{n=4;m=38}}while(0);if((m|0)==38)c[f>>2]=c[f>>2]|n;return}function ft(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;i=c[d>>2]|0;do if(i){j=c[i+12>>2]|0;if((j|0)==(c[i+16>>2]|0))k=fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else k=Np(a[j>>0]|0)|0;if(aq(k,Mp()|0)|0){c[d>>2]=0;l=1;break}else{l=(c[d>>2]|0)==0;break}}else l=1;while(0);k=c[e>>2]|0;do if(k){i=c[k+12>>2]|0;if((i|0)==(c[k+16>>2]|0))m=fb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else m=Np(a[i>>0]|0)|0;if(!(aq(m,Mp()|0)|0))if(l){n=k;o=17;break}else{o=16;break}else{c[e>>2]=0;o=14;break}}else o=14;while(0);if((o|0)==14)if(l)o=16;else{n=0;o=17}a:do if((o|0)==16){c[f>>2]=c[f>>2]|6;p=0}else if((o|0)==17){l=c[d>>2]|0;k=c[l+12>>2]|0;if((k|0)==(c[l+16>>2]|0))q=fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else q=Np(a[k>>0]|0)|0;k=q&255;if(k<<24>>24>-1?(l=g+8|0,b[(c[l>>2]|0)+(q<<24>>24<<1)>>1]&2048):0){m=(Za[c[(c[g>>2]|0)+36>>2]&31](g,k,0)|0)<<24>>24;k=c[d>>2]|0;i=k+12|0;j=c[i>>2]|0;if((j|0)==(c[k+16>>2]|0)){fb[c[(c[k>>2]|0)+40>>2]&127](k)|0;r=m;s=h;t=n;u=n}else{c[i>>2]=j+1;Np(a[j>>0]|0)|0;r=m;s=h;t=n;u=n}while(1){v=r+-48|0;m=s+-1|0;j=c[d>>2]|0;do if(j){i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))w=fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else w=Np(a[i>>0]|0)|0;if(aq(w,Mp()|0)|0){c[d>>2]=0;x=1;break}else{x=(c[d>>2]|0)==0;break}}else x=1;while(0);do if(u){j=c[u+12>>2]|0;if((j|0)==(c[u+16>>2]|0))y=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else y=Np(a[j>>0]|0)|0;if(aq(y,Mp()|0)|0){c[e>>2]=0;z=0;A=1;B=0;break}else{z=t;A=(t|0)==0;B=t;break}}else{z=t;A=1;B=0}while(0);C=c[d>>2]|0;if(!((s|0)>1&(x^A)))break;j=c[C+12>>2]|0;if((j|0)==(c[C+16>>2]|0))D=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else D=Np(a[j>>0]|0)|0;j=D&255;if(j<<24>>24<=-1){p=v;break a}if(!(b[(c[l>>2]|0)+(D<<24>>24<<1)>>1]&2048)){p=v;break a}i=((Za[c[(c[g>>2]|0)+36>>2]&31](g,j,0)|0)<<24>>24)+(v*10|0)|0;j=c[d>>2]|0;k=j+12|0;E=c[k>>2]|0;if((E|0)==(c[j+16>>2]|0)){fb[c[(c[j>>2]|0)+40>>2]&127](j)|0;r=i;s=m;t=z;u=B;continue}else{c[k>>2]=E+1;Np(a[E>>0]|0)|0;r=i;s=m;t=z;u=B;continue}}do if(C){l=c[C+12>>2]|0;if((l|0)==(c[C+16>>2]|0))F=fb[c[(c[C>>2]|0)+36>>2]&127](C)|0;else F=Np(a[l>>0]|0)|0;if(aq(F,Mp()|0)|0){c[d>>2]=0;G=1;break}else{G=(c[d>>2]|0)==0;break}}else G=1;while(0);do if(z){l=c[z+12>>2]|0;if((l|0)==(c[z+16>>2]|0))H=fb[c[(c[z>>2]|0)+36>>2]&127](z)|0;else H=Np(a[l>>0]|0)|0;if(!(aq(H,Mp()|0)|0))if(G){p=v;break a}else break;else{c[e>>2]=0;o=62;break}}else o=62;while(0);if((o|0)==62?!G:0){p=v;break}c[f>>2]=c[f>>2]|2;p=v;break}c[f>>2]=c[f>>2]|4;p=0}while(0);return p|0}function gt(a){a=a|0;qq(a);return}function ht(a){a=a|0;qq(a);Yy(a);return}function it(a){a=a|0;return 2}function jt(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h+12|0;j=h+8|0;k=h+4|0;m=h;c[k>>2]=c[b>>2];c[m>>2]=c[d>>2];c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Ft(a,j,i,e,f,g,7900,7932)|0;l=h;return m|0}function kt(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;i=l;l=l+16|0;j=i+12|0;k=i+8|0;m=i+4|0;n=i;o=b+8|0;p=fb[c[(c[o>>2]|0)+20>>2]&127](o)|0;c[m>>2]=c[d>>2];c[n>>2]=c[e>>2];e=a[p+8+3>>0]|0;d=e<<24>>24<0;o=d?c[p>>2]|0:p;q=o+((d?c[p+4>>2]|0:e&255)<<2)|0;c[k>>2]=c[m>>2];c[j>>2]=c[n>>2];n=Ft(b,k,j,f,g,h,o,q)|0;l=i;return n|0}function lt(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=l;l=l+16|0;i=h+4|0;j=h;bq(i,e);e=Kq(i,28728)|0;Lq(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Dt(a,g+24|0,b,i,f,e);l=h;return c[b>>2]|0}function mt(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=l;l=l+16|0;i=h+4|0;j=h;bq(i,e);e=Kq(i,28728)|0;Lq(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Et(a,g+16|0,b,i,f,e);l=h;return c[b>>2]|0}function nt(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=l;l=l+16|0;i=h+4|0;j=h;bq(i,e);e=Kq(i,28728)|0;Lq(i);c[j>>2]=c[d>>2];c[i>>2]=c[j>>2];Qt(a,g+20|0,b,i,f,e);l=h;return c[b>>2]|0}function ot(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,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,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;j=l;l=l+144|0;k=j+128|0;m=j+112|0;n=j+124|0;o=j+120|0;p=j+116|0;q=j+108|0;r=j+104|0;s=j+100|0;t=j+96|0;u=j+92|0;v=j+88|0;w=j+84|0;x=j+80|0;y=j+76|0;z=j+72|0;A=j+68|0;B=j+64|0;C=j+60|0;D=j+56|0;E=j+52|0;F=j+48|0;G=j+44|0;H=j+40|0;I=j+36|0;J=j+32|0;K=j+28|0;L=j+24|0;M=j+20|0;N=j+16|0;O=j+12|0;P=j+8|0;Q=j+4|0;R=j;c[g>>2]=0;bq(k,f);S=Kq(k,28728)|0;Lq(k);T=h+8|0;U=h+20|0;V=h+16|0;W=h+24|0;X=b+8|0;do switch(i<<24>>24|0){case 65:case 97:{c[n>>2]=c[e>>2];c[k>>2]=c[n>>2];Dt(b,W,d,k,g,S);Y=26;break}case 104:case 66:case 98:{c[o>>2]=c[e>>2];c[k>>2]=c[o>>2];Et(b,V,d,k,g,S);Y=26;break}case 99:{Z=fb[c[(c[X>>2]|0)+12>>2]&127](X)|0;c[p>>2]=c[d>>2];c[q>>2]=c[e>>2];_=a[Z+8+3>>0]|0;$=_<<24>>24<0;aa=$?c[Z>>2]|0:Z;ba=aa+(($?c[Z+4>>2]|0:_&255)<<2)|0;c[m>>2]=c[p>>2];c[k>>2]=c[q>>2];c[d>>2]=Ft(b,m,k,f,g,h,aa,ba)|0;Y=26;break}case 101:case 100:{c[r>>2]=c[e>>2];c[k>>2]=c[r>>2];Gt(b,h+12|0,d,k,g,S);Y=26;break}case 68:{c[s>>2]=c[d>>2];c[t>>2]=c[e>>2];c[m>>2]=c[s>>2];c[k>>2]=c[t>>2];c[d>>2]=Ft(b,m,k,f,g,h,7740,7772)|0;Y=26;break}case 70:{c[u>>2]=c[d>>2];c[v>>2]=c[e>>2];c[m>>2]=c[u>>2];c[k>>2]=c[v>>2];c[d>>2]=Ft(b,m,k,f,g,h,7772,7804)|0;Y=26;break}case 72:{c[w>>2]=c[e>>2];c[k>>2]=c[w>>2];Ht(b,T,d,k,g,S);Y=26;break}case 73:{c[x>>2]=c[e>>2];c[k>>2]=c[x>>2];It(b,T,d,k,g,S);Y=26;break}case 106:{c[y>>2]=c[e>>2];c[k>>2]=c[y>>2];Jt(b,h+28|0,d,k,g,S);Y=26;break}case 109:{c[z>>2]=c[e>>2];c[k>>2]=c[z>>2];Kt(b,V,d,k,g,S);Y=26;break}case 77:{c[A>>2]=c[e>>2];c[k>>2]=c[A>>2];Lt(b,h+4|0,d,k,g,S);Y=26;break}case 116:case 110:{c[B>>2]=c[e>>2];c[k>>2]=c[B>>2];Mt(b,d,k,g,S);Y=26;break}case 112:{c[C>>2]=c[e>>2];c[k>>2]=c[C>>2];Nt(b,T,d,k,g,S);Y=26;break}case 114:{c[D>>2]=c[d>>2];c[E>>2]=c[e>>2];c[m>>2]=c[D>>2];c[k>>2]=c[E>>2];c[d>>2]=Ft(b,m,k,f,g,h,7804,7848)|0;Y=26;break}case 82:{c[F>>2]=c[d>>2];c[G>>2]=c[e>>2];c[m>>2]=c[F>>2];c[k>>2]=c[G>>2];c[d>>2]=Ft(b,m,k,f,g,h,7848,7868)|0;Y=26;break}case 83:{c[H>>2]=c[e>>2];c[k>>2]=c[H>>2];Ot(b,h,d,k,g,S);Y=26;break}case 84:{c[I>>2]=c[d>>2];c[J>>2]=c[e>>2];c[m>>2]=c[I>>2];c[k>>2]=c[J>>2];c[d>>2]=Ft(b,m,k,f,g,h,7868,7900)|0;Y=26;break}case 119:{c[K>>2]=c[e>>2];c[k>>2]=c[K>>2];Pt(b,W,d,k,g,S);Y=26;break}case 120:{ba=c[(c[b>>2]|0)+20>>2]|0;c[L>>2]=c[d>>2];c[M>>2]=c[e>>2];c[m>>2]=c[L>>2];c[k>>2]=c[M>>2];ca=eb[ba&63](b,m,k,f,g,h)|0;break}case 88:{ba=fb[c[(c[X>>2]|0)+24>>2]&127](X)|0;c[N>>2]=c[d>>2];c[O>>2]=c[e>>2];aa=a[ba+8+3>>0]|0;_=aa<<24>>24<0;Z=_?c[ba>>2]|0:ba;$=Z+((_?c[ba+4>>2]|0:aa&255)<<2)|0;c[m>>2]=c[N>>2];c[k>>2]=c[O>>2];c[d>>2]=Ft(b,m,k,f,g,h,Z,$)|0;Y=26;break}case 121:{c[P>>2]=c[e>>2];c[k>>2]=c[P>>2];Qt(b,U,d,k,g,S);Y=26;break}case 89:{c[Q>>2]=c[e>>2];c[k>>2]=c[Q>>2];Rt(b,U,d,k,g,S);Y=26;break}case 37:{c[R>>2]=c[e>>2];c[k>>2]=c[R>>2];St(b,d,k,g,S);Y=26;break}default:{c[g>>2]=c[g>>2]|4;Y=26}}while(0);if((Y|0)==26)ca=c[d>>2]|0;l=j;return ca|0}function pt(b){b=b|0;if((a[27224]|0)==0?sA(27224)|0:0){Bt();c[7595]=30212}return c[7595]|0}function qt(b){b=b|0;if((a[27208]|0)==0?sA(27208)|0:0){zt();c[7552]=29920}return c[7552]|0}function rt(b){b=b|0;if((a[27192]|0)==0?sA(27192)|0:0){xt();c[7479]=29628}return c[7479]|0}function st(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27184]|0)==0?sA(27184)|0:0){c[7404]=0;c[7405]=0;c[7406]=0;e=wt(6772)|0;if(e>>>0>1073741807)dz(29616);do if(e>>>0>=2){f=e+4&-4;if(f>>>0>1073741823)ra();else{g=Wy(f<<2)|0;c[7404]=g;c[7406]=f|-2147483648;c[7405]=e;h=g;break}}else{a[29627]=e;h=29616}while(0);Sp(h,6772,e)|0;c[d>>2]=0;wq(h+(e<<2)|0,d);Pa(112,29616,o|0)|0}l=b;return 29616}function tt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27176]|0)==0?sA(27176)|0:0){c[7401]=0;c[7402]=0;c[7403]=0;e=wt(6724)|0;if(e>>>0>1073741807)dz(29604);do if(e>>>0>=2){f=e+4&-4;if(f>>>0>1073741823)ra();else{g=Wy(f<<2)|0;c[7401]=g;c[7403]=f|-2147483648;c[7402]=e;h=g;break}}else{a[29615]=e;h=29604}while(0);Sp(h,6724,e)|0;c[d>>2]=0;wq(h+(e<<2)|0,d);Pa(112,29604,o|0)|0}l=b;return 29604}function ut(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27168]|0)==0?sA(27168)|0:0){c[7398]=0;c[7399]=0;c[7400]=0;e=wt(6688)|0;if(e>>>0>1073741807)dz(29592);do if(e>>>0>=2){f=e+4&-4;if(f>>>0>1073741823)ra();else{g=Wy(f<<2)|0;c[7398]=g;c[7400]=f|-2147483648;c[7399]=e;h=g;break}}else{a[29603]=e;h=29592}while(0);Sp(h,6688,e)|0;c[d>>2]=0;wq(h+(e<<2)|0,d);Pa(112,29592,o|0)|0}l=b;return 29592}function vt(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;b=l;l=l+16|0;d=b;if((a[27160]|0)==0?sA(27160)|0:0){c[7395]=0;c[7396]=0;c[7397]=0;e=wt(6652)|0;if(e>>>0>1073741807)dz(29580);do if(e>>>0>=2){f=e+4&-4;if(f>>>0>1073741823)ra();else{g=Wy(f<<2)|0;c[7395]=g;c[7397]=f|-2147483648;c[7396]=e;h=g;break}}else{a[29591]=e;h=29580}while(0);Sp(h,6652,e)|0;c[d>>2]=0;wq(h+(e<<2)|0,d);Pa(112,29580,o|0)|0}l=b;return 29580}function wt(a){a=a|0;return Co(a)|0}function xt(){var b=0,d=0;if((a[27200]|0)==0?sA(27200)|0:0){b=29628;do{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}b=b+12|0}while((b|0)!=29916);Pa(113,0,o|0)|0}wz(29628,6856)|0;wz(29640,6868)|0;return}function yt(a){a=a|0;a=29916;do{a=a+-12|0;rz(a)}while((a|0)!=29628);return}function zt(){var b=0,d=0;if((a[27216]|0)==0?sA(27216)|0:0){b=29920;do{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}b=b+12|0}while((b|0)!=30208);Pa(114,0,o|0)|0}wz(29920,6880)|0;wz(29932,6912)|0;wz(29944,6948)|0;wz(29956,6972)|0;wz(29968,6996)|0;wz(29980,7012)|0;wz(29992,7032)|0;wz(30004,7052)|0;wz(30016,7080)|0;wz(30028,7120)|0;wz(30040,7152)|0;wz(30052,7188)|0;wz(30064,7224)|0;wz(30076,7240)|0;wz(30088,7256)|0;wz(30100,7272)|0;wz(30112,6996)|0;wz(30124,7288)|0;wz(30136,7304)|0;wz(30148,7320)|0;wz(30160,7336)|0;wz(30172,7352)|0;wz(30184,7368)|0;wz(30196,7384)|0;return}function At(a){a=a|0;a=30208;do{a=a+-12|0;rz(a)}while((a|0)!=29920);return}function Bt(){var b=0,d=0;if((a[27232]|0)==0?sA(27232)|0:0){b=30212;do{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}b=b+12|0}while((b|0)!=30380);Pa(115,0,o|0)|0}wz(30212,7400)|0;wz(30224,7428)|0;wz(30236,7456)|0;wz(30248,7488)|0;wz(30260,7528)|0;wz(30272,7564)|0;wz(30284,7592)|0;wz(30296,7628)|0;wz(30308,7644)|0;wz(30320,7660)|0;wz(30332,7676)|0;wz(30344,7692)|0;wz(30356,7708)|0;wz(30368,7724)|0;return}function Ct(a){a=a|0;a=30380;do{a=a+-12|0;rz(a)}while((a|0)!=30212);return}function Dt(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;h=l;l=l+16|0;i=h+4|0;j=h;k=a+8|0;a=fb[c[c[k>>2]>>2]&127](k)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];j=(Rr(d,i,a,a+168|0,g,f,0)|0)-a|0;if((j|0)<168)c[b>>2]=((j|0)/12|0|0)%7|0;l=h;return}function Et(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;h=l;l=l+16|0;i=h+4|0;j=h;k=a+8|0;a=fb[c[(c[k>>2]|0)+4>>2]&127](k)|0;c[j>>2]=c[e>>2];c[i>>2]=c[j>>2];j=(Rr(d,i,a,a+288|0,g,f,0)|0)-a|0;if((j|0)<288)c[b>>2]=((j|0)/12|0|0)%12|0;l=h;return}function Ft(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,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,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;j=l;l=l+16|0;k=j+12|0;m=j+8|0;n=j+4|0;o=j;bq(k,e);p=Kq(k,28728)|0;Lq(k);c[f>>2]=0;q=h;h=0;a:while(1){r=(q|0)!=(i|0);s=h;while(1){t=c[b>>2]|0;if(!(r&(s|0)==0)){u=t;break a}v=t;if(t){w=c[t+12>>2]|0;if((w|0)==(c[t+16>>2]|0))x=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else x=Rp(c[w>>2]|0)|0;if(cq(x,Qp()|0)|0){c[b>>2]=0;y=0;z=1;A=0}else{y=t;z=0;A=v}}else{y=0;z=1;A=v}v=c[d>>2]|0;t=v;do if(v){w=c[v+12>>2]|0;if((w|0)==(c[v+16>>2]|0))B=fb[c[(c[v>>2]|0)+36>>2]&127](v)|0;else B=Rp(c[w>>2]|0)|0;if(!(cq(B,Qp()|0)|0))if(z){C=v;D=t;break}else{E=58;break a}else{c[d>>2]=0;F=0;E=16;break}}else{F=t;E=16}while(0);if((E|0)==16){E=0;if(z){E=58;break a}else{C=0;D=F}}if((Za[c[(c[p>>2]|0)+52>>2]&31](p,c[q>>2]|0,0)|0)<<24>>24==37){E=19;break}if(Za[c[(c[p>>2]|0)+12>>2]&31](p,8192,c[q>>2]|0)|0){G=q;E=26;break}H=y+12|0;t=c[H>>2]|0;I=y+16|0;if((t|0)==(c[I>>2]|0))J=fb[c[(c[y>>2]|0)+36>>2]&127](y)|0;else J=Rp(c[t>>2]|0)|0;t=lb[c[(c[p>>2]|0)+28>>2]&15](p,J)|0;if((t|0)==(lb[c[(c[p>>2]|0)+28>>2]&15](p,c[q>>2]|0)|0)){E=54;break}c[f>>2]=4;s=4}b:do if((E|0)==19){E=0;s=q+4|0;if((s|0)==(i|0)){E=58;break a}r=Za[c[(c[p>>2]|0)+52>>2]&31](p,c[s>>2]|0,0)|0;switch(r<<24>>24){case 48:case 69:{t=q+8|0;if((t|0)==(i|0)){E=58;break a}K=r;L=Za[c[(c[p>>2]|0)+52>>2]&31](p,c[t>>2]|0,0)|0;M=s;break}default:{K=0;L=r;M=q}}r=c[(c[a>>2]|0)+36>>2]|0;c[n>>2]=A;c[o>>2]=D;c[m>>2]=c[n>>2];c[k>>2]=c[o>>2];c[b>>2]=ib[r&15](a,m,k,e,f,g,L,K)|0;N=M+8|0}else if((E|0)==26){while(1){E=0;r=G+4|0;if((r|0)==(i|0)){O=i;break}if(Za[c[(c[p>>2]|0)+12>>2]&31](p,8192,c[r>>2]|0)|0){G=r;E=26}else{O=r;break}}r=y;s=C;t=C;while(1){if(r){v=c[r+12>>2]|0;if((v|0)==(c[r+16>>2]|0))P=fb[c[(c[r>>2]|0)+36>>2]&127](r)|0;else P=Rp(c[v>>2]|0)|0;if(cq(P,Qp()|0)|0){c[b>>2]=0;Q=1;R=0}else{Q=0;R=r}}else{Q=1;R=0}do if(t){v=c[t+12>>2]|0;if((v|0)==(c[t+16>>2]|0))S=fb[c[(c[t>>2]|0)+36>>2]&127](t)|0;else S=Rp(c[v>>2]|0)|0;if(!(cq(S,Qp()|0)|0))if(Q^(s|0)==0){T=s;U=s;break}else{N=O;break b}else{c[d>>2]=0;V=0;E=41;break}}else{V=s;E=41}while(0);if((E|0)==41){E=0;if(Q){N=O;break b}else{T=V;U=0}}v=R+12|0;w=c[v>>2]|0;W=R+16|0;if((w|0)==(c[W>>2]|0))X=fb[c[(c[R>>2]|0)+36>>2]&127](R)|0;else X=Rp(c[w>>2]|0)|0;if(!(Za[c[(c[p>>2]|0)+12>>2]&31](p,8192,X)|0)){N=O;break b}w=c[v>>2]|0;if((w|0)==(c[W>>2]|0)){fb[c[(c[R>>2]|0)+40>>2]&127](R)|0;r=R;s=T;t=U;continue}else{c[v>>2]=w+4;Rp(c[w>>2]|0)|0;r=R;s=T;t=U;continue}}}else if((E|0)==54){E=0;t=q+4|0;s=c[H>>2]|0;if((s|0)==(c[I>>2]|0)){fb[c[(c[y>>2]|0)+40>>2]&127](y)|0;N=t;break}else{c[H>>2]=s+4;Rp(c[s>>2]|0)|0;N=t;break}}while(0);q=N;h=c[f>>2]|0}if((E|0)==58){c[f>>2]=4;u=y}if(u){y=c[u+12>>2]|0;if((y|0)==(c[u+16>>2]|0))Y=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else Y=Rp(c[y>>2]|0)|0;if(cq(Y,Qp()|0)|0){c[b>>2]=0;Z=0;_=1}else{Z=u;_=0}}else{Z=0;_=1}u=c[d>>2]|0;do if(u){b=c[u+12>>2]|0;if((b|0)==(c[u+16>>2]|0))$=fb[c[(c[u>>2]|0)+36>>2]&127](u)|0;else $=Rp(c[b>>2]|0)|0;if(!(cq($,Qp()|0)|0))if(_)break;else{E=73;break}else{c[d>>2]=0;E=71;break}}else E=71;while(0);if((E|0)==71?_:0)E=73;if((E|0)==73)c[f>>2]=c[f>>2]|2;l=j;return Z|0}function Gt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,2)|0;g=c[f>>2]|0;if((i+-1|0)>>>0<31&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Ht(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<24&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function It(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,2)|0;g=c[f>>2]|0;if((i+-1|0)>>>0<12&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Jt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,3)|0;g=c[f>>2]|0;if((i|0)<366&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Kt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<13&(g&4|0)==0)c[b>>2]=i+-1;else c[f>>2]=g|4;l=a;return}function Lt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<60&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Mt(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;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))h=fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else h=Rp(c[g>>2]|0)|0;if(cq(h,Qp()|0)|0){c[b>>2]=0;i=1;break}else{i=(c[b>>2]|0)==0;break}}else i=1;while(0);a=c[d>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))j=fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else j=Rp(c[g>>2]|0)|0;if(!(cq(j,Qp()|0)|0))if(i){k=a;break}else{l=a;break a}else{c[d>>2]=0;m=15;break}}else m=15;while(0);if((m|0)==15){m=0;if(i){l=0;break}else k=0}a=c[b>>2]|0;g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))n=fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else n=Rp(c[g>>2]|0)|0;if(!(Za[c[(c[f>>2]|0)+12>>2]&31](f,8192,n)|0)){l=k;break}g=c[b>>2]|0;a=g+12|0;o=c[a>>2]|0;if((o|0)==(c[g+16>>2]|0)){fb[c[(c[g>>2]|0)+40>>2]&127](g)|0;continue}else{c[a>>2]=o+4;Rp(c[o>>2]|0)|0;continue}}k=c[b>>2]|0;do if(k){n=c[k+12>>2]|0;if((n|0)==(c[k+16>>2]|0))p=fb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else p=Rp(c[n>>2]|0)|0;if(cq(p,Qp()|0)|0){c[b>>2]=0;q=1;break}else{q=(c[b>>2]|0)==0;break}}else q=1;while(0);do if(l){b=c[l+12>>2]|0;if((b|0)==(c[l+16>>2]|0))r=fb[c[(c[l>>2]|0)+36>>2]&127](l)|0;else r=Rp(c[b>>2]|0)|0;if(!(cq(r,Qp()|0)|0))if(q)break;else{m=39;break}else{c[d>>2]=0;m=37;break}}else m=37;while(0);if((m|0)==37?q:0)m=39;if((m|0)==39)c[e>>2]=c[e>>2]|2;return}function Nt(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0;i=l;l=l+16|0;j=i+4|0;k=i;m=b+8|0;b=fb[c[(c[m>>2]|0)+8>>2]&127](m)|0;m=a[b+8+3>>0]|0;if(m<<24>>24<0)n=c[b+4>>2]|0;else n=m&255;m=a[b+20+3>>0]|0;if(m<<24>>24<0)o=c[b+16>>2]|0;else o=m&255;do if((n|0)!=(0-o|0)){c[k>>2]=c[f>>2];c[j>>2]=c[k>>2];m=(Rr(e,j,b,b+24|0,h,g,0)|0)-b|0;p=c[d>>2]|0;if((p|0)==12&(m|0)==0){c[d>>2]=0;break}if((p|0)<12&(m|0)==12)c[d>>2]=p+12}else c[g>>2]=c[g>>2]|4;while(0);l=i;return}function Ot(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,2)|0;g=c[f>>2]|0;if((i|0)<61&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Pt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,1)|0;g=c[f>>2]|0;if((i|0)<7&(g&4|0)==0)c[b>>2]=i;else c[f>>2]=g|4;l=a;return}function Qt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,4)|0;if(!(c[f>>2]&4)){if((i|0)<69)j=i+2e3|0;else j=(i|0)<100?i+1900|0:i;c[b>>2]=j+-1900}l=a;return}function Rt(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;a=l;l=l+16|0;h=a+4|0;i=a;c[i>>2]=c[e>>2];c[h>>2]=c[i>>2];i=Tt(d,h,f,g,4)|0;if(!(c[f>>2]&4))c[b>>2]=i+-1900;l=a;return}function St(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;a=c[b>>2]|0;do if(a){g=c[a+12>>2]|0;if((g|0)==(c[a+16>>2]|0))h=fb[c[(c[a>>2]|0)+36>>2]&127](a)|0;else h=Rp(c[g>>2]|0)|0;if(cq(h,Qp()|0)|0){c[b>>2]=0;i=1;break}else{i=(c[b>>2]|0)==0;break}}else i=1;while(0);h=c[d>>2]|0;do if(h){a=c[h+12>>2]|0;if((a|0)==(c[h+16>>2]|0))j=fb[c[(c[h>>2]|0)+36>>2]&127](h)|0;else j=Rp(c[a>>2]|0)|0;if(!(cq(j,Qp()|0)|0))if(i){k=h;l=16;break}else{m=6;l=38;break}else{c[d>>2]=0;l=14;break}}else l=14;while(0);if((l|0)==14)if(i){m=6;l=38}else{k=0;l=16}a:do if((l|0)==16){i=c[b>>2]|0;h=c[i+12>>2]|0;if((h|0)==(c[i+16>>2]|0))n=fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else n=Rp(c[h>>2]|0)|0;if((Za[c[(c[f>>2]|0)+52>>2]&31](f,n,0)|0)<<24>>24==37){h=c[b>>2]|0;i=h+12|0;j=c[i>>2]|0;if((j|0)==(c[h+16>>2]|0))fb[c[(c[h>>2]|0)+40>>2]&127](h)|0;else{c[i>>2]=j+4;Rp(c[j>>2]|0)|0}j=c[b>>2]|0;do if(j){i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))o=fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else o=Rp(c[i>>2]|0)|0;if(cq(o,Qp()|0)|0){c[b>>2]=0;p=1;break}else{p=(c[b>>2]|0)==0;break}}else p=1;while(0);do if(k|0){j=c[k+12>>2]|0;if((j|0)==(c[k+16>>2]|0))q=fb[c[(c[k>>2]|0)+36>>2]&127](k)|0;else q=Rp(c[j>>2]|0)|0;if(!(cq(q,Qp()|0)|0))if(p)break a;else{m=2;l=38;break a}else{c[d>>2]=0;break}}while(0);if(p){m=2;l=38}}else{m=4;l=38}}while(0);if((l|0)==38)c[e>>2]=c[e>>2]|m;return}function Tt(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;g=c[a>>2]|0;do if(g){h=c[g+12>>2]|0;if((h|0)==(c[g+16>>2]|0))i=fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else i=Rp(c[h>>2]|0)|0;if(cq(i,Qp()|0)|0){c[a>>2]=0;j=1;break}else{j=(c[a>>2]|0)==0;break}}else j=1;while(0);i=c[b>>2]|0;do if(i){g=c[i+12>>2]|0;if((g|0)==(c[i+16>>2]|0))k=fb[c[(c[i>>2]|0)+36>>2]&127](i)|0;else k=Rp(c[g>>2]|0)|0;if(!(cq(k,Qp()|0)|0))if(j){l=i;m=17;break}else{m=16;break}else{c[b>>2]=0;m=14;break}}else m=14;while(0);if((m|0)==14)if(j)m=16;else{l=0;m=17}a:do if((m|0)==16){c[d>>2]=c[d>>2]|6;n=0}else if((m|0)==17){j=c[a>>2]|0;i=c[j+12>>2]|0;if((i|0)==(c[j+16>>2]|0))o=fb[c[(c[j>>2]|0)+36>>2]&127](j)|0;else o=Rp(c[i>>2]|0)|0;if(!(Za[c[(c[e>>2]|0)+12>>2]&31](e,2048,o)|0)){c[d>>2]=c[d>>2]|4;n=0;break}i=(Za[c[(c[e>>2]|0)+52>>2]&31](e,o,0)|0)<<24>>24;j=c[a>>2]|0;k=j+12|0;g=c[k>>2]|0;if((g|0)==(c[j+16>>2]|0)){fb[c[(c[j>>2]|0)+40>>2]&127](j)|0;p=i;q=f;r=l;s=l}else{c[k>>2]=g+4;Rp(c[g>>2]|0)|0;p=i;q=f;r=l;s=l}while(1){t=p+-48|0;i=q+-1|0;g=c[a>>2]|0;do if(g){k=c[g+12>>2]|0;if((k|0)==(c[g+16>>2]|0))u=fb[c[(c[g>>2]|0)+36>>2]&127](g)|0;else u=Rp(c[k>>2]|0)|0;if(cq(u,Qp()|0)|0){c[a>>2]=0;v=1;break}else{v=(c[a>>2]|0)==0;break}}else v=1;while(0);do if(s){g=c[s+12>>2]|0;if((g|0)==(c[s+16>>2]|0))w=fb[c[(c[s>>2]|0)+36>>2]&127](s)|0;else w=Rp(c[g>>2]|0)|0;if(cq(w,Qp()|0)|0){c[b>>2]=0;x=0;y=1;z=0;break}else{x=r;y=(r|0)==0;z=r;break}}else{x=r;y=1;z=0}while(0);A=c[a>>2]|0;if(!((q|0)>1&(v^y)))break;g=c[A+12>>2]|0;if((g|0)==(c[A+16>>2]|0))B=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else B=Rp(c[g>>2]|0)|0;if(!(Za[c[(c[e>>2]|0)+12>>2]&31](e,2048,B)|0)){n=t;break a}g=((Za[c[(c[e>>2]|0)+52>>2]&31](e,B,0)|0)<<24>>24)+(t*10|0)|0;k=c[a>>2]|0;j=k+12|0;h=c[j>>2]|0;if((h|0)==(c[k+16>>2]|0)){fb[c[(c[k>>2]|0)+40>>2]&127](k)|0;p=g;q=i;r=x;s=z;continue}else{c[j>>2]=h+4;Rp(c[h>>2]|0)|0;p=g;q=i;r=x;s=z;continue}}do if(A){g=c[A+12>>2]|0;if((g|0)==(c[A+16>>2]|0))C=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else C=Rp(c[g>>2]|0)|0;if(cq(C,Qp()|0)|0){c[a>>2]=0;D=1;break}else{D=(c[a>>2]|0)==0;break}}else D=1;while(0);do if(x){g=c[x+12>>2]|0;if((g|0)==(c[x+16>>2]|0))E=fb[c[(c[x>>2]|0)+36>>2]&127](x)|0;else E=Rp(c[g>>2]|0)|0;if(!(cq(E,Qp()|0)|0))if(D){n=t;break a}else break;else{c[b>>2]=0;m=60;break}}else m=60;while(0);if((m|0)==60?!D:0){n=t;break}c[d>>2]=c[d>>2]|2;n=t}while(0);return n|0}function Ut(a){a=a|0;Zt(a+8|0);qq(a);return}function Vt(a){a=a|0;Zt(a+8|0);qq(a);Yy(a);return}function Wt(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0;f=l;l=l+112|0;e=f+4|0;j=f;c[j>>2]=e+100;Xt(b+8|0,e,j,g,h,i);i=c[j>>2]|0;j=e;e=c[d>>2]|0;while(1){if((j|0)==(i|0))break;d=a[j>>0]|0;if(!e)k=0;else{h=e+24|0;g=c[h>>2]|0;if((g|0)==(c[e+28>>2]|0)){b=c[(c[e>>2]|0)+52>>2]|0;m=Np(d)|0;n=lb[b&15](e,m)|0}else{c[h>>2]=g+1;a[g>>0]=d;n=Np(d)|0}d=aq(n,Mp()|0)|0;k=d?0:e}j=j+1|0;e=k}l=f;return e|0}function Xt(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0;i=l;l=l+16|0;j=i;a[j>>0]=37;k=j+1|0;a[k>>0]=g;m=j+2|0;a[m>>0]=h;a[j+3>>0]=0;if(h<<24>>24){a[k>>0]=h;a[m>>0]=g}g=Yt(d,c[e>>2]|0)|0;c[e>>2]=d+(ya(d|0,g|0,j|0,f|0,c[b>>2]|0)|0);l=i;return}function Yt(a,b){a=a|0;b=b|0;return b-a|0}function Zt(a){a=a|0;var b=0;b=c[a>>2]|0;if((b|0)!=(Nq()|0))To(c[a>>2]|0);return}function _t(a){a=a|0;Zt(a+8|0);qq(a);return}function $t(a){a=a|0;Zt(a+8|0);qq(a);Yy(a);return}function au(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0;e=l;l=l+416|0;d=e+8|0;i=e;c[i>>2]=d+400;bu(a+8|0,d,i,f,g,h);h=c[i>>2]|0;i=d;d=c[b>>2]|0;while(1){if((i|0)==(h|0))break;b=c[i>>2]|0;if(!d)j=0;else{g=d+24|0;f=c[g>>2]|0;if((f|0)==(c[d+28>>2]|0)){a=c[(c[d>>2]|0)+52>>2]|0;k=Rp(b)|0;m=lb[a&15](d,k)|0}else{c[g>>2]=f+4;c[f>>2]=b;m=Rp(b)|0}b=cq(m,Qp()|0)|0;j=b?0:d}i=i+4|0;d=j}l=e;return d|0}function bu(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+128|0;i=h+16|0;j=h+12|0;k=h;m=h+8|0;c[j>>2]=i+100;Xt(a,i,j,e,f,g);g=k;c[g>>2]=0;c[g+4>>2]=0;c[m>>2]=i;i=cu(b,c[d>>2]|0)|0;g=Zo(c[a>>2]|0)|0;a=Wn(b,m,i,k)|0;if(g|0)Zo(g)|0;if((a|0)==-1)du(0);else{c[d>>2]=b+(a<<2);l=h;return}}function cu(a,b){a=a|0;b=b|0;return b-a>>2|0}function du(a){a=a|0;ra()}function eu(a){a=a|0;qq(a);return}function fu(a){a=a|0;qq(a);Yy(a);return}function gu(a){a=a|0;return 127}function hu(a){a=a|0;return 127}function iu(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 ju(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 ku(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 lu(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+11>>0]=1;pu(b,1,45)|0;a[e>>0]=0;Zp(b+1|0,e);l=d;return}function mu(a){a=a|0;return 0}function nu(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 ou(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 pu(a,b,c){a=a|0;b=b|0;c=c|0;if(b|0)zA(a|0,(Np(c)|0)&255|0,b|0)|0;return a|0}function qu(a){a=a|0;qq(a);return}function ru(a){a=a|0;qq(a);Yy(a);return}function su(a){a=a|0;return 127}function tu(a){a=a|0;return 127}function uu(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 vu(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 wu(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 xu(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+11>>0]=1;pu(b,1,45)|0;a[e>>0]=0;Zp(b+1|0,e);l=d;return}function yu(a){a=a|0;return 0}function zu(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 Au(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 Bu(a){a=a|0;qq(a);return}function Cu(a){a=a|0;qq(a);Yy(a);return}function Du(a){a=a|0;return 2147483647}function Eu(a){a=a|0;return 2147483647}function Fu(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 Gu(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 Hu(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 Iu(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+8+3>>0]=1;ss(b,1,45)|0;c[e>>2]=0;wq(b+4|0,e);l=d;return}function Ju(a){a=a|0;return 0}function Ku(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 Lu(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 Mu(a){a=a|0;qq(a);return}function Nu(a){a=a|0;qq(a);Yy(a);return}function Ou(a){a=a|0;return 2147483647}function Pu(a){a=a|0;return 2147483647}function Qu(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 Ru(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 Su(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 Tu(b,d){b=b|0;d=d|0;var e=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;a[b+8+3>>0]=1;ss(b,1,45)|0;c[e>>2]=0;wq(b+4|0,e);l=d;return}function Uu(a){a=a|0;return 0}function Vu(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 Wu(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 Xu(a){a=a|0;qq(a);return}function Yu(a){a=a|0;qq(a);Yy(a);return}function Zu(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=l;l=l+240|0;j=b+24|0;k=b;m=b+140|0;n=b+16|0;o=b+12|0;p=b+8|0;q=b+136|0;r=b+4|0;s=b+36|0;c[n>>2]=m;t=n+4|0;c[t>>2]=116;bq(p,g);u=Kq(p,28696)|0;a[q>>0]=0;c[r>>2]=c[e>>2];v=c[g+4>>2]|0;c[j>>2]=c[r>>2];if(av(d,j,f,p,v,h,q,u,n,o,m+100|0)|0){jb[c[(c[u>>2]|0)+32>>2]&7](u,25543,25553,j)|0;u=c[o>>2]|0;m=c[n>>2]|0;v=u-m|0;f=m;m=u;if((v|0)>98){u=Pm(v+2|0)|0;if(!u)_y();else{w=u;x=u}}else{w=s;x=0}if(!(a[q>>0]|0))y=w;else{a[w>>0]=45;y=w+1|0}w=j+10|0;q=j;u=f;f=y;y=m;while(1){if(u>>>0>=y>>>0)break;m=a[u>>0]|0;v=j;while(1){if((v|0)==(w|0)){z=w;break}if((a[v>>0]|0)==m<<24>>24){z=v;break}v=v+1|0}a[f>>0]=a[25543+(z-q)>>0]|0;u=u+1|0;f=f+1|0;y=c[o>>2]|0}a[f>>0]=0;c[k>>2]=i;if((jo(s,25554,k)|0)!=1)du(0);if(x|0)Qm(x)}x=c[d>>2]|0;do if(x){k=c[x+12>>2]|0;if((k|0)==(c[x+16>>2]|0))A=fb[c[(c[x>>2]|0)+36>>2]&127](x)|0;else A=Np(a[k>>0]|0)|0;if(aq(A,Mp()|0)|0){c[d>>2]=0;B=1;break}else{B=(c[d>>2]|0)==0;break}}else B=1;while(0);A=c[e>>2]|0;do if(A){x=c[A+12>>2]|0;if((x|0)==(c[A+16>>2]|0))C=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else C=Np(a[x>>0]|0)|0;if(!(aq(C,Mp()|0)|0))if(B)break;else{D=34;break}else{c[e>>2]=0;D=32;break}}else D=32;while(0);if((D|0)==32?B:0)D=34;if((D|0)==34)c[h>>2]=c[h>>2]|2;h=c[d>>2]|0;Lq(p);p=c[n>>2]|0;c[n>>2]=0;if(p|0)cb[c[t>>2]&127](p);l=b;return h|0}function _u(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=l;l=l+144|0;j=b+24|0;k=b+32|0;m=b+16|0;n=b+8|0;o=b;p=b+28|0;q=b+4|0;c[m>>2]=k;r=m+4|0;c[r>>2]=116;bq(o,g);s=Kq(o,28696)|0;a[p>>0]=0;t=c[e>>2]|0;c[q>>2]=t;u=c[g+4>>2]|0;c[j>>2]=c[q>>2];q=t;if(av(d,j,f,o,u,h,p,s,m,n,k+100|0)|0){k=i+11|0;if((a[k>>0]|0)<0){u=c[i>>2]|0;a[j>>0]=0;Zp(u,j);c[i+4>>2]=0}else{a[j>>0]=0;Zp(i,j);a[k>>0]=0}if(a[p>>0]|0)qz(i,lb[c[(c[s>>2]|0)+28>>2]&15](s,45)|0);p=lb[c[(c[s>>2]|0)+28>>2]&15](s,48)|0;s=c[n>>2]|0;n=s+-1|0;k=c[m>>2]|0;while(1){if(k>>>0>=n>>>0)break;if((a[k>>0]|0)!=p<<24>>24)break;k=k+1|0}bv(i,k,s)|0}s=c[d>>2]|0;do if(s){k=c[s+12>>2]|0;if((k|0)==(c[s+16>>2]|0))v=fb[c[(c[s>>2]|0)+36>>2]&127](s)|0;else v=Np(a[k>>0]|0)|0;if(aq(v,Mp()|0)|0){c[d>>2]=0;w=1;break}else{w=(c[d>>2]|0)==0;break}}else w=1;while(0);do if(t){v=c[q+12>>2]|0;if((v|0)==(c[q+16>>2]|0))x=fb[c[(c[t>>2]|0)+36>>2]&127](q)|0;else x=Np(a[v>>0]|0)|0;if(!(aq(x,Mp()|0)|0))if(w)break;else{y=27;break}else{c[e>>2]=0;y=25;break}}else y=25;while(0);if((y|0)==25?w:0)y=27;if((y|0)==27)c[h>>2]=c[h>>2]|2;h=c[d>>2]|0;Lq(o);o=c[m>>2]|0;c[m>>2]=0;if(o|0)cb[c[r>>2]&127](o);l=b;return h|0}function $u(a){a=a|0;return}function av(e,f,g,h,i,j,k,m,n,o,p){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;var 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,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0;q=l;l=l+512|0;r=q+88|0;s=q+96|0;t=q+80|0;u=q+72|0;v=q+68|0;w=q+500|0;x=q+497|0;y=q+496|0;z=q+56|0;A=q+44|0;B=q+32|0;C=q+20|0;D=q+8|0;E=q+4|0;F=q;c[r>>2]=p;c[t>>2]=s;p=t+4|0;c[p>>2]=116;c[u>>2]=s;c[v>>2]=s+400;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;s=0;while(1){if((s|0)==3)break;c[z+(s<<2)>>2]=0;s=s+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;s=0;while(1){if((s|0)==3)break;c[A+(s<<2)>>2]=0;s=s+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;s=0;while(1){if((s|0)==3)break;c[B+(s<<2)>>2]=0;s=s+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;s=0;while(1){if((s|0)==3)break;c[C+(s<<2)>>2]=0;s=s+1|0}c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=0;s=0;while(1){if((s|0)==3)break;c[D+(s<<2)>>2]=0;s=s+1|0}dv(g,h,w,x,y,z,A,B,C,E);c[o>>2]=c[n>>2];h=m+8|0;m=B+11|0;g=B+4|0;s=C+11|0;G=C+4|0;H=(i&512|0)!=0;i=A+11|0;I=A+4|0;J=D+11|0;K=D+4|0;L=w+3|0;M=z+11|0;N=z+4|0;O=0;P=0;a:while(1){Q=(O|0)!=0;if(P>>>0>=4){R=234;break}S=c[e>>2]|0;do if(S){T=c[S+12>>2]|0;if((T|0)==(c[S+16>>2]|0))U=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else U=Np(a[T>>0]|0)|0;if(aq(U,Mp()|0)|0){c[e>>2]=0;V=1;break}else{V=(c[e>>2]|0)==0;break}}else V=1;while(0);S=c[f>>2]|0;do if(S){T=c[S+12>>2]|0;if((T|0)==(c[S+16>>2]|0))W=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else W=Np(a[T>>0]|0)|0;if(!(aq(W,Mp()|0)|0))if(V){X=S;break}else{R=234;break a}else{c[f>>2]=0;R=31;break}}else R=31;while(0);if((R|0)==31){R=0;if(V){R=234;break}else X=0}S=(P|0)!=3;b:do switch(a[w+P>>0]|0){case 1:{if(S){T=c[e>>2]|0;Y=c[T+12>>2]|0;if((Y|0)==(c[T+16>>2]|0))Z=fb[c[(c[T>>2]|0)+36>>2]&127](T)|0;else Z=Np(a[Y>>0]|0)|0;if((Z&255)<<24>>24<=-1){R=44;break a}if(!(b[(c[h>>2]|0)+(Z<<24>>24<<1)>>1]&8192)){R=44;break a}Y=c[e>>2]|0;T=Y+12|0;_=c[T>>2]|0;if((_|0)==(c[Y+16>>2]|0))$=fb[c[(c[Y>>2]|0)+40>>2]&127](Y)|0;else{c[T>>2]=_+1;$=Np(a[_>>0]|0)|0}qz(D,$&255);aa=X;ba=X;R=46}else ca=O;break}case 0:{if(S){aa=X;ba=X;R=46}else ca=O;break}case 3:{_=a[m>>0]|0;T=_<<24>>24<0?c[g>>2]|0:_&255;_=a[s>>0]|0;Y=_<<24>>24<0?c[G>>2]|0:_&255;if((T|0)==(0-Y|0))ca=O;else{_=(T|0)==0;T=c[e>>2]|0;da=c[T+12>>2]|0;ea=(da|0)==(c[T+16>>2]|0);if(_|(Y|0)==0){if(ea)fa=fb[c[(c[T>>2]|0)+36>>2]&127](T)|0;else fa=Np(a[da>>0]|0)|0;Y=fa&255;if(_){if(Y<<24>>24!=(a[((a[s>>0]|0)<0?c[C>>2]|0:C)>>0]|0)){ca=O;break b}_=c[e>>2]|0;ga=_+12|0;ha=c[ga>>2]|0;if((ha|0)==(c[_+16>>2]|0))fb[c[(c[_>>2]|0)+40>>2]&127](_)|0;else{c[ga>>2]=ha+1;Np(a[ha>>0]|0)|0}a[k>>0]=1;ha=a[s>>0]|0;ca=(ha<<24>>24<0?c[G>>2]|0:ha&255)>>>0>1?C:O;break b}if(Y<<24>>24!=(a[((a[m>>0]|0)<0?c[B>>2]|0:B)>>0]|0)){a[k>>0]=1;ca=O;break b}Y=c[e>>2]|0;ha=Y+12|0;ga=c[ha>>2]|0;if((ga|0)==(c[Y+16>>2]|0))fb[c[(c[Y>>2]|0)+40>>2]&127](Y)|0;else{c[ha>>2]=ga+1;Np(a[ga>>0]|0)|0}ga=a[m>>0]|0;ca=(ga<<24>>24<0?c[g>>2]|0:ga&255)>>>0>1?B:O;break b}if(ea)ia=fb[c[(c[T>>2]|0)+36>>2]&127](T)|0;else ia=Np(a[da>>0]|0)|0;da=c[e>>2]|0;T=da+12|0;ea=c[T>>2]|0;ga=(ea|0)==(c[da+16>>2]|0);if((ia&255)<<24>>24==(a[((a[m>>0]|0)<0?c[B>>2]|0:B)>>0]|0)){if(ga)fb[c[(c[da>>2]|0)+40>>2]&127](da)|0;else{c[T>>2]=ea+1;Np(a[ea>>0]|0)|0}T=a[m>>0]|0;ca=(T<<24>>24<0?c[g>>2]|0:T&255)>>>0>1?B:O;break b}if(ga)ja=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else ja=Np(a[ea>>0]|0)|0;if((ja&255)<<24>>24!=(a[((a[s>>0]|0)<0?c[C>>2]|0:C)>>0]|0)){R=103;break a}ea=c[e>>2]|0;da=ea+12|0;ga=c[da>>2]|0;if((ga|0)==(c[ea+16>>2]|0))fb[c[(c[ea>>2]|0)+40>>2]&127](ea)|0;else{c[da>>2]=ga+1;Np(a[ga>>0]|0)|0}a[k>>0]=1;ga=a[s>>0]|0;ca=(ga<<24>>24<0?c[G>>2]|0:ga&255)>>>0>1?C:O}break}case 2:{if(!(P>>>0<2|Q)?!(H|(P|0)==2&(a[L>>0]|0)!=0):0){ca=0;break b}ga=a[i>>0]|0;da=ga<<24>>24<0;ea=c[A>>2]|0;T=da?ea:A;ha=T;c:do if((P|0)!=0?(d[w+(P+-1)>>0]|0)<2:0){Y=T+(da?c[I>>2]|0:ga&255)|0;_=ha;while(1){ka=_;if((ka|0)==(Y|0))break;la=a[ka>>0]|0;if(la<<24>>24<=-1)break;if(!(b[(c[h>>2]|0)+(la<<24>>24<<1)>>1]&8192))break;_=ka+1|0}Y=_-ha|0;ka=a[J>>0]|0;la=ka<<24>>24<0;ma=la?c[K>>2]|0:ka&255;if(Y>>>0<=ma>>>0){ka=(la?c[D>>2]|0:D)+ma|0;ma=T;la=ka+(0-Y)|0;while(1){if((la|0)==(ka|0)){na=X;oa=_;pa=ga;qa=ea;ra=X;break c}if((a[la>>0]|0)!=(a[ma>>0]|0)){na=X;oa=ha;pa=ga;qa=ea;ra=X;break c}ma=ma+1|0;la=la+1|0}}else{na=X;oa=ha;pa=ga;qa=ea;ra=X}}else{na=X;oa=ha;pa=ga;qa=ea;ra=X}while(0);d:while(1){ea=pa<<24>>24<0;ga=(ea?qa:A)+(ea?c[I>>2]|0:pa&255)|0;ea=oa;if((ea|0)==(ga|0)){sa=ga;break}ga=c[e>>2]|0;do if(ga){ha=c[ga+12>>2]|0;if((ha|0)==(c[ga+16>>2]|0))ta=fb[c[(c[ga>>2]|0)+36>>2]&127](ga)|0;else ta=Np(a[ha>>0]|0)|0;if(aq(ta,Mp()|0)|0){c[e>>2]=0;ua=1;break}else{ua=(c[e>>2]|0)==0;break}}else ua=1;while(0);do if(ra){ga=c[ra+12>>2]|0;if((ga|0)==(c[ra+16>>2]|0))va=fb[c[(c[ra>>2]|0)+36>>2]&127](ra)|0;else va=Np(a[ga>>0]|0)|0;if(!(aq(va,Mp()|0)|0))if(ua^(na|0)==0){wa=na;xa=na;break}else{sa=ea;break d}else{c[f>>2]=0;ya=0;R=132;break}}else{ya=na;R=132}while(0);if((R|0)==132){R=0;if(ua){sa=ea;break}else{wa=ya;xa=0}}ga=c[e>>2]|0;ha=c[ga+12>>2]|0;if((ha|0)==(c[ga+16>>2]|0))za=fb[c[(c[ga>>2]|0)+36>>2]&127](ga)|0;else za=Np(a[ha>>0]|0)|0;if((za&255)<<24>>24!=(a[ea>>0]|0)){sa=ea;break}ha=c[e>>2]|0;ga=ha+12|0;T=c[ga>>2]|0;if((T|0)==(c[ha+16>>2]|0))fb[c[(c[ha>>2]|0)+40>>2]&127](ha)|0;else{c[ga>>2]=T+1;Np(a[T>>0]|0)|0}na=wa;oa=ea+1|0;pa=a[i>>0]|0;qa=c[A>>2]|0;ra=xa}if(H?(T=a[i>>0]|0,ga=T<<24>>24<0,(sa|0)!=((ga?c[A>>2]|0:A)+(ga?c[I>>2]|0:T&255)|0)):0){R=144;break a}else ca=O;break}case 4:{T=0;ga=X;ha=X;e:while(1){da=c[e>>2]|0;do if(da){la=c[da+12>>2]|0;if((la|0)==(c[da+16>>2]|0))Aa=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else Aa=Np(a[la>>0]|0)|0;if(aq(Aa,Mp()|0)|0){c[e>>2]=0;Ba=1;break}else{Ba=(c[e>>2]|0)==0;break}}else Ba=1;while(0);do if(ha){da=c[ha+12>>2]|0;if((da|0)==(c[ha+16>>2]|0))Ca=fb[c[(c[ha>>2]|0)+36>>2]&127](ha)|0;else Ca=Np(a[da>>0]|0)|0;if(!(aq(Ca,Mp()|0)|0))if(Ba^(ga|0)==0){Da=ga;Ea=ga;break}else{Fa=ga;break e}else{c[f>>2]=0;Ga=0;R=158;break}}else{Ga=ga;R=158}while(0);if((R|0)==158){R=0;if(Ba){Fa=Ga;break}else{Da=Ga;Ea=0}}da=c[e>>2]|0;ea=c[da+12>>2]|0;if((ea|0)==(c[da+16>>2]|0))Ha=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else Ha=Np(a[ea>>0]|0)|0;ea=Ha&255;if(ea<<24>>24>-1?(b[(c[h>>2]|0)+(Ha<<24>>24<<1)>>1]&2048)!=0:0){da=c[o>>2]|0;if((da|0)==(c[r>>2]|0)){ev(n,o,r);Ia=c[o>>2]|0}else Ia=da;c[o>>2]=Ia+1;a[Ia>>0]=ea;Ja=T+1|0}else{da=a[M>>0]|0;if(!(ea<<24>>24==(a[y>>0]|0)&(T|0?((da<<24>>24<0?c[N>>2]|0:da&255)|0)!=0:0))){Fa=Da;break}da=c[u>>2]|0;if((da|0)==(c[v>>2]|0)){fv(t,u,v);Ka=c[u>>2]|0}else Ka=da;c[u>>2]=Ka+4;c[Ka>>2]=T;Ja=0}da=c[e>>2]|0;ea=da+12|0;la=c[ea>>2]|0;if((la|0)==(c[da+16>>2]|0)){fb[c[(c[da>>2]|0)+40>>2]&127](da)|0;T=Ja;ga=Da;ha=Ea;continue}else{c[ea>>2]=la+1;Np(a[la>>0]|0)|0;T=Ja;ga=Da;ha=Ea;continue}}ha=c[u>>2]|0;if(T|0?(c[t>>2]|0)!=(ha|0):0){if((ha|0)==(c[v>>2]|0)){fv(t,u,v);La=c[u>>2]|0}else La=ha;c[u>>2]=La+4;c[La>>2]=T}f:do if((c[E>>2]|0)>0){ha=c[e>>2]|0;do if(ha){ga=c[ha+12>>2]|0;if((ga|0)==(c[ha+16>>2]|0))Ma=fb[c[(c[ha>>2]|0)+36>>2]&127](ha)|0;else Ma=Np(a[ga>>0]|0)|0;if(aq(Ma,Mp()|0)|0){c[e>>2]=0;Na=1;break}else{Na=(c[e>>2]|0)==0;break}}else Na=1;while(0);do if(Fa){ha=c[Fa+12>>2]|0;if((ha|0)==(c[Fa+16>>2]|0))Oa=fb[c[(c[Fa>>2]|0)+36>>2]&127](Fa)|0;else Oa=Np(a[ha>>0]|0)|0;if(!(aq(Oa,Mp()|0)|0))if(Na){Pa=Fa;break}else{R=232;break a}else{c[f>>2]=0;R=193;break}}else R=193;while(0);if((R|0)==193){R=0;if(Na){R=232;break a}else Pa=0}ha=c[e>>2]|0;ga=c[ha+12>>2]|0;if((ga|0)==(c[ha+16>>2]|0))Qa=fb[c[(c[ha>>2]|0)+36>>2]&127](ha)|0;else Qa=Np(a[ga>>0]|0)|0;if((Qa&255)<<24>>24!=(a[x>>0]|0)){R=232;break a}ga=c[e>>2]|0;ha=ga+12|0;la=c[ha>>2]|0;if((la|0)==(c[ga+16>>2]|0)){fb[c[(c[ga>>2]|0)+40>>2]&127](ga)|0;Ra=Pa;Sa=Pa}else{c[ha>>2]=la+1;Np(a[la>>0]|0)|0;Ra=Pa;Sa=Pa}while(1){if((c[E>>2]|0)<=0)break f;la=c[e>>2]|0;do if(la){ha=c[la+12>>2]|0;if((ha|0)==(c[la+16>>2]|0))Ta=fb[c[(c[la>>2]|0)+36>>2]&127](la)|0;else Ta=Np(a[ha>>0]|0)|0;if(aq(Ta,Mp()|0)|0){c[e>>2]=0;Ua=1;break}else{Ua=(c[e>>2]|0)==0;break}}else Ua=1;while(0);do if(Sa){la=c[Sa+12>>2]|0;if((la|0)==(c[Sa+16>>2]|0))Va=fb[c[(c[Sa>>2]|0)+36>>2]&127](Sa)|0;else Va=Np(a[la>>0]|0)|0;if(!(aq(Va,Mp()|0)|0))if(Ua^(Ra|0)==0){Wa=Ra;Xa=Ra;break}else{R=232;break a}else{c[f>>2]=0;Ya=0;R=216;break}}else{Ya=Ra;R=216}while(0);if((R|0)==216){R=0;if(Ua){R=232;break a}else{Wa=Ya;Xa=0}}la=c[e>>2]|0;ha=c[la+12>>2]|0;if((ha|0)==(c[la+16>>2]|0))Za=fb[c[(c[la>>2]|0)+36>>2]&127](la)|0;else Za=Np(a[ha>>0]|0)|0;if((Za&255)<<24>>24<=-1){R=232;break a}if(!(b[(c[h>>2]|0)+(Za<<24>>24<<1)>>1]&2048)){R=232;break a}if((c[o>>2]|0)==(c[r>>2]|0))ev(n,o,r);ha=c[e>>2]|0;la=c[ha+12>>2]|0;if((la|0)==(c[ha+16>>2]|0))_a=fb[c[(c[ha>>2]|0)+36>>2]&127](ha)|0;else _a=Np(a[la>>0]|0)|0;la=c[o>>2]|0;c[o>>2]=la+1;a[la>>0]=_a;c[E>>2]=(c[E>>2]|0)+-1;la=c[e>>2]|0;ha=la+12|0;ga=c[ha>>2]|0;if((ga|0)==(c[la+16>>2]|0)){fb[c[(c[la>>2]|0)+40>>2]&127](la)|0;Ra=Wa;Sa=Xa;continue}else{c[ha>>2]=ga+1;Np(a[ga>>0]|0)|0;Ra=Wa;Sa=Xa;continue}}}while(0);if((c[o>>2]|0)==(c[n>>2]|0)){R=232;break a}else ca=O;break}default:ca=O}while(0);g:do if((R|0)==46)while(1){R=0;S=c[e>>2]|0;do if(S){T=c[S+12>>2]|0;if((T|0)==(c[S+16>>2]|0))$a=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else $a=Np(a[T>>0]|0)|0;if(aq($a,Mp()|0)|0){c[e>>2]=0;ab=1;break}else{ab=(c[e>>2]|0)==0;break}}else ab=1;while(0);do if(ba){S=c[ba+12>>2]|0;if((S|0)==(c[ba+16>>2]|0))bb=fb[c[(c[ba>>2]|0)+36>>2]&127](ba)|0;else bb=Np(a[S>>0]|0)|0;if(!(aq(bb,Mp()|0)|0))if(ab^(aa|0)==0){db=aa;eb=aa;break}else{ca=O;break g}else{c[f>>2]=0;gb=0;R=59;break}}else{gb=aa;R=59}while(0);if((R|0)==59){R=0;if(ab){ca=O;break g}else{db=gb;eb=0}}S=c[e>>2]|0;T=c[S+12>>2]|0;if((T|0)==(c[S+16>>2]|0))hb=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else hb=Np(a[T>>0]|0)|0;if((hb&255)<<24>>24<=-1){ca=O;break g}if(!(b[(c[h>>2]|0)+(hb<<24>>24<<1)>>1]&8192)){ca=O;break g}T=c[e>>2]|0;S=T+12|0;ga=c[S>>2]|0;if((ga|0)==(c[T+16>>2]|0))ib=fb[c[(c[T>>2]|0)+40>>2]&127](T)|0;else{c[S>>2]=ga+1;ib=Np(a[ga>>0]|0)|0}qz(D,ib&255);aa=db;ba=eb;R=46}while(0);O=ca;P=P+1|0}h:do if((R|0)==44){c[j>>2]=c[j>>2]|4;jb=0}else if((R|0)==103){c[j>>2]=c[j>>2]|4;jb=0}else if((R|0)==144){c[j>>2]=c[j>>2]|4;jb=0}else if((R|0)==232){c[j>>2]=c[j>>2]|4;jb=0}else if((R|0)==234){i:do if(Q){P=O+11|0;ca=O+4|0;eb=1;j:while(1){ba=a[P>>0]|0;if(ba<<24>>24<0)kb=c[ca>>2]|0;else kb=ba&255;if(eb>>>0>=kb>>>0)break i;ba=c[e>>2]|0;do if(ba){db=c[ba+12>>2]|0;if((db|0)==(c[ba+16>>2]|0))lb=fb[c[(c[ba>>2]|0)+36>>2]&127](ba)|0;else lb=Np(a[db>>0]|0)|0;if(aq(lb,Mp()|0)|0){c[e>>2]=0;mb=1;break}else{mb=(c[e>>2]|0)==0;break}}else mb=1;while(0);ba=c[f>>2]|0;do if(ba){db=c[ba+12>>2]|0;if((db|0)==(c[ba+16>>2]|0))nb=fb[c[(c[ba>>2]|0)+36>>2]&127](ba)|0;else nb=Np(a[db>>0]|0)|0;if(!(aq(nb,Mp()|0)|0))if(mb)break;else break j;else{c[f>>2]=0;R=253;break}}else R=253;while(0);if((R|0)==253?(R=0,mb):0)break;ba=c[e>>2]|0;db=c[ba+12>>2]|0;if((db|0)==(c[ba+16>>2]|0))ob=fb[c[(c[ba>>2]|0)+36>>2]&127](ba)|0;else ob=Np(a[db>>0]|0)|0;if((a[P>>0]|0)<0)pb=c[O>>2]|0;else pb=O;if((ob&255)<<24>>24!=(a[pb+eb>>0]|0))break;db=eb+1|0;ba=c[e>>2]|0;aa=ba+12|0;ib=c[aa>>2]|0;if((ib|0)==(c[ba+16>>2]|0)){fb[c[(c[ba>>2]|0)+40>>2]&127](ba)|0;eb=db;continue}else{c[aa>>2]=ib+1;Np(a[ib>>0]|0)|0;eb=db;continue}}c[j>>2]=c[j>>2]|4;jb=0;break h}while(0);eb=c[t>>2]|0;P=c[u>>2]|0;if((eb|0)!=(P|0)){c[F>>2]=0;Zq(z,eb,P,F);if(!(c[F>>2]|0)){jb=1;break}else{c[j>>2]=c[j>>2]|4;jb=0;break}}else jb=1}while(0);fz(D);fz(C);fz(B);fz(A);fz(z);z=c[t>>2]|0;c[t>>2]=0;if(z|0)cb[c[p>>2]&127](z);l=q;return jb|0}function bv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=l;l=l+16|0;g=d;h=f+12|0;i=f;j=b+11|0;k=a[j>>0]|0;m=k<<24>>24<0;if(m){n=c[b+4>>2]|0;o=(c[b+8>>2]&2147483647)+-1|0}else{n=k&255;o=10}p=e-g|0;do if(p|0){if(m){q=c[b>>2]|0;r=q;s=c[b+4>>2]|0;t=q}else{r=b;s=k&255;t=b}if(cv(d,t,r+s|0)|0){c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;if(p>>>0>4294967279)dz(i);if(p>>>0<11){a[i+11>>0]=p;u=i}else{q=p+16&-16;v=Wy(q)|0;c[i>>2]=v;c[i+8>>2]=q|-2147483648;c[i+4>>2]=p;u=v}v=d;q=u;while(1){if((v|0)==(e|0))break;Zp(q,v);v=v+1|0;q=q+1|0}a[h>>0]=0;Zp(u+p|0,h);q=a[i+11>>0]|0;v=q<<24>>24<0;pz(b,v?c[i>>2]|0:i,v?c[i+4>>2]|0:q&255)|0;fz(i);break}q=n+p|0;if((o-n|0)>>>0

>>0){q=c[n>>2]|0;if(!q){r=10;break}else{s=n;t=q}}else{if(p>>>0>=l>>>0){r=14;break}u=n+4|0;p=c[u>>2]|0;if(!p){r=13;break}else{s=u;t=p}}m=s;n=t;o=t}if((r|0)==10){r=0;v=n;w=n;r=16;break}else if((r|0)==13){r=0;v=u;w=n;r=16;break}else if((r|0)==14){r=0;x=m;y=n;z=o;r=15;break}}else{x=f;y=f;z=k;r=15}while(0);if((r|0)==15){r=0;if(!z){v=x;w=y;r=16}else A=z}if((r|0)==16){r=0;k=Wy(24)|0;c[k+16>>2]=c[i>>2];c[k+20>>2]=0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=w;c[v>>2]=k;l=c[c[e>>2]>>2]|0;if(!l)B=k;else{c[e>>2]=l;B=c[v>>2]|0}kd(c[g>>2]|0,B);c[h>>2]=(c[h>>2]|0)+1;A=k}Nj(c[A+20>>2]|0,0,a);k=c[j+4>>2]|0;if(!k){l=j+8|0;p=c[l>>2]|0;if((c[p>>2]|0)==(j|0))C=p;else{p=l;do{l=c[p>>2]|0;p=l+8|0;q=c[p>>2]|0}while((c[q>>2]|0)!=(l|0));C=q}}else{p=k;while(1){i=c[p>>2]|0;if(!i)break;else p=i}C=p}if((C|0)==(d|0))break;else j=C}}a=a+1|0}while((a|0)!=2);return}function lj(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,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,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,eb=0,gb=0,hb=0,ib=0,jb=0,kb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Qb=0,Rb=0,Sb=0,Tb=0;f=l;l=l+48|0;g=f+24|0;h=f;i=f+32|0;j=f+28|0;k=d+116|0;a[k>>0]=e&1;e=c[d>>2]|0;m=c[e+20>>2]|0;n=m;o=d+4|0;if((n|0)==(e+16|0)){p=o;q=d+8|0}else{e=d+8|0;r=d+8|0;s=d+12|0;t=m;m=n;while(1){n=c[t+8>>2]|0;u=c[n+144>>2]|0;if(!u)v=0;else v=vd(u)|0;u=c[n+148>>2]|0;if(!u)w=0;else w=vd(u)|0;u=v;x=w;a:do if(w|v|0){y=c[e>>2]|0;z=(y|0)==0;if(!z){A=e;B=y;b:while(1){C=B;while(1){if((c[C+16>>2]|0)>>>0>=u>>>0)break;D=c[C+4>>2]|0;if(!D){E=A;break b}else C=D}B=c[C>>2]|0;if(!B){E=C;break}else A=C}if((E|0)!=(e|0)?u>>>0>=(c[E+16>>2]|0)>>>0:0)F=E;else G=16}else G=16;if((G|0)==16){G=0;F=e}A=(F|0)==(e|0);if(!z){B=e;D=y;c:while(1){H=D;while(1){if((c[H+16>>2]|0)>>>0>=x>>>0)break;I=c[H+4>>2]|0;if(!I){J=B;break c}else H=I}D=c[H>>2]|0;if(!D){J=H;break}else B=H}if((J|0)!=(e|0)?x>>>0>=(c[J+16>>2]|0)>>>0:0)K=J;else G=24}else G=24;if((G|0)==24){G=0;K=e}B=(K|0)==(e|0);do if(v)if(A){D=Wy(56)|0;Jj(D);db[c[(c[v>>2]|0)+8>>2]&63](h,u);C=D+16|0;c[C>>2]=c[h>>2];c[C+4>>2]=c[h+4>>2];c[C+8>>2]=c[h+8>>2];c[C+12>>2]=c[h+12>>2];c[C+16>>2]=c[h+16>>2];b[C+20>>1]=b[h+20>>1]|0;c[D+12>>2]=v;C=c[e>>2]|0;do if(C){I=r;L=C;M=C;while(1){N=c[L+16>>2]|0;if(u>>>0>>0){O=c[L>>2]|0;if(!O){G=31;break}else{P=L;Q=O}}else{if(N>>>0>=u>>>0){G=35;break}R=L+4|0;N=c[R>>2]|0;if(!N){G=34;break}else{P=R;Q=N}}I=P;L=Q;M=Q}if((G|0)==31){G=0;S=L;T=L;G=37;break}else if((G|0)==34){G=0;S=R;T=L;G=37;break}else if((G|0)==35){G=0;U=I;V=L;W=M;G=36;break}}else{U=e;V=e;W=C;G=36}while(0);if((G|0)==36){G=0;if(!W){S=U;T=V;G=37}else X=W}if((G|0)==37){G=0;C=Wy(24)|0;c[C+16>>2]=v;c[C+20>>2]=0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=T;c[S>>2]=C;H=c[c[o>>2]>>2]|0;if(!H)Y=C;else{c[o>>2]=H;Y=c[S>>2]|0}kd(c[r>>2]|0,Y);c[s>>2]=(c[s>>2]|0)+1;X=C}c[X+20>>2]=D;Z=D;break}else{do if(!z){C=r;H=y;N=y;while(1){O=c[H+16>>2]|0;if(u>>>0>>0){_=c[H>>2]|0;if(!_){G=45;break}else{$=H;aa=_}}else{if(O>>>0>=u>>>0){G=49;break}ba=H+4|0;O=c[ba>>2]|0;if(!O){G=48;break}else{$=ba;aa=O}}C=$;H=aa;N=aa}if((G|0)==45){G=0;ca=H;da=H;G=51;break}else if((G|0)==48){G=0;ca=ba;da=H;G=51;break}else if((G|0)==49){G=0;ea=C;fa=H;ga=N;G=50;break}}else{ea=e;fa=e;ga=y;G=50}while(0);if((G|0)==50){G=0;if(!ga){ca=ea;da=fa;G=51}else ha=ga}if((G|0)==51){G=0;D=Wy(24)|0;c[D+16>>2]=v;c[D+20>>2]=0;c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=da;c[ca>>2]=D;M=c[c[o>>2]>>2]|0;if(!M)ia=D;else{c[o>>2]=M;ia=c[ca>>2]|0}kd(c[r>>2]|0,ia);c[s>>2]=(c[s>>2]|0)+1;ha=D}Z=c[ha+20>>2]|0;break}else{D=Wy(56)|0;Jj(D);Z=D}while(0);do if(w)if(B){y=Wy(56)|0;Jj(y);db[c[(c[w>>2]|0)+8>>2]&63](h,x);z=y+16|0;c[z>>2]=c[h>>2];c[z+4>>2]=c[h+4>>2];c[z+8>>2]=c[h+8>>2];c[z+12>>2]=c[h+12>>2];c[z+16>>2]=c[h+16>>2];b[z+20>>1]=b[h+20>>1]|0;c[y+12>>2]=w;z=c[e>>2]|0;do if(z){A=r;D=z;M=z;while(1){L=c[D+16>>2]|0;if(x>>>0>>0){I=c[D>>2]|0;if(!I){G=62;break}else{ja=D;ka=I}}else{if(L>>>0>=x>>>0){G=66;break}la=D+4|0;L=c[la>>2]|0;if(!L){G=65;break}else{ja=la;ka=L}}A=ja;D=ka;M=ka}if((G|0)==62){G=0;ma=D;na=D;G=68;break}else if((G|0)==65){G=0;ma=la;na=D;G=68;break}else if((G|0)==66){G=0;oa=A;pa=D;qa=M;G=67;break}}else{oa=e;pa=e;qa=z;G=67}while(0);if((G|0)==67){G=0;if(!qa){ma=oa;na=pa;G=68}else ra=qa}if((G|0)==68){G=0;z=Wy(24)|0;c[z+16>>2]=w;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=na;c[ma>>2]=z;N=c[c[o>>2]>>2]|0;if(!N)sa=z;else{c[o>>2]=N;sa=c[ma>>2]|0}kd(c[r>>2]|0,sa);c[s>>2]=(c[s>>2]|0)+1;ra=z}c[ra+20>>2]=y;ua=y;break}else{z=c[e>>2]|0;do if(z){N=r;H=z;C=z;while(1){L=c[H+16>>2]|0;if(x>>>0>>0){I=c[H>>2]|0;if(!I){G=76;break}else{va=H;wa=I}}else{if(L>>>0>=x>>>0){G=80;break}xa=H+4|0;L=c[xa>>2]|0;if(!L){G=79;break}else{va=xa;wa=L}}N=va;H=wa;C=wa}if((G|0)==76){G=0;ya=H;za=H;G=82;break}else if((G|0)==79){G=0;ya=xa;za=H;G=82;break}else if((G|0)==80){G=0;Aa=N;Ba=H;Ca=C;G=81;break}}else{Aa=e;Ba=e;Ca=z;G=81}while(0);if((G|0)==81){G=0;if(!Ca){ya=Aa;za=Ba;G=82}else Da=Ca}if((G|0)==82){G=0;z=Wy(24)|0;c[z+16>>2]=w;c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=za;c[ya>>2]=z;y=c[c[o>>2]>>2]|0;if(!y)Ea=z;else{c[o>>2]=y;Ea=c[ya>>2]|0}kd(c[r>>2]|0,Ea);c[s>>2]=(c[s>>2]|0)+1;Da=z}ua=c[Da+20>>2]|0;break}else{z=Wy(56)|0;Jj(z);ua=z}while(0);B=Cc(n)|0;z=Z+16|0;y=Z+48|0;M=0;D=1;while(1){if(D>>>0>=(fb[c[(c[B>>2]|0)+16>>2]&127](B)|0)>>>0)break a;A=D+1|0;if((A|0)==(fb[c[(c[B>>2]|0)+16>>2]&127](B)|0))Fa=ua;else{L=Wy(56)|0;Jj(L);Fa=L}L=lb[c[(c[B>>2]|0)+24>>2]&15](B,D)|0;I=Fa+16|0;c[I>>2]=c[L>>2];c[I+4>>2]=c[L+4>>2];c[I+8>>2]=c[L+8>>2];c[I+12>>2]=c[L+12>>2];c[I+16>>2]=c[L+16>>2];b[I+20>>1]=b[L+20>>1]|0;if((D|0)==1){L=lb[c[(c[B>>2]|0)+24>>2]&15](B,0)|0;c[z>>2]=c[L>>2];c[z+4>>2]=c[L+4>>2];c[z+8>>2]=c[L+8>>2];c[z+12>>2]=c[L+12>>2];c[z+16>>2]=c[L+16>>2];b[z+20>>1]=b[L+20>>1]|0;a[y>>0]=1;Ga=Z}else Ga=M;$j(Wy(16)|0,Ga,Fa,n);M=Fa;D=A}}while(0);t=c[m+4>>2]|0;m=t;if((m|0)==((c[d>>2]|0)+16|0)){p=o;q=e;break}}}e=c[p>>2]|0;m=d+16|0;if((e|0)==(q|0)){Ha=m;Ia=d+20|0}else{t=d+20|0;Fa=d+20|0;Ga=d+24|0;Z=e;while(1){e=(c[Z+20>>2]|0)+12|0;ua=c[t>>2]|0;do if(ua){Da=c[e>>2]|0;s=Fa;Ea=ua;while(1){r=c[Ea+16>>2]|0;if(Da>>>0>>0){ya=c[Ea>>2]|0;if(!ya){G=106;break}else{Ja=Ea;Ka=ya}}else{if(r>>>0>=Da>>>0){G=110;break}La=Ea+4|0;r=c[La>>2]|0;if(!r){G=109;break}else{Ja=La;Ka=r}}s=Ja;Ea=Ka}if((G|0)==106){G=0;Ma=Ea;Na=Ea;break}else if((G|0)==109){G=0;Ma=La;Na=Ea;break}else if((G|0)==110){G=0;Ma=s;Na=Ea;break}}else{Ma=t;Na=t}while(0);if(!(c[Ma>>2]|0)){ua=Wy(20)|0;c[ua+16>>2]=c[e>>2];c[ua>>2]=0;c[ua+4>>2]=0;c[ua+8>>2]=Na;c[Ma>>2]=ua;Da=c[c[m>>2]>>2]|0;if(!Da)Oa=ua;else{c[m>>2]=Da;Oa=c[Ma>>2]|0}kd(c[Fa>>2]|0,Oa);c[Ga>>2]=(c[Ga>>2]|0)+1}Da=c[Z+4>>2]|0;if(!Da){ua=Z+8|0;r=c[ua>>2]|0;if((c[r>>2]|0)==(Z|0))Pa=r;else{r=ua;do{ua=c[r>>2]|0;r=ua+8|0;ya=c[r>>2]|0}while((c[ya>>2]|0)!=(ua|0));Pa=ya}}else{r=Da;while(1){e=c[r>>2]|0;if(!e)break;else r=e}Pa=r}if((Pa|0)==(q|0)){Ha=m;Ia=t;break}else Z=Pa}}c[i>>2]=i;Pa=i+4|0;c[Pa>>2]=i;Z=i+8|0;c[Z>>2]=0;t=c[Ha>>2]|0;if((t|0)==(Ia|0))Qa=i;else{Ga=d+8|0;Oa=d+8|0;Fa=d+12|0;Ma=t;while(1){t=Ma+16|0;Na=c[q>>2]|0;do if(Na){La=c[t>>2]|0;Ka=Oa;Ja=Na;Da=Na;while(1){e=c[Ja+16>>2]|0;if(La>>>0>>0){ya=c[Ja>>2]|0;if(!ya){G=129;break}else{Ra=Ja;Sa=ya}}else{if(e>>>0>=La>>>0){G=133;break}Ta=Ja+4|0;e=c[Ta>>2]|0;if(!e){G=132;break}else{Ra=Ta;Sa=e}}Ka=Ra;Ja=Sa;Da=Sa}if((G|0)==129){G=0;Ua=Ja;Va=Ja;G=135;break}else if((G|0)==132){G=0;Ua=Ta;Va=Ja;G=135;break}else if((G|0)==133){G=0;Wa=Ka;Xa=Ja;Ya=Da;G=134;break}}else{Wa=Ga;Xa=q;Ya=Na;G=134}while(0);if((G|0)==134){G=0;if(!Ya){Ua=Wa;Va=Xa;G=135}else Za=Ya}if((G|0)==135){G=0;Na=Wy(24)|0;c[Na+16>>2]=c[t>>2];c[Na+20>>2]=0;c[Na>>2]=0;c[Na+4>>2]=0;c[Na+8>>2]=Va;c[Ua>>2]=Na;r=c[c[p>>2]>>2]|0;if(!r)_a=Na;else{c[o>>2]=r;_a=c[Ua>>2]|0}kd(c[Oa>>2]|0,_a);c[Fa>>2]=(c[Fa>>2]|0)+1;Za=Na}Na=c[Za+20>>2]|0;if(Mj(Na,0,m)|0){r=Wy(12)|0;c[r+8>>2]=c[Na+12>>2];c[r+4>>2]=i;Na=c[i>>2]|0;c[r>>2]=Na;c[Na+4>>2]=r;c[i>>2]=r;c[Z>>2]=(c[Z>>2]|0)+1}r=c[Ma+4>>2]|0;if(!r){Na=Ma+8|0;La=c[Na>>2]|0;if((c[La>>2]|0)==(Ma|0))$a=La;else{La=Na;do{Na=c[La>>2]|0;La=Na+8|0;Ea=c[La>>2]|0}while((c[Ea>>2]|0)!=(Na|0));$a=Ea}}else{La=r;while(1){t=c[La>>2]|0;if(!t)break;else La=t}$a=La}if(($a|0)==(Ia|0))break;else Ma=$a}Qa=c[Pa>>2]|0}$a=Qa;if(($a|0)!=(i|0)){Ma=d+24|0;Za=Qa;Qa=$a;do{$a=c[Za+8>>2]|0;c[g>>2]=Wf($a)|0;Pb(18026,g);Fa=c[Ia>>2]|0;if(Fa|0){_a=Ia;Oa=Fa;d:while(1){Ua=Oa;while(1){if((c[Ua+16>>2]|0)>>>0>=$a>>>0)break;Va=c[Ua+4>>2]|0;if(!Va){ab=_a;break d}else Ua=Va}Oa=c[Ua>>2]|0;if(!Oa){ab=Ua;break}else _a=Ua}if((ab|0)!=(Ia|0)?$a>>>0>=(c[ab+16>>2]|0)>>>0:0){_a=c[ab+4>>2]|0;if(!_a){Oa=ab+8|0;La=c[Oa>>2]|0;if((c[La>>2]|0)==(ab|0))bb=La;else{La=Oa;do{Oa=c[La>>2]|0;La=Oa+8|0;Da=c[La>>2]|0}while((c[Da>>2]|0)!=(Oa|0));bb=Da}}else{La=_a;while(1){$a=c[La>>2]|0;if(!$a)break;else La=$a}bb=La}if((c[Ha>>2]|0)==(ab|0))c[m>>2]=bb;c[Ma>>2]=(c[Ma>>2]|0)+-1;Cd(Fa,ab);Yy(ab)}}Za=c[Qa+4>>2]|0;Qa=Za}while((Qa|0)!=(i|0))}c[j>>2]=1;ej(d);Qa=d+4|0;Za=c[Qa>>2]|0;if((Za|0)!=(q|0)){ab=Za;while(1){Za=ab+20|0;Ma=c[Za>>2]|0;a[h>>0]=0;bb=gj(d,Ma,h)|0;if(bb|0){Ma=bb;do{c[Za>>2]=Ma;Ma=gj(d,Ma,h)|0}while((Ma|0)!=0)}do if(!(a[h>>0]|0)){Ma=c[ab+4>>2]|0;if(!Ma){Za=ab+8|0;Fa=c[Za>>2]|0;if((c[Fa>>2]|0)==(ab|0)){eb=Fa;break}else gb=Za;do{Za=c[gb>>2]|0;gb=Za+8|0;Fa=c[gb>>2]|0}while((c[Fa>>2]|0)!=(Za|0));eb=Fa}else{Ua=Ma;while(1){Fa=c[Ua>>2]|0;if(!Fa)break;else Ua=Fa}eb=Ua;break}}else eb=c[Qa>>2]|0;while(0);if((eb|0)==(q|0))break;else ab=eb}}c[j>>2]=2;eb=d+40|0;ab=d+28|0;gb=d+32|0;Ma=d+36|0;Fa=d+48|0;Za=d+44|0;La=d+32|0;bb=0;do{m=bb&1;c[j>>2]=(0-m&100)+100;cj(d,m);wk(c[d>>2]|0,m,eb);ij(d,m,j);ej(d);m=c[Qa>>2]|0;if((m|0)!=(q|0)){g=m;while(1){m=g+20|0;_a=c[m>>2]|0;a[h>>0]=0;$a=gj(d,_a,h)|0;if($a|0){_a=$a;do{c[m>>2]=_a;_a=gj(d,_a,h)|0}while((_a|0)!=0)}do if(!(a[h>>0]|0)){_a=c[g+4>>2]|0;if(!_a){m=g+8|0;Ua=c[m>>2]|0;if((c[Ua>>2]|0)==(g|0)){hb=Ua;break}else ib=m;do{m=c[ib>>2]|0;ib=m+8|0;Ua=c[ib>>2]|0}while((c[Ua>>2]|0)!=(m|0));hb=Ua}else{Ua=_a;while(1){m=c[Ua>>2]|0;if(!m)break;else Ua=m}hb=Ua;break}}else hb=c[Qa>>2]|0;while(0);if((hb|0)==(q|0))break;else g=hb}}c[j>>2]=(c[j>>2]|0)+1;g=c[Ha>>2]|0;if((g|0)!=(Ia|0)){_a=g;while(1){g=_a+16|0;m=c[gb>>2]|0;do if(m){$a=c[g>>2]|0;Da=La;Oa=m;Ja=m;while(1){Ka=c[Oa+16>>2]|0;if($a>>>0>>0){Va=c[Oa>>2]|0;if(!Va){G=196;break}else{jb=Oa;kb=Va}}else{if(Ka>>>0>=$a>>>0){G=200;break}mb=Oa+4|0;Ka=c[mb>>2]|0;if(!Ka){G=199;break}else{jb=mb;kb=Ka}}Da=jb;Oa=kb;Ja=kb}if((G|0)==196){G=0;nb=Oa;ob=Oa;G=202;break}else if((G|0)==199){G=0;nb=mb;ob=Oa;G=202;break}else if((G|0)==200){G=0;pb=Da;qb=Oa;rb=Ja;G=201;break}}else{pb=gb;qb=gb;rb=m;G=201}while(0);if((G|0)==201){G=0;if(!rb){nb=pb;ob=qb;G=202}else sb=rb}if((G|0)==202){G=0;m=Wy(32)|0;c[m+16>>2]=c[g>>2];$a=m+20|0;c[$a>>2]=$a;c[m+24>>2]=$a;c[m+28>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=ob;c[nb>>2]=m;$a=c[c[ab>>2]>>2]|0;if(!$a)tb=m;else{c[ab>>2]=$a;tb=c[nb>>2]|0}kd(c[La>>2]|0,tb);c[Ma>>2]=(c[Ma>>2]|0)+1;sb=m}m=c[sb+24>>2]|0;$a=sb+20|0;if((m|0)!=($a|0)){Ua=m;Ka=m;do{m=c[Ua+8>>2]|0;if(m|0)cb[c[(c[m>>2]|0)+4>>2]&127](m);Ua=c[Ka+4>>2]|0;Ka=Ua}while((Ka|0)!=($a|0))}$a=c[_a+4>>2]|0;if(!$a){Ka=_a+8|0;Ua=c[Ka>>2]|0;if((c[Ua>>2]|0)==(_a|0))ub=Ua;else{Ua=Ka;do{Ka=c[Ua>>2]|0;Ua=Ka+8|0;g=c[Ua>>2]|0}while((c[g>>2]|0)!=(Ka|0));ub=g}}else{Ua=$a;while(1){g=c[Ua>>2]|0;if(!g)break;else Ua=g}ub=Ua}if((ub|0)==(Ia|0))break;else _a=ub}}lg(ab,c[gb>>2]|0);c[Ma>>2]=0;c[ab>>2]=gb;c[gb>>2]=0;if(c[Fa>>2]|0?(_a=c[Za>>2]|0,$a=(c[eb>>2]|0)+4|0,g=c[_a>>2]|0,c[g+4>>2]=c[$a>>2],c[c[$a>>2]>>2]=g,c[Fa>>2]=0,(_a|0)!=(eb|0)):0){g=_a;do{_a=g;g=c[g+4>>2]|0;Yy(_a)}while((g|0)!=(eb|0))}bb=bb+1|0}while(bb>>>0<4);e:do if(a[k>>0]|0?(bb=c[Ha>>2]|0,(bb|0)!=(Ia|0)):0){eb=d+8|0;Fa=d+8|0;Za=d+12|0;gb=d+100|0;ab=bb;while(1){bb=ab+16|0;Ma=c[q>>2]|0;do if(Ma){ub=c[bb>>2]|0;sb=Fa;tb=Ma;La=Ma;while(1){nb=c[tb+16>>2]|0;if(ub>>>0>>0){ob=c[tb>>2]|0;if(!ob){G=223;break}else{vb=tb;wb=ob}}else{if(nb>>>0>=ub>>>0){G=227;break}xb=tb+4|0;nb=c[xb>>2]|0;if(!nb){G=226;break}else{vb=xb;wb=nb}}sb=vb;tb=wb;La=wb}if((G|0)==223){G=0;yb=tb;zb=tb;G=229;break}else if((G|0)==226){G=0;yb=xb;zb=tb;G=229;break}else if((G|0)==227){G=0;Ab=sb;Bb=tb;Cb=La;G=228;break}}else{Ab=eb;Bb=q;Cb=Ma;G=228}while(0);if((G|0)==228){G=0;if(!Cb){yb=Ab;zb=Bb;G=229}else Db=Cb}if((G|0)==229){G=0;Ma=Wy(24)|0;c[Ma+16>>2]=c[bb>>2];c[Ma+20>>2]=0;c[Ma>>2]=0;c[Ma+4>>2]=0;c[Ma+8>>2]=zb;c[yb>>2]=Ma;Ua=c[c[p>>2]>>2]|0;if(!Ua)Eb=Ma;else{c[o>>2]=Ua;Eb=c[yb>>2]|0}kd(c[Fa>>2]|0,Eb);c[Za>>2]=(c[Za>>2]|0)+1;Db=Ma}Ma=c[Db+20>>2]|0;if(!Ma)break;Rj(Ma,0,(c[d>>2]|0)!=0,gb);Vj(Ma,0,0);Ma=c[ab+4>>2]|0;if(!Ma){Ua=ab+8|0;ub=c[Ua>>2]|0;if((c[ub>>2]|0)==(ab|0))Fb=ub;else{ub=Ua;do{Ua=c[ub>>2]|0;ub=Ua+8|0;Ja=c[ub>>2]|0}while((c[Ja>>2]|0)!=(Ua|0));Fb=Ja}}else{ub=Ma;while(1){bb=c[ub>>2]|0;if(!bb)break;else ub=bb}Fb=ub}if((Fb|0)==(Ia|0))break e;else ab=Fb}ta(18084,17870,972,18093)}while(0);Fb=c[p>>2]|0;if((Fb|0)!=(q|0)){Db=Fb;while(1){Fb=c[Db+20>>2]|0;mf(c[Fb+12>>2]|0,Fb+16|0);Fb=c[Db+4>>2]|0;if(!Fb){Eb=Db+8|0;yb=c[Eb>>2]|0;if((c[yb>>2]|0)==(Db|0))Gb=yb;else{yb=Eb;do{Eb=c[yb>>2]|0;yb=Eb+8|0;zb=c[yb>>2]|0}while((c[zb>>2]|0)!=(Eb|0));Gb=zb}}else{yb=Fb;while(1){zb=c[yb>>2]|0;if(!zb)break;else yb=zb}Gb=yb}if((Gb|0)==(q|0))break;else Db=Gb}}kj(d);Gb=c[Ha>>2]|0;if((Gb|0)!=(Ia|0)){Ha=d+8|0;Db=d+8|0;Fb=d+12|0;zb=Gb;while(1){Gb=zb+16|0;Eb=c[q>>2]|0;do if(Eb){Cb=c[Gb>>2]|0;Bb=Db;Ab=Eb;xb=Eb;while(1){wb=c[Ab+16>>2]|0;if(Cb>>>0>>0){vb=c[Ab>>2]|0;if(!vb){G=256;break}else{Hb=Ab;Ib=vb}}else{if(wb>>>0>=Cb>>>0){G=260;break}Jb=Ab+4|0;wb=c[Jb>>2]|0;if(!wb){G=259;break}else{Hb=Jb;Ib=wb}}Bb=Hb;Ab=Ib;xb=Ib}if((G|0)==256){G=0;Kb=Ab;Lb=Ab;G=262;break}else if((G|0)==259){G=0;Kb=Jb;Lb=Ab;G=262;break}else if((G|0)==260){G=0;Mb=Bb;Nb=Ab;Ob=xb;G=261;break}}else{Mb=Ha;Nb=q;Ob=Eb;G=261}while(0);if((G|0)==261){G=0;if(!Ob){Kb=Mb;Lb=Nb;G=262}else Qb=Ob}if((G|0)==262){G=0;Eb=Wy(24)|0;c[Eb+16>>2]=c[Gb>>2];c[Eb+20>>2]=0;c[Eb>>2]=0;c[Eb+4>>2]=0;c[Eb+8>>2]=Lb;c[Kb>>2]=Eb;yb=c[c[p>>2]>>2]|0;if(!yb)Rb=Eb;else{c[o>>2]=yb;Rb=c[Kb>>2]|0}kd(c[Db>>2]|0,Rb);c[Fb>>2]=(c[Fb>>2]|0)+1;Qb=Eb}Eb=c[Qb+20>>2]|0;Wj(Eb,0);if(Eb|0){Kj(Eb);Yy(Eb)}Eb=c[zb+4>>2]|0;if(!Eb){yb=zb+8|0;Cb=c[yb>>2]|0;if((c[Cb>>2]|0)==(zb|0))Sb=Cb;else{Cb=yb;do{yb=c[Cb>>2]|0;Cb=yb+8|0;ub=c[Cb>>2]|0}while((c[ub>>2]|0)!=(yb|0));Sb=ub}}else{Cb=Eb;while(1){Gb=c[Cb>>2]|0;if(!Gb)break;else Cb=Gb}Sb=Cb}if((Sb|0)==(Ia|0))break;else zb=Sb}}Sb=c[d+92>>2]|0;zb=d+88|0;Ia=Sb;if((Ia|0)!=(zb|0)){Qb=Sb;Sb=Ia;do{Ia=Qb+8|0;Gc(h,c[Ia>>2]|0,0);gh(c[d>>2]|0,c[Ia>>2]|0);Qb=c[Sb+4>>2]|0;Sb=Qb}while((Sb|0)!=(zb|0))}zb=c[d+68>>2]|0;Sb=d+64|0;Qb=zb;if((Qb|0)!=(Sb|0)){h=zb;zb=Qb;do{lh(c[d>>2]|0,c[h+8>>2]|0);h=c[zb+4>>2]|0;zb=h}while((zb|0)!=(Sb|0))}if(!(c[Z>>2]|0)){l=f;return}Sb=c[Pa>>2]|0;Pa=(c[i>>2]|0)+4|0;zb=c[Sb>>2]|0;c[zb+4>>2]=c[Pa>>2];c[c[Pa>>2]>>2]=zb;c[Z>>2]=0;if((Sb|0)==(i|0)){l=f;return}else Tb=Sb;do{Sb=Tb;Tb=c[Tb+4>>2]|0;Yy(Sb)}while((Tb|0)!=(i|0));l=f;return}function mj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,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;d=l;l=l+32|0;e=d+20|0;f=d+16|0;g=d+12|0;h=d+8|0;i=d+4|0;j=d;c[a>>2]=a;c[a+4>>2]=a;k=a+8|0;c[k>>2]=0;m=a+12|0;c[m>>2]=m;n=a+16|0;c[n>>2]=m;o=a+20|0;c[o>>2]=0;p=a+24|0;c[p>>2]=p;q=a+28|0;c[q>>2]=p;r=a+32|0;c[r>>2]=0;s=a+36|0;c[s>>2]=s;t=a+40|0;c[t>>2]=s;u=a+44|0;c[u>>2]=0;v=a+48|0;c[v>>2]=v;w=a+52|0;c[w>>2]=v;x=a+56|0;c[x>>2]=0;y=b+52|0;z=a;if((a|0)!=(y|0)){A=c[b+56>>2]|0;B=A;C=a;D=y;a:do if((A|0)==(y|0)){E=z;F=B}else{G=z;H=B;I=A;while(1){J=G;if((J|0)==(a|0)){E=G;F=H;break a}c[G+8>>2]=c[I+8>>2];I=c[H+4>>2]|0;K=c[J+4>>2]|0;if((I|0)==(y|0)){E=K;F=I;break}else{G=K;H=I}}}while(0);y=E;if((y|0)!=(a|0)){A=(c[a>>2]|0)+4|0;B=c[y>>2]|0;c[B+4>>2]=c[A>>2];c[c[A>>2]>>2]=B;B=c[y+4>>2]|0;c[k>>2]=-1;Yy(E);if((B|0)!=(a|0)){E=B;do{B=E;E=c[E+4>>2]|0;c[k>>2]=(c[k>>2]|0)+-1;Yy(B)}while((E|0)!=(a|0))}}else{c[h>>2]=C;c[i>>2]=F;c[j>>2]=D;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Fg(a,g,f,e,0)|0}}a=b+64|0;if((p|0)!=(a|0)){D=c[b+68>>2]|0;F=D;C=p;E=c[q>>2]|0;q=a;b:do if((D|0)==(a|0)){L=E;M=F}else{k=E;B=F;y=D;while(1){A=k;if((A|0)==(p|0)){L=k;M=B;break b}c[k+8>>2]=c[y+8>>2];y=c[B+4>>2]|0;z=c[A+4>>2]|0;if((y|0)==(a|0)){L=z;M=y;break}else{k=z;B=y}}}while(0);a=L;if((a|0)==(p|0)){c[h>>2]=C;c[i>>2]=M;c[j>>2]=q;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Fg(p,g,f,e,0)|0}else{q=(c[p>>2]|0)+4|0;M=c[a>>2]|0;c[M+4>>2]=c[q>>2];c[c[q>>2]>>2]=M;M=a;do{a=M;M=c[M+4>>2]|0;c[r>>2]=(c[r>>2]|0)+-1;Yy(a)}while((M|0)!=(p|0))}}p=b+76|0;if((m|0)!=(p|0)){M=c[b+80>>2]|0;r=M;a=m;q=c[n>>2]|0;n=p;c:do if((M|0)==(p|0)){N=q;O=r}else{C=q;L=r;D=M;while(1){F=C;if((F|0)==(m|0)){N=C;O=L;break c}c[C+8>>2]=c[D+8>>2];D=c[L+4>>2]|0;E=c[F+4>>2]|0;if((D|0)==(p|0)){N=E;O=D;break}else{C=E;L=D}}}while(0);p=N;if((p|0)==(m|0)){c[h>>2]=a;c[i>>2]=O;c[j>>2]=n;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Gg(m,g,f,e,0)|0}else{n=(c[m>>2]|0)+4|0;O=c[p>>2]|0;c[O+4>>2]=c[n>>2];c[c[n>>2]>>2]=O;O=p;do{p=O;O=c[O+4>>2]|0;c[o>>2]=(c[o>>2]|0)+-1;Yy(p)}while((O|0)!=(m|0))}}m=b+88|0;if((s|0)!=(m|0)){O=c[b+92>>2]|0;o=O;p=s;n=c[t>>2]|0;t=m;d:do if((O|0)==(m|0)){P=n;Q=o}else{a=n;N=o;M=O;while(1){r=a;if((r|0)==(s|0)){P=a;Q=N;break d}c[a+8>>2]=c[M+8>>2];M=c[N+4>>2]|0;q=c[r+4>>2]|0;if((M|0)==(m|0)){P=q;Q=M;break}else{a=q;N=M}}}while(0);m=P;if((m|0)==(s|0)){c[h>>2]=p;c[i>>2]=Q;c[j>>2]=t;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Gg(s,g,f,e,0)|0}else{t=(c[s>>2]|0)+4|0;Q=c[m>>2]|0;c[Q+4>>2]=c[t>>2];c[c[t>>2]>>2]=Q;Q=m;do{m=Q;Q=c[Q+4>>2]|0;c[u>>2]=(c[u>>2]|0)+-1;Yy(m)}while((Q|0)!=(s|0))}}s=b+100|0;if((v|0)==(s|0)){l=d;return}Q=c[b+104>>2]|0;b=Q;u=v;m=c[w>>2]|0;w=s;e:do if((Q|0)==(s|0)){R=m;S=b}else{t=m;p=b;P=Q;while(1){O=t;if((O|0)==(v|0)){R=t;S=p;break e}c[t+8>>2]=c[P+8>>2];P=c[p+4>>2]|0;o=c[O+4>>2]|0;if((P|0)==(s|0)){R=o;S=P;break}else{t=o;p=P}}}while(0);s=R;if((s|0)==(v|0)){c[h>>2]=u;c[i>>2]=S;c[j>>2]=w;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Gg(v,g,f,e,0)|0}else{e=(c[v>>2]|0)+4|0;f=c[s>>2]|0;c[f+4>>2]=c[e>>2];c[c[e>>2]>>2]=f;f=s;do{s=f;f=c[f+4>>2]|0;c[x>>2]=(c[x>>2]|0)+-1;Yy(s)}while((f|0)!=(v|0))}l=d;return}function nj(){Fh(27984,0,0,0);Fh(27992,0,0,b[4624]|0);return}function oj(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=l;l=l+16|0;i=g+12|0;j=g+8|0;k=g+4|0;m=g;c[b>>2]=d;a[b+4>>0]=1;d=b+8|0;n=b+12|0;c[n>>2]=0;o=b+16|0;c[o>>2]=0;p=b+12|0;c[d>>2]=p;q=c[e>>2]|0;r=e+4|0;if((q|0)!=(r|0)){e=p;p=q;while(1){q=p+16|0;c[m>>2]=e;c[i>>2]=c[m>>2];s=Hi(d,i,j,k,q)|0;if(!(c[s>>2]|0)){t=Wy(20)|0;c[t+16>>2]=c[q>>2];q=c[j>>2]|0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=q;c[s>>2]=t;q=c[c[d>>2]>>2]|0;if(!q)u=t;else{c[d>>2]=q;u=c[s>>2]|0}kd(c[n>>2]|0,u);c[o>>2]=(c[o>>2]|0)+1}s=c[p+4>>2]|0;if(!s){q=p+8|0;t=c[q>>2]|0;if((c[t>>2]|0)==(p|0))v=t;else{t=q;do{q=c[t>>2]|0;t=q+8|0;w=c[t>>2]|0}while((c[w>>2]|0)!=(q|0));v=w}}else{t=s;while(1){w=c[t>>2]|0;if(!w)break;else t=w}v=t}if((v|0)==(r|0))break;else p=v}}c[b+24>>2]=0;c[b+28>>2]=0;c[b+20>>2]=b+24;c[b+32>>2]=f;c[b+40>>2]=0;c[b+44>>2]=0;c[b+36>>2]=b+40;c[b+48>>2]=0;h[b+56>>3]=2.0e3;f=b+64|0;c[f>>2]=f;c[b+68>>2]=f;c[b+72>>2]=0;f=b+76|0;c[f>>2]=f;c[b+80>>2]=f;c[b+84>>2]=0;f=b+88|0;c[f>>2]=f;c[b+92>>2]=f;c[b+96>>2]=0;f=b+100|0;c[f>>2]=f;c[b+104>>2]=f;c[b+108>>2]=0;f=b+112|0;c[f>>2]=f;c[b+116>>2]=f;f=b+120|0;c[b+140>>2]=0;c[b+144>>2]=0;c[b+148>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;Fh(b+156|0,0,42,0);l=g;return}function pj(a,b){a=a|0;b=b|0;if(!b)return;else{pj(a,c[b>>2]|0);pj(a,c[b+4>>2]|0);Yy(b);return}}function qj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+48|0;Wj(c[b>>2]|0,0);d=c[b>>2]|0;if(d|0){Kj(d);Yy(d)}c[b>>2]=0;b=c[a+140>>2]|0;if(b|0){d=a+144|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-4-b|0)>>>2)<<2);Yy(b)}b=c[a+124>>2]|0;if(b|0){e=a+128|0;d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~((d+-4-b|0)>>>2)<<2);Yy(b)}b=a+112|0;d=a+120|0;if(c[d>>2]|0?(e=c[a+116>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+100|0;d=a+108|0;if(c[d>>2]|0?(e=c[a+104>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+88|0;d=a+96|0;if(c[d>>2]|0?(e=c[a+92>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+76|0;d=a+84|0;if(c[d>>2]|0?(e=c[a+80>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+64|0;d=a+72|0;if(c[d>>2]|0?(e=c[a+68>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;jg(e+8|0,c[e+12>>2]|0);Yy(e)}while((d|0)!=(b|0))}pj(a+36|0,c[a+40>>2]|0);jg(a+20|0,c[a+24>>2]|0);jg(a+8|0,c[a+12>>2]|0);return}function rj(a){a=a|0;return c[a+48>>2]|0}function sj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;f=l;l=l+32|0;g=f;h=d;i=a+36|0;j=a+40|0;k=c[j>>2]|0;if(k){m=j;n=k;a:while(1){k=n;while(1){if((c[k+16>>2]|0)>>>0>=d>>>0)break;o=c[k+4>>2]|0;if(!o){p=m;break a}else k=o}n=c[k>>2]|0;if(!n){p=k;break}else m=k}if((p|0)!=(j|0)?(c[p+16>>2]|0)>>>0<=d>>>0:0){m=c[p+20>>2]|0;p=m+12|0;if(!(c[p>>2]|0)){n=Wy(152)|0;o=c[a>>2]|0;q=d+16|0;c[g>>2]=c[q>>2];c[g+4>>2]=c[q+4>>2];c[g+8>>2]=c[q+8>>2];c[g+12>>2]=c[q+12>>2];c[g+16>>2]=c[q+16>>2];c[g+20>>2]=c[q+20>>2];jf(n,o,g,0);c[p>>2]=n;g=a+48|0;if(!(c[g>>2]|0))c[g>>2]=m;eh(c[a>>2]|0,n);Mf(c[p>>2]|0);r=m}else r=m}else s=8}else s=8;if((s|0)==8){m=Wy(56)|0;Jj(m);p=d+16|0;n=m+16|0;c[n>>2]=c[p>>2];c[n+4>>2]=c[p+4>>2];c[n+8>>2]=c[p+8>>2];c[n+12>>2]=c[p+12>>2];c[n+16>>2]=c[p+16>>2];b[n+20>>1]=b[p+20>>1]|0;p=c[j>>2]|0;do if(p){n=a+40|0;g=p;o=p;while(1){q=c[g+16>>2]|0;if(q>>>0>d>>>0){t=c[g>>2]|0;if(!t){s=13;break}else{u=g;v=t}}else{if(q>>>0>=d>>>0){s=17;break}w=g+4|0;q=c[w>>2]|0;if(!q){s=16;break}else{u=w;v=q}}n=u;g=v;o=v}if((s|0)==13){x=g;y=g;s=20;break}else if((s|0)==16){x=w;y=g;s=20;break}else if((s|0)==17){z=n;A=g;B=o;s=19;break}}else{z=j;A=j;B=p;s=19}while(0);if((s|0)==19)if(!B){x=z;y=A;s=20}else C=B;if((s|0)==20){s=Wy(24)|0;c[s+16>>2]=h;c[s+20>>2]=0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=y;c[x>>2]=s;y=c[c[i>>2]>>2]|0;if(!y)D=s;else{c[i>>2]=y;D=c[x>>2]|0}kd(c[a+40>>2]|0,D);D=a+44|0;c[D>>2]=(c[D>>2]|0)+1;C=s}c[C+20>>2]=m;r=m}if(!e){l=f;return r|0}$j(Wy(16)|0,e,r,0);l=f;return r|0}function tj(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;if(c[f+12>>2]|0)return;if(!e)ta(18101,18116,190,18125);i=d+4|0;j=d+156|0;k=b[4630]|0;if(!h){h=e;l=f;m=g;while(1){l=sj(d,h,l)|0;if(wg(c[d>>2]|0)|0){n=wg(c[d>>2]|0)|0;kb[c[(c[n>>2]|0)+36>>2]&7](n,h,m,0)}if(c[l+12>>2]|0){o=29;break}n=c[h+104>>2]|0;p=(n|0)==0;if(p)c[l+44>>2]=h;if((k&b[h+10>>1])<<16>>16)a[l+49>>0]=1;if(p){o=29;break}else{p=h;h=n;m=p}}if((o|0)==29)return}else{q=e;r=f;s=g}while(1){r=sj(d,q,r)|0;g=Sh(s,q,(a[i>>0]|0)!=0)|0;if(!g){f=q+4|0;if(!(Hh(f,j)|0)){o=21;break}if(Hh(f,j)|0)t=c[q+108>>2]|0;else t=q;if(Hh(s+4|0,j)|0)u=c[s+108>>2]|0;else u=s;f=Sh(u,t,(a[i>>0]|0)!=0)|0;if(!f){o=21;break}else v=f}else v=g;Ge(v,1);if(wg(c[d>>2]|0)|0){g=wg(c[d>>2]|0)|0;kb[c[(c[g>>2]|0)+36>>2]&7](g,q,s,0)}if(c[r+12>>2]|0){o=29;break}g=c[q+104>>2]|0;f=(g|0)==0;if(f)c[r+44>>2]=q;if((k&b[q+10>>1])<<16>>16)a[r+49>>0]=1;if(f){o=29;break}else{f=q;q=g;s=f}}if((o|0)==21)ta(18150,18116,212,18125);else if((o|0)==29)return}function uj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=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;if(!b)ta(18101,18116,253,18155);e=a+8|0;f=a+12|0;g=a+12|0;i=a+16|0;j=b;k=b;while(1){b=k+120|0;if(+h[b>>3]==0.0){l=5;break}h[b>>3]=0.0;$h(k,d);b=c[f>>2]|0;do if(b){m=g;n=b;while(1){o=c[n+16>>2]|0;if(k>>>0>>0){p=c[n>>2]|0;if(!p){l=10;break}else{q=n;r=p}}else{if(o>>>0>=k>>>0){l=14;break}s=n+4|0;o=c[s>>2]|0;if(!o){l=13;break}else{q=s;r=o}}m=q;n=r}if((l|0)==10){l=0;t=n;u=n;break}else if((l|0)==13){l=0;t=s;u=n;break}else if((l|0)==14){l=0;t=m;u=n;break}}else{t=f;u=f}while(0);if(!(c[t>>2]|0)){b=Wy(20)|0;c[b+16>>2]=j;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=u;c[t>>2]=b;o=c[c[e>>2]>>2]|0;if(!o)v=b;else{c[e>>2]=o;v=c[t>>2]|0}kd(c[g>>2]|0,v);c[i>>2]=(c[i>>2]|0)+1}o=c[k+104>>2]|0;if(!o){l=20;break}else{j=o;k=o}}if((l|0)==5){j=_h(k)|0;vj(a,k,d);return j|0}else if((l|0)==20)ta(26330,18116,276,18155);return 0}function vj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0;e=l;l=l+16|0;f=e;$h(b,d);wj(f,a,b,0);b=f+4|0;g=c[b>>2]|0;i=g;if((i|0)!=(f|0)){j=g;g=i;do{i=c[j+12>>2]|0;if((_h(i)|0)!=(d|0)?+h[i+120>>3]==0.0:0)vj(a,i,d);j=c[g+4>>2]|0;g=j}while((g|0)!=(f|0))}g=f+8|0;if(!(c[g>>2]|0)){l=e;return}j=c[b>>2]|0;b=(c[f>>2]|0)+4|0;d=c[j>>2]|0;c[d+4>>2]=c[b>>2];c[c[b>>2]>>2]=d;c[g>>2]=0;if((j|0)==(f|0)){l=e;return}else k=j;do{j=k;k=c[k+4>>2]|0;Yy(j)}while((k|0)!=(f|0));l=e;return}function wj(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=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;c[b>>2]=b;c[b+4>>2]=b;g=b+8|0;c[g>>2]=0;if(!e)ta(18173,18116,581,18178);xj(d,e,(f|0)==0?.1:0.0)|0;i=d+156|0;j=Ih(e+4|0,i)|0;if(j)k=e;else k=xj(d,e,0.0)|0;if(!(Ih(k+4|0,i)|0))ta(18207,18116,588,18178);i=a[d+4>>0]|0?k+72|0:k+56|0;e=c[i+4>>2]|0;l=e;if((l|0)==(i|0))return;m=k+24|0;n=j^1;o=k+16|0;p=e;e=l;a:while(1){l=p+8|0;q=We(c[l>>2]|0,k)|0;do if((q|0)==(xj(d,k,0.0)|0)){if(j)r=q;else r=xj(d,q,0.0)|0;if((r|0)!=(f|0)){s=c[l>>2]|0;t=Wy(16)|0;u=t+8|0;c[u>>2]=s;c[u+4>>2]=r;c[t+4>>2]=b;u=c[b>>2]|0;c[t>>2]=u;c[u+4>>2]=t;c[b>>2]=t;c[g>>2]=(c[g>>2]|0)+1}}else{if(j)v=q;else v=xj(d,q,0.0)|0;if(!v){w=18;break a}if(+h[q+24>>3]==+h[m>>3]){if((v|0)==(f|0)|n)break;t=c[l>>2]|0;u=Wy(16)|0;s=u+8|0;c[s>>2]=t;c[s+4>>2]=v;c[u+4>>2]=b;s=c[b>>2]|0;c[u>>2]=s;c[s+4>>2]=u;c[b>>2]=u;c[g>>2]=(c[g>>2]|0)+1;break}if(!(+h[q+16>>3]==+h[o>>3])){op(18255)|0;u=c[l>>2]|0;s=Wy(16)|0;t=s+8|0;c[t>>2]=u;c[t+4>>2]=q;c[s+4>>2]=b;t=c[b>>2]|0;c[s>>2]=t;c[t+4>>2]=s;c[b>>2]=s;c[g>>2]=(c[g>>2]|0)+1;break}if(!(j|(v|0)==(f|0))){s=c[l>>2]|0;t=Wy(16)|0;u=t+8|0;c[u>>2]=s;c[u+4>>2]=v;c[t+4>>2]=b;u=c[b>>2]|0;c[t>>2]=u;c[u+4>>2]=t;c[b>>2]=t;c[g>>2]=(c[g>>2]|0)+1}}while(0);p=c[e+4>>2]|0;e=p;if((e|0)==(i|0)){w=9;break}}if((w|0)==9)return;else if((w|0)==18)ta(18247,18116,606,18178)}function xj(b,d,e){b=b|0;d=d|0;e=+e;var f=0.0,g=0,i=0,j=0,k=0,l=0,m=0;if(e==0.0)f=+h[b+56>>3];else f=e;g=d+108|0;i=c[g>>2]|0;if(i|0){j=i;return j|0}i=Wy(160)|0;Oh(i,c[b>>2]|0,b+156|0,d+16|0,0);c[g>>2]=i;c[i+108>>2]=d;k=b+88|0;l=Wy(12)|0;c[l+8>>2]=i;c[l+4>>2]=k;m=c[k>>2]|0;c[l>>2]=m;c[m+4>>2]=l;c[k>>2]=l;l=b+96|0;c[l>>2]=(c[l>>2]|0)+1;l=Wy(72)|0;ve(l,i,d,(a[b+4>>0]|0)!=0);Be(l,f);j=c[g>>2]|0;return j|0}function yj(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function zj(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.0,o=0,p=0,q=0,r=0,s=0;d=c[f>>2]|0;b=c[a>>2]|0;g=d-b|0;h=d;i=d;if((e|0)<2)return;d=(e+-2|0)/2|0;if((d|0)<(g>>2|0))return;j=g>>1|1;g=b+(j<<2)|0;b=g;k=j+1|0;if((k|0)<(e|0)?(l=g+4|0,m=c[l>>2]|0,n=+De(c[g>>2]|0),n>+De(m)):0){o=k;p=l}else{o=j;p=b}b=c[h>>2]|0;n=+De(c[p>>2]|0);if(n>+De(b))return;b=c[i>>2]|0;h=b;j=o;o=p;p=i;while(1){i=p;p=o;c[i>>2]=c[p>>2];c[f>>2]=o;if((d|0)<(j|0))break;i=j<<1|1;l=(c[a>>2]|0)+(i<<2)|0;k=l;m=i+1|0;if((m|0)<(e|0)?(g=l+4|0,q=c[g>>2]|0,n=+De(c[l>>2]|0),n>+De(q)):0){r=m;s=g}else{r=i;s=k}n=+De(c[s>>2]|0);if(n>+De(h))break;else{j=r;o=s}}c[p>>2]=b;return} +function rl(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,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.0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0.0,Pa=0,Qa=0,Ra=0.0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0.0,mb=0,nb=0,ob=0,pb=0.0,qb=0,rb=0,sb=0,tb=0,ub=0;g=l;l=l+192|0;i=g+176|0;j=g+172|0;k=g+168|0;m=g+164|0;n=g;o=g+140|0;p=g+128|0;q=g+116|0;r=g+104|0;s=g+152|0;t=g+92|0;u=g+80|0;v=g+68|0;w=g+56|0;x=g+4|0;y=oh(c[d>>2]|0,0)|0;z=oh(c[d>>2]|0,6)|0;A=+ph(c[d>>2]|0,7);if(!(A>=0.0))ta(20163,19712,2605,20180);B=d+36|0;D=c[B>>2]|0;c[p>>2]=p;E=p+4|0;c[E>>2]=p;F=p+8|0;c[F>>2]=0;if(!D){l=g;return}G=(e|0)==0?6:7;H=d+32|0;I=d+28|0;J=o+4|0;K=o+8|0;L=q+4|0;M=q+8|0;N=r+4|0;O=r+8|0;P=t+4|0;Q=t+8|0;R=u+4|0;S=u+8|0;T=v+4|0;U=v+8|0;V=w+4|0;W=w+8|0;X=r+8|0;Y=A/10.0;Z=q+8|0;_=t+8|0;$=d+20|0;aa=d+4|0;ba=q+4|0;ca=s+4|0;da=s+8|0;ea=r+4|0;fa=r+8|0;ga=p;ha=r;ia=D;a:while(1){nh(c[d>>2]|0,G,D-ia|0,D);ja=c[(c[H>>2]|0)+8>>2]|0;if(c[F>>2]|0?(ka=c[E>>2]|0,la=(c[p>>2]|0)+4|0,ma=c[ka>>2]|0,c[ma+4>>2]=c[la>>2],c[c[la>>2]>>2]=ma,c[F>>2]=0,(ka|0)!=(p|0)):0){ma=ka;do{ka=ma;ma=c[ma+4>>2]|0;Yy(ka)}while((ma|0)!=(p|0))}ma=Wy(12)|0;c[ma+8>>2]=ja;c[ma+4>>2]=p;ka=c[p>>2]|0;c[ma>>2]=ka;c[ka+4>>2]=ma;c[p>>2]=ma;c[F>>2]=(c[F>>2]|0)+1;ma=c[H>>2]|0;ka=ma+4|0;la=c[ma>>2]|0;c[la+4>>2]=c[ka>>2];c[c[ka>>2]>>2]=la;c[B>>2]=(c[B>>2]|0)+-1;Yy(ma);ma=c[H>>2]|0;la=ma;if((la|0)!=(I|0)){ka=ma;ma=la;do{la=c[E>>2]|0;na=la;b:do if((na|0)==(p|0))oa=16;else{pa=ka+8|0;qa=la;ra=na;while(1){sa=c[pa>>2]|0;if(Za[c[(c[sa>>2]|0)+24>>2]&31](sa,c[qa+8>>2]|0,e)|0)break;qa=c[ra+4>>2]|0;ra=qa;if((ra|0)==(p|0)){oa=16;break b}}ra=Wy(12)|0;c[ra+8>>2]=c[pa>>2];c[ra+4>>2]=p;qa=c[p>>2]|0;c[ra>>2]=qa;c[qa+4>>2]=ra;c[p>>2]=ra;c[F>>2]=(c[F>>2]|0)+1;ra=ma+4|0;qa=c[ma>>2]|0;c[qa+4>>2]=c[ra>>2];c[c[ra>>2]>>2]=qa;c[B>>2]=(c[B>>2]|0)+-1;Yy(ka);ua=H}while(0);if((oa|0)==16){oa=0;ua=ma+4|0}ka=c[ua>>2]|0;ma=ka}while((ma|0)!=(I|0))}if(!f){c[q>>2]=aa;c[ba>>2]=e;c[s>>2]=s;c[ca>>2]=s;c[da>>2]=0;ma=c[E>>2]|0;ka=ma;if((ka|0)==(p|0))va=0;else{ja=ma;ma=s;na=0;la=ka;while(1){ka=ma;ma=Wy(12)|0;c[ma+8>>2]=c[ja+8>>2];c[ma+4>>2]=s;c[ma>>2]=ka;c[ka+4>>2]=ma;c[s>>2]=ma;ka=na+1|0;c[da>>2]=ka;ja=c[la+4>>2]|0;la=ja;if((la|0)==(p|0)){va=ka;break}else na=ka}}if(y?(na=c[ca>>2]|0,la=na,(la|0)!=(s|0)):0){ja=na;na=la;do{la=ja;if((la|0)!=(s|0)){ma=ja+8|0;ka=ja;qa=la;while(1){la=c[ma>>2]|0;ra=c[ka+8>>2]|0;if((na|0)!=(qa|0)&(la|0)!=0&(ra|0)!=0?sl(la,ra,c[ba>>2]|0)|0:0){tl(la,ra,c[ba>>2]|0);cb[c[(c[ra>>2]|0)+4>>2]&127](ra);ra=qa+4|0;la=c[ra>>2]|0;sa=c[qa>>2]|0;c[sa+4>>2]=la;c[c[ra>>2]>>2]=sa;c[da>>2]=(c[da>>2]|0)+-1;Yy(ka);wa=la}else wa=c[qa+4>>2]|0;qa=wa;if((qa|0)==(s|0))break;else ka=wa}}ja=c[na+4>>2]|0;na=ja}while((na|0)!=(s|0));xa=c[da>>2]|0}else xa=va;c[r>>2]=r;c[ea>>2]=r;c[fa>>2]=0;if(!xa)ya=r;else{na=xa;ja=0;ka=xa;while(1){qa=c[ca>>2]|0;ma=c[qa+8>>2]|0;la=qa+4|0;sa=c[qa>>2]|0;c[sa+4>>2]=c[la>>2];c[c[la>>2]>>2]=sa;c[da>>2]=ka+-1;Yy(qa);qa=c[ea>>2]|0;sa=qa;if((sa|0)!=(r|0)){la=ma;ra=1;za=qa;Aa=sa;while(1){a[i>>0]=0;sa=ul(q,la,c[za+8>>2]|0,i)|0;Ba=a[i>>0]|0;ra=(Ba&255&(ra&1)|0)!=0;if(!(Ba<<24>>24==0|sa^1)){Ca=Aa;Da=za;break}sa=c[Aa+4>>2]|0;Aa=sa;if((Aa|0)==(r|0)){Ca=r;Da=sa;break}else za=sa}za=c[fa>>2]|0;if(ja>>>0>>0&((ra|(za|0)==0)^1)){Aa=Wy(12)|0;c[Aa+8>>2]=ma;c[Aa+4>>2]=s;la=c[s>>2]|0;c[Aa>>2]=la;c[la+4>>2]=Aa;c[s>>2]=Aa;Aa=(c[da>>2]|0)+1|0;c[da>>2]=Aa;Ea=na;Fa=ja+1|0;Ga=Aa}else{Ha=Ca;Ia=Da;Ja=za;oa=37}}else{Ha=r;Ia=qa;Ja=c[fa>>2]|0;oa=37}if((oa|0)==37){oa=0;za=Wy(12)|0;c[za>>2]=0;c[za+8>>2]=ma;Aa=c[Ha>>2]|0;c[Aa+4>>2]=za;c[za>>2]=Aa;c[Ia>>2]=za;c[za+4>>2]=Ha;c[fa>>2]=Ja+1;za=c[da>>2]|0;Ea=za;Fa=0;Ga=za}if(!Ga)break;else{na=Ea;ja=Fa;ka=Ga}}ya=c[ea>>2]|0}ka=ya;ja=c[E>>2]|0;c:do if((ya|0)==(r|0)){Ka=ja;La=ka}else{na=ja;za=ka;Aa=ya;while(1){la=na;if((la|0)==(p|0)){Ka=na;La=za;break c}c[na+8>>2]=c[Aa+8>>2];Aa=c[za+4>>2]|0;sa=c[la+4>>2]|0;if((Aa|0)==(r|0)){Ka=sa;La=Aa;break}else{na=sa;za=Aa}}}while(0);ka=Ka;if((ka|0)==(p|0)){c[m>>2]=ga;c[n>>2]=La;c[o>>2]=ha;c[k>>2]=c[m>>2];c[j>>2]=c[n>>2];c[i>>2]=c[o>>2];vl(p,k,j,i,0)|0}else{ja=(c[p>>2]|0)+4|0;Aa=c[ka>>2]|0;c[Aa+4>>2]=c[ja>>2];c[c[ja>>2]>>2]=Aa;Aa=ka;do{ka=Aa;Aa=c[Aa+4>>2]|0;c[F>>2]=(c[F>>2]|0)+-1;Yy(ka)}while((Aa|0)!=(p|0))}if(c[fa>>2]|0?(Aa=c[ea>>2]|0,ka=(c[r>>2]|0)+4|0,ja=c[Aa>>2]|0,c[ja+4>>2]=c[ka>>2],c[c[ka>>2]>>2]=ja,c[fa>>2]=0,(Aa|0)!=(r|0)):0){ja=Aa;do{Aa=ja;ja=c[ja+4>>2]|0;Yy(Aa)}while((ja|0)!=(r|0))}if(c[da>>2]|0?(ja=c[ca>>2]|0,Aa=(c[s>>2]|0)+4|0,ka=c[ja>>2]|0,c[ka+4>>2]=c[Aa>>2],c[c[Aa>>2]>>2]=ka,c[da>>2]=0,(ja|0)!=(s|0)):0){ka=ja;do{ja=ka;ka=c[ka+4>>2]|0;Yy(ja)}while((ka|0)!=(s|0))}}if((c[F>>2]|0)==1?(ka=c[(c[E>>2]|0)+8>>2]|0,fb[c[(c[ka>>2]|0)+28>>2]&127](ka)|0|f):0){ka=c[(c[E>>2]|0)+8>>2]|0;if(ka|0)cb[c[(c[ka>>2]|0)+4>>2]&127](ka)}else{c[o>>2]=o;c[J>>2]=o;c[K>>2]=0;c[q>>2]=0;c[L>>2]=0;c[M>>2]=0;c[r>>2]=0;c[N>>2]=0;c[O>>2]=0;c[t>>2]=0;c[P>>2]=0;c[Q>>2]=0;c[u>>2]=u;c[R>>2]=u;c[S>>2]=0;ka=c[E>>2]|0;ja=ka;if((ja|0)!=(p|0)){Aa=ka;ka=ja;do{ja=c[Aa+8>>2]|0;wl(ja,f);za=ja+28|0;na=c[L>>2]|0;if((na|0)==(c[Z>>2]|0)){xl(q,za);ma=c[L>>2]|0;Ma=ma;Na=ma}else{c[na>>2]=c[za>>2];na=(c[L>>2]|0)+4|0;c[L>>2]=na;Ma=na;Na=na}na=(Ma-(c[q>>2]|0)>>2)+-1|0;if(f){if(+h[(c[za>>2]|0)+24>>3]==1.0e-05){za=Wy(12)|0;c[za+8>>2]=na;c[za+4>>2]=o;ma=c[o>>2]|0;c[za>>2]=ma;c[ma+4>>2]=za;c[o>>2]=za;c[K>>2]=(c[K>>2]|0)+1}}else{za=ja+44|0;if((a[za>>0]|0)==0?(ma=ja+8|0,+h[ma>>3]>-1.0e8):0){qa=Wy(80)|0;Oa=+h[ma>>3];c[qa>>2]=2;h[qa+8>>3]=Oa;h[qa+24>>3]=1.0e5;h[qa+32>>3]=1.0;ma=qa+40|0;ra=qa+56|0;c[ma>>2]=0;c[ma+4>>2]=0;c[ma+8>>2]=0;b[ma+12>>1]=0;c[ra>>2]=0;c[ra+4>>2]=0;c[ra+8>>2]=0;c[ra+12>>2]=0;c[ra+16>>2]=0;c[ra+20>>2]=0;c[i>>2]=qa;if((Na|0)==(c[Z>>2]|0))xl(q,i);else{c[Na>>2]=qa;c[L>>2]=(c[L>>2]|0)+4}qa=Wy(40)|0;ra=c[q>>2]|0;ma=ra;Nm(qa,c[ma+(((c[L>>2]|0)-ra>>2)+-1<<2)>>2]|0,c[ma+(na<<2)>>2]|0,0.0,0);c[i>>2]=qa;ma=c[N>>2]|0;if((ma|0)==(c[X>>2]|0))yl(r,i);else{c[ma>>2]=qa;c[N>>2]=(c[N>>2]|0)+4}}qa=c[R>>2]|0;ma=qa;if((ma|0)!=(u|0)){ra=ja+24|0;sa=ja+48|0;la=ja+52|0;Ba=qa;qa=ma;do{ma=c[Ba+8>>2]|0;Pa=c[ma+28>>2]|0;do if(Za[c[(c[ja>>2]|0)+24>>2]&31](ja,ma,e)|0){if(a[za>>0]|0?a[ma+44>>0]|0:0)break;do if(sl(ja,ma,e)|0){Qa=1;Ra=0.0}else{Sa=c[ra>>2]|0;Ta=ma+24|0;if((Sa|0)==(c[Ta>>2]|0)?((c[ma+52>>2]|0)-(c[ma+48>>2]|0)|(c[la>>2]|0)-(c[sa>>2]|0)|0)==0:0){Qa=0;Ra=0.0;break}d:do if(z)Ua=0;else{Va=nc(Sa)|0;Wa=nc(c[Ta>>2]|0)|0;if((Va|0)==(Wa|0)){oa=88;break a}Xa=(Va>>>0>>0?Va:Wa)&65535;Ya=(Va>>>0>Wa>>>0?Va:Wa)&65535;Wa=c[$>>2]|0;if(!Wa){Ua=0;break}else _a=Wa;while(1){Wa=b[_a+14>>1]|0;do if(Xa<<16>>16==Wa<<16>>16){Va=b[_a+16>>1]|0;if((Ya&65535)<(Va&65535)){oa=93;break}if((Va&65535)<(Ya&65535))oa=96;else{Ua=1;break d}}else{if((Xa&65535)<(Wa&65535)){oa=93;break}if((Wa&65535)<(Xa&65535))oa=96;else{Ua=1;break d}}while(0);if((oa|0)==93){oa=0;$a=_a}else if((oa|0)==96){oa=0;$a=_a+4|0}_a=c[$a>>2]|0;if(!_a){Ua=0;break}}}while(0);Qa=Ua;Ra=Ua?0.0:A}while(0);Ta=Wy(40)|0;Nm(Ta,Pa,c[(c[q>>2]|0)+(na<<2)>>2]|0,Ra,Qa);c[i>>2]=Ta;Sa=c[N>>2]|0;if((Sa|0)==(c[X>>2]|0))yl(r,i);else{c[Sa>>2]=Ta;c[N>>2]=(c[N>>2]|0)+4}do if(Ra!=0.0){Ta=c[P>>2]|0;if((Ta|0)==(c[_>>2]|0)){yl(t,i);break}else{c[Ta>>2]=c[i>>2];c[P>>2]=(c[P>>2]|0)+4;break}}while(0)}while(0);Ba=c[qa+4>>2]|0;qa=Ba}while((qa|0)!=(u|0))}if((a[za>>0]|0)==0?(qa=ja+16|0,+h[qa>>3]<1.0e8):0){Ba=Wy(80)|0;Oa=+h[qa>>3];c[Ba>>2]=3;h[Ba+8>>3]=Oa;h[Ba+24>>3]=1.0e5;h[Ba+32>>3]=1.0;qa=Ba+40|0;sa=Ba+56|0;c[qa>>2]=0;c[qa+4>>2]=0;c[qa+8>>2]=0;b[qa+12>>1]=0;c[sa>>2]=0;c[sa+4>>2]=0;c[sa+8>>2]=0;c[sa+12>>2]=0;c[sa+16>>2]=0;c[sa+20>>2]=0;c[i>>2]=Ba;sa=c[L>>2]|0;if((sa|0)==(c[Z>>2]|0))xl(q,i);else{c[sa>>2]=Ba;c[L>>2]=(c[L>>2]|0)+4}Ba=Wy(40)|0;sa=c[q>>2]|0;Nm(Ba,c[sa+(na<<2)>>2]|0,c[sa+(((c[L>>2]|0)-sa>>2)+-1<<2)>>2]|0,0.0,0);c[i>>2]=Ba;sa=c[N>>2]|0;if((sa|0)==(c[X>>2]|0))yl(r,i);else{c[sa>>2]=Ba;c[N>>2]=(c[N>>2]|0)+4}}}Ba=Wy(12)|0;c[Ba+8>>2]=ja;c[Ba+4>>2]=u;sa=c[u>>2]|0;c[Ba>>2]=sa;c[sa+4>>2]=Ba;c[u>>2]=Ba;c[S>>2]=(c[S>>2]|0)+1;Aa=c[ka+4>>2]|0;ka=Aa}while((ka|0)!=(p|0))}c[v>>2]=v;c[T>>2]=v;c[U>>2]=0;if(f?(ka=c[J>>2]|0,Aa=ka,(Aa|0)!=(o|0)):0){Ba=ka;ka=Aa;Aa=0;sa=v;while(1){qa=Ba;if((qa|0)==(o|0)){ab=Aa;bb=sa}else{la=Ba+8|0;ra=Ba;Pa=qa;qa=sa;ma=Aa;while(1){if((ka|0)==(Pa|0)){db=ma;eb=qa}else{pa=c[la>>2]|0;Ta=c[ra+8>>2]|0;Sa=Wy(20)|0;c[Sa+8>>2]=pa;c[Sa+12>>2]=Ta;c[Sa+16>>2]=q;c[Sa+4>>2]=v;c[Sa>>2]=qa;c[qa+4>>2]=Sa;c[v>>2]=Sa;Ta=ma+1|0;c[U>>2]=Ta;db=Ta;eb=Sa}ra=c[Pa+4>>2]|0;Pa=ra;if((Pa|0)==(o|0)){ab=db;bb=eb;break}else{qa=eb;ma=db}}}Ba=c[ka+4>>2]|0;ka=Ba;if((ka|0)==(o|0))break;else{Aa=ab;sa=bb}}}c[w>>2]=w;c[V>>2]=w;c[W>>2]=0;sa=0;Oa=A;while(1){Yl(x,q,r);fm(x)|0;Aa=c[L>>2]|0;ka=c[q>>2]|0;Ba=ka;if((Aa|0)==(ka|0))gb=1;else{ma=Aa-ka>>2;ka=0;Aa=1;while(1){qa=c[Ba+(ka<<2)>>2]|0;Pa=c[qa>>2]|0;e:do if((Pa|0)!=0?+C(+(+h[qa+16>>3]-+h[qa+8>>3]))>.0001:0)switch(Pa|0){case 2:{ra=c[W>>2]|0;if(ra|0?(la=c[w>>2]|0,(c[la+8>>2]|0)==(c[la+12>>2]|0)):0){hb=0;break e}la=Wy(16)|0;ja=la+8|0;c[ja>>2]=ka;c[ja+4>>2]=ka+1;c[la+4>>2]=w;ja=c[w>>2]|0;c[la>>2]=ja;c[ja+4>>2]=la;c[w>>2]=la;c[W>>2]=ra+1;hb=0;break e;break}case 3:{if(c[W>>2]|0){c[(c[w>>2]|0)+12>>2]=ka;hb=0;break e}if(!ka){oa=137;break a}ra=ka+-1|0;if((c[c[Ba+(ra<<2)>>2]>>2]|0)!=2){oa=139;break a}la=Wy(16)|0;ja=la+8|0;c[ja>>2]=ra;c[ja+4>>2]=ka;c[la+4>>2]=w;ja=c[w>>2]|0;c[la>>2]=ja;c[ja+4>>2]=la;c[w>>2]=la;c[W>>2]=1;hb=0;break e;break}case 1:{if(!(c[W>>2]|0)){la=Wy(16)|0;ja=la+8|0;c[ja>>2]=ka;c[ja+4>>2]=ka;c[la+4>>2]=w;ja=c[w>>2]|0;c[la>>2]=ja;c[ja+4>>2]=la;c[w>>2]=la;c[W>>2]=1;hb=0;break e}else{c[(c[w>>2]|0)+12>>2]=ka;hb=0;break e}break}default:{hb=0;break e}}else hb=Aa;while(0);ka=ka+1|0;if(ka>>>0>=ma>>>0){gb=hb;break}else Aa=hb}}f:do if(f){do if(sa){Aa=c[U>>2]|0;if(!Aa){oa=148;break a}if(!gb){ma=c[T>>2]|0;ka=ma+4|0;Pa=c[ma>>2]|0;c[Pa+4>>2]=c[ka>>2];c[c[ka>>2]>>2]=Pa;c[U>>2]=Aa+-1;Yy(ma);ma=c[N>>2]|0;Pa=c[ma+-4>>2]|0;if(!Pa)ib=ma;else{Om(Pa);Yy(Pa);ib=c[N>>2]|0}c[N>>2]=ib+-4;break}Pa=c[T>>2]|0;if((Pa|0)==(v|0))jb=Aa;else{Aa=Pa+8|0;ma=Pa+12|0;ka=Pa;qa=Pa;do{la=ka;ja=c[Aa>>2]|0;ra=c[ma>>2]|0;na=la+8|0;if((c[na>>2]|0)==(ja|0))c[na>>2]=ra;na=la+12|0;if((c[na>>2]|0)==(ja|0))c[na>>2]=ra;ka=c[qa+4>>2]|0;qa=ka}while((qa|0)!=(v|0));jb=c[U>>2]|0}qa=Pa+4|0;ka=c[Pa>>2]|0;c[ka+4>>2]=c[qa>>2];c[c[qa>>2]>>2]=ka;c[U>>2]=jb+-1;Yy(Pa)}while(0);c[k>>2]=c[T>>2];c[m>>2]=v;ka=c[U>>2]|0;c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];zl(j,i,ka,n)|0;ka=c[U>>2]|0;if(!ka){kb=0;lb=Oa;mb=gb}else{qa=ka;while(1){ka=c[T>>2]|0;nb=ka+8|0;ob=ka+12|0;if((c[nb>>2]|0)!=(c[ob>>2]|0))break;ma=ka+4|0;Aa=c[ka>>2]|0;c[Aa+4>>2]=c[ma>>2];c[c[ma>>2]>>2]=Aa;c[U>>2]=qa+-1;Yy(ka);qa=c[U>>2]|0;if(!qa){kb=0;lb=Oa;mb=gb;break f}}qa=Wy(40)|0;ka=c[q>>2]|0;Nm(qa,c[ka+(c[nb>>2]<<2)>>2]|0,c[ka+(c[ob>>2]<<2)>>2]|0,0.0,1);c[i>>2]=qa;ka=c[N>>2]|0;if((ka|0)==(c[X>>2]|0))yl(r,i);else{c[ka>>2]=qa;c[N>>2]=(c[N>>2]|0)+4}kb=1;lb=Oa;mb=0}}else if(!gb){qa=c[W>>2]|0;if(!qa){oa=171;break a}pb=Oa-Y;ka=c[V>>2]|0;Aa=ka;ma=ka;if((Aa|0)!=(w|0)){ra=ka;ka=Aa;do{na=ra;if(!(c[c[Ba+(c[na+8>>2]<<2)>>2]>>2]|0)){oa=176;break a}if(!(c[c[Ba+(c[na+12>>2]<<2)>>2]>>2]|0)){oa=178;break a}ra=c[ka+4>>2]|0;ka=ra}while((ka|0)!=(w|0))}ka=c[r>>2]|0;ra=c[N>>2]|0;if((ka|0)==(ra|0)){kb=sa;lb=pb;mb=0}else{na=0;ja=ka;ka=ma;la=Ba;za=Aa;Sa=qa;Ta=ra;while(1){ra=c[ja>>2]|0;pa=na|(c[ra>>2]|0)==(c[la+(c[ka+8>>2]<<2)>>2]|0);do if(pa){Xa=ra+8|0;if(!(+h[Xa>>3]>0.0))break;h[Xa>>3]=pb}while(0);if((c[ra+4>>2]|0)==(c[la+(c[ka+12>>2]<<2)>>2]|0)){Pa=za+4|0;Xa=c[za>>2]|0;c[Xa+4>>2]=c[Pa>>2];c[c[Pa>>2]>>2]=Xa;c[W>>2]=Sa+-1;Yy(za);Xa=c[W>>2]|0;if(!Xa){kb=sa;lb=pb;mb=0;break f}qb=0;rb=c[N>>2]|0;sb=Xa}else{qb=pa;rb=Ta;sb=Sa}Xa=ja+4|0;if((Xa|0)==(rb|0)){kb=sa;lb=pb;mb=0;break f}Pa=c[V>>2]|0;na=qb;ja=Xa;ka=Pa;la=c[q>>2]|0;za=Pa;Sa=sb;Ta=rb}}}else{kb=sa;lb=Oa;mb=1}while(0);bm(x);if(lb>.0001&(mb^1)){sa=kb;Oa=lb}else break}if(mb?(sa=c[E>>2]|0,Ba=sa,(Ba|0)!=(p|0)):0){Ta=sa;sa=Ba;do{Al(c[Ta+8>>2]|0,f);Ta=c[sa+4>>2]|0;sa=Ta}while((sa|0)!=(p|0))}sa=c[E>>2]|0;if((sa|0)!=(p|0)){Ta=sa;Ba=sa;do{sa=c[Ta+8>>2]|0;if(sa|0)cb[c[(c[sa>>2]|0)+4>>2]&127](sa);Ta=c[Ba+4>>2]|0;Ba=Ta}while((Ba|0)!=(p|0))}Ba=c[q>>2]|0;Ta=c[L>>2]|0;if((Ba|0)!=(Ta|0)){sa=Ba;do{Ba=c[sa>>2]|0;if(Ba|0){Sa=c[Ba+68>>2]|0;if(Sa|0){za=Ba+72|0;la=c[za>>2]|0;if((la|0)!=(Sa|0))c[za>>2]=la+(~((la+-4-Sa|0)>>>2)<<2);Yy(Sa)}Sa=c[Ba+56>>2]|0;if(Sa|0){la=Ba+60|0;za=c[la>>2]|0;if((za|0)!=(Sa|0))c[la>>2]=za+(~((za+-4-Sa|0)>>>2)<<2);Yy(Sa)}Yy(Ba)}sa=sa+4|0}while((sa|0)!=(Ta|0))}Ta=c[r>>2]|0;sa=c[N>>2]|0;if((Ta|0)!=(sa|0)){Ba=Ta;do{Ta=c[Ba>>2]|0;if(Ta|0){Om(Ta);Yy(Ta)}Ba=Ba+4|0}while((Ba|0)!=(sa|0))}if(c[W>>2]|0?(sa=c[V>>2]|0,Ba=(c[w>>2]|0)+4|0,Ta=c[sa>>2]|0,c[Ta+4>>2]=c[Ba>>2],c[c[Ba>>2]>>2]=Ta,c[W>>2]=0,(sa|0)!=(w|0)):0){Ta=sa;do{sa=Ta;Ta=c[Ta+4>>2]|0;Yy(sa)}while((Ta|0)!=(w|0))}if(c[U>>2]|0?(Ta=c[T>>2]|0,sa=(c[v>>2]|0)+4|0,Ba=c[Ta>>2]|0,c[Ba+4>>2]=c[sa>>2],c[c[sa>>2]>>2]=Ba,c[U>>2]=0,(Ta|0)!=(v|0)):0){Ba=Ta;do{Ta=Ba;Ba=c[Ba+4>>2]|0;Yy(Ta)}while((Ba|0)!=(v|0))}if(c[S>>2]|0?(Ba=c[R>>2]|0,Ta=(c[u>>2]|0)+4|0,sa=c[Ba>>2]|0,c[sa+4>>2]=c[Ta>>2],c[c[Ta>>2]>>2]=sa,c[S>>2]=0,(Ba|0)!=(u|0)):0){sa=Ba;do{Ba=sa;sa=c[sa+4>>2]|0;Yy(Ba)}while((sa|0)!=(u|0))}sa=c[t>>2]|0;if(sa|0){Ba=c[P>>2]|0;if((Ba|0)!=(sa|0))c[P>>2]=Ba+(~((Ba+-4-sa|0)>>>2)<<2);Yy(sa)}sa=c[r>>2]|0;if(sa|0){Ba=c[N>>2]|0;if((Ba|0)!=(sa|0))c[N>>2]=Ba+(~((Ba+-4-sa|0)>>>2)<<2);Yy(sa)}sa=c[q>>2]|0;if(sa|0){Ba=c[L>>2]|0;if((Ba|0)!=(sa|0))c[L>>2]=Ba+(~((Ba+-4-sa|0)>>>2)<<2);Yy(sa)}do if(c[K>>2]|0){sa=c[J>>2]|0;Ba=(c[o>>2]|0)+4|0;Ta=c[sa>>2]|0;c[Ta+4>>2]=c[Ba>>2];c[c[Ba>>2]>>2]=Ta;c[K>>2]=0;if((sa|0)==(o|0))break;else tb=sa;do{sa=tb;tb=c[tb+4>>2]|0;Yy(sa)}while((tb|0)!=(o|0))}while(0)}ia=c[B>>2]|0;if(!ia){oa=237;break}}if((oa|0)==88)ta(20202,19712,72,20215);else if((oa|0)==137)ta(20228,19712,2924,20180);else if((oa|0)==139)ta(20234,19712,2925,20180);else if((oa|0)==148)ta(20265,19712,2975,20180);else if((oa|0)==171)ta(20297,19712,3032,20180);else if((oa|0)==176)ta(20326,19712,3040,20180);else if((oa|0)==178)ta(20361,19712,3041,20180);else if((oa|0)==237){if(!(c[F>>2]|0)){l=g;return}oa=c[E>>2]|0;E=(c[p>>2]|0)+4|0;ia=c[oa>>2]|0;c[ia+4>>2]=c[E>>2];c[c[E>>2]>>2]=ia;c[F>>2]=0;if((oa|0)==(p|0)){l=g;return}else ub=oa;do{oa=ub;ub=c[ub+4>>2]|0;Yy(oa)}while((ub|0)!=(p|0));l=g;return}}function sl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0;f=b+24|0;g=c[f>>2]|0;i=d+24|0;j=c[i>>2]|0;do if((g|0)==(j|0))if((a[b+45>>0]|0)!=0?(a[d+45>>0]|0)!=0:0){if(!(Za[c[(c[b>>2]|0)+24>>2]&31](b,d,e)|0)){k=c[f>>2]|0;l=c[i>>2]|0;m=9;break}if(a[b+46>>0]|0?a[d+46>>0]|0:0){n=1;return n|0}o=+h[(he(fb[c[(c[b>>2]|0)+16>>2]&127](b)|0,e)|0)>>3];if(+C(+(o-+h[(he(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0,e)|0)>>3]))<10.0){n=1;return n|0}}else m=10;else{k=g;l=j;m=9}while(0);if((m|0)==9?(k|0)==(l|0):0)m=10;if(((m|0)==10?(a[d+45>>0]&a[b+45>>0])<<24>>24!=1:0)?(l=b+48|0,k=b+52|0,j=d+48|0,g=d+52|0,(c[k>>2]|0)!=(c[l>>2]|0)^(c[g>>2]|0)!=(c[j>>2]|0)):0){i=e&1^1;o=+h[(he(fb[c[(c[b>>2]|0)+16>>2]&127](b)|0,e)|0)>>3];p=+C(+(o-+h[(he(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0,e)|0)>>3]));o=+h[(he(fb[c[(c[b>>2]|0)+16>>2]&127](b)|0,i)|0)>>3];e=o==+h[(he(fb[c[(c[d>>2]|0)+20>>2]&127](d)|0,i)|0)>>3];f=c[b>>2]|0;do if(!e){o=+h[(he(fb[c[f+20>>2]&127](b)|0,i)|0)>>3];if(o==+h[(he(fb[c[(c[d>>2]|0)+16>>2]&127](d)|0,i)|0)>>3]){q=fb[c[(c[b>>2]|0)+20>>2]&127](b)|0;break}else{n=0;return n|0}}else q=fb[c[f+16>>2]&127](b)|0;while(0);o=+h[(he(q,i)|0)>>3];if(!(p<=10.0)){n=0;return n|0}q=c[l>>2]|0;a:do if((c[k>>2]|0)!=(q|0)){b=0;f=q;while(1){if(+h[(he(f+(b*24|0)|0,i)|0)>>3]==o){n=0;break}b=b+1|0;f=c[l>>2]|0;if(b>>>0>=(((c[k>>2]|0)-f|0)/24|0)>>>0)break a}return n|0}while(0);k=c[j>>2]|0;if((c[g>>2]|0)==(k|0)){n=1;return n|0}else{r=0;s=k}while(1){if(+h[(he(s+(r*24|0)|0,i)|0)>>3]==o){n=0;m=24;break}r=r+1|0;s=c[j>>2]|0;if(r>>>0>=(((c[g>>2]|0)-s|0)/24|0)>>>0){n=1;m=24;break}}if((m|0)==24)return n|0}n=0;return n|0}function tl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0.0,u=0,v=0;e=l;l=l+32|0;f=e;g=e+24|0;i=e+20|0;j=e+16|0;k=e+12|0;m=e+8|0;n=a+8|0;o=+h[n>>3];p=+h[b+8>>3];h[n>>3]=o>3];p=+h[q>>3];h[q>>3]=o>2]|0)+8>>2]&127](a)|0;s=a+4|0;p=+h[(ge(r,c[s>>2]|0)|0)>>3];r=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;o=+h[(he(r,c[s>>2]|0)|0)>>3];if(!(op)t=p+(o-p)*.5;else t=p;else t=p-(p-o)*.5;o=+h[n>>3];p=o>3];t=p>2]=c[n>>2];r=b+32|0;c[k>>2]=c[r>>2];c[m>>2]=c[r+4>>2];c[i>>2]=c[j>>2];c[g>>2]=c[k>>2];c[f>>2]=c[m>>2];Cl(q,i,g,f)|0;g=a+24|0;a=c[q>>2]|0;i=c[n>>2]|0;m=f;c[m>>2]=c[g>>2];c[m+4>>2]=d&1^1;Dl(a,i,f);f=c[q>>2]|0;if((c[n>>2]|0)==(f|0)){l=e;return}else{u=0;v=f}do{f=c[v+(u<<2)>>2]|0;i=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(f*24|0)|0;h[(ge(i,c[s>>2]|0)|0)>>3]=t;u=u+1|0;v=c[q>>2]|0}while(u>>>0<(c[n>>2]|0)-v>>2>>>0);l=e;return}function ul(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;g=l;l=l+48|0;i=g+24|0;j=g;k=(f|0)!=0;if(k)a[f>>0]=1;m=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];c[i+16>>2]=c[m+16>>2];c[i+20>>2]=c[m+20>>2];m=fb[c[(c[e>>2]|0)+16>>2]&127](e)|0;c[j>>2]=c[m>>2];c[j+4>>2]=c[m+4>>2];c[j+8>>2]=c[m+8>>2];c[j+12>>2]=c[m+12>>2];c[j+16>>2]=c[m+16>>2];c[j+20>>2]=c[m+20>>2];m=b+4|0;n=c[m>>2]&1^1;o=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;p=fb[c[(c[e>>2]|0)+20>>2]&127](e)|0;q=+h[(ge(i,c[m>>2]|0)|0)>>3];if(!(q==+h[(he(o,c[m>>2]|0)|0)>>3]))ta(20475,19712,2308,19914);q=+h[(ge(j,c[m>>2]|0)|0)>>3];if(!(q==+h[(he(p,c[m>>2]|0)|0)>>3]))ta(20515,19712,2309,19914);q=+h[(ge(i,c[m>>2]|0)|0)>>3];if(q!=+h[(ge(j,c[m>>2]|0)|0)>>3]){q=+h[(ge(i,c[m>>2]|0)|0)>>3];r=q<+h[(ge(j,c[m>>2]|0)|0)>>3];l=g;return r|0}p=d+24|0;q=+ph(Dc(c[p>>2]|0)|0,7);o=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;s=+h[(he(o,c[d+4>>2]|0)|0)>>3];o=s-+h[d+8>>3]>3]-s>0]|0)!=0;v=u|o&t;w=o|u?(v^1)&1:t<<31>>31;t=e+24|0;q=+ph(Dc(c[t>>2]|0)|0,7);u=fb[c[(c[e>>2]|0)+16>>2]&127](e)|0;s=+h[(he(u,c[e+4>>2]|0)|0)>>3];u=s-+h[e+8>>3]>3]-s>0]|0)!=0;y=x|u&o;z=u|x?(y^1)&1:o<<31>>31;if(!((w|0)==(z|0)|(v|y)^1)){r=(w|0)<(z|0);l=g;return r|0}z=Bl(d)|0;d=Bl(e)|0;if((z|0)!=(d|0)){r=(z|0)<(d|0);l=g;return r|0}q=+h[(ge(i,n)|0)>>3];d=q>+h[(ge(j,n)|0)>>3];z=ld(c[b>>2]|0,d?i:j)|0;d=ad(z,c[m>>2]|0,c[p>>2]|0)|0;p=ad(z,c[m>>2]|0,c[t>>2]|0)|0;if(!((d|0)==-1|(p|0)==-1)){r=(d|0)<(p|0);l=g;return r|0}if(k)a[f>>0]=0;q=+h[(ge(i,n)|0)>>3];r=q<+h[(ge(j,n)|0)>>3];l=g;return r|0}function vl(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;f=c[b>>2]|0;b=c[d>>2]|0;g=c[e>>2]|0;e=f;if((b|0)==(g|0)){h=f;i=h;return i|0}f=Wy(12)|0;c[f>>2]=0;c[f+8>>2]=c[b+8>>2];j=f;k=c[b+4>>2]|0;c[d>>2]=k;b=k;if((b|0)==(g|0)){l=1;m=j}else{n=1;o=k;k=j;p=b;while(1){b=Wy(12)|0;c[b+8>>2]=c[o+8>>2];c[k+4>>2]=b;c[b>>2]=k;o=c[p+4>>2]|0;c[d>>2]=o;q=b;b=n+1|0;p=o;if((p|0)==(g|0)){l=b;m=q;break}else{n=b;k=q}}}k=m;m=c[e>>2]|0;c[m+4>>2]=f;c[f>>2]=m;c[e>>2]=k;c[k+4>>2]=e;e=a+8|0;c[e>>2]=(c[e>>2]|0)+l;h=j;i=h;return i|0}function wl(d,e){d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0,k=0.0,l=0.0,m=0,n=0.0,o=0.0;f=oh(Dc(c[d+24>>2]|0)|0,0)|0;g=fb[c[(c[d>>2]|0)+8>>2]&127](d)|0;i=+h[(ge(g,c[d+4>>2]|0)|0)>>3];if(f?(a[d+45>>0]|0)!=0:0){j=0;k=i;l=(a[d+47>>0]|0)==0|e?.001:1.0}else m=4;do if((m|0)==4)if((c[d+52>>2]|0)==(c[d+48>>2]|0)){if((a[d+60>>0]|0)==0?(a[d+61>>0]|0)==0:0){if(a[d+44>>0]|0){j=1;k=i;l=1.0e5;break}j=0;k=i;l=(a[d+45>>0]|0)==0?.001:1.0e-05;break}n=+h[d+8>>3];if(!(n>-1.0e8))ta(20397,19712,212,20426);o=+h[d+16>>3];if(o<1.0e8){j=0;k=n+(o-n)*.5;l=1.0e-05;break}else ta(20447,19712,213,20426)}else{j=0;k=i;l=.001}while(0);m=Wy(80)|0;c[m>>2]=j;h[m+8>>3]=k;h[m+24>>3]=l;h[m+32>>3]=1.0;j=m+40|0;e=m+56|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;b[j+12>>1]=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[d+28>>2]=m;return}function xl(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function yl(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function zl(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0.0,z=0,A=0.0,B=0.0,D=0,E=0,F=0.0,G=0,H=0,I=0,J=0,K=0,L=0.0,M=0.0,N=0,O=0,P=0,Q=0.0;f=l;l=l+32|0;g=f+20|0;i=f+16|0;j=f+12|0;k=f+8|0;m=f+4|0;n=f;switch(d|0){case 1:case 0:{o=c[a>>2]|0;l=f;return o|0}case 2:{p=c[c[b>>2]>>2]|0;c[b>>2]=p;q=p;r=c[a>>2]|0;s=c[r+8>>2]|0;t=c[r+12>>2]|0;u=c[q+8>>2]|0;v=c[q+12>>2]|0;w=p;if((u|0)==(v|0))x=0.0;else{p=c[c[q+16>>2]>>2]|0;x=+C(+(+h[(c[p+(u<<2)>>2]|0)+16>>3]-+h[(c[p+(v<<2)>>2]|0)+16>>3]))}if((s|0)==(t|0))y=0.0;else{v=c[c[r+16>>2]>>2]|0;y=+C(+(+h[(c[v+(s<<2)>>2]|0)+16>>3]-+h[(c[v+(t<<2)>>2]|0)+16>>3]))}if(!(x>2]|0;c[v+4>>2]=c[t>>2];c[c[t>>2]>>2]=v;v=c[r>>2]|0;c[v+4>>2]=w;c[w>>2]=v;c[r>>2]=w;c[t>>2]=r;o=c[b>>2]|0;l=f;return o|0}default:{r=d>>>1;t=c[a>>2]|0;w=t;if(!r)z=t;else{v=r;s=t;while(1){t=c[s+4>>2]|0;if((v|0)>1){v=v+-1|0;s=t}else{z=t;break}}}s=z;c[j>>2]=w;c[k>>2]=s;c[i>>2]=c[j>>2];c[g>>2]=c[k>>2];k=zl(i,g,r,e)|0;c[a>>2]=k;c[m>>2]=s;s=c[b>>2]|0;c[n>>2]=s;c[i>>2]=c[m>>2];c[g>>2]=c[n>>2];n=zl(i,g,d-r|0,e)|0;e=n;r=c[k+8>>2]|0;d=c[k+12>>2]|0;g=c[k+16>>2]|0;i=c[n+8>>2]|0;m=c[n+12>>2]|0;j=s;if((i|0)==(m|0))A=0.0;else{s=c[c[n+16>>2]>>2]|0;A=+C(+(+h[(c[s+(i<<2)>>2]|0)+16>>3]-+h[(c[s+(m<<2)>>2]|0)+16>>3]))}m=(r|0)==(d|0);if(m)B=0.0;else{s=c[g>>2]|0;B=+C(+(+h[(c[s+(r<<2)>>2]|0)+16>>3]-+h[(c[s+(d<<2)>>2]|0)+16>>3]))}if(A>2]|0;i=s;a:do if((i|0)==(j|0)|m){D=i;E=s}else{w=c[g>>2]|0;B=+C(+(+h[(c[w+(r<<2)>>2]|0)+16>>3]-+h[(c[w+(d<<2)>>2]|0)+16>>3]));w=s;z=i;while(1){v=w;t=c[v+8>>2]|0;p=c[v+12>>2]|0;if((t|0)==(p|0))F=0.0;else{u=c[c[v+16>>2]>>2]|0;F=+C(+(+h[(c[u+(t<<2)>>2]|0)+16>>3]-+h[(c[u+(p<<2)>>2]|0)+16>>3]))}if(!(F>2]|0;z=p;if((z|0)==(j|0)){D=j;E=p;break}else w=p}}while(0);i=c[D>>2]|0;D=i+4|0;s=c[n>>2]|0;c[s+4>>2]=c[D>>2];c[c[D>>2]>>2]=s;s=c[k+4>>2]|0;d=c[k>>2]|0;c[d+4>>2]=n;c[n>>2]=d;c[k>>2]=i;c[D>>2]=k;G=s;H=E;I=n}else{G=c[k+4>>2]|0;H=e;I=k}c[a>>2]=G;k=G;e=H;if((k|0)==(e|0)){o=I;l=f;return o|0}n=G;G=j;j=H;E=H;H=e;e=k;b:while(1){k=j;s=j;D=s+16|0;if((k|0)==(G|0)){o=I;J=42;break}i=c[s+8>>2]|0;d=c[s+12>>2]|0;s=(i|0)==(d|0);r=n;g=e;while(1){K=r;m=c[K+8>>2]|0;w=c[K+12>>2]|0;if(s)L=0.0;else{z=c[c[D>>2]>>2]|0;L=+C(+(+h[(c[z+(i<<2)>>2]|0)+16>>3]-+h[(c[z+(d<<2)>>2]|0)+16>>3]))}if((m|0)==(w|0))M=0.0;else{z=c[c[K+16>>2]>>2]|0;M=+C(+(+h[(c[z+(m<<2)>>2]|0)+16>>3]-+h[(c[z+(w<<2)>>2]|0)+16>>3]))}if(L>2]|0;c[a>>2]=r;w=r;if((w|0)==(H|0)?1:(k|0)==(c[b>>2]|0)){o=I;J=42;break b}else g=w}r=c[k+4>>2]|0;d=r;i=c[b>>2]|0;c:do if((d|0)!=(i|0)){D=c[K+8>>2]|0;s=c[K+12>>2]|0;if((D|0)==(s|0)){N=d;O=i;P=r}else{w=c[c[K+16>>2]>>2]|0;F=+C(+(+h[(c[w+(D<<2)>>2]|0)+16>>3]-+h[(c[w+(s<<2)>>2]|0)+16>>3]));s=r;w=d;while(1){D=s;z=c[D+8>>2]|0;m=c[D+12>>2]|0;if((z|0)==(m|0))Q=0.0;else{p=c[c[D+16>>2]>>2]|0;Q=+C(+(+h[(c[p+(z<<2)>>2]|0)+16>>3]-+h[(c[p+(m<<2)>>2]|0)+16>>3]))}if(!(Q>2]|0;w=m;if((w|0)==(i|0)){N=i;O=i;P=m;break}else s=m}}}else{N=d;O=d;P=r}while(0);r=c[N>>2]|0;d=r+4|0;i=c[k>>2]|0;c[i+4>>2]=c[d>>2];c[c[d>>2]>>2]=i;n=c[g+4>>2]|0;E=(H|0)==(k|0)?P:E;i=c[g>>2]|0;c[i+4>>2]=k;c[k>>2]=i;c[g>>2]=r;c[d>>2]=g;c[a>>2]=n;e=n;H=E;if((e|0)==(H|0)){o=I;J=42;break}else{G=O;j=P}}if((J|0)==42){l=f;return o|0}}}return 0}function Al(b,d){b=b|0;d=d|0;var e=0.0,f=0.0,g=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(a[b+44>>0]|0)return;e=+h[(c[b+28>>2]|0)+16>>3];f=+h[b+8>>3];g=e>3];f=e>2]|0;if((c[j>>2]|0)!=(k|0)){l=b+24|0;m=b+4|0;n=0;o=k;do{k=c[o+(n<<2)>>2]|0;p=(c[(Cc(c[l>>2]|0)|0)+8>>2]|0)+(k*24|0)|0;h[(ge(p,c[m>>2]|0)|0)>>3]=f;n=n+1|0;o=c[i>>2]|0}while(n>>>0<(c[j>>2]|0)-o>>2>>>0)}if(d)return;d=b+24|0;if(!(wg(Dc(c[d>>2]|0)|0)|0))return;b=wg(Dc(c[d>>2]|0)|0)|0;o=c[i>>2]|0;kb[c[(c[b>>2]|0)+12>>2]&7](b,c[d>>2]|0,c[o>>2]|0,c[o+(((c[j>>2]|0)-o>>2)+-1<<2)>>2]|0);return}function Bl(b){b=b|0;var d=0,e=0,f=0,g=0.0,i=0;d=b+45|0;if(a[d>>0]|0){e=0;return e|0}f=b+60|0;if(a[f>>0]|0){e=0;return e|0}if((a[b+61>>0]|0)==0?(a[b+44>>0]|0)==0:0){g=+h[b+8>>3];i=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;if(g==+h[(he(i,c[b+4>>2]|0)|0)>>3]){e=-1;return e|0}if(a[d>>0]|0){e=0;return e|0}}if(a[f>>0]|0){e=0;return e|0}if(a[b+61>>0]|0){e=0;return e|0}if(a[b+44>>0]|0){e=0;return e|0}g=+h[b+16>>3];f=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;if(!(g==+h[(he(f,c[b+4>>2]|0)|0)>>3])){e=0;return e|0}e=1;return e|0}function Cl(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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;f=c[a>>2]|0;g=f;h=(c[b>>2]|0)-g|0;b=f+(h>>2<<2)|0;i=c[d>>2]|0;j=c[e>>2]|0;e=j-i|0;k=e>>2;l=i;m=j;if((e|0)<=0){n=b;return n|0}e=a+8|0;o=c[e>>2]|0;p=a+4|0;q=c[p>>2]|0;r=q;if((k|0)<=(o-r>>2|0)){s=b;t=r-s|0;u=t>>2;if((k|0)>(u|0)){v=l+(u<<2)|0;u=v;if((v|0)==(m|0))w=q;else{x=m+-4-u|0;y=v;v=q;while(1){c[v>>2]=c[y>>2];y=y+4|0;if((y|0)==(m|0))break;else v=v+4|0}v=q+((x>>>2)+1<<2)|0;c[p>>2]=v;w=v}if((t|0)>0){z=u;A=w}else{n=b;return n|0}}else{z=j;A=q}j=A-(b+(k<<2))|0;w=j>>2;u=b+(w<<2)|0;if(u>>>0>>0){t=(q+(0-w<<2)+~s|0)>>>2;s=u;u=A;while(1){c[u>>2]=c[s>>2];s=s+4|0;if(s>>>0>=q>>>0)break;else u=u+4|0}c[p>>2]=A+(t+1<<2)}if(!w)B=l;else{MA(A+(0-w<<2)|0,b|0,j|0)|0;B=c[d>>2]|0}d=z;if((B|0)==(d|0)){n=b;return n|0}else{C=b;D=B}while(1){c[C>>2]=c[D>>2];D=D+4|0;if((D|0)==(d|0)){n=b;break}else C=C+4|0}return n|0}C=(r-g>>2)+k|0;if(C>>>0>1073741823)rx(a);k=o-g|0;g=k>>1;o=k>>2>>>0<536870911?(g>>>0>>0?C:g):1073741823;g=b;C=h>>2;do if(o)if(o>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{E=Wy(o<<2)|0;break}else E=0;while(0);k=E+(C<<2)|0;d=E+(o<<2)|0;if((l|0)==(m|0))F=k;else{o=((m+-4-i|0)>>>2)+1|0;i=l;l=k;while(1){c[l>>2]=c[i>>2];i=i+4|0;if((i|0)==(m|0))break;else l=l+4|0}F=k+(o<<2)|0}o=k+(0-C<<2)|0;if((h|0)>0)EA(o|0,f|0,h|0)|0;h=r-g|0;if((h|0)>0){EA(F|0,b|0,h|0)|0;G=F+(h>>>2<<2)|0}else G=F;c[a>>2]=o;c[p>>2]=G;c[e>>2]=d;if(!f){n=k;return n|0}Yy(f);n=k;return n|0}function Dl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=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,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;e=d+4|0;f=a;a=b;a:while(1){b=a;g=a+-4|0;i=f;while(1){j=i;b:while(1){k=j;l=b-k|0;m=l>>2;switch(m|0){case 2:{n=5;break a;break}case 3:{n=7;break a;break}case 4:{n=8;break a;break}case 5:{n=9;break a;break}case 1:case 0:{n=46;break a;break}default:{}}if((l|0)<124){n=11;break a}o=j+(((m|0)/2|0)<<2)|0;if((l|0)>3996){l=(m|0)/4|0;p=Gl(j,j+(l<<2)|0,o,o+(l<<2)|0,g,d)|0}else p=El(j,o,g,d)|0;l=c[j>>2]|0;m=c[o>>2]|0;q=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(l*24|0)|0;r=+h[(ge(q,c[e>>2]|0)|0)>>3];q=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(m*24|0)|0;if(r<+h[(ge(q,c[e>>2]|0)|0)>>3]){s=g;t=p;break}else u=g;while(1){u=u+-4|0;if((j|0)==(u|0))break;q=c[u>>2]|0;m=c[o>>2]|0;l=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(q*24|0)|0;r=+h[(ge(l,c[e>>2]|0)|0)>>3];l=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(m*24|0)|0;if(r<+h[(ge(l,c[e>>2]|0)|0)>>3]){n=29;break b}}l=j+4|0;m=c[j>>2]|0;q=c[g>>2]|0;v=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(m*24|0)|0;r=+h[(ge(v,c[e>>2]|0)|0)>>3];v=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(q*24|0)|0;if(r<+h[(ge(v,c[e>>2]|0)|0)>>3])w=l;else{if((l|0)==(g|0)){n=46;break a}else x=l;while(1){l=c[j>>2]|0;v=c[x>>2]|0;q=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(l*24|0)|0;r=+h[(ge(q,c[e>>2]|0)|0)>>3];q=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(v*24|0)|0;if(r<+h[(ge(q,c[e>>2]|0)|0)>>3])break;q=x+4|0;if((q|0)==(g|0)){n=46;break a}else x=q}q=c[x>>2]|0;c[x>>2]=c[g>>2];c[g>>2]=q;w=x+4|0}if((w|0)==(g|0)){n=46;break a}else{y=g;z=w}while(1){q=z;while(1){v=c[j>>2]|0;l=c[q>>2]|0;m=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(v*24|0)|0;r=+h[(ge(m,c[e>>2]|0)|0)>>3];m=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(l*24|0)|0;A=q+4|0;if(r<+h[(ge(m,c[e>>2]|0)|0)>>3]){B=y;break}else q=A}do{m=c[j>>2]|0;B=B+-4|0;l=c[B>>2]|0;v=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(m*24|0)|0;r=+h[(ge(v,c[e>>2]|0)|0)>>3];v=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(l*24|0)|0}while(r<+h[(ge(v,c[e>>2]|0)|0)>>3]);if(q>>>0>=B>>>0){j=q;continue b}v=c[q>>2]|0;c[q>>2]=c[B>>2];c[B>>2]=v;y=B;z=A}}if((n|0)==29){n=0;v=c[j>>2]|0;c[j>>2]=c[u>>2];c[u>>2]=v;s=u;t=p+1|0}v=j+4|0;c:do if(v>>>0>>0){l=o;m=s;C=v;D=t;while(1){E=C;while(1){F=c[E>>2]|0;G=c[l>>2]|0;H=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(F*24|0)|0;r=+h[(ge(H,c[e>>2]|0)|0)>>3];H=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(G*24|0)|0;I=E+4|0;if(r<+h[(ge(H,c[e>>2]|0)|0)>>3])E=I;else{J=m;break}}do{J=J+-4|0;q=c[J>>2]|0;H=c[l>>2]|0;G=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(q*24|0)|0;r=+h[(ge(G,c[e>>2]|0)|0)>>3];G=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(H*24|0)|0}while(!(r<+h[(ge(G,c[e>>2]|0)|0)>>3]));if(E>>>0>J>>>0){K=l;L=D;M=E;break c}G=c[E>>2]|0;c[E>>2]=c[J>>2];c[J>>2]=G;l=(l|0)==(E|0)?J:l;m=J;C=I;D=D+1|0}}else{K=o;L=t;M=v}while(0);if((M|0)!=(K|0)?(v=c[K>>2]|0,D=c[M>>2]|0,C=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(v*24|0)|0,r=+h[(ge(C,c[e>>2]|0)|0)>>3],C=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(D*24|0)|0,r<+h[(ge(C,c[e>>2]|0)|0)>>3]):0){C=c[M>>2]|0;c[M>>2]=c[K>>2];c[K>>2]=C;N=L+1|0}else N=L;if(!N){O=Il(j,M,d)|0;C=M+4|0;if(Il(C,a,d)|0){n=45;break}if(O){i=C;continue}}C=M;if((C-k|0)>=(b-C|0)){n=44;break}Dl(j,M,d);i=M+4|0}if((n|0)==44){n=0;Dl(M+4|0,a,d);f=j;a=M;continue}else if((n|0)==45){n=0;if(O){n=46;break}else{f=j;a=M;continue}}}if((n|0)==5){M=c[g>>2]|0;f=c[j>>2]|0;O=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(M*24|0)|0;r=+h[(ge(O,c[e>>2]|0)|0)>>3];O=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(f*24|0)|0;if(!(r<+h[(ge(O,c[e>>2]|0)|0)>>3]))return;e=c[j>>2]|0;c[j>>2]=c[g>>2];c[g>>2]=e;return}else if((n|0)==7){El(j,j+4|0,g,d)|0;return}else if((n|0)==8){Fl(j,j+4|0,j+8|0,g,d)|0;return}else if((n|0)==9){Gl(j,j+4|0,j+8|0,j+12|0,g,d)|0;return}else if((n|0)==11){Hl(j,a,d);return}else if((n|0)==46)return}function El(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0.0,k=0,l=0,m=0;f=c[b>>2]|0;g=c[a>>2]|0;i=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(f*24|0)|0;f=e+4|0;j=+h[(ge(i,c[f>>2]|0)|0)>>3];i=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(g*24|0)|0;g=j<+h[(ge(i,c[f>>2]|0)|0)>>3];i=c[d>>2]|0;k=c[b>>2]|0;l=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(i*24|0)|0;j=+h[(ge(l,c[f>>2]|0)|0)>>3];l=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(k*24|0)|0;k=j<+h[(ge(l,c[f>>2]|0)|0)>>3];if(!g){if(!k){m=0;return m|0}g=c[b>>2]|0;c[b>>2]=c[d>>2];c[d>>2]=g;g=c[b>>2]|0;l=c[a>>2]|0;i=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(g*24|0)|0;j=+h[(ge(i,c[f>>2]|0)|0)>>3];i=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(l*24|0)|0;if(!(j<+h[(ge(i,c[f>>2]|0)|0)>>3])){m=1;return m|0}i=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=i;m=2;return m|0}i=c[a>>2]|0;if(k){c[a>>2]=c[d>>2];c[d>>2]=i;m=1;return m|0}c[a>>2]=c[b>>2];c[b>>2]=i;a=c[d>>2]|0;k=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(a*24|0)|0;j=+h[(ge(k,c[f>>2]|0)|0)>>3];k=(c[(Cc(c[e>>2]|0)|0)+8>>2]|0)+(i*24|0)|0;if(!(j<+h[(ge(k,c[f>>2]|0)|0)>>3])){m=1;return m|0}f=c[b>>2]|0;c[b>>2]=c[d>>2];c[d>>2]=f;m=2;return m|0}function Fl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0.0,m=0;g=El(a,b,d,f)|0;i=c[e>>2]|0;j=c[d>>2]|0;k=(c[(Cc(c[f>>2]|0)|0)+8>>2]|0)+(i*24|0)|0;i=f+4|0;l=+h[(ge(k,c[i>>2]|0)|0)>>3];k=(c[(Cc(c[f>>2]|0)|0)+8>>2]|0)+(j*24|0)|0;if(!(l<+h[(ge(k,c[i>>2]|0)|0)>>3])){m=g;return m|0}k=c[d>>2]|0;c[d>>2]=c[e>>2];c[e>>2]=k;k=c[d>>2]|0;e=c[b>>2]|0;j=(c[(Cc(c[f>>2]|0)|0)+8>>2]|0)+(k*24|0)|0;l=+h[(ge(j,c[i>>2]|0)|0)>>3];j=(c[(Cc(c[f>>2]|0)|0)+8>>2]|0)+(e*24|0)|0;if(!(l<+h[(ge(j,c[i>>2]|0)|0)>>3])){m=g+1|0;return m|0}j=c[b>>2]|0;c[b>>2]=c[d>>2];c[d>>2]=j;j=c[b>>2]|0;d=c[a>>2]|0;e=(c[(Cc(c[f>>2]|0)|0)+8>>2]|0)+(j*24|0)|0;l=+h[(ge(e,c[i>>2]|0)|0)>>3];e=(c[(Cc(c[f>>2]|0)|0)+8>>2]|0)+(d*24|0)|0;if(!(l<+h[(ge(e,c[i>>2]|0)|0)>>3])){m=g+2|0;return m|0}i=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=i;m=g+3|0;return m|0}function Gl(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 i=0,j=0,k=0,l=0,m=0.0,n=0;i=Fl(a,b,d,e,g)|0;j=c[f>>2]|0;k=c[e>>2]|0;l=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(j*24|0)|0;j=g+4|0;m=+h[(ge(l,c[j>>2]|0)|0)>>3];l=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(k*24|0)|0;if(!(m<+h[(ge(l,c[j>>2]|0)|0)>>3])){n=i;return n|0}l=c[e>>2]|0;c[e>>2]=c[f>>2];c[f>>2]=l;l=c[e>>2]|0;f=c[d>>2]|0;k=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(l*24|0)|0;m=+h[(ge(k,c[j>>2]|0)|0)>>3];k=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(f*24|0)|0;if(!(m<+h[(ge(k,c[j>>2]|0)|0)>>3])){n=i+1|0;return n|0}k=c[d>>2]|0;c[d>>2]=c[e>>2];c[e>>2]=k;k=c[d>>2]|0;e=c[b>>2]|0;f=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(k*24|0)|0;m=+h[(ge(f,c[j>>2]|0)|0)>>3];f=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(e*24|0)|0;if(!(m<+h[(ge(f,c[j>>2]|0)|0)>>3])){n=i+2|0;return n|0}f=c[b>>2]|0;c[b>>2]=c[d>>2];c[d>>2]=f;f=c[b>>2]|0;d=c[a>>2]|0;e=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(f*24|0)|0;m=+h[(ge(e,c[j>>2]|0)|0)>>3];e=(c[(Cc(c[g>>2]|0)|0)+8>>2]|0)+(d*24|0)|0;if(!(m<+h[(ge(e,c[j>>2]|0)|0)>>3])){n=i+3|0;return n|0}j=c[a>>2]|0;c[a>>2]=c[b>>2];c[b>>2]=j;n=i+4|0;return n|0}function Hl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0;e=a+8|0;El(a,a+4|0,e,d)|0;f=a+12|0;if((f|0)==(b|0))return;g=d+4|0;i=f;f=e;while(1){e=c[i>>2]|0;j=c[f>>2]|0;k=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(e*24|0)|0;l=+h[(ge(k,c[g>>2]|0)|0)>>3];k=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(j*24|0)|0;if(l<+h[(ge(k,c[g>>2]|0)|0)>>3]){k=c[i>>2]|0;j=f;e=i;while(1){c[e>>2]=c[j>>2];if((j|0)==(a|0)){m=a;break}n=j+-4|0;o=c[n>>2]|0;p=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(k*24|0)|0;l=+h[(ge(p,c[g>>2]|0)|0)>>3];p=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(o*24|0)|0;if(l<+h[(ge(p,c[g>>2]|0)|0)>>3]){p=j;j=n;e=p}else{m=j;break}}c[m>>2]=k}j=i+4|0;if((j|0)==(b|0))break;else{e=i;i=j;f=e}}return}function Il(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.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;switch(b-a>>2|0){case 2:{e=b+-4|0;f=c[e>>2]|0;g=c[a>>2]|0;i=d+4|0;j=+h[(ge((c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(f*24|0)|0,c[i>>2]|0)|0)>>3];if(!(j<+h[(ge((c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(g*24|0)|0,c[i>>2]|0)|0)>>3])){k=1;return k|0}i=c[a>>2]|0;c[a>>2]=c[e>>2];c[e>>2]=i;k=1;return k|0}case 3:{El(a,a+4|0,b+-4|0,d)|0;k=1;return k|0}case 4:{Fl(a,a+4|0,a+8|0,b+-4|0,d)|0;k=1;return k|0}case 5:{Gl(a,a+4|0,a+8|0,a+12|0,b+-4|0,d)|0;k=1;return k|0}case 1:case 0:{k=1;return k|0}default:{i=a+8|0;El(a,a+4|0,i,d)|0;e=a+12|0;a:do if((e|0)==(b|0)){l=1;m=0}else{g=d+4|0;f=e;n=0;o=i;while(1){p=c[f>>2]|0;q=c[o>>2]|0;r=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(p*24|0)|0;j=+h[(ge(r,c[g>>2]|0)|0)>>3];r=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(q*24|0)|0;if(j<+h[(ge(r,c[g>>2]|0)|0)>>3]){r=c[f>>2]|0;q=o;p=f;while(1){c[p>>2]=c[q>>2];if((q|0)==(a|0)){s=a;break}t=q+-4|0;u=c[t>>2]|0;v=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(r*24|0)|0;j=+h[(ge(v,c[g>>2]|0)|0)>>3];v=(c[(Cc(c[d>>2]|0)|0)+8>>2]|0)+(u*24|0)|0;if(j<+h[(ge(v,c[g>>2]|0)|0)>>3]){v=q;q=t;p=v}else{s=q;break}}c[s>>2]=r;q=n+1|0;if((q|0)==8){l=0;m=(f+4|0)==(b|0);break a}else w=q}else w=n;q=f+4|0;if((q|0)==(b|0)){l=1;m=0;break}else{p=f;f=q;n=w;o=p}}}while(0);k=m|l;return k|0}}return 0}function Jl(a,b){a=a|0;b=b|0;var d=0,e=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;if(!b)return;if(b>>>0>89478485)rx(a);e=Wy(b*48|0)|0;c[d>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(b*48|0);a=b;b=e;do{ae(b);ae(b+24|0);b=(c[d>>2]|0)+48|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Kl(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=e;g=f-d|0;h=(g|0)/48|0;i=a+8|0;j=c[i>>2]|0;k=c[a>>2]|0;l=k;if(h>>>0<=((j-k|0)/48|0)>>>0){m=a+4|0;n=((c[m>>2]|0)-k|0)/48|0;o=h>>>0>n>>>0;p=o?d+(n*48|0)|0:e;if((p|0)==(d|0))q=l;else{e=d;n=l;while(1){c[n>>2]=c[e>>2];c[n+4>>2]=c[e+4>>2];c[n+8>>2]=c[e+8>>2];c[n+12>>2]=c[e+12>>2];c[n+16>>2]=c[e+16>>2];b[n+20>>1]=b[e+20>>1]|0;r=e+24|0;s=n+24|0;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];b[s+20>>1]=b[r+20>>1]|0;e=e+48|0;r=n+48|0;if((e|0)==(p|0)){q=r;break}else n=r}}if(o){o=f-p|0;if((o|0)<=0)return;EA(c[m>>2]|0,p|0,o|0)|0;c[m>>2]=(c[m>>2]|0)+(((o>>>0)/48|0)*48|0);return}else{o=c[m>>2]|0;if((o|0)==(q|0))return;c[m>>2]=o+(~(((o+-48-q|0)>>>0)/48|0)*48|0);return}}q=k;if(!k)t=j;else{j=a+4|0;o=c[j>>2]|0;if((o|0)!=(l|0))c[j>>2]=o+(~(((o+-48-k|0)>>>0)/48|0)*48|0);Yy(q);c[i>>2]=0;c[j>>2]=0;c[a>>2]=0;t=0}if(h>>>0>89478485)rx(a);j=(t|0)/48|0;t=j<<1;q=j>>>0<44739242?(t>>>0>>0?h:t):89478485;if(q>>>0>89478485)rx(a);t=Wy(q*48|0)|0;h=a+4|0;c[h>>2]=t;c[a>>2]=t;c[i>>2]=t+(q*48|0);if((g|0)<=0)return;EA(t|0,d|0,g|0)|0;c[h>>2]=t+(((g>>>0)/48|0)*48|0);return}function Ll(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0;i=l;l=l+16|0;j=i+4|0;k=i;c[j>>2]=e;c[k>>2]=f;c[b+4>>2]=g;c[b>>2]=1880;c[b+24>>2]=d;d=b+28|0;f=b+32|0;e=b+36|0;c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;a[b+44>>0]=1;d=b+45|0;m=d+17|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(m|0));xf(f,j);j=c[e>>2]|0;if((j|0)==(c[b+40>>2]|0))xf(f,k);else{c[j>>2]=c[k>>2];c[e>>2]=j+4}h[b+8>>3]=+h[(ge(fb[c[(c[b>>2]|0)+8>>2]&127](b)|0,g)|0)>>3];h[b+16>>3]=+h[(ge(fb[c[(c[b>>2]|0)+8>>2]&127](b)|0,g)|0)>>3];l=i;return}function Ml(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0.0;c=l;l=l+32|0;d=c;be(d,0.0,0.0);e=b+24|0;if(ce(b,d)|0?ce(e,d)|0:0)f=0;else{g=+h[(he(a,0)|0)>>3];if(((!(g<+h[(he(b,0)|0)>>3])?(g=+h[(he(a,0)|0)>>3],!(g>+h[(he(e,0)|0)>>3])):0)?(g=+h[(he(a,1)|0)>>3],!(g<+h[(he(b,1)|0)>>3])):0)?(g=+h[(he(a,1)|0)>>3],!(g>+h[(he(e,1)|0)>>3])):0)f=1;else f=0}l=c;return f|0}function Nl(b,d,e,f,g,i,j,k,m){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;k=+k;m=+m;var n=0,o=0,p=0,q=0,r=0;n=l;l=l+16|0;o=n+4|0;p=n;c[o>>2]=e;c[p>>2]=f;c[b+4>>2]=j;c[b>>2]=1880;c[b+24>>2]=d;d=b+28|0;j=b+32|0;f=b+36|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[d+24>>2]=0;c[d+28>>2]=0;a[b+60>>0]=g&1;a[b+61>>0]=i&1;xf(j,o);o=c[f>>2]|0;if((o|0)==(c[b+40>>2]|0)){xf(j,p);q=b+8|0;h[q>>3]=k;r=b+16|0;h[r>>3]=m;l=n;return}else{c[o>>2]=c[p>>2];c[f>>2]=o+4;q=b+8|0;h[q>>3]=k;r=b+16|0;h[r>>3]=m;l=n;return}}function Ol(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=1880;b=c[a+48>>2]|0;if(b|0){d=a+52|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~(((e+-24-b|0)>>>0)/24|0)*24|0);Yy(b)}b=c[a+32>>2]|0;if(!b)return;e=a+36|0;a=c[e>>2]|0;if((a|0)!=(b|0))c[e>>2]=a+(~((a+-4-b|0)>>>2)<<2);Yy(b);return}function Pl(a){a=a|0;var b=0,d=0,e=0;c[a>>2]=1880;b=c[a+48>>2]|0;if(b|0){d=a+52|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~(((e+-24-b|0)>>>0)/24|0)*24|0);Yy(b)}b=c[a+32>>2]|0;if(!b){Yy(a);return}e=a+36|0;d=c[e>>2]|0;if((d|0)!=(b|0))c[e>>2]=d+(~((d+-4-b|0)>>>2)<<2);Yy(b);Yy(a);return}function Ql(a){a=a|0;var b=0;b=Cc(c[a+24>>2]|0)|0;return (c[b+8>>2]|0)+((c[c[a+32>>2]>>2]|0)*24|0)|0}function Rl(a){a=a|0;var b=0;b=Cc(c[a+24>>2]|0)|0;return (c[b+8>>2]|0)+((c[(c[a+36>>2]|0)+-4>>2]|0)*24|0)|0}function Sl(a){a=a|0;var b=0;b=Cc(c[a+24>>2]|0)|0;return (c[b+8>>2]|0)+((c[c[a+32>>2]>>2]|0)*24|0)|0}function Tl(a){a=a|0;var b=0;b=Cc(c[a+24>>2]|0)|0;return (c[b+8>>2]|0)+((c[(c[a+36>>2]|0)+-4>>2]|0)*24|0)|0}function Ul(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0;f=e&1^1;e=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;g=fb[c[(c[b>>2]|0)+20>>2]&127](b)|0;i=fb[c[(c[d>>2]|0)+16>>2]&127](d)|0;j=fb[c[(c[d>>2]|0)+20>>2]&127](d)|0;k=+h[(he(e,f)|0)>>3];if(k<+h[(he(j,f)|0)>>3]?(k=+h[(he(i,f)|0)>>3],k<+h[(he(g,f)|0)>>3]):0){if(+h[b+8>>3]<=+h[d+16>>3]?+h[d+8>>3]<=+h[b+16>>3]:0){l=1;return l|0}}else m=5;do if((m|0)==5){k=+h[(he(e,f)|0)>>3];if(!(k==+h[(he(j,f)|0)>>3])?(k=+h[(he(i,f)|0)>>3],!(k==+h[(he(g,f)|0)>>3])):0)break;n=b+24|0;o=oh(Dc(c[n>>2]|0)|0,3)|0;if(+h[b+8>>3]<=+h[d+16>>3]?+h[d+8>>3]<=+h[b+16>>3]:0){if(+ph(Dc(c[n>>2]|0)|0,4)>0.0){l=1;return l|0}if(a[d+60>>0]|0?a[b+60>>0]|0:0){l=o;return l|0}if(a[d+61>>0]|0?a[b+61>>0]|0:0){l=o;return l|0}if((a[d+45>>0]|0?a[b+45>>0]|0:0)?(c[d+24>>2]|0)==(c[n>>2]|0):0){l=o;return l|0}}}while(0);l=0;return l|0}function Vl(b){b=b|0;var c=0;if(a[b+60>>0]|0){c=0;return c|0}c=(a[b+61>>0]|0)==0;return c|0}function Wl(a,b){a=a|0;b=b|0;var d=0,e=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;if(!b)return;if(b>>>0>97612893)rx(a);e=Wy(b*44|0)|0;c[d>>2]=e;c[a>>2]=e;c[a+8>>2]=e+(b*44|0);a=b;b=e;do{me(b);b=(c[d>>2]|0)+44|0;c[d>>2]=b;a=a+-1|0}while((a|0)!=0);return}function Xl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=l;l=l+48|0;d=b;c[d>>2]=a;c[d+8>>2]=0;c[d+12>>2]=0;a=d+8|0;c[d+4>>2]=a;c[d+20>>2]=0;c[d+24>>2]=0;e=d+20|0;c[d+16>>2]=e;f=d+28|0;c[f>>2]=f;g=d+32|0;c[g>>2]=f;f=d+36|0;c[f>>2]=0;ll(d);h=d+28|0;if(c[f>>2]|0?(i=c[g>>2]|0,g=(c[h>>2]|0)+4|0,j=c[i>>2]|0,c[j+4>>2]=c[g>>2],c[c[g>>2]>>2]=j,c[f>>2]=0,(i|0)!=(h|0)):0){f=i;do{i=f;f=c[f+4>>2]|0;Yy(i)}while((f|0)!=(h|0))}ml(d+16|0,c[e>>2]|0);ol(d+4|0,c[a>>2]|0);l=b;return}function Yl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=l;l=l+16|0;g=f;i=b+8|0;j=e+4|0;k=(c[j>>2]|0)-(c[e>>2]|0)>>2;c[i>>2]=k;c[b+12>>2]=e;m=(c[d+4>>2]|0)-(c[d>>2]|0)>>2;c[b+16>>2]=m;c[b+20>>2]=d;n=b+24|0;a[n>>0]=0;o=b+28|0;p=b+32|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[o+16>>2]=0;c[o+20>>2]=0;if(m|0){q=c[d>>2]|0;r=0;s=0;do{t=q+(r<<2)|0;u=c[t>>2]|0;v=c[u+56>>2]|0;w=u+60|0;x=c[w>>2]|0;if((x|0)==(v|0))y=u;else{c[w>>2]=x+(~((x+-4-v|0)>>>2)<<2);y=c[t>>2]|0}v=c[y+68>>2]|0;x=y+72|0;w=c[x>>2]|0;if((w|0)==(v|0))z=y;else{c[x>>2]=w+(~((w+-4-v|0)>>>2)<<2);z=c[t>>2]|0}s=s&255|+h[z+32>>3]!=1.0;r=r+1|0}while(r>>>0>>0);a[n>>0]=s}if(k|0){k=0;do{s=c[(c[e>>2]|0)+(k<<2)>>2]|0;c[g>>2]=s;m=c[s>>2]|0;r=m+72|0;z=c[r>>2]|0;if((z|0)==(c[m+76>>2]|0))yl(m+68|0,g);else{c[z>>2]=s;c[r>>2]=(c[r>>2]|0)+4}r=c[g>>2]|0;s=c[r+4>>2]|0;z=s+60|0;m=c[z>>2]|0;if((m|0)==(c[s+64>>2]|0))yl(s+56|0,g);else{c[m>>2]=r;c[z>>2]=(c[z>>2]|0)+4}a[(c[g>>2]|0)+31>>0]=a[n>>0]|0;k=k+1|0}while(k>>>0<(c[i>>2]|0)>>>0)}i=Wy(24)|0;Zl(i,d);c[b+4>>2]=i;if((o|0)!=(e|0))_l(o,c[e>>2]|0,c[j>>2]|0);j=c[o>>2]|0;o=c[p>>2]|0;if((j|0)==(o|0)){l=f;return}else A=j;do{a[(c[A>>2]|0)+28>>0]=0;A=A+4|0}while((A|0)!=(o|0));l=f;return}function Zl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=b+4|0;c[e>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[b+16>>2]=d;f=b+20|0;g=(c[d+4>>2]|0)-(c[d>>2]|0)>>2;c[f>>2]=g;c[b>>2]=0;if(!g)return;$l(e,g);g=c[f>>2]|0;if(!g)return;i=0;j=g;while(1){g=Wy(72)|0;k=c[(c[d>>2]|0)+(i<<2)>>2]|0;l=Wy(12)|0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[g>>2]=l;l=g+8|0;c[g+52>>2]=0;c[g+56>>2]=0;c[g+60>>2]=0;m=g+64|0;n=l;o=n+40|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));a[l+40>>0]=0;c[m>>2]=b;if(!k)p=j;else{h[k+40>>3]=0.0;am(g,k);p=c[f>>2]|0}c[(c[e>>2]|0)+(i<<2)>>2]=g;i=i+1|0;if(i>>>0>=p>>>0)break;else j=p}return}function _l(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;e=d;f=b;g=e-f|0;h=g>>2;i=a+8|0;j=c[i>>2]|0;k=c[a>>2]|0;l=k;if(h>>>0<=j-k>>2>>>0){m=a+4|0;n=(c[m>>2]|0)-k>>2;o=h>>>0>n>>>0;p=o?b+(n<<2)|0:d;d=p;n=d-f|0;f=n>>2;if(f|0)MA(k|0,b|0,n|0)|0;n=l+(f<<2)|0;if(o){o=e-d|0;if((o|0)<=0)return;EA(c[m>>2]|0,p|0,o|0)|0;c[m>>2]=(c[m>>2]|0)+(o>>>2<<2);return}else{o=c[m>>2]|0;if((o|0)==(n|0))return;c[m>>2]=o+(~((o+-4-n|0)>>>2)<<2);return}}n=k;if(!k)q=j;else{j=a+4|0;o=c[j>>2]|0;if((o|0)!=(l|0))c[j>>2]=o+(~((o+-4-k|0)>>>2)<<2);Yy(n);c[i>>2]=0;c[j>>2]=0;c[a>>2]=0;q=0}if(h>>>0>1073741823)rx(a);j=q>>1;n=q>>2>>>0<536870911?(j>>>0>>0?h:j):1073741823;if(n>>>0>1073741823)rx(a);j=Wy(n<<2)|0;h=a+4|0;c[h>>2]=j;c[a>>2]=j;c[i>>2]=j+(n<<2);if((g|0)<=0)return;EA(j|0,b|0,g|0)|0;c[h>>2]=j+(g>>>2<<2);return}function $l(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;d=a+8|0;e=c[d>>2]|0;f=a+4|0;g=c[f>>2]|0;if(e-g>>2>>>0>=b>>>0){h=b;i=g;do{c[i>>2]=0;i=(c[f>>2]|0)+4|0;c[f>>2]=i;h=h+-1|0}while((h|0)!=0);return}h=c[a>>2]|0;i=g-h>>2;g=i+b|0;if(g>>>0>1073741823)rx(a);j=e-h|0;h=j>>1;e=j>>2>>>0<536870911?(h>>>0>>0?g:h):1073741823;do if(e)if(e>>>0>1073741823){h=ua(8)|0;bz(h,20621);c[h>>2]=9140;Qa(h|0,1496,99)}else{k=Wy(e<<2)|0;break}else k=0;while(0);h=k+(i<<2)|0;i=k+(e<<2)|0;e=b;b=h;k=h;do{c[k>>2]=0;k=b+4|0;b=k;e=e+-1|0}while((e|0)!=0);e=c[a>>2]|0;k=(c[f>>2]|0)-e|0;g=h+(0-(k>>2)<<2)|0;if((k|0)>0)EA(g|0,e|0,k|0)|0;c[a>>2]=g;c[f>>2]=b;c[d>>2]=i;if(!e)return;Yy(e);return}function am(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0.0,k=0.0,m=0.0,n=0.0,o=0.0,p=0.0;d=l;l=l+16|0;e=d;c[e>>2]=b;c[b+48>>2]=a;f=c[a>>2]|0;g=f+4|0;i=c[g>>2]|0;if((i|0)==(c[f+8>>2]|0))xl(f,e);else{c[i>>2]=b;c[g>>2]=(c[g>>2]|0)+4}g=a+16|0;b=a+40|0;j=+h[b>>3];i=c[e>>2]|0;if(j==0.0){k=+h[i+32>>3];h[g>>3]=k;m=k;n=k}else{m=+h[i+32>>3];n=+h[g>>3]}k=n/m;n=k*+h[i+24>>3];g=a+24|0;o=+h[g>>3]+ +h[i+40>>3]/m*n;h[g>>3]=o;g=a+32|0;m=+h[g>>3]+n*+h[i+8>>3];h[g>>3]=m;p=k*n+j;h[b>>3]=p;j=(m-o)/p;h[a+8>>3]=j;if(j==j&0.0==0.0){l=d;return}else ta(20585,20600,713,20609)}function bm(a){a=a|0;var b=0,d=0,e=0;b=c[a+4>>2]|0;if(b|0){cm(b);Yy(b)}b=c[a+40>>2]|0;if(b|0){d=a+44|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-4-b|0)>>>2)<<2);Yy(b)}b=c[a+28>>2]|0;if(!b)return;e=a+32|0;a=c[e>>2]|0;if((a|0)!=(b|0))c[e>>2]=a+(~((a+-4-b|0)>>>2)<<2);Yy(b);return}function cm(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;c[a>>2]=0;b=a+4|0;d=a+8|0;a=c[d>>2]|0;e=c[b>>2]|0;f=a-e>>2;g=e;if(!f){h=g;i=g;j=a}else{a=0;e=g;k=g;while(1){g=c[e+(a<<2)>>2]|0;if(!g){l=k;m=e}else{dm(g);Yy(g);g=c[b>>2]|0;l=g;m=g}a=a+1|0;if(a>>>0>=f>>>0)break;else{e=m;k=l}}h=m;i=l;j=c[d>>2]|0}if((j|0)==(h|0))n=j;else{l=j+(~((j+-4-h|0)>>>2)<<2)|0;c[d>>2]=l;n=l}if(!i)return;if((n|0)!=(i|0))c[d>>2]=n+(~((n+-4-i|0)>>>2)<<2);Yy(i);return}function dm(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[a>>2]|0;if(b|0){d=c[b>>2]|0;if(d|0){e=b+4|0;f=c[e>>2]|0;if((f|0)!=(d|0))c[e>>2]=f+(~((f+-4-d|0)>>>2)<<2);Yy(d)}Yy(b)}b=c[a+56>>2]|0;if(b|0){d=c[b>>2]|0;if(d|0){f=b+4|0;e=c[f>>2]|0;if((e|0)!=(d|0))c[f>>2]=e+(~((e+-4-d|0)>>>2)<<2);Yy(d)}Yy(b)}b=c[a+60>>2]|0;if(!b)return;a=c[b>>2]|0;if(a|0){d=b+4|0;e=c[d>>2]|0;if((e|0)!=(a|0))c[d>>2]=e+(~((e+-4-a|0)>>>2)<<2);Yy(a)}Yy(b);return}function em(b){b=b|0;var d=0.0,e=0,f=0.0,g=0,i=0,j=0.0,k=0;if(a[b+30>>0]|0){d=1797693134862315708145274.0e284;return +d}if(a[b+31>>0]|0){e=c[b+4>>2]|0;f=+h[e+32>>3];g=c[e+48>>2]|0;i=c[b>>2]|0;j=+h[i+32>>3];k=c[i+48>>2]|0;d=f*((+h[g+16>>3]*+h[g+8>>3]+ +h[e+40>>3])/f)-+h[b+8>>3]-j*((+h[k+16>>3]*+h[k+8>>3]+ +h[i+40>>3])/j);return +d}i=c[b>>2]|0;if(!(+h[i+32>>3]==1.0))ta(20735,20752,224,20771);k=c[b+4>>2]|0;if(!(+h[k+32>>3]==1.0))ta(20777,20752,225,20771);e=c[k+48>>2]|0;if(!(+h[e+16>>3]==1.0))ta(20795,20752,201,20816);g=c[i+48>>2]|0;if(!(+h[g+16>>3]==1.0))ta(20795,20752,201,20816);d=+h[e+8>>3]+ +h[k+40>>3]-+h[b+8>>3]-(+h[g+8>>3]+ +h[i+40>>3]);return +d}function fm(a){a=a|0;var b=0,d=0.0,e=0,f=0,g=0,i=0.0,j=0.0,k=0,l=0,m=0,n=0.0,o=0.0,p=0,q=0.0,r=0.0,s=0,t=0,u=0,v=0,w=0;gm(a)|0;b=a+4|0;d=1797693134862315708145274.0e284;while(1){e=c[b>>2]|0;f=c[e+4>>2]|0;g=(c[e+8>>2]|0)-f>>2;e=f;if(!g)i=0.0;else{j=0.0;f=0;while(1){k=c[c[e+(f<<2)>>2]>>2]|0;l=c[k>>2]|0;m=c[k+4>>2]|0;if((l|0)==(m|0))n=0.0;else{o=0.0;k=l;while(1){l=c[k>>2]|0;p=c[l+48>>2]|0;q=(+h[p+16>>3]*+h[p+8>>3]+ +h[l+40>>3])/+h[l+32>>3]-+h[l+8>>3];r=o+q*(+h[l+24>>3]*q);k=k+4|0;if((k|0)==(m|0)){n=r;break}else o=r}}o=j+n;f=f+1|0;if((f|0)==(g|0)){i=o;break}else j=o}}if(!(+C(+(d-i))>.0001))break;gm(a)|0;d=i}b=a+20|0;f=c[b>>2]|0;e=c[f>>2]|0;if((e|0)==(c[f+4>>2]|0)){s=a+16|0;t=c[s>>2]|0;u=(g|0)!=(t|0);return u|0}else v=e;while(1){e=c[v>>2]|0;f=c[e+48>>2]|0;i=(+h[f+16>>3]*+h[f+8>>3]+ +h[e+40>>3])/+h[e+32>>3];h[e+16>>3]=i;v=v+4|0;if(!(i==i&0.0==0.0)){w=11;break}if((v|0)==(c[(c[b>>2]|0)+4>>2]|0)){w=12;break}}if((w|0)==11)ta(20689,20600,128,20724);else if((w|0)==12){s=a+16|0;t=c[s>>2]|0;u=(g|0)!=(t|0);return u|0}return 0}function gm(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0.0;d=l;l=l+176|0;e=d+160|0;f=d+144|0;g=d+8|0;i=d;j=d+148|0;hm(b);k=b+28|0;m=im(0,k)|0;c[f>>2]=m;a:do if(m){n=b+32|0;o=b+36|0;p=b+4|0;q=m;b:while(1){if(!(a[q+29>>0]|0)){if(!(+em(q)<-1.0e-10)){r=p;break a}s=c[f>>2]|0;if(!(a[s+28>>0]|0))t=s;else{r=p;break a}}else if(!(a[q+28>>0]|0))t=q;else{u=8;break}s=c[(c[t>>2]|0)+48>>2]|0;c[g>>2]=s;v=c[t+4>>2]|0;w=c[v+48>>2]|0;c[i>>2]=w;x=s;do if((x|0)==(w|0)){s=c[t>>2]|0;if(km(w,v,s)|0){a[t+30>>0]=1;break}y=lm(w,s,v)|0;if(!y){a[(c[f>>2]|0)+30>>0]=1;break}mm(w,g,i,y);a[w+48>>0]=1;c[e>>2]=y;if(a[y+28>>0]|0){u=15;break b}s=c[n>>2]|0;if((s|0)==(c[o>>2]|0))yl(k,e);else{c[s>>2]=y;c[n>>2]=(c[n>>2]|0)+4}y=!(+em(c[f>>2]|0)>=0.0);s=c[f>>2]|0;z=s;if(y){y=c[p>>2]|0;A=c[g>>2]|0;B=c[i>>2]|0;C=jm(A,B,s)|0;c[e>>2]=C;D=y+8|0;E=c[D>>2]|0;if((E|0)==(c[y+12>>2]|0))om(y+4|0,e);else{c[E>>2]=C;c[D>>2]=(c[D>>2]|0)+4}D=a[A+48>>0]|0?A:B;if(!D)break;dm(D);Yy(D);break}if(a[s+28>>0]|0){u=22;break b}s=c[n>>2]|0;if((s|0)==(c[o>>2]|0))yl(k,f);else{c[s>>2]=z;c[n>>2]=(c[n>>2]|0)+4}z=c[p>>2]|0;s=c[g>>2]|0;c[e>>2]=s;D=z+8|0;B=c[D>>2]|0;if((B|0)==(c[z+12>>2]|0))om(z+4|0,e);else{c[B>>2]=s;c[D>>2]=(c[D>>2]|0)+4}D=c[p>>2]|0;s=c[i>>2]|0;c[e>>2]=s;B=D+8|0;z=c[B>>2]|0;if((z|0)==(c[D+12>>2]|0))om(D+4|0,e);else{c[z>>2]=s;c[B>>2]=(c[B>>2]|0)+4}}else jm(x,w,t)|0;while(0);q=im(0,k)|0;c[f>>2]=q;if(!q){r=p;break a}}if((u|0)==8)ta(20833,20600,286,20844);else if((u|0)==15)ta(20852,20600,308,20844);else if((u|0)==22)ta(20833,20600,328,20844)}else r=b+4|0;while(0);pm(c[r>>2]|0);r=b+8|0;c:do if(!(c[r>>2]|0))F=0;else{k=b+12|0;t=0;i=0;while(1){m=c[(c[c[k>>2]>>2]|0)+(t<<2)>>2]|0;c[f>>2]=m;p=a[m+28>>0]|0;if(+em(m)<-1.0e-10)break;m=i|p<<24>>24!=0;t=t+1|0;if(t>>>0>=(c[r>>2]|0)>>>0){F=m;break c}else i=m}i=g+56|0;t=g+4|0;c[g>>2]=172;c[i>>2]=192;$p(g+56|0,t);c[g+128>>2]=0;c[g+132>>2]=-1;c[g>>2]=1940;c[i>>2]=1960;dq(t);c[t>>2]=1976;i=g+36|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[g+52>>2]=16;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;qm(t,e);if((a[e+11>>0]|0)>=0){G=Mh(g,20877,24)|0;H=c[f>>2]|0;rm(G,H)|0;I=ua(4)|0;sm(j,t);J=j+11|0;K=a[J>>0]|0;L=K<<24>>24<0;M=c[j>>2]|0;N=L?M:j;c[I>>2]=N;Qa(I|0,1584,0)}Yy(c[e>>2]|0);G=Mh(g,20877,24)|0;H=c[f>>2]|0;rm(G,H)|0;I=ua(4)|0;sm(j,t);J=j+11|0;K=a[J>>0]|0;L=K<<24>>24<0;M=c[j>>2]|0;N=L?M:j;c[I>>2]=N;Qa(I|0,1584,0)}while(0);I=b+20|0;b=c[I>>2]|0;N=c[b>>2]|0;if((N|0)==(c[b+4>>2]|0)){l=d;return F|0}else O=N;while(1){N=c[O>>2]|0;b=c[N+48>>2]|0;P=(+h[b+16>>3]*+h[b+8>>3]+ +h[N+40>>3])/+h[N+32>>3];h[N+16>>3]=P;O=O+4|0;if(!(P==P&0.0==0.0)){u=44;break}if((O|0)==(c[(c[I>>2]|0)+4>>2]|0)){u=45;break}}if((u|0)==44)ta(20689,20600,128,20724);else if((u|0)==45){l=d;return F|0}return 0}function hm(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.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,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0,R=0.0,S=0.0,T=0,U=0,V=0,W=0.0,X=0.0,Y=0.0,Z=0.0,_=0.0,$=0.0;d=l;l=l+16|0;e=d+12|0;f=d+8|0;g=d+4|0;i=d;j=b+4|0;k=c[j>>2]|0;m=c[k+8>>2]|0;n=c[k+4>>2]|0;o=m-n>>2;do if(o){p=0;q=k;while(1){r=c[(c[q+4>>2]|0)+(p<<2)>>2]|0;s=r+40|0;t=r+32|0;u=r+24|0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;c[u+12>>2]=0;c[u+16>>2]=0;c[u+20>>2]=0;v=c[r>>2]|0;w=c[v>>2]|0;x=c[v+4>>2]|0;if((w|0)==(x|0)){y=0.0;z=0.0;A=0.0}else{B=+h[r+16>>3];v=w;C=0.0;D=0.0;E=0.0;do{w=c[v>>2]|0;F=+h[w+32>>3];G=B/F;H=G*+h[w+24>>3];C=C+ +h[w+40>>3]/F*H;D=D+H*+h[w+8>>3];E=E+G*H;v=v+4|0}while((v|0)!=(x|0));h[u>>3]=C;h[t>>3]=D;h[s>>3]=E;y=C;z=D;A=E}B=(z-y)/A;h[r+8>>3]=B;p=p+1|0;if(!(B==B&0.0==0.0)){I=8;break}q=c[j>>2]|0;if(p>>>0>=o>>>0){I=9;break}}if((I|0)==8)ta(20585,20600,746,21127);else if((I|0)==9){J=q;K=c[q+4>>2]|0;L=c[q+8>>2]|0;break}}else{J=k;K=n;L=m}while(0);c[b>>2]=0;m=L-K>>2;if(!m){M=J;pm(M);l=d;return}K=b+32|0;L=b+36|0;n=b+28|0;k=0;o=J;while(1){J=c[(c[o+4>>2]|0)+(k<<2)>>2]|0;c[e>>2]=0;Gm(J,c[c[c[J>>2]>>2]>>2]|0,0);+Mm(J,c[c[c[J>>2]>>2]>>2]|0,0,e);J=c[e>>2]|0;c[f>>2]=J;if(J|0?+h[J+16>>3]<-.0001:0){if(a[J+29>>0]|0){I=16;break}c[b>>2]=(c[b>>2]|0)+1;p=c[(c[J>>2]|0)+48>>2]|0;c[g>>2]=0;c[i>>2]=0;if((p|0)!=(c[(c[J+4>>2]|0)+48>>2]|0)){I=18;break}mm(p,g,i,J);J=c[g>>2]|0;x=J+40|0;v=J+32|0;w=J+24|0;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;c[w+12>>2]=0;c[w+16>>2]=0;c[w+20>>2]=0;N=c[J>>2]|0;O=c[N>>2]|0;P=c[N+4>>2]|0;if((O|0)==(P|0)){Q=0.0;R=0.0;S=0.0}else{A=+h[J+16>>3];N=O;y=0.0;z=0.0;B=0.0;do{O=c[N>>2]|0;H=+h[O+32>>3];G=A/H;F=G*+h[O+24>>3];y=y+ +h[O+40>>3]/H*F;z=z+F*+h[O+8>>3];B=B+G*F;N=N+4|0}while((N|0)!=(P|0));h[w>>3]=y;h[v>>3]=z;h[x>>3]=B;Q=y;R=z;S=B}A=(R-Q)/S;h[J+8>>3]=A;if(!(A==A&0.0==0.0)){I=24;break}P=c[i>>2]|0;N=P+40|0;q=P+32|0;O=P+24|0;c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=0;c[O+12>>2]=0;c[O+16>>2]=0;c[O+20>>2]=0;T=c[P>>2]|0;U=c[T>>2]|0;V=c[T+4>>2]|0;if((U|0)==(V|0)){W=0.0;X=0.0;Y=0.0}else{A=+h[P+16>>3];T=U;F=0.0;G=0.0;H=0.0;do{U=c[T>>2]|0;Z=+h[U+32>>3];_=A/Z;$=_*+h[U+24>>3];F=F+ +h[U+40>>3]/Z*$;G=G+$*+h[U+8>>3];H=H+_*$;T=T+4|0}while((T|0)!=(V|0));h[O>>3]=F;h[q>>3]=G;h[N>>3]=H;W=F;X=G;Y=H}A=(X-W)/Y;h[P+8>>3]=A;if(!(A==A&0.0==0.0)){I=30;break}V=c[j>>2]|0;c[e>>2]=J;T=V+8|0;x=c[T>>2]|0;if((x|0)==(c[V+12>>2]|0))om(V+4|0,e);else{c[x>>2]=J;c[T>>2]=(c[T>>2]|0)+4}T=c[j>>2]|0;c[e>>2]=P;x=T+8|0;V=c[x>>2]|0;if((V|0)==(c[T+12>>2]|0))om(T+4|0,e);else{c[V>>2]=P;c[x>>2]=(c[x>>2]|0)+4}a[p+48>>0]=1;x=c[f>>2]|0;if(a[x+28>>0]|0){I=38;break}V=c[K>>2]|0;if((V|0)==(c[L>>2]|0))yl(n,f);else{c[V>>2]=x;c[K>>2]=(c[K>>2]|0)+4}}k=k+1|0;x=c[j>>2]|0;if(k>>>0>=m>>>0){M=x;I=12;break}else o=x}if((I|0)==12){pm(M);l=d;return}else if((I|0)==16)ta(21150,20600,396,21163);else if((I|0)==18)ta(21175,20600,402,21163);else if((I|0)==24)ta(20585,20600,746,21127);else if((I|0)==30)ta(20585,20600,746,21127);else if((I|0)==38)ta(20833,20600,413,21163)}function im(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0.0,i=0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0.0,t=0,u=0;b=d+4|0;e=c[d>>2]|0;f=(c[b>>2]|0)-e>>2;a:do if(!f){g=0;h=1797693134862315708145274.0e284;i=0}else{j=f;k=1797693134862315708145274.0e284;l=0;m=0;n=e;while(1){o=c[n+(m<<2)>>2]|0;p=+em(o);q=a[o+29>>0]|0;if(p>24!=0)if(!(q<<24>>24)){r=m;s=p;t=o}else{g=m;h=p;i=o;break a}else{r=j;s=k;t=l}o=m+1|0;if(o>>>0>=f>>>0){g=r;h=s;i=t;break a}j=r;k=s;l=t;m=o;n=c[d>>2]|0}}while(0);if(g>>>0>=f>>>0)return i|0;if(!(h<-1.0e-10?!(a[i+28>>0]|0):0))u=10;if((u|0)==10?(a[i+29>>0]|0)==0:0)return i|0;u=f+-1|0;f=c[d>>2]|0;c[f+(g<<2)>>2]=c[f+(u<<2)>>2];f=c[b>>2]|0;g=c[d>>2]|0;t=f-g>>2;r=f;if(u>>>0>t>>>0){Lm(d,u-t|0);return i|0}if(u>>>0>=t>>>0)return i|0;t=g+(u<<2)|0;if((r|0)==(t|0))return i|0;c[b>>2]=r+(~((r+-4-t|0)>>>2)<<2);return i|0}function jm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0;f=c[e+4>>2]|0;g=c[e>>2]|0;i=+h[f+40>>3]-+h[g+40>>3]-+h[e+8>>3];j=c[g+48>>2]|0;g=c[f+48>>2]|0;f=c[j>>2]|0;k=c[f+4>>2]|0;l=c[f>>2]|0;f=c[g>>2]|0;m=c[f+4>>2]|0;n=c[f>>2]|0;a[e+28>>0]=1;e=n;f=l;if((k-l|0)>>>0<(m-n|0)>>>0){if((f|0)!=(k|0)){k=f;do{f=c[k>>2]|0;n=f+40|0;h[n>>3]=i+ +h[n>>3];am(g,f);k=k+4|0}while((k|0)!=(c[(c[j>>2]|0)+4>>2]|0))}o=(+h[g+32>>3]-+h[g+24>>3])/+h[g+40>>3];h[g+8>>3]=o;if(o==o&0.0==0.0){p=j;q=p+48|0;a[q>>0]=1;r=d+48|0;s=a[r>>0]|0;t=s<<24>>24!=0;u=t?b:d;return u|0}else ta(20585,20600,834,21121)}else{if((e|0)!=(m|0)){m=e;do{e=c[m>>2]|0;k=e+40|0;h[k>>3]=+h[k>>3]-i;am(j,e);m=m+4|0}while((m|0)!=(c[(c[g>>2]|0)+4>>2]|0))}i=(+h[j+32>>3]-+h[j+24>>3])/+h[j+40>>3];h[j+8>>3]=i;if(i==i&0.0==0.0){p=g;q=p+48|0;a[q>>0]=1;r=d+48|0;s=a[r>>0]|0;t=s<<24>>24!=0;u=t?b:d;return u|0}else ta(20585,20600,834,21121)}return 0}function km(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if((d|0)==(e|0)){f=1;return f|0}g=c[d+68>>2]|0;h=c[d+72>>2]|0;if((g|0)==(h|0)){f=0;return f|0}else i=g;while(1){g=c[i>>2]|0;d=c[g+4>>2]|0;if(((c[d+48>>2]|0)==(b|0)?(d|0)!=0&(a[g+28>>0]|0)!=0:0)?km(b,d,e)|0:0){f=1;j=7;break}i=i+4|0;if((i|0)==(h|0)){f=0;j=7;break}}if((j|0)==7)return f|0;return 0}function lm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=l;l=l+16|0;f=e+12|0;g=e;Gm(a,c[c[c[a>>2]>>2]>>2]|0,0);+Hm(a,c[c[c[a>>2]>>2]>>2]|0,0);c[f>>2]=0;Im(a,d,b,0,f,0)|0;h=c[f>>2]|0;if(h|0){l=e;return h|0}c[g>>2]=0;h=g+4|0;c[h>>2]=0;c[g+8>>2]=0;Jm(a,g,b,d,0)|0;d=ua(12)|0;c[d>>2]=0;b=d+4|0;c[b>>2]=0;a=d+8|0;c[a>>2]=0;e=(c[h>>2]|0)-(c[g>>2]|0)|0;f=e>>2;if(!f)Qa(d|0,152,105);if(f>>>0>1073741823)rx(d);i=Wy(e)|0;c[b>>2]=i;c[d>>2]=i;c[a>>2]=i+(f<<2);f=c[g>>2]|0;g=(c[h>>2]|0)-f|0;if((g|0)<=0)Qa(d|0,152,105);EA(i|0,f|0,g|0)|0;c[b>>2]=i+(g>>>2<<2);Qa(d|0,152,105);return 0}function mm(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;a[f+28>>0]=0;g=Wy(72)|0;h=b+64|0;i=c[h>>2]|0;j=Wy(12)|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[g>>2]=j;j=g+8|0;c[g+52>>2]=0;c[g+56>>2]=0;c[g+60>>2]=0;k=g+64|0;l=j;m=l+40|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));a[j+40>>0]=0;c[k>>2]=i;c[d>>2]=g;d=f+4|0;Fm(b,g,c[f>>2]|0,c[d>>2]|0);g=Wy(72)|0;i=c[h>>2]|0;h=Wy(12)|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[g>>2]=h;h=g+8|0;c[g+52>>2]=0;c[g+56>>2]=0;c[g+60>>2]=0;k=g+64|0;l=h;m=l+40|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(m|0));a[h+40>>0]=0;c[k>>2]=i;c[e>>2]=g;Fm(b,g,c[d>>2]|0,c[f>>2]|0);return}function nm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;c[a>>2]=0;d=a+4|0;c[d>>2]=0;c[a+8>>2]=0;e=b+4|0;f=(c[e>>2]|0)-(c[b>>2]|0)|0;g=f>>2;if(!g)return;if(g>>>0>1073741823)rx(a);h=Wy(f)|0;c[d>>2]=h;c[a>>2]=h;c[a+8>>2]=h+(g<<2);g=c[b>>2]|0;b=(c[e>>2]|0)-g|0;if((b|0)<=0)return;EA(h|0,g|0,b|0)|0;c[d>>2]=h+(b>>>2<<2);return}function om(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function pm(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=b+4|0;e=b+8|0;b=(c[e>>2]|0)-(c[d>>2]|0)>>2;a:do if(!b)f=0;else{g=0;h=0;while(1){i=h;while(1){j=c[d>>2]|0;k=c[j+(i<<2)>>2]|0;if(!(a[k+48>>0]|0))break;if(k|0){dm(k);Yy(k)}l=i+1|0;if(l>>>0>>0)i=l;else{f=g;break a}}if(i>>>0>g>>>0)c[j+(g<<2)>>2]=k;l=g+1|0;h=i+1|0;if(h>>>0>=b>>>0){f=l;break}else g=l}}while(0);b=c[e>>2]|0;k=c[d>>2]|0;j=b-k>>2;g=b;if(f>>>0>j>>>0){$l(d,f-j|0);return}if(f>>>0>=j>>>0)return;j=k+(f<<2)|0;if((g|0)==(j|0))return;c[e>>2]=g+(~((g+-4-j|0)>>>2)<<2);return}function qm(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;e=b+32|0;gz(e,d)|0;d=b+44|0;c[d>>2]=0;f=b+48|0;g=c[f>>2]|0;if(g&8|0){h=a[e+11>>0]|0;if(h<<24>>24<0){i=c[e>>2]|0;j=i;k=i;l=i+(c[b+36>>2]|0)|0}else{j=e;k=e;l=e+(h&255)|0}c[d>>2]=l;c[b+8>>2]=j;c[b+12>>2]=k;c[b+16>>2]=l}if(!(g&16))return;g=e+11|0;l=a[g>>0]|0;if(l<<24>>24<0){k=c[b+36>>2]|0;c[d>>2]=(c[e>>2]|0)+k;m=(c[b+40>>2]&2147483647)+-1|0;n=k}else{k=l&255;c[d>>2]=e+k;m=10;n=k}mz(e,m,0);m=a[g>>0]|0;if(m<<24>>24<0){g=c[e>>2]|0;o=g;p=c[b+36>>2]|0;q=g}else{o=e;p=m&255;q=e}e=b+24|0;c[e>>2]=q;c[b+20>>2]=q;c[b+28>>2]=o+p;if(!(c[f>>2]&3))return;c[e>>2]=q+n;return}function rm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0;e=l;l=l+304|0;f=e+288|0;g=e+152|0;i=e+16|0;j=e;k=(a[d+29>>0]|0)!=0;m=g+56|0;n=g+4|0;c[g>>2]=172;c[m>>2]=192;$p(g+56|0,n);c[g+128>>2]=0;c[g+132>>2]=-1;c[g>>2]=1940;c[m>>2]=1960;dq(n);c[n>>2]=1976;m=g+36|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[g+52>>2]=16;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;qm(n,f);if((a[f+11>>0]|0)<0)Yy(c[f>>2]|0);m=i+56|0;o=i+4|0;c[i>>2]=172;c[m>>2]=192;$p(i+56|0,o);c[i+128>>2]=0;c[i+132>>2]=-1;c[i>>2]=1940;c[m>>2]=1960;dq(o);c[o>>2]=1976;m=i+36|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[i+52>>2]=16;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;qm(o,f);if((a[f+11>>0]|0)<0)Yy(c[f>>2]|0);p=+h[(c[d>>2]|0)+32>>3];if(p!=1.0)Mh(iq(g,p)|0,20907,1)|0;m=d+4|0;p=+h[(c[m>>2]|0)+32>>3];if(p!=1.0)Mh(iq(i,p)|0,20907,1)|0;sm(f,n);n=f+11|0;q=a[n>>0]|0;r=q<<24>>24<0;s=Mh(b,r?c[f>>2]|0:f,r?c[f+4>>2]|0:q&255)|0;q=Mh(um(s,c[d>>2]|0)|0,20909,1)|0;s=iq(q,+h[d+8>>3])|0;q=Mh(s,k?20902:20904,k?1:2)|0;sm(j,o);o=j+11|0;k=a[o>>0]|0;s=k<<24>>24<0;r=Mh(q,s?c[j>>2]|0:j,s?c[j+4>>2]|0:k&255)|0;um(r,c[m>>2]|0)|0;if((a[o>>0]|0)<0)Yy(c[j>>2]|0);if((a[n>>0]|0)<0)Yy(c[f>>2]|0);if(c[(c[d>>2]|0)+48>>2]|0?c[(c[m>>2]|0)+48>>2]|0:0){m=Mh(b,20911,1)|0;f=Mh(iq(m,+em(d))|0,20913,1)|0;m=(a[d+28>>0]|0)!=0;n=Mh(Mh(f,m?20915:31664,m?7:0)|0,20923,4)|0;Mh(iq(n,+h[d+16>>3])|0,20913,1)|0;tm(i);tm(g);l=e;return b|0}Mh(b,20928,23)|0;tm(i);tm(g);l=e;return b|0}function sm(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;e=c[d+48>>2]|0;if(e&16|0){f=d+44|0;g=c[f>>2]|0;h=c[d+24>>2]|0;if(g>>>0>>0){c[f>>2]=h;i=h}else i=g;g=c[d+20>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;h=i-g|0;if(h>>>0>4294967279)dz(b);if(h>>>0<11){a[b+11>>0]=h;j=b}else{f=h+16&-16;k=Wy(f)|0;c[b>>2]=k;c[b+8>>2]=f|-2147483648;c[b+4>>2]=h;j=k}if((g|0)==(i|0))l=j;else{k=j;f=g;while(1){a[k>>0]=a[f>>0]|0;f=f+1|0;if((f|0)==(i|0))break;else k=k+1|0}l=j+h|0}a[l>>0]=0;return}if(!(e&8)){c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;return}e=c[d+8>>2]|0;l=c[d+16>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;d=l-e|0;if(d>>>0>4294967279)dz(b);if(d>>>0<11){a[b+11>>0]=d;m=b}else{h=d+16&-16;j=Wy(h)|0;c[b>>2]=j;c[b+8>>2]=h|-2147483648;c[b+4>>2]=d;m=j}if((e|0)==(l|0))n=m;else{j=m;b=e;while(1){a[j>>0]=a[b>>0]|0;b=b+1|0;if((b|0)==(l|0))break;else j=j+1|0}n=m+d|0}a[n>>0]=0;return}function tm(b){b=b|0;var d=0,e=0,f=0;c[b>>2]=1940;d=b+56|0;c[d>>2]=1960;e=b+4|0;c[e>>2]=1976;f=b+36|0;if((a[f+11>>0]|0)<0)Yy(c[f>>2]|0);yp(e);Xp(b,1916);up(d);return}function um(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=b+48|0;e=(c[d>>2]|0)==0;f=Mh(a,20911,1)|0;g=Mh(hq(f,c[b>>2]|0)|0,20902,1)|0;if(e){Mh(iq(g,+h[b+8>>3])|0,20913,1)|0;return a|0}else{e=c[d>>2]|0;Mh(iq(g,(+h[e+16>>3]*+h[e+8>>3]+ +h[b+40>>3])/+h[b+32>>3])|0,20913,1)|0;return a|0}return 0}function vm(b){b=b|0;var d=0;c[b>>2]=1976;d=b+32|0;if((a[d+11>>0]|0)<0)Yy(c[d>>2]|0);yp(b);return}function wm(b){b=b|0;var d=0;c[b>>2]=1976;d=b+32|0;if((a[d+11>>0]|0)<0)Yy(c[d>>2]|0);yp(b);Yy(b);return}function xm(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;i=d+44|0;j=c[i>>2]|0;k=d+24|0;l=c[k>>2]|0;m=l;if(j>>>0>>0){c[i>>2]=l;n=m}else n=j;j=h&24;a:do if((j|0)!=0?!((g|0)==1&(j|0)==24):0){b:do switch(g|0){case 0:{o=0;p=0;break}case 1:{if(!(h&8)){i=m-(c[d+20>>2]|0)|0;o=i;p=((i|0)<0)<<31>>31;break b}else{i=(c[d+12>>2]|0)-(c[d+8>>2]|0)|0;o=i;p=((i|0)<0)<<31>>31;break b}break}case 2:{i=d+32|0;if((a[i+11>>0]|0)<0)q=c[i>>2]|0;else q=i;i=n-q|0;o=i;p=((i|0)<0)<<31>>31;break}default:{r=-1;s=-1;break a}}while(0);i=BA(o|0,p|0,e|0,f|0)|0;t=A;if((t|0)>=0){u=d+32|0;if((a[u+11>>0]|0)<0)v=c[u>>2]|0;else v=u;u=n-v|0;w=((u|0)<0)<<31>>31;if(!((w|0)<(t|0)|(w|0)==(t|0)&u>>>0>>0)){u=h&8;if(!((i|0)==0&(t|0)==0)){if(u|0?(c[d+12>>2]|0)==0:0){r=-1;s=-1;break}if((h&16|0)!=0&(l|0)==0){r=-1;s=-1;break}}if(u|0){c[d+12>>2]=(c[d+8>>2]|0)+i;c[d+16>>2]=n}if(!(h&16)){r=i;s=t}else{c[k>>2]=(c[d+20>>2]|0)+i;r=i;s=t}}else{r=-1;s=-1}}else{r=-1;s=-1}}else{r=-1;s=-1}while(0);d=b;c[d>>2]=0;c[d+4>>2]=0;d=b+8|0;c[d>>2]=r;c[d+4>>2]=s;return}function ym(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=d+8|0;_a[c[(c[b>>2]|0)+16>>2]&7](a,b,c[f>>2]|0,c[f+4>>2]|0,0,e);return}function zm(a){a=a|0;var b=0,e=0,f=0,g=0,h=0,i=0;b=a+44|0;e=c[b>>2]|0;f=c[a+24>>2]|0;if(e>>>0>>0){c[b>>2]=f;g=f}else g=e;if(!(c[a+48>>2]&8)){h=-1;return h|0}e=a+16|0;f=c[e>>2]|0;if(f>>>0>>0){c[e>>2]=g;i=g}else i=f;f=c[a+12>>2]|0;if(f>>>0>=i>>>0){h=-1;return h|0}h=d[f>>0]|0;return h|0}function Am(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;e=b+44|0;f=c[e>>2]|0;g=c[b+24>>2]|0;if(f>>>0>>0){c[e>>2]=g;h=g}else h=f;f=h;h=b+12|0;g=c[h>>2]|0;if((c[b+8>>2]|0)>>>0>=g>>>0){i=-1;return i|0}if((d|0)==-1){c[h>>2]=g+-1;c[b+16>>2]=f;i=0;return i|0}if(!(c[b+48>>2]&16)){e=d&255;j=g+-1|0;if(e<<24>>24==(a[j>>0]|0)){k=e;l=j}else{i=-1;return i|0}}else{k=d&255;l=g+-1|0}c[h>>2]=l;c[b+16>>2]=f;a[l>>0]=k;i=d;return i|0}function Bm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;e=l;l=l+16|0;f=e;if((d|0)==-1){g=0;l=e;return g|0}h=b+12|0;i=b+8|0;j=(c[h>>2]|0)-(c[i>>2]|0)|0;k=b+24|0;m=c[k>>2]|0;n=b+28|0;o=c[n>>2]|0;if((m|0)==(o|0)){p=b+48|0;if(!(c[p>>2]&16)){g=-1;l=e;return g|0}q=b+20|0;r=c[q>>2]|0;s=b+44|0;t=(c[s>>2]|0)-r|0;u=b+32|0;qz(u,0);v=u+11|0;if((a[v>>0]|0)<0)w=(c[b+40>>2]&2147483647)+-1|0;else w=10;mz(u,w,0);w=a[v>>0]|0;if(w<<24>>24<0){x=c[u>>2]|0;y=c[b+36>>2]|0}else{x=u;y=w&255}w=x+y|0;c[q>>2]=x;c[n>>2]=w;n=x+(m-r)|0;c[k>>2]=n;r=x+t|0;c[s>>2]=r;z=s;A=p;B=s;C=n;D=r;E=w}else{w=b+44|0;z=w;A=b+48|0;B=w;C=m;D=c[w>>2]|0;E=o}o=C+1|0;c[f>>2]=o;w=c[(o>>>0>>0?B:f)>>2]|0;c[z>>2]=w;if(c[A>>2]&8|0){A=b+32|0;if((a[A+11>>0]|0)<0)F=c[A>>2]|0;else F=A;c[i>>2]=F;c[h>>2]=F+j;c[b+16>>2]=w}if((C|0)==(E|0)){g=lb[c[(c[b>>2]|0)+52>>2]&15](b,d&255)|0;l=e;return g|0}else{c[k>>2]=o;a[C>>0]=d;g=d&255;l=e;return g|0}return 0}function Cm(a){a=a|0;tm(a);Yy(a);return}function Dm(a){a=a|0;tm(a+(c[(c[a>>2]|0)+-12>>2]|0)|0);return}function Em(a){a=a|0;var b=0;b=a+(c[(c[a>>2]|0)+-12>>2]|0)|0;tm(b);Yy(b);return}function Fm(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;am(d,e);g=c[e+56>>2]|0;h=e+60|0;i=c[h>>2]|0;if((g|0)!=(i|0)){j=g;g=i;while(1){i=c[j>>2]|0;k=c[i>>2]|0;if((c[k+48>>2]|0)==(b|0)?(k|0)!=(f|0)&(a[i+28>>0]|0)!=0:0){Fm(b,d,k,e);l=c[h>>2]|0}else l=g;j=j+4|0;if((j|0)==(l|0))break;else g=l}}l=c[e+68>>2]|0;g=e+72|0;j=c[g>>2]|0;if((l|0)==(j|0))return;else{m=l;n=j}while(1){j=c[m>>2]|0;l=c[j+4>>2]|0;if((c[l+48>>2]|0)==(b|0)?(l|0)!=(f|0)&(a[j+28>>0]|0)!=0:0){Fm(b,d,l,e);o=c[g>>2]|0}else o=n;m=m+4|0;if((m|0)==(o|0))break;else n=o}return}function Gm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=c[d+68>>2]|0;g=d+72|0;i=c[g>>2]|0;if((f|0)!=(i|0)){j=f;f=i;while(1){i=c[j>>2]|0;k=c[i+4>>2]|0;if((c[k+48>>2]|0)==(b|0)?(k|0)!=(e|0)&(a[i+28>>0]|0)!=0:0){h[i+16>>3]=0.0;Gm(b,k,d);l=c[g>>2]|0}else l=f;j=j+4|0;if((j|0)==(l|0))break;else f=l}}l=c[d+56>>2]|0;f=d+60|0;j=c[f>>2]|0;if((l|0)==(j|0))return;else{m=l;n=j}while(1){j=c[m>>2]|0;l=c[j>>2]|0;if((c[l+48>>2]|0)==(b|0)?(l|0)!=(e|0)&(a[j+28>>0]|0)!=0:0){h[j+16>>3]=0.0;Gm(b,l,d);o=c[f>>2]|0}else o=n;m=m+4|0;if((m|0)==(o|0))break;else n=o}return}function Hm(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0.0,y=0;f=c[d+48>>2]|0;g=d+32|0;i=+h[d+24>>3]*2.0*((+h[f+16>>3]*+h[f+8>>3]+ +h[d+40>>3])/+h[g>>3]-+h[d+8>>3]);f=c[d+68>>2]|0;j=d+72|0;k=c[j>>2]|0;if((f|0)==(k|0))l=i;else{m=i;n=f;f=k;while(1){k=c[n>>2]|0;o=c[k+4>>2]|0;if((c[o+48>>2]|0)==(b|0)?(o|0)!=(e|0)&(a[k+28>>0]|0)!=0:0){i=+Hm(b,o,d);h[k+16>>3]=i;p=m+i*+h[(c[k>>2]|0)+32>>3];q=c[j>>2]|0}else{p=m;q=f}n=n+4|0;if((n|0)==(q|0)){l=p;break}else{m=p;f=q}}}q=c[d+56>>2]|0;f=d+60|0;n=c[f>>2]|0;if((q|0)==(n|0)){r=l;s=+h[g>>3];t=r/s;return +t}else{u=l;v=q;w=n}while(1){n=c[v>>2]|0;q=c[n>>2]|0;if((c[q+48>>2]|0)==(b|0)?(q|0)!=(e|0)&(a[n+28>>0]|0)!=0:0){l=-+Hm(b,q,d);h[n+16>>3]=l;x=u-+h[(c[n+4>>2]|0)+32>>3]*l;y=c[f>>2]|0}else{x=u;y=w}v=v+4|0;if((v|0)==(y|0)){r=x;break}else{u=x;w=y}}s=+h[g>>3];t=r/s;return +t}function Im(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|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;j=c[e+56>>2]|0;k=e+60|0;l=c[k>>2]|0;a:do if((j|0)!=(l|0)){b:do if(i){m=j;n=l;while(1){o=c[m>>2]|0;p=c[o>>2]|0;if((c[p+48>>2]|0)==(b|0)?(p|0)!=(f|0)&(a[o+28>>0]|0)!=0:0){if((p|0)==(d|0)){q=o;break b}if(Im(b,d,p,e,g,0)|0)break;r=c[k>>2]|0}else r=n;m=m+4|0;if((m|0)==(r|0))break a;else n=r}if(a[o+29>>0]|0){s=1;return s|0}n=c[g>>2]|0;if(n|0?!(+h[o+16>>3]<+h[n+16>>3]):0){s=1;return s|0}c[g>>2]=o;s=1;return s|0}else{n=j;m=l;while(1){p=c[n>>2]|0;t=c[p>>2]|0;if((c[t+48>>2]|0)==(b|0)?(t|0)!=(f|0)&(a[p+28>>0]|0)!=0:0){if((t|0)==(d|0)){q=p;break b}if(Im(b,d,t,e,g,0)|0){s=1;break}u=c[k>>2]|0}else u=m;n=n+4|0;if((n|0)==(u|0))break a;else m=u}return s|0}while(0);if(!i){s=1;return s|0}if(a[q+29>>0]|0){s=1;return s|0}c[g>>2]=q;s=1;return s|0}while(0);q=c[e+68>>2]|0;i=e+72|0;u=c[i>>2]|0;if((q|0)==(u|0)){s=0;return s|0}else{v=q;w=u}while(1){x=c[v>>2]|0;u=c[x+4>>2]|0;if((c[u+48>>2]|0)==(b|0)?(u|0)!=(f|0)&(a[x+28>>0]|0)!=0:0){if((u|0)==(d|0)){y=26;break}if(Im(b,d,u,e,g,0)|0){y=30;break}z=c[i>>2]|0}else z=w;v=v+4|0;if((v|0)==(z|0)){s=0;y=35;break}else w=z}if((y|0)==26){if(a[x+29>>0]|0){s=1;return s|0}c[g>>2]=x;s=1;return s|0}else if((y|0)==30){if(a[x+29>>0]|0){s=1;return s|0}z=c[g>>2]|0;if(z|0?!(+h[x+16>>3]<+h[z+16>>3]):0){s=1;return s|0}c[g>>2]=x;s=1;return s|0}else if((y|0)==35)return s|0;return 0}function Jm(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;if((e|0)==(f|0)){h=1;return h|0}i=c[e+56>>2]|0;j=e+60|0;k=c[j>>2]|0;a:do if((i|0)!=(k|0)){l=i;m=k;while(1){n=c[l>>2]|0;o=c[n>>2]|0;if((c[o+48>>2]|0)==(b|0)?(o|0)!=(g|0)&(a[n+28>>0]|0)!=0:0){if(Jm(b,d,o,f,e)|0)break;p=c[j>>2]|0}else p=m;o=l+4|0;if((o|0)==(p|0))break a;else{l=o;m=p}}m=d+4|0;o=c[m>>2]|0;if((o|0)==(c[d+8>>2]|0)){yl(d,l);h=1;return h|0}else{c[o>>2]=c[l>>2];c[m>>2]=(c[m>>2]|0)+4;h=1;return h|0}}while(0);p=c[e+68>>2]|0;j=e+72|0;k=c[j>>2]|0;if((p|0)==(k|0)){h=0;return h|0}else{q=p;r=k}while(1){k=c[q>>2]|0;p=c[k+4>>2]|0;if((c[p+48>>2]|0)==(b|0)?(p|0)!=(g|0)&(a[k+28>>0]|0)!=0:0){if(Jm(b,d,p,f,e)|0)break;s=c[j>>2]|0}else s=r;p=q+4|0;if((p|0)==(s|0)){h=0;t=20;break}else{q=p;r=s}}if((t|0)==20)return h|0;t=d+4|0;s=c[t>>2]|0;if((s|0)==(c[d+8>>2]|0)){yl(d,q);h=1;return h|0}else{c[s>>2]=c[q>>2];c[t>>2]=(c[t>>2]|0)+4;h=1;return h|0}return 0}function Km(a){a=a|0;var b=0,d=0;b=c[a>>2]|0;if(!b)return;d=a+4|0;a=c[d>>2]|0;if((a|0)!=(b|0))c[d>>2]=a+(~((a+-4-b|0)>>>2)<<2);Yy(b);return}function Lm(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;d=a+8|0;e=c[d>>2]|0;f=a+4|0;g=c[f>>2]|0;if(e-g>>2>>>0>=b>>>0){h=b;i=g;do{c[i>>2]=0;i=(c[f>>2]|0)+4|0;c[f>>2]=i;h=h+-1|0}while((h|0)!=0);return}h=c[a>>2]|0;i=g-h>>2;g=i+b|0;if(g>>>0>1073741823)rx(a);j=e-h|0;h=j>>1;e=j>>2>>>0<536870911?(h>>>0>>0?g:h):1073741823;do if(e)if(e>>>0>1073741823){h=ua(8)|0;bz(h,20621);c[h>>2]=9140;Qa(h|0,1496,99)}else{k=Wy(e<<2)|0;break}else k=0;while(0);h=k+(i<<2)|0;i=k+(e<<2)|0;e=b;b=h;k=h;do{c[k>>2]=0;k=b+4|0;b=k;e=e+-1|0}while((e|0)!=0);e=c[a>>2]|0;k=(c[f>>2]|0)-e|0;g=h+(0-(k>>2)<<2)|0;if((k|0)>0)EA(g|0,e|0,k|0)|0;c[a>>2]=g;c[f>>2]=b;c[d>>2]=i;if(!e)return;Yy(e);return}function Mm(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0.0,k=0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0,r=0.0,s=0.0,t=0.0,u=0.0,v=0.0,w=0,x=0.0;g=c[d+48>>2]|0;i=d+32|0;j=+h[d+24>>3]*2.0*((+h[g+16>>3]*+h[g+8>>3]+ +h[d+40>>3])/+h[i>>3]-+h[d+8>>3]);g=c[d+68>>2]|0;k=d+72|0;if((g|0)==(c[k>>2]|0))l=j;else{m=j;n=g;while(1){g=c[n>>2]|0;o=c[g+4>>2]|0;do if((c[o+48>>2]|0)==(b|0)?(o|0)!=(e|0)&(a[g+28>>0]|0)!=0:0){j=+Mm(b,o,d,f);h[g+16>>3]=j;p=m+j*+h[(c[g>>2]|0)+32>>3];if(!(a[g+29>>0]|0)){q=c[f>>2]|0;if(q|0?!(j<+h[q+16>>3]):0){r=p;break}c[f>>2]=g;r=p}else r=p}else r=m;while(0);n=n+4|0;if((n|0)==(c[k>>2]|0)){l=r;break}else m=r}}k=c[d+56>>2]|0;n=d+60|0;if((k|0)==(c[n>>2]|0)){s=l;t=+h[i>>3];u=s/t;return +u}else{v=l;w=k}while(1){k=c[w>>2]|0;g=c[k>>2]|0;do if((c[g+48>>2]|0)==(b|0)?(g|0)!=(e|0)&(a[k+28>>0]|0)!=0:0){l=-+Mm(b,g,d,f);h[k+16>>3]=l;r=v-+h[(c[k+4>>2]|0)+32>>3]*l;if(!(a[k+29>>0]|0)){o=c[f>>2]|0;if(o|0?!(+h[o+16>>3]>l):0){x=r;break}c[f>>2]=k;x=r}else x=r}else x=v;while(0);w=w+4|0;if((w|0)==(c[n>>2]|0)){s=x;break}else v=x}t=+h[i>>3];u=s/t;return +u}function Nm(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=+f;g=g|0;c[b>>2]=d;c[b+4>>2]=e;h[b+8>>3]=f;c[b+24>>2]=0;a[b+28>>0]=0;a[b+29>>0]=g&1;a[b+30>>0]=0;a[b+31>>0]=1;c[b+32>>2]=0;return}function Om(a){a=a|0;return}function Pm(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0;b=l;l=l+16|0;d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[7016]|0;h=g>>>f;if(h&3|0){i=(h&1^1)+f|0;j=28104+(i<<1<<2)|0;k=j+8|0;m=c[k>>2]|0;n=m+8|0;o=c[n>>2]|0;if((j|0)==(o|0))c[7016]=g&~(1<>2]=j;c[k>>2]=o}o=i<<3;c[m+4>>2]=o|3;i=m+o+4|0;c[i>>2]=c[i>>2]|1;p=n;l=b;return p|0}n=c[7018]|0;if(e>>>0>n>>>0){if(h|0){i=2<>>12&16;f=i>>>o;i=f>>>5&8;h=f>>>i;f=h>>>2&4;m=h>>>f;h=m>>>1&2;k=m>>>h;m=k>>>1&1;j=(i|o|f|h|m)+(k>>>m)|0;m=28104+(j<<1<<2)|0;k=m+8|0;h=c[k>>2]|0;f=h+8|0;o=c[f>>2]|0;if((m|0)==(o|0)){i=g&~(1<>2]=m;c[k>>2]=o;q=g}o=(j<<3)-e|0;c[h+4>>2]=e|3;j=h+e|0;c[j+4>>2]=o|1;c[j+o>>2]=o;if(n|0){h=c[7021]|0;k=n>>>3;m=28104+(k<<1<<2)|0;i=1<>2]|0;s=i}c[s>>2]=h;c[r+12>>2]=h;c[h+8>>2]=r;c[h+12>>2]=m}c[7018]=o;c[7021]=j;p=f;l=b;return p|0}f=c[7017]|0;if(f){j=(f&0-f)+-1|0;o=j>>>12&16;m=j>>>o;j=m>>>5&8;h=m>>>j;m=h>>>2&4;i=h>>>m;h=i>>>1&2;k=i>>>h;i=k>>>1&1;t=c[28368+((j|o|m|h|i)+(k>>>i)<<2)>>2]|0;i=(c[t+4>>2]&-8)-e|0;k=c[t+16+(((c[t+16>>2]|0)==0&1)<<2)>>2]|0;if(!k){u=t;v=i}else{h=t;t=i;i=k;while(1){k=(c[i+4>>2]&-8)-e|0;m=k>>>0>>0;o=m?k:t;k=m?i:h;i=c[i+16+(((c[i+16>>2]|0)==0&1)<<2)>>2]|0;if(!i){u=k;v=o;break}else{h=k;t=o}}}t=u+e|0;if(u>>>0>>0){h=c[u+24>>2]|0;i=c[u+12>>2]|0;do if((i|0)==(u|0)){o=u+20|0;k=c[o>>2]|0;if(!k){m=u+16|0;j=c[m>>2]|0;if(!j){w=0;break}else{x=j;y=m}}else{x=k;y=o}while(1){o=x+20|0;k=c[o>>2]|0;if(k|0){x=k;y=o;continue}o=x+16|0;k=c[o>>2]|0;if(!k)break;else{x=k;y=o}}c[y>>2]=0;w=x}else{o=c[u+8>>2]|0;c[o+12>>2]=i;c[i+8>>2]=o;w=i}while(0);do if(h|0){i=c[u+28>>2]|0;o=28368+(i<<2)|0;if((u|0)==(c[o>>2]|0)){c[o>>2]=w;if(!w){c[7017]=f&~(1<>2]|0)!=(u|0)&1)<<2)>>2]=w;if(!w)break}c[w+24>>2]=h;i=c[u+16>>2]|0;if(i|0){c[w+16>>2]=i;c[i+24>>2]=w}i=c[u+20>>2]|0;if(i|0){c[w+20>>2]=i;c[i+24>>2]=w}}while(0);if(v>>>0<16){h=v+e|0;c[u+4>>2]=h|3;f=u+h+4|0;c[f>>2]=c[f>>2]|1}else{c[u+4>>2]=e|3;c[t+4>>2]=v|1;c[t+v>>2]=v;if(n|0){f=c[7021]|0;h=n>>>3;i=28104+(h<<1<<2)|0;o=1<>2]|0;A=o}c[A>>2]=f;c[z+12>>2]=f;c[f+8>>2]=z;c[f+12>>2]=i}c[7018]=v;c[7021]=t}p=u+8|0;l=b;return p|0}else B=e}else B=e}else B=e}else if(a>>>0<=4294967231){i=a+11|0;f=i&-8;o=c[7017]|0;if(o){h=0-f|0;k=i>>>8;if(k)if(f>>>0>16777215)C=31;else{i=(k+1048320|0)>>>16&8;m=k<>>16&4;j=m<>>16&2;D=14-(k|i|m)+(j<>>15)|0;C=f>>>(D+7|0)&1|D<<1}else C=0;D=c[28368+(C<<2)>>2]|0;a:do if(!D){E=0;F=0;G=h;H=57}else{m=0;j=h;i=D;k=f<<((C|0)==31?0:25-(C>>>1)|0);I=0;while(1){J=(c[i+4>>2]&-8)-f|0;if(J>>>0>>0)if(!J){K=i;L=0;M=i;H=61;break a}else{N=i;O=J}else{N=m;O=j}J=c[i+20>>2]|0;i=c[i+16+(k>>>31<<2)>>2]|0;P=(J|0)==0|(J|0)==(i|0)?I:J;J=(i|0)==0;if(J){E=P;F=N;G=O;H=57;break}else{m=N;j=O;k=k<<((J^1)&1);I=P}}}while(0);if((H|0)==57){if((E|0)==0&(F|0)==0){D=2<>>12&16;e=D>>>h;D=e>>>5&8;t=e>>>D;e=t>>>2&4;g=t>>>e;t=g>>>1&2;n=g>>>t;g=n>>>1&1;Q=0;R=c[28368+((D|h|e|t|g)+(n>>>g)<<2)>>2]|0}else{Q=F;R=E}if(!R){S=Q;T=G}else{K=Q;L=G;M=R;H=61}}if((H|0)==61)while(1){H=0;g=(c[M+4>>2]&-8)-f|0;n=g>>>0>>0;t=n?g:L;g=n?M:K;M=c[M+16+(((c[M+16>>2]|0)==0&1)<<2)>>2]|0;if(!M){S=g;T=t;break}else{K=g;L=t;H=61}}if((S|0)!=0?T>>>0<((c[7018]|0)-f|0)>>>0:0){t=S+f|0;if(S>>>0>=t>>>0){p=0;l=b;return p|0}g=c[S+24>>2]|0;n=c[S+12>>2]|0;do if((n|0)==(S|0)){e=S+20|0;h=c[e>>2]|0;if(!h){D=S+16|0;I=c[D>>2]|0;if(!I){U=0;break}else{V=I;W=D}}else{V=h;W=e}while(1){e=V+20|0;h=c[e>>2]|0;if(h|0){V=h;W=e;continue}e=V+16|0;h=c[e>>2]|0;if(!h)break;else{V=h;W=e}}c[W>>2]=0;U=V}else{e=c[S+8>>2]|0;c[e+12>>2]=n;c[n+8>>2]=e;U=n}while(0);do if(g){n=c[S+28>>2]|0;e=28368+(n<<2)|0;if((S|0)==(c[e>>2]|0)){c[e>>2]=U;if(!U){e=o&~(1<>2]|0)!=(S|0)&1)<<2)>>2]=U;if(!U){X=o;break}}c[U+24>>2]=g;e=c[S+16>>2]|0;if(e|0){c[U+16>>2]=e;c[e+24>>2]=U}e=c[S+20>>2]|0;if(e){c[U+20>>2]=e;c[e+24>>2]=U;X=o}else X=o}else X=o;while(0);do if(T>>>0>=16){c[S+4>>2]=f|3;c[t+4>>2]=T|1;c[t+T>>2]=T;o=T>>>3;if(T>>>0<256){g=28104+(o<<1<<2)|0;e=c[7016]|0;n=1<>2]|0;Z=n}c[Z>>2]=t;c[Y+12>>2]=t;c[t+8>>2]=Y;c[t+12>>2]=g;break}g=T>>>8;if(g)if(T>>>0>16777215)_=31;else{n=(g+1048320|0)>>>16&8;e=g<>>16&4;o=e<>>16&2;h=14-(g|n|e)+(o<>>15)|0;_=T>>>(h+7|0)&1|h<<1}else _=0;h=28368+(_<<2)|0;c[t+28>>2]=_;e=t+16|0;c[e+4>>2]=0;c[e>>2]=0;e=1<<_;if(!(X&e)){c[7017]=X|e;c[h>>2]=t;c[t+24>>2]=h;c[t+12>>2]=t;c[t+8>>2]=t;break}e=T<<((_|0)==31?0:25-(_>>>1)|0);o=c[h>>2]|0;while(1){if((c[o+4>>2]&-8|0)==(T|0)){H=97;break}$=o+16+(e>>>31<<2)|0;h=c[$>>2]|0;if(!h){H=96;break}else{e=e<<1;o=h}}if((H|0)==96){c[$>>2]=t;c[t+24>>2]=o;c[t+12>>2]=t;c[t+8>>2]=t;break}else if((H|0)==97){e=o+8|0;h=c[e>>2]|0;c[h+12>>2]=t;c[e>>2]=t;c[t+8>>2]=h;c[t+12>>2]=o;c[t+24>>2]=0;break}}else{h=T+f|0;c[S+4>>2]=h|3;e=S+h+4|0;c[e>>2]=c[e>>2]|1}while(0);p=S+8|0;l=b;return p|0}else B=f}else B=f}else B=-1;while(0);S=c[7018]|0;if(S>>>0>=B>>>0){T=S-B|0;$=c[7021]|0;if(T>>>0>15){_=$+B|0;c[7021]=_;c[7018]=T;c[_+4>>2]=T|1;c[_+T>>2]=T;c[$+4>>2]=B|3}else{c[7018]=0;c[7021]=0;c[$+4>>2]=S|3;T=$+S+4|0;c[T>>2]=c[T>>2]|1}p=$+8|0;l=b;return p|0}$=c[7019]|0;if($>>>0>B>>>0){T=$-B|0;c[7019]=T;S=c[7022]|0;_=S+B|0;c[7022]=_;c[_+4>>2]=T|1;c[S+4>>2]=B|3;p=S+8|0;l=b;return p|0}if(!(c[7134]|0)){c[7136]=4096;c[7135]=4096;c[7137]=-1;c[7138]=-1;c[7139]=0;c[7127]=0;S=d&-16^1431655768;c[d>>2]=S;c[7134]=S;aa=4096}else aa=c[7136]|0;S=B+48|0;d=B+47|0;T=aa+d|0;_=0-aa|0;aa=T&_;if(aa>>>0<=B>>>0){p=0;l=b;return p|0}X=c[7126]|0;if(X|0?(Y=c[7124]|0,Z=Y+aa|0,Z>>>0<=Y>>>0|Z>>>0>X>>>0):0){p=0;l=b;return p|0}b:do if(!(c[7127]&4)){X=c[7022]|0;c:do if(X){Z=28512;while(1){Y=c[Z>>2]|0;if(Y>>>0<=X>>>0?(ba=Z+4|0,(Y+(c[ba>>2]|0)|0)>>>0>X>>>0):0)break;Y=c[Z+8>>2]|0;if(!Y){H=118;break c}else Z=Y}o=T-$&_;if(o>>>0<2147483647){Y=KA(o|0)|0;if((Y|0)==((c[Z>>2]|0)+(c[ba>>2]|0)|0))if((Y|0)==(-1|0))ca=o;else{da=o;ea=Y;H=135;break b}else{fa=Y;ga=o;H=126}}else ca=0}else H=118;while(0);do if((H|0)==118){X=KA(0)|0;if((X|0)!=(-1|0)?(f=X,o=c[7135]|0,Y=o+-1|0,U=((Y&f|0)==0?0:(Y+f&0-o)-f|0)+aa|0,f=c[7124]|0,o=U+f|0,U>>>0>B>>>0&U>>>0<2147483647):0){Y=c[7126]|0;if(Y|0?o>>>0<=f>>>0|o>>>0>Y>>>0:0){ca=0;break}Y=KA(U|0)|0;if((Y|0)==(X|0)){da=U;ea=X;H=135;break b}else{fa=Y;ga=U;H=126}}else ca=0}while(0);do if((H|0)==126){U=0-ga|0;if(!(S>>>0>ga>>>0&(ga>>>0<2147483647&(fa|0)!=(-1|0))))if((fa|0)==(-1|0)){ca=0;break}else{da=ga;ea=fa;H=135;break b}Y=c[7136]|0;X=d-ga+Y&0-Y;if(X>>>0>=2147483647){da=ga;ea=fa;H=135;break b}if((KA(X|0)|0)==(-1|0)){KA(U|0)|0;ca=0;break}else{da=X+ga|0;ea=fa;H=135;break b}}while(0);c[7127]=c[7127]|4;ha=ca;H=133}else{ha=0;H=133}while(0);if(((H|0)==133?aa>>>0<2147483647:0)?(ca=KA(aa|0)|0,aa=KA(0)|0,fa=aa-ca|0,ga=fa>>>0>(B+40|0)>>>0,!((ca|0)==(-1|0)|ga^1|ca>>>0>>0&((ca|0)!=(-1|0)&(aa|0)!=(-1|0))^1)):0){da=ga?fa:ha;ea=ca;H=135}if((H|0)==135){ca=(c[7124]|0)+da|0;c[7124]=ca;if(ca>>>0>(c[7125]|0)>>>0)c[7125]=ca;ca=c[7022]|0;do if(ca){ha=28512;while(1){ia=c[ha>>2]|0;ja=ha+4|0;ka=c[ja>>2]|0;if((ea|0)==(ia+ka|0)){H=145;break}fa=c[ha+8>>2]|0;if(!fa)break;else ha=fa}if(((H|0)==145?(c[ha+12>>2]&8|0)==0:0)?ca>>>0>>0&ca>>>0>=ia>>>0:0){c[ja>>2]=ka+da;fa=ca+8|0;ga=(fa&7|0)==0?0:0-fa&7;fa=ca+ga|0;aa=(c[7019]|0)+(da-ga)|0;c[7022]=fa;c[7019]=aa;c[fa+4>>2]=aa|1;c[fa+aa+4>>2]=40;c[7023]=c[7138];break}if(ea>>>0<(c[7020]|0)>>>0)c[7020]=ea;aa=ea+da|0;fa=28512;while(1){if((c[fa>>2]|0)==(aa|0)){H=153;break}ga=c[fa+8>>2]|0;if(!ga)break;else fa=ga}if((H|0)==153?(c[fa+12>>2]&8|0)==0:0){c[fa>>2]=ea;ha=fa+4|0;c[ha>>2]=(c[ha>>2]|0)+da;ha=ea+8|0;ga=ea+((ha&7|0)==0?0:0-ha&7)|0;ha=aa+8|0;d=aa+((ha&7|0)==0?0:0-ha&7)|0;ha=ga+B|0;S=d-ga-B|0;c[ga+4>>2]=B|3;do if((d|0)!=(ca|0)){if((d|0)==(c[7021]|0)){ba=(c[7018]|0)+S|0;c[7018]=ba;c[7021]=ha;c[ha+4>>2]=ba|1;c[ha+ba>>2]=ba;break}ba=c[d+4>>2]|0;if((ba&3|0)==1){_=ba&-8;$=ba>>>3;d:do if(ba>>>0<256){T=c[d+8>>2]|0;X=c[d+12>>2]|0;if((X|0)==(T|0)){c[7016]=c[7016]&~(1<<$);break}else{c[T+12>>2]=X;c[X+8>>2]=T;break}}else{T=c[d+24>>2]|0;X=c[d+12>>2]|0;do if((X|0)==(d|0)){U=d+16|0;Y=U+4|0;o=c[Y>>2]|0;if(!o){f=c[U>>2]|0;if(!f){la=0;break}else{ma=f;na=U}}else{ma=o;na=Y}while(1){Y=ma+20|0;o=c[Y>>2]|0;if(o|0){ma=o;na=Y;continue}Y=ma+16|0;o=c[Y>>2]|0;if(!o)break;else{ma=o;na=Y}}c[na>>2]=0;la=ma}else{Y=c[d+8>>2]|0;c[Y+12>>2]=X;c[X+8>>2]=Y;la=X}while(0);if(!T)break;X=c[d+28>>2]|0;Y=28368+(X<<2)|0;do if((d|0)!=(c[Y>>2]|0)){c[T+16+(((c[T+16>>2]|0)!=(d|0)&1)<<2)>>2]=la;if(!la)break d}else{c[Y>>2]=la;if(la|0)break;c[7017]=c[7017]&~(1<>2]=T;X=d+16|0;Y=c[X>>2]|0;if(Y|0){c[la+16>>2]=Y;c[Y+24>>2]=la}Y=c[X+4>>2]|0;if(!Y)break;c[la+20>>2]=Y;c[Y+24>>2]=la}while(0);oa=d+_|0;pa=_+S|0}else{oa=d;pa=S}$=oa+4|0;c[$>>2]=c[$>>2]&-2;c[ha+4>>2]=pa|1;c[ha+pa>>2]=pa;$=pa>>>3;if(pa>>>0<256){ba=28104+($<<1<<2)|0;Z=c[7016]|0;Y=1<<$;if(!(Z&Y)){c[7016]=Z|Y;qa=ba;ra=ba+8|0}else{Y=ba+8|0;qa=c[Y>>2]|0;ra=Y}c[ra>>2]=ha;c[qa+12>>2]=ha;c[ha+8>>2]=qa;c[ha+12>>2]=ba;break}ba=pa>>>8;do if(!ba)sa=0;else{if(pa>>>0>16777215){sa=31;break}Y=(ba+1048320|0)>>>16&8;Z=ba<>>16&4;X=Z<<$;Z=(X+245760|0)>>>16&2;o=14-($|Y|Z)+(X<>>15)|0;sa=pa>>>(o+7|0)&1|o<<1}while(0);ba=28368+(sa<<2)|0;c[ha+28>>2]=sa;_=ha+16|0;c[_+4>>2]=0;c[_>>2]=0;_=c[7017]|0;o=1<>2]=ha;c[ha+24>>2]=ba;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}o=pa<<((sa|0)==31?0:25-(sa>>>1)|0);_=c[ba>>2]|0;while(1){if((c[_+4>>2]&-8|0)==(pa|0)){H=194;break}ta=_+16+(o>>>31<<2)|0;ba=c[ta>>2]|0;if(!ba){H=193;break}else{o=o<<1;_=ba}}if((H|0)==193){c[ta>>2]=ha;c[ha+24>>2]=_;c[ha+12>>2]=ha;c[ha+8>>2]=ha;break}else if((H|0)==194){o=_+8|0;ba=c[o>>2]|0;c[ba+12>>2]=ha;c[o>>2]=ha;c[ha+8>>2]=ba;c[ha+12>>2]=_;c[ha+24>>2]=0;break}}else{ba=(c[7019]|0)+S|0;c[7019]=ba;c[7022]=ha;c[ha+4>>2]=ba|1}while(0);p=ga+8|0;l=b;return p|0}ha=28512;while(1){S=c[ha>>2]|0;if(S>>>0<=ca>>>0?(ua=S+(c[ha+4>>2]|0)|0,ua>>>0>ca>>>0):0)break;ha=c[ha+8>>2]|0}ha=ua+-47|0;ga=ha+8|0;S=ha+((ga&7|0)==0?0:0-ga&7)|0;ga=ca+16|0;ha=S>>>0>>0?ca:S;S=ha+8|0;d=ea+8|0;aa=(d&7|0)==0?0:0-d&7;d=ea+aa|0;fa=da+-40-aa|0;c[7022]=d;c[7019]=fa;c[d+4>>2]=fa|1;c[d+fa+4>>2]=40;c[7023]=c[7138];fa=ha+4|0;c[fa>>2]=27;c[S>>2]=c[7128];c[S+4>>2]=c[7129];c[S+8>>2]=c[7130];c[S+12>>2]=c[7131];c[7128]=ea;c[7129]=da;c[7131]=0;c[7130]=S;S=ha+24|0;do{d=S;S=S+4|0;c[S>>2]=7}while((d+8|0)>>>0>>0);if((ha|0)!=(ca|0)){S=ha-ca|0;c[fa>>2]=c[fa>>2]&-2;c[ca+4>>2]=S|1;c[ha>>2]=S;d=S>>>3;if(S>>>0<256){aa=28104+(d<<1<<2)|0;ba=c[7016]|0;o=1<>2]|0;wa=o}c[wa>>2]=ca;c[va+12>>2]=ca;c[ca+8>>2]=va;c[ca+12>>2]=aa;break}aa=S>>>8;if(aa)if(S>>>0>16777215)xa=31;else{o=(aa+1048320|0)>>>16&8;ba=aa<>>16&4;d=ba<>>16&2;Z=14-(aa|o|ba)+(d<>>15)|0;xa=S>>>(Z+7|0)&1|Z<<1}else xa=0;Z=28368+(xa<<2)|0;c[ca+28>>2]=xa;c[ca+20>>2]=0;c[ga>>2]=0;ba=c[7017]|0;d=1<>2]=ca;c[ca+24>>2]=Z;c[ca+12>>2]=ca;c[ca+8>>2]=ca;break}d=S<<((xa|0)==31?0:25-(xa>>>1)|0);ba=c[Z>>2]|0;while(1){if((c[ba+4>>2]&-8|0)==(S|0)){H=216;break}ya=ba+16+(d>>>31<<2)|0;Z=c[ya>>2]|0;if(!Z){H=215;break}else{d=d<<1;ba=Z}}if((H|0)==215){c[ya>>2]=ca;c[ca+24>>2]=ba;c[ca+12>>2]=ca;c[ca+8>>2]=ca;break}else if((H|0)==216){d=ba+8|0;S=c[d>>2]|0;c[S+12>>2]=ca;c[d>>2]=ca;c[ca+8>>2]=S;c[ca+12>>2]=ba;c[ca+24>>2]=0;break}}}else{S=c[7020]|0;if((S|0)==0|ea>>>0>>0)c[7020]=ea;c[7128]=ea;c[7129]=da;c[7131]=0;c[7025]=c[7134];c[7024]=-1;S=0;do{d=28104+(S<<1<<2)|0;c[d+12>>2]=d;c[d+8>>2]=d;S=S+1|0}while((S|0)!=32);S=ea+8|0;ba=(S&7|0)==0?0:0-S&7;S=ea+ba|0;d=da+-40-ba|0;c[7022]=S;c[7019]=d;c[S+4>>2]=d|1;c[S+d+4>>2]=40;c[7023]=c[7138]}while(0);da=c[7019]|0;if(da>>>0>B>>>0){ea=da-B|0;c[7019]=ea;da=c[7022]|0;ca=da+B|0;c[7022]=ca;c[ca+4>>2]=ea|1;c[da+4>>2]=B|3;p=da+8|0;l=b;return p|0}}c[(Xm()|0)>>2]=12;p=0;l=b;return p|0}function Qm(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,z=0,A=0,B=0,C=0,D=0;if(!a)return;b=a+-8|0;d=c[7020]|0;e=c[a+-4>>2]|0;a=e&-8;f=b+a|0;do if(!(e&1)){g=c[b>>2]|0;if(!(e&3))return;h=b+(0-g)|0;i=g+a|0;if(h>>>0>>0)return;if((h|0)==(c[7021]|0)){j=f+4|0;k=c[j>>2]|0;if((k&3|0)!=3){l=h;m=i;n=h;break}c[7018]=i;c[j>>2]=k&-2;c[h+4>>2]=i|1;c[h+i>>2]=i;return}k=g>>>3;if(g>>>0<256){g=c[h+8>>2]|0;j=c[h+12>>2]|0;if((j|0)==(g|0)){c[7016]=c[7016]&~(1<>2]=j;c[j+8>>2]=g;l=h;m=i;n=h;break}}g=c[h+24>>2]|0;j=c[h+12>>2]|0;do if((j|0)==(h|0)){k=h+16|0;o=k+4|0;p=c[o>>2]|0;if(!p){q=c[k>>2]|0;if(!q){r=0;break}else{s=q;t=k}}else{s=p;t=o}while(1){o=s+20|0;p=c[o>>2]|0;if(p|0){s=p;t=o;continue}o=s+16|0;p=c[o>>2]|0;if(!p)break;else{s=p;t=o}}c[t>>2]=0;r=s}else{o=c[h+8>>2]|0;c[o+12>>2]=j;c[j+8>>2]=o;r=j}while(0);if(g){j=c[h+28>>2]|0;o=28368+(j<<2)|0;if((h|0)==(c[o>>2]|0)){c[o>>2]=r;if(!r){c[7017]=c[7017]&~(1<>2]|0)!=(h|0)&1)<<2)>>2]=r;if(!r){l=h;m=i;n=h;break}}c[r+24>>2]=g;j=h+16|0;o=c[j>>2]|0;if(o|0){c[r+16>>2]=o;c[o+24>>2]=r}o=c[j+4>>2]|0;if(o){c[r+20>>2]=o;c[o+24>>2]=r;l=h;m=i;n=h}else{l=h;m=i;n=h}}else{l=h;m=i;n=h}}else{l=b;m=a;n=b}while(0);if(n>>>0>=f>>>0)return;b=f+4|0;a=c[b>>2]|0;if(!(a&1))return;if(!(a&2)){r=c[7021]|0;if((f|0)==(c[7022]|0)){s=(c[7019]|0)+m|0;c[7019]=s;c[7022]=l;c[l+4>>2]=s|1;if((l|0)!=(r|0))return;c[7021]=0;c[7018]=0;return}if((f|0)==(r|0)){r=(c[7018]|0)+m|0;c[7018]=r;c[7021]=n;c[l+4>>2]=r|1;c[n+r>>2]=r;return}r=(a&-8)+m|0;s=a>>>3;do if(a>>>0<256){t=c[f+8>>2]|0;d=c[f+12>>2]|0;if((d|0)==(t|0)){c[7016]=c[7016]&~(1<>2]=d;c[d+8>>2]=t;break}}else{t=c[f+24>>2]|0;d=c[f+12>>2]|0;do if((d|0)==(f|0)){e=f+16|0;o=e+4|0;j=c[o>>2]|0;if(!j){p=c[e>>2]|0;if(!p){u=0;break}else{v=p;w=e}}else{v=j;w=o}while(1){o=v+20|0;j=c[o>>2]|0;if(j|0){v=j;w=o;continue}o=v+16|0;j=c[o>>2]|0;if(!j)break;else{v=j;w=o}}c[w>>2]=0;u=v}else{o=c[f+8>>2]|0;c[o+12>>2]=d;c[d+8>>2]=o;u=d}while(0);if(t|0){d=c[f+28>>2]|0;h=28368+(d<<2)|0;if((f|0)==(c[h>>2]|0)){c[h>>2]=u;if(!u){c[7017]=c[7017]&~(1<>2]|0)!=(f|0)&1)<<2)>>2]=u;if(!u)break}c[u+24>>2]=t;d=f+16|0;h=c[d>>2]|0;if(h|0){c[u+16>>2]=h;c[h+24>>2]=u}h=c[d+4>>2]|0;if(h|0){c[u+20>>2]=h;c[h+24>>2]=u}}}while(0);c[l+4>>2]=r|1;c[n+r>>2]=r;if((l|0)==(c[7021]|0)){c[7018]=r;return}else x=r}else{c[b>>2]=a&-2;c[l+4>>2]=m|1;c[n+m>>2]=m;x=m}m=x>>>3;if(x>>>0<256){n=28104+(m<<1<<2)|0;a=c[7016]|0;b=1<>2]|0;z=b}c[z>>2]=l;c[y+12>>2]=l;c[l+8>>2]=y;c[l+12>>2]=n;return}n=x>>>8;if(n)if(x>>>0>16777215)A=31;else{y=(n+1048320|0)>>>16&8;z=n<>>16&4;b=z<>>16&2;a=14-(n|y|z)+(b<>>15)|0;A=x>>>(a+7|0)&1|a<<1}else A=0;a=28368+(A<<2)|0;c[l+28>>2]=A;c[l+20>>2]=0;c[l+16>>2]=0;z=c[7017]|0;b=1<>>1)|0);n=c[a>>2]|0;while(1){if((c[n+4>>2]&-8|0)==(x|0)){B=73;break}C=n+16+(y>>>31<<2)|0;m=c[C>>2]|0;if(!m){B=72;break}else{y=y<<1;n=m}}if((B|0)==72){c[C>>2]=l;c[l+24>>2]=n;c[l+12>>2]=l;c[l+8>>2]=l;break}else if((B|0)==73){y=n+8|0;t=c[y>>2]|0;c[t+12>>2]=l;c[y>>2]=l;c[l+8>>2]=t;c[l+12>>2]=n;c[l+24>>2]=0;break}}else{c[7017]=z|b;c[a>>2]=l;c[l+24>>2]=a;c[l+12>>2]=l;c[l+8>>2]=l}while(0);l=(c[7024]|0)+-1|0;c[7024]=l;if(!l)D=28520;else return;while(1){l=c[D>>2]|0;if(!l)break;else D=l+8|0}c[7024]=-1;return}function Rm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!a){d=Pm(b)|0;return d|0}if(b>>>0>4294967231){c[(Xm()|0)>>2]=12;d=0;return d|0}e=Sm(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(e|0){d=e+8|0;return d|0}e=Pm(b)|0;if(!e){d=0;return d|0}f=c[a+-4>>2]|0;g=(f&-8)-((f&3|0)==0?8:4)|0;EA(e|0,a|0,(g>>>0>>0?g:b)|0)|0;Qm(a);d=e;return d|0}function Sm(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;d=a+4|0;e=c[d>>2]|0;f=e&-8;g=a+f|0;if(!(e&3)){if(b>>>0<256){h=0;return h|0}if(f>>>0>=(b+4|0)>>>0?(f-b|0)>>>0<=c[7136]<<1>>>0:0){h=a;return h|0}h=0;return h|0}if(f>>>0>=b>>>0){i=f-b|0;if(i>>>0<=15){h=a;return h|0}j=a+b|0;c[d>>2]=e&1|b|2;c[j+4>>2]=i|3;k=j+i+4|0;c[k>>2]=c[k>>2]|1;Tm(j,i);h=a;return h|0}if((g|0)==(c[7022]|0)){i=(c[7019]|0)+f|0;j=i-b|0;k=a+b|0;if(i>>>0<=b>>>0){h=0;return h|0}c[d>>2]=e&1|b|2;c[k+4>>2]=j|1;c[7022]=k;c[7019]=j;h=a;return h|0}if((g|0)==(c[7021]|0)){j=(c[7018]|0)+f|0;if(j>>>0>>0){h=0;return h|0}k=j-b|0;i=e&1;if(k>>>0>15){l=a+b|0;m=l+k|0;c[d>>2]=i|b|2;c[l+4>>2]=k|1;c[m>>2]=k;n=m+4|0;c[n>>2]=c[n>>2]&-2;o=l;p=k}else{c[d>>2]=i|j|2;i=a+j+4|0;c[i>>2]=c[i>>2]|1;o=0;p=0}c[7018]=p;c[7021]=o;h=a;return h|0}o=c[g+4>>2]|0;if(o&2|0){h=0;return h|0}p=(o&-8)+f|0;if(p>>>0>>0){h=0;return h|0}f=p-b|0;i=o>>>3;do if(o>>>0<256){j=c[g+8>>2]|0;k=c[g+12>>2]|0;if((k|0)==(j|0)){c[7016]=c[7016]&~(1<>2]=k;c[k+8>>2]=j;break}}else{j=c[g+24>>2]|0;k=c[g+12>>2]|0;do if((k|0)==(g|0)){l=g+16|0;n=l+4|0;m=c[n>>2]|0;if(!m){q=c[l>>2]|0;if(!q){r=0;break}else{s=q;t=l}}else{s=m;t=n}while(1){n=s+20|0;m=c[n>>2]|0;if(m|0){s=m;t=n;continue}n=s+16|0;m=c[n>>2]|0;if(!m)break;else{s=m;t=n}}c[t>>2]=0;r=s}else{n=c[g+8>>2]|0;c[n+12>>2]=k;c[k+8>>2]=n;r=k}while(0);if(j|0){k=c[g+28>>2]|0;n=28368+(k<<2)|0;if((g|0)==(c[n>>2]|0)){c[n>>2]=r;if(!r){c[7017]=c[7017]&~(1<>2]|0)!=(g|0)&1)<<2)>>2]=r;if(!r)break}c[r+24>>2]=j;k=g+16|0;n=c[k>>2]|0;if(n|0){c[r+16>>2]=n;c[n+24>>2]=r}n=c[k+4>>2]|0;if(n|0){c[r+20>>2]=n;c[n+24>>2]=r}}}while(0);r=e&1;if(f>>>0<16){c[d>>2]=p|r|2;e=a+p+4|0;c[e>>2]=c[e>>2]|1;h=a;return h|0}else{e=a+b|0;c[d>>2]=r|b|2;c[e+4>>2]=f|3;b=e+f+4|0;c[b>>2]=c[b>>2]|1;Tm(e,f);h=a;return h|0}return 0}function Tm(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;d=a+b|0;e=c[a+4>>2]|0;do if(!(e&1)){f=c[a>>2]|0;if(!(e&3))return;g=a+(0-f)|0;h=f+b|0;if((g|0)==(c[7021]|0)){i=d+4|0;j=c[i>>2]|0;if((j&3|0)!=3){k=g;l=h;break}c[7018]=h;c[i>>2]=j&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}j=f>>>3;if(f>>>0<256){f=c[g+8>>2]|0;i=c[g+12>>2]|0;if((i|0)==(f|0)){c[7016]=c[7016]&~(1<>2]=i;c[i+8>>2]=f;k=g;l=h;break}}f=c[g+24>>2]|0;i=c[g+12>>2]|0;do if((i|0)==(g|0)){j=g+16|0;m=j+4|0;n=c[m>>2]|0;if(!n){o=c[j>>2]|0;if(!o){p=0;break}else{q=o;r=j}}else{q=n;r=m}while(1){m=q+20|0;n=c[m>>2]|0;if(n|0){q=n;r=m;continue}m=q+16|0;n=c[m>>2]|0;if(!n)break;else{q=n;r=m}}c[r>>2]=0;p=q}else{m=c[g+8>>2]|0;c[m+12>>2]=i;c[i+8>>2]=m;p=i}while(0);if(f){i=c[g+28>>2]|0;m=28368+(i<<2)|0;if((g|0)==(c[m>>2]|0)){c[m>>2]=p;if(!p){c[7017]=c[7017]&~(1<>2]|0)!=(g|0)&1)<<2)>>2]=p;if(!p){k=g;l=h;break}}c[p+24>>2]=f;i=g+16|0;m=c[i>>2]|0;if(m|0){c[p+16>>2]=m;c[m+24>>2]=p}m=c[i+4>>2]|0;if(m){c[p+20>>2]=m;c[m+24>>2]=p;k=g;l=h}else{k=g;l=h}}else{k=g;l=h}}else{k=a;l=b}while(0);b=d+4|0;a=c[b>>2]|0;if(!(a&2)){p=c[7021]|0;if((d|0)==(c[7022]|0)){q=(c[7019]|0)+l|0;c[7019]=q;c[7022]=k;c[k+4>>2]=q|1;if((k|0)!=(p|0))return;c[7021]=0;c[7018]=0;return}if((d|0)==(p|0)){p=(c[7018]|0)+l|0;c[7018]=p;c[7021]=k;c[k+4>>2]=p|1;c[k+p>>2]=p;return}p=(a&-8)+l|0;q=a>>>3;do if(a>>>0<256){r=c[d+8>>2]|0;e=c[d+12>>2]|0;if((e|0)==(r|0)){c[7016]=c[7016]&~(1<>2]=e;c[e+8>>2]=r;break}}else{r=c[d+24>>2]|0;e=c[d+12>>2]|0;do if((e|0)==(d|0)){m=d+16|0;i=m+4|0;n=c[i>>2]|0;if(!n){j=c[m>>2]|0;if(!j){s=0;break}else{t=j;u=m}}else{t=n;u=i}while(1){i=t+20|0;n=c[i>>2]|0;if(n|0){t=n;u=i;continue}i=t+16|0;n=c[i>>2]|0;if(!n)break;else{t=n;u=i}}c[u>>2]=0;s=t}else{i=c[d+8>>2]|0;c[i+12>>2]=e;c[e+8>>2]=i;s=e}while(0);if(r|0){e=c[d+28>>2]|0;h=28368+(e<<2)|0;if((d|0)==(c[h>>2]|0)){c[h>>2]=s;if(!s){c[7017]=c[7017]&~(1<>2]|0)!=(d|0)&1)<<2)>>2]=s;if(!s)break}c[s+24>>2]=r;e=d+16|0;h=c[e>>2]|0;if(h|0){c[s+16>>2]=h;c[h+24>>2]=s}h=c[e+4>>2]|0;if(h|0){c[s+20>>2]=h;c[h+24>>2]=s}}}while(0);c[k+4>>2]=p|1;c[k+p>>2]=p;if((k|0)==(c[7021]|0)){c[7018]=p;return}else v=p}else{c[b>>2]=a&-2;c[k+4>>2]=l|1;c[k+l>>2]=l;v=l}l=v>>>3;if(v>>>0<256){a=28104+(l<<1<<2)|0;b=c[7016]|0;p=1<>2]|0;x=p}c[x>>2]=k;c[w+12>>2]=k;c[k+8>>2]=w;c[k+12>>2]=a;return}a=v>>>8;if(a)if(v>>>0>16777215)y=31;else{w=(a+1048320|0)>>>16&8;x=a<>>16&4;p=x<>>16&2;b=14-(a|w|x)+(p<>>15)|0;y=v>>>(b+7|0)&1|b<<1}else y=0;b=28368+(y<<2)|0;c[k+28>>2]=y;c[k+20>>2]=0;c[k+16>>2]=0;x=c[7017]|0;p=1<>2]=k;c[k+24>>2]=b;c[k+12>>2]=k;c[k+8>>2]=k;return}p=v<<((y|0)==31?0:25-(y>>>1)|0);y=c[b>>2]|0;while(1){if((c[y+4>>2]&-8|0)==(v|0)){z=69;break}A=y+16+(p>>>31<<2)|0;b=c[A>>2]|0;if(!b){z=68;break}else{p=p<<1;y=b}}if((z|0)==68){c[A>>2]=k;c[k+24>>2]=y;c[k+12>>2]=k;c[k+8>>2]=k;return}else if((z|0)==69){z=y+8|0;A=c[z>>2]|0;c[A+12>>2]=k;c[z>>2]=k;c[k+8>>2]=A;c[k+12>>2]=y;c[k+24>>2]=0;return}}function Um(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=_m(c[a+60>>2]|0)|0;a=Wm(Sa(6,d|0)|0)|0;l=b;return a|0}function Vm(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=l;l=l+32|0;f=e;g=e+20|0;c[f>>2]=c[a+60>>2];c[f+4>>2]=0;c[f+8>>2]=b;c[f+12>>2]=g;c[f+16>>2]=d;if((Wm(Ua(140,f|0)|0)|0)<0){c[g>>2]=-1;h=-1}else h=c[g>>2]|0;l=e;return h|0}function Wm(a){a=a|0;var b=0;if(a>>>0>4294963200){c[(Xm()|0)>>2]=0-a;b=-1}else b=a;return b|0}function Xm(){return (Ym()|0)+64|0}function Ym(){return Zm()|0}function Zm(){return 2308}function _m(a){a=a|0;return a|0}function $m(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=l;l=l+48|0;f=e+16|0;g=e;h=e+32|0;i=a+28|0;j=c[i>>2]|0;c[h>>2]=j;k=a+20|0;m=(c[k>>2]|0)-j|0;c[h+4>>2]=m;c[h+8>>2]=b;c[h+12>>2]=d;b=m+d|0;m=a+60|0;c[g>>2]=c[m>>2];c[g+4>>2]=h;c[g+8>>2]=2;j=Wm(Wa(146,g|0)|0)|0;a:do if((b|0)!=(j|0)){g=2;n=b;o=h;p=j;while(1){if((p|0)<0)break;n=n-p|0;q=c[o+4>>2]|0;r=p>>>0>q>>>0;s=r?o+8|0:o;t=(r<<31>>31)+g|0;u=p-(r?q:0)|0;c[s>>2]=(c[s>>2]|0)+u;q=s+4|0;c[q>>2]=(c[q>>2]|0)-u;c[f>>2]=c[m>>2];c[f+4>>2]=s;c[f+8>>2]=t;p=Wm(Wa(146,f|0)|0)|0;if((n|0)==(p|0)){v=3;break a}else{g=t;o=s}}c[a+16>>2]=0;c[i>>2]=0;c[k>>2]=0;c[a>>2]=c[a>>2]|32;if((g|0)==2)w=0;else w=d-(c[o+4>>2]|0)|0}else v=3;while(0);if((v|0)==3){v=c[a+44>>2]|0;c[a+16>>2]=v+(c[a+48>>2]|0);c[i>>2]=v;c[k>>2]=v;w=d}l=e;return w|0}function an(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+32|0;g=f;c[b+36>>2]=6;if((c[b>>2]&64|0)==0?(c[g>>2]=c[b+60>>2],c[g+4>>2]=21523,c[g+8>>2]=f+16,La(54,g|0)|0):0)a[b+75>>0]=-1;g=$m(b,d,e)|0;l=f;return g|0}function bn(){return 28584}function cn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=0;while(1){if((d[21209+f>>0]|0)==(b|0)){g=2;break}h=f+1|0;if((h|0)==87){i=21297;j=87;g=5;break}else f=h}if((g|0)==2)if(!f)k=21297;else{i=21297;j=f;g=5}if((g|0)==5)while(1){g=0;f=i;do{b=f;f=f+1|0}while((a[b>>0]|0)!=0);j=j+-1|0;if(!j){k=f;break}else{i=f;g=5}}return dn(k,c[e+20>>2]|0)|0}function dn(a,b){a=a|0;b=b|0;return en(a,b)|0}function en(a,b){a=a|0;b=b|0;var d=0;if(!b)d=0;else d=fn(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (d|0?d:a)|0}function fn(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,q=0,r=0,s=0,t=0;f=(c[b>>2]|0)+1794895138|0;g=gn(c[b+8>>2]|0,f)|0;h=gn(c[b+12>>2]|0,f)|0;i=gn(c[b+16>>2]|0,f)|0;a:do if((g>>>0>>2>>>0?(j=d-(g<<2)|0,h>>>0>>0&i>>>0>>0):0)?((i|h)&3|0)==0:0){j=h>>>2;k=i>>>2;l=0;m=g;while(1){n=m>>>1;o=l+n|0;p=o<<1;q=p+j|0;r=gn(c[b+(q<<2)>>2]|0,f)|0;s=gn(c[b+(q+1<<2)>>2]|0,f)|0;if(!(s>>>0>>0&r>>>0<(d-s|0)>>>0)){t=0;break a}if(a[b+(s+r)>>0]|0){t=0;break a}r=hn(e,b+s|0)|0;if(!r)break;s=(r|0)<0;if((m|0)==1){t=0;break a}else{l=s?l:o;m=s?n:m-n|0}}m=p+k|0;l=gn(c[b+(m<<2)>>2]|0,f)|0;j=gn(c[b+(m+1<<2)>>2]|0,f)|0;if(j>>>0>>0&l>>>0<(d-j|0)>>>0)t=(a[b+(j+l)>>0]|0)==0?b+j|0:0;else t=0}else t=0;while(0);return t|0}function gn(a,b){a=a|0;b=b|0;var c=0;c=PA(a|0)|0;return ((b|0)==0?a:c)|0}function hn(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24){f=e;g=d}else{d=c;c=b;do{c=c+1|0;d=d+1|0;b=a[c>>0]|0;e=a[d>>0]|0}while(!(b<<24>>24==0?1:b<<24>>24!=e<<24>>24));f=e;g=b}return (g&255)-(f&255)|0}function jn(a){a=a|0;return cn(a,c[(kn()|0)+188>>2]|0)|0}function kn(){return Zm()|0}function ln(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;g=l;l=l+128|0;h=g+124|0;i=g;j=i;k=2812;m=j+124|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(m|0));if((d+-1|0)>>>0>2147483646)if(!d){n=h;o=1;p=4}else{c[(Xm()|0)>>2]=75;q=-1}else{n=b;o=d;p=4}if((p|0)==4){p=-2-n|0;d=o>>>0>p>>>0?p:o;c[i+48>>2]=d;o=i+20|0;c[o>>2]=n;c[i+44>>2]=n;p=n+d|0;n=i+16|0;c[n>>2]=p;c[i+28>>2]=p;p=mn(i,e,f)|0;if(!d)q=p;else{d=c[o>>2]|0;a[d+(((d|0)==(c[n>>2]|0))<<31>>31)>>0]=0;q=p}}l=g;return q|0}function mn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=l;l=l+224|0;g=f+120|0;h=f+80|0;i=f;j=f+136|0;k=h;m=k+40|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));c[g>>2]=c[e>>2];if((nn(0,d,g,i,h)|0)<0)n=-1;else{if((c[b+76>>2]|0)>-1)o=on(b)|0;else o=0;e=c[b>>2]|0;k=e&32;if((a[b+74>>0]|0)<1)c[b>>2]=e&-33;e=b+48|0;if(!(c[e>>2]|0)){m=b+44|0;p=c[m>>2]|0;c[m>>2]=j;q=b+28|0;c[q>>2]=j;r=b+20|0;c[r>>2]=j;c[e>>2]=80;s=b+16|0;c[s>>2]=j+80;j=nn(b,d,g,i,h)|0;if(!p)t=j;else{Za[c[b+36>>2]&31](b,0,0)|0;u=(c[r>>2]|0)==0?-1:j;c[m>>2]=p;c[e>>2]=0;c[s>>2]=0;c[q>>2]=0;c[r>>2]=0;t=u}}else t=nn(b,d,g,i,h)|0;h=c[b>>2]|0;c[b>>2]=h|k;if(o|0)pn(b);n=(h&32|0)==0?t:-1}l=f;return n|0}function nn(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,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,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0;j=l;l=l+64|0;k=j+16|0;m=j;n=j+24|0;o=j+8|0;p=j+20|0;c[k>>2]=e;q=(d|0)!=0;r=n+40|0;s=r;t=n+39|0;n=o+4|0;u=0;v=0;w=0;x=e;a:while(1){do if((v|0)>-1)if((u|0)>(2147483647-v|0)){c[(Xm()|0)>>2]=75;y=-1;break}else{y=u+v|0;break}else y=v;while(0);e=a[x>>0]|0;if(!(e<<24>>24)){z=87;break}else{B=e;C=x}b:while(1){switch(B<<24>>24){case 37:{D=C;E=C;z=9;break b;break}case 0:{F=C;G=C;break b;break}default:{}}e=C+1|0;c[k>>2]=e;B=a[e>>0]|0;C=e}c:do if((z|0)==9)while(1){z=0;if((a[E+1>>0]|0)!=37){F=D;G=E;break c}e=D+1|0;H=E+2|0;c[k>>2]=H;if((a[H>>0]|0)==37){D=e;E=H;z=9}else{F=e;G=H;break}}while(0);H=F-x|0;if(q)qn(d,x,H);if(H|0){u=H;v=y;x=G;continue}H=G+1|0;e=(a[H>>0]|0)+-48|0;if(e>>>0<10){I=(a[G+2>>0]|0)==36;J=I?e:-1;K=I?1:w;L=I?G+3|0:H}else{J=-1;K=w;L=H}c[k>>2]=L;H=a[L>>0]|0;I=(H<<24>>24)+-32|0;d:do if(I>>>0<32){e=0;M=H;N=I;O=L;while(1){P=1<>2]=P;U=a[P>>0]|0;N=(U<<24>>24)+-32|0;if(N>>>0>=32){Q=T;R=U;S=P;break}else{e=T;M=U;O=P}}}else{Q=0;R=H;S=L}while(0);if(R<<24>>24==42){H=S+1|0;I=(a[H>>0]|0)+-48|0;if(I>>>0<10?(a[S+2>>0]|0)==36:0){c[i+(I<<2)>>2]=10;V=c[g+((a[H>>0]|0)+-48<<3)>>2]|0;W=1;X=S+3|0}else{if(K|0){Y=-1;break}if(q){I=(c[f>>2]|0)+(4-1)&~(4-1);O=c[I>>2]|0;c[f>>2]=I+4;V=O;W=0;X=H}else{V=0;W=0;X=H}}c[k>>2]=X;H=(V|0)<0;Z=H?0-V|0:V;_=H?Q|8192:Q;$=W;aa=X}else{H=rn(k)|0;if((H|0)<0){Y=-1;break}Z=H;_=Q;$=K;aa=c[k>>2]|0}do if((a[aa>>0]|0)==46){if((a[aa+1>>0]|0)!=42){c[k>>2]=aa+1;H=rn(k)|0;ba=H;ca=c[k>>2]|0;break}H=aa+2|0;O=(a[H>>0]|0)+-48|0;if(O>>>0<10?(a[aa+3>>0]|0)==36:0){c[i+(O<<2)>>2]=10;O=c[g+((a[H>>0]|0)+-48<<3)>>2]|0;I=aa+4|0;c[k>>2]=I;ba=O;ca=I;break}if($|0){Y=-1;break a}if(q){I=(c[f>>2]|0)+(4-1)&~(4-1);O=c[I>>2]|0;c[f>>2]=I+4;da=O}else da=0;c[k>>2]=H;ba=da;ca=H}else{ba=-1;ca=aa}while(0);H=0;O=ca;while(1){if(((a[O>>0]|0)+-65|0)>>>0>57){Y=-1;break a}ea=O+1|0;c[k>>2]=ea;fa=a[(a[O>>0]|0)+-65+(23101+(H*58|0))>>0]|0;ga=fa&255;if((ga+-1|0)>>>0<8){H=ga;O=ea}else break}if(!(fa<<24>>24)){Y=-1;break}I=(J|0)>-1;do if(fa<<24>>24==19)if(I){Y=-1;break a}else z=49;else{if(I){c[i+(J<<2)>>2]=ga;M=g+(J<<3)|0;e=c[M+4>>2]|0;N=m;c[N>>2]=c[M>>2];c[N+4>>2]=e;z=49;break}if(!q){Y=0;break a}sn(m,ga,f)}while(0);if((z|0)==49?(z=0,!q):0){u=0;v=y;w=$;x=ea;continue}I=a[O>>0]|0;e=(H|0)!=0&(I&15|0)==3?I&-33:I;I=_&-65537;N=(_&8192|0)==0?_:I;e:do switch(e|0){case 110:{switch((H&255)<<24>>24){case 0:{c[c[m>>2]>>2]=y;u=0;v=y;w=$;x=ea;continue a;break}case 1:{c[c[m>>2]>>2]=y;u=0;v=y;w=$;x=ea;continue a;break}case 2:{M=c[m>>2]|0;c[M>>2]=y;c[M+4>>2]=((y|0)<0)<<31>>31;u=0;v=y;w=$;x=ea;continue a;break}case 3:{b[c[m>>2]>>1]=y;u=0;v=y;w=$;x=ea;continue a;break}case 4:{a[c[m>>2]>>0]=y;u=0;v=y;w=$;x=ea;continue a;break}case 6:{c[c[m>>2]>>2]=y;u=0;v=y;w=$;x=ea;continue a;break}case 7:{M=c[m>>2]|0;c[M>>2]=y;c[M+4>>2]=((y|0)<0)<<31>>31;u=0;v=y;w=$;x=ea;continue a;break}default:{u=0;v=y;w=$;x=ea;continue a}}break}case 112:{ha=120;ia=ba>>>0>8?ba:8;ja=N|8;z=61;break}case 88:case 120:{ha=e;ia=ba;ja=N;z=61;break}case 111:{M=m;P=c[M>>2]|0;U=c[M+4>>2]|0;M=un(P,U,r)|0;T=s-M|0;ka=M;la=0;ma=23565;na=(N&8|0)==0|(ba|0)>(T|0)?ba:T+1|0;oa=N;pa=P;qa=U;z=67;break}case 105:case 100:{U=m;P=c[U>>2]|0;T=c[U+4>>2]|0;if((T|0)<0){U=yA(0,0,P|0,T|0)|0;M=A;ra=m;c[ra>>2]=U;c[ra+4>>2]=M;sa=1;ta=23565;ua=U;va=M;z=66;break e}else{sa=(N&2049|0)!=0&1;ta=(N&2048|0)==0?((N&1|0)==0?23565:23567):23566;ua=P;va=T;z=66;break e}break}case 117:{T=m;sa=0;ta=23565;ua=c[T>>2]|0;va=c[T+4>>2]|0;z=66;break}case 99:{a[t>>0]=c[m>>2];wa=t;xa=0;ya=23565;za=r;Aa=1;Ba=I;break}case 109:{Ca=jn(c[(Xm()|0)>>2]|0)|0;z=71;break}case 115:{T=c[m>>2]|0;Ca=T|0?T:23575;z=71;break}case 67:{c[o>>2]=c[m>>2];c[n>>2]=0;c[m>>2]=o;Da=-1;Ea=o;z=75;break}case 83:{T=c[m>>2]|0;if(!ba){xn(d,32,Z,0,N);Fa=0;z=84}else{Da=ba;Ea=T;z=75}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{u=zn(d,+h[m>>3],Z,ba,N,e)|0;v=y;w=$;x=ea;continue a;break}default:{wa=x;xa=0;ya=23565;za=r;Aa=ba;Ba=N}}while(0);f:do if((z|0)==61){z=0;e=m;H=c[e>>2]|0;O=c[e+4>>2]|0;e=tn(H,O,r,ha&32)|0;T=(ja&8|0)==0|(H|0)==0&(O|0)==0;ka=e;la=T?0:2;ma=T?23565:23565+(ha>>4)|0;na=ia;oa=ja;pa=H;qa=O;z=67}else if((z|0)==66){z=0;ka=vn(ua,va,r)|0;la=sa;ma=ta;na=ba;oa=N;pa=ua;qa=va;z=67}else if((z|0)==71){z=0;O=wn(Ca,0,ba)|0;H=(O|0)==0;wa=Ca;xa=0;ya=23565;za=H?Ca+ba|0:O;Aa=H?ba:O-Ca|0;Ba=I}else if((z|0)==75){z=0;O=Ea;H=0;T=0;while(1){e=c[O>>2]|0;if(!e){Ga=H;Ha=T;break}P=yn(p,e)|0;if((P|0)<0|P>>>0>(Da-H|0)>>>0){Ga=H;Ha=P;break}e=P+H|0;if(Da>>>0>e>>>0){O=O+4|0;H=e;T=P}else{Ga=e;Ha=P;break}}if((Ha|0)<0){Y=-1;break a}xn(d,32,Z,Ga,N);if(!Ga){Fa=0;z=84}else{T=Ea;H=0;while(1){O=c[T>>2]|0;if(!O){Fa=Ga;z=84;break f}P=yn(p,O)|0;H=P+H|0;if((H|0)>(Ga|0)){Fa=Ga;z=84;break f}qn(d,p,P);if(H>>>0>=Ga>>>0){Fa=Ga;z=84;break}else T=T+4|0}}}while(0);if((z|0)==67){z=0;I=(pa|0)!=0|(qa|0)!=0;T=(na|0)!=0|I;H=((I^1)&1)+(s-ka)|0;wa=T?ka:r;xa=la;ya=ma;za=r;Aa=T?((na|0)>(H|0)?na:H):na;Ba=(na|0)>-1?oa&-65537:oa}else if((z|0)==84){z=0;xn(d,32,Z,Fa,N^8192);u=(Z|0)>(Fa|0)?Z:Fa;v=y;w=$;x=ea;continue}H=za-wa|0;T=(Aa|0)<(H|0)?H:Aa;I=T+xa|0;P=(Z|0)<(I|0)?I:Z;xn(d,32,P,I,Ba);qn(d,ya,xa);xn(d,48,P,I,Ba^65536);xn(d,48,T,H,0);qn(d,wa,H);xn(d,32,P,I,Ba^8192);u=P;v=y;w=$;x=ea}g:do if((z|0)==87)if(!d)if(!w)Y=0;else{ea=1;while(1){x=c[i+(ea<<2)>>2]|0;if(!x){Ia=ea;break}sn(g+(ea<<3)|0,x,f);ea=ea+1|0;if((ea|0)>=10){Y=1;break g}}while(1){if(c[i+(Ia<<2)>>2]|0){Y=-1;break g}Ia=Ia+1|0;if((Ia|0)>=10){Y=1;break}}}else Y=y;while(0);l=j;return Y|0}function on(a){a=a|0;return 0}function pn(a){a=a|0;return}function qn(a,b,d){a=a|0;b=b|0;d=d|0;if(!(c[a>>2]&32))Fn(b,d,a)|0;return}function rn(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;e=(a[d>>0]|0)+-48|0;if(e>>>0<10){f=0;g=d;d=e;while(1){e=d+(f*10|0)|0;g=g+1|0;c[b>>2]=g;d=(a[g>>0]|0)+-48|0;if(d>>>0>=10){h=e;break}else f=e}}else h=0;return h|0}function sn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0;a:do if(b>>>0<=20)do switch(b|0){case 9:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;c[a>>2]=f;break a;break}case 10:{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;c[f+4>>2]=((e|0)<0)<<31>>31;break a;break}case 11:{e=(c[d>>2]|0)+(4-1)&~(4-1);f=c[e>>2]|0;c[d>>2]=e+4;e=a;c[e>>2]=f;c[e+4>>2]=0;break a;break}case 12:{e=(c[d>>2]|0)+(8-1)&~(8-1);f=e;g=c[f>>2]|0;i=c[f+4>>2]|0;c[d>>2]=e+8;e=a;c[e>>2]=g;c[e+4>>2]=i;break a;break}case 13:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&65535)<<16>>16;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 14:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&65535;c[i+4>>2]=0;break a;break}case 15:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=(e&255)<<24>>24;e=a;c[e>>2]=i;c[e+4>>2]=((i|0)<0)<<31>>31;break a;break}case 16:{i=(c[d>>2]|0)+(4-1)&~(4-1);e=c[i>>2]|0;c[d>>2]=i+4;i=a;c[i>>2]=e&255;c[i+4>>2]=0;break a;break}case 17:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}case 18:{i=(c[d>>2]|0)+(8-1)&~(8-1);j=+h[i>>3];c[d>>2]=i+8;h[a>>3]=j;break a;break}default:break a}while(0);while(0);return}function tn(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0;if((b|0)==0&(c|0)==0)g=e;else{h=e;e=c;c=b;while(1){b=h+-1|0;a[b>>0]=d[23613+(c&15)>>0]|0|f;c=CA(c|0,e|0,4)|0;e=A;if((c|0)==0&(e|0)==0){g=b;break}else h=b}}return g|0}function un(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;if((b|0)==0&(c|0)==0)e=d;else{f=d;d=c;c=b;while(1){b=f+-1|0;a[b>>0]=c&7|48;c=CA(c|0,d|0,3)|0;d=A;if((c|0)==0&(d|0)==0){e=b;break}else f=b}}return e|0}function vn(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(c>>>0>0|(c|0)==0&b>>>0>4294967295){e=d;f=b;g=c;while(1){c=NA(f|0,g|0,10,0)|0;e=e+-1|0;a[e>>0]=c&255|48;c=f;f=HA(f|0,g|0,10,0)|0;if(!(g>>>0>9|(g|0)==9&c>>>0>4294967295))break;else g=A}h=f;i=e}else{h=b;i=d}if(!h)j=i;else{d=h;h=i;while(1){i=h+-1|0;a[i>>0]=(d>>>0)%10|0|48;if(d>>>0<10){j=i;break}else{d=(d>>>0)/10|0;h=i}}}return j|0}function wn(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=d&255;g=(e|0)!=0;a:do if(g&(b&3|0)!=0){h=d&255;i=b;j=e;while(1){if((a[i>>0]|0)==h<<24>>24){k=i;l=j;m=6;break a}n=i+1|0;o=j+-1|0;p=(o|0)!=0;if(p&(n&3|0)!=0){i=n;j=o}else{q=n;r=o;s=p;m=5;break}}}else{q=b;r=e;s=g;m=5}while(0);if((m|0)==5)if(s){k=q;l=r;m=6}else{t=q;u=0}b:do if((m|0)==6){q=d&255;if((a[k>>0]|0)==q<<24>>24){t=k;u=l}else{r=P(f,16843009)|0;c:do if(l>>>0>3){s=k;g=l;while(1){e=c[s>>2]^r;if((e&-2139062144^-2139062144)&e+-16843009|0)break;e=s+4|0;b=g+-4|0;if(b>>>0>3){s=e;g=b}else{v=e;w=b;m=11;break c}}x=s;y=g}else{v=k;w=l;m=11}while(0);if((m|0)==11)if(!w){t=v;u=0;break}else{x=v;y=w}while(1){if((a[x>>0]|0)==q<<24>>24){t=x;u=y;break b}r=x+1|0;y=y+-1|0;if(!y){t=r;u=0;break}else x=r}}}while(0);return (u|0?t:0)|0}function xn(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,h=0;f=l;l=l+256|0;g=f;if((c|0)>(d|0)&(e&73728|0)==0){e=c-d|0;zA(g|0,b|0,(e>>>0<256?e:256)|0)|0;if(e>>>0>255){b=c-d|0;d=e;do{qn(a,g,256);d=d+-256|0}while(d>>>0>255);h=b&255}else h=e;qn(a,g,h)}l=f;return}function yn(a,b){a=a|0;b=b|0;var c=0;if(!a)c=0;else c=Dn(a,b,0)|0;return c|0}function zn(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,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0.0,D=0,E=0.0,F=0,G=0,H=0,I=0.0,J=0,K=0,L=0,M=0,N=0.0,O=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.0,fa=0.0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0;j=l;l=l+560|0;k=j+8|0;m=j;n=j+524|0;o=n;p=j+512|0;c[m>>2]=0;q=p+12|0;An(e)|0;if((A|0)<0){r=-e;s=1;t=23582}else{r=e;s=(h&2049|0)!=0&1;t=(h&2048|0)==0?((h&1|0)==0?23583:23588):23585}An(r)|0;u=A&2146435072;do if(u>>>0<2146435072|(u|0)==2146435072&0<0){e=+Bn(r,m)*2.0;v=e!=0.0;if(v)c[m>>2]=(c[m>>2]|0)+-1;w=i|32;if((w|0)==97){x=i&32;y=(x|0)==0?t:t+9|0;z=s|2;B=12-g|0;do if(!(g>>>0>11|(B|0)==0)){C=8.0;D=B;do{D=D+-1|0;C=C*16.0}while((D|0)!=0);if((a[y>>0]|0)==45){E=-(C+(-e-C));break}else{E=e+C-C;break}}else E=e;while(0);B=c[m>>2]|0;D=(B|0)<0?0-B|0:B;F=vn(D,((D|0)<0)<<31>>31,q)|0;if((F|0)==(q|0)){D=p+11|0;a[D>>0]=48;G=D}else G=F;a[G+-1>>0]=(B>>31&2)+43;B=G+-2|0;a[B>>0]=i+15;F=(g|0)<1;D=(h&8|0)==0;H=n;I=E;while(1){J=~~I;K=H+1|0;a[H>>0]=d[23613+J>>0]|x;I=(I-+(J|0))*16.0;if((K-o|0)==1?!(D&(F&I==0.0)):0){a[K>>0]=46;L=H+2|0}else L=K;if(!(I!=0.0))break;else H=L}H=L-o|0;F=q-B|0;D=(g|0)!=0&(H+-2|0)<(g|0)?g+2|0:H;x=F+z+D|0;xn(b,32,f,x,h);qn(b,y,z);xn(b,48,f,x,h^65536);qn(b,n,H);xn(b,48,D-H|0,0,0);qn(b,B,F);xn(b,32,f,x,h^8192);M=x;break}x=(g|0)<0?6:g;if(v){F=(c[m>>2]|0)+-28|0;c[m>>2]=F;N=e*268435456.0;O=F}else{N=e;O=c[m>>2]|0}F=(O|0)<0?k:k+288|0;H=F;I=N;do{D=~~I>>>0;c[H>>2]=D;H=H+4|0;I=(I-+(D>>>0))*1.0e9}while(I!=0.0);if((O|0)>0){v=F;B=H;z=O;while(1){y=(z|0)<29?z:29;D=B+-4|0;if(D>>>0>=v>>>0){K=D;D=0;do{J=LA(c[K>>2]|0,0,y|0)|0;Q=BA(J|0,A|0,D|0,0)|0;J=A;R=NA(Q|0,J|0,1e9,0)|0;c[K>>2]=R;D=HA(Q|0,J|0,1e9,0)|0;K=K+-4|0}while(K>>>0>=v>>>0);if(D){K=v+-4|0;c[K>>2]=D;S=K}else S=v}else S=v;K=B;while(1){if(K>>>0<=S>>>0)break;J=K+-4|0;if(!(c[J>>2]|0))K=J;else break}D=(c[m>>2]|0)-y|0;c[m>>2]=D;if((D|0)>0){v=S;B=K;z=D}else{T=S;U=K;V=D;break}}}else{T=F;U=H;V=O}if((V|0)<0){z=((x+25|0)/9|0)+1|0;B=(w|0)==102;v=T;D=U;J=V;while(1){Q=0-J|0;R=(Q|0)<9?Q:9;if(v>>>0>>0){Q=(1<>>R;X=0;Y=v;do{Z=c[Y>>2]|0;c[Y>>2]=(Z>>>R)+X;X=P(Z&Q,W)|0;Y=Y+4|0}while(Y>>>0>>0);Y=(c[v>>2]|0)==0?v+4|0:v;if(!X){_=Y;$=D}else{c[D>>2]=X;_=Y;$=D+4|0}}else{_=(c[v>>2]|0)==0?v+4|0:v;$=D}Y=B?F:_;W=($-Y>>2|0)>(z|0)?Y+(z<<2)|0:$;J=(c[m>>2]|0)+R|0;c[m>>2]=J;if((J|0)>=0){aa=_;ba=W;break}else{v=_;D=W}}}else{aa=T;ba=U}D=F;if(aa>>>0>>0){v=(D-aa>>2)*9|0;J=c[aa>>2]|0;if(J>>>0<10)ca=v;else{z=v;v=10;while(1){v=v*10|0;B=z+1|0;if(J>>>0>>0){ca=B;break}else z=B}}}else ca=0;z=(w|0)==103;v=(x|0)!=0;J=x-((w|0)!=102?ca:0)+((v&z)<<31>>31)|0;if((J|0)<(((ba-D>>2)*9|0)+-9|0)){B=J+9216|0;J=F+4+(((B|0)/9|0)+-1024<<2)|0;H=((B|0)%9|0)+1|0;if((H|0)<9){B=H;H=10;while(1){W=H*10|0;B=B+1|0;if((B|0)==9){da=W;break}else H=W}}else da=10;H=c[J>>2]|0;B=(H>>>0)%(da>>>0)|0;w=(J+4|0)==(ba|0);if(!(w&(B|0)==0)){C=(((H>>>0)/(da>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;W=(da|0)/2|0;I=B>>>0>>0?.5:w&(B|0)==(W|0)?1.0:1.5;if(!s){ea=I;fa=C}else{W=(a[t>>0]|0)==45;ea=W?-I:I;fa=W?-C:C}W=H-B|0;c[J>>2]=W;if(fa+ea!=fa){B=W+da|0;c[J>>2]=B;if(B>>>0>999999999){B=aa;W=J;while(1){H=W+-4|0;c[W>>2]=0;if(H>>>0>>0){w=B+-4|0;c[w>>2]=0;ga=w}else ga=B;w=(c[H>>2]|0)+1|0;c[H>>2]=w;if(w>>>0>999999999){B=ga;W=H}else{ha=ga;ia=H;break}}}else{ha=aa;ia=J}W=(D-ha>>2)*9|0;B=c[ha>>2]|0;if(B>>>0<10){ja=ia;ka=W;la=ha}else{H=W;W=10;while(1){W=W*10|0;w=H+1|0;if(B>>>0>>0){ja=ia;ka=w;la=ha;break}else H=w}}}else{ja=J;ka=ca;la=aa}}else{ja=J;ka=ca;la=aa}H=ja+4|0;ma=ka;na=ba>>>0>H>>>0?H:ba;oa=la}else{ma=ca;na=ba;oa=aa}H=na;while(1){if(H>>>0<=oa>>>0){pa=0;break}W=H+-4|0;if(!(c[W>>2]|0))H=W;else{pa=1;break}}J=0-ma|0;do if(z){W=((v^1)&1)+x|0;if((W|0)>(ma|0)&(ma|0)>-5){qa=i+-1|0;ra=W+-1-ma|0}else{qa=i+-2|0;ra=W+-1|0}W=h&8;if(!W){if(pa?(B=c[H+-4>>2]|0,(B|0)!=0):0)if(!((B>>>0)%10|0)){w=0;Y=10;while(1){Y=Y*10|0;Q=w+1|0;if((B>>>0)%(Y>>>0)|0|0){sa=Q;break}else w=Q}}else sa=0;else sa=9;w=((H-D>>2)*9|0)+-9|0;if((qa|32|0)==102){Y=w-sa|0;B=(Y|0)>0?Y:0;ta=qa;ua=(ra|0)<(B|0)?ra:B;va=0;break}else{B=w+ma-sa|0;w=(B|0)>0?B:0;ta=qa;ua=(ra|0)<(w|0)?ra:w;va=0;break}}else{ta=qa;ua=ra;va=W}}else{ta=i;ua=x;va=h&8}while(0);x=ua|va;D=(x|0)!=0&1;v=(ta|32|0)==102;if(v){wa=0;xa=(ma|0)>0?ma:0}else{z=(ma|0)<0?J:ma;w=vn(z,((z|0)<0)<<31>>31,q)|0;z=q;if((z-w|0)<2){B=w;while(1){Y=B+-1|0;a[Y>>0]=48;if((z-Y|0)<2)B=Y;else{ya=Y;break}}}else ya=w;a[ya+-1>>0]=(ma>>31&2)+43;B=ya+-2|0;a[B>>0]=ta;wa=B;xa=z-B|0}B=s+1+ua+D+xa|0;xn(b,32,f,B,h);qn(b,t,s);xn(b,48,f,B,h^65536);if(v){J=oa>>>0>F>>>0?F:oa;Y=n+9|0;R=Y;X=n+8|0;Q=J;do{K=vn(c[Q>>2]|0,0,Y)|0;if((Q|0)==(J|0))if((K|0)==(Y|0)){a[X>>0]=48;za=X}else za=K;else if(K>>>0>n>>>0){zA(n|0,48,K-o|0)|0;y=K;while(1){Z=y+-1|0;if(Z>>>0>n>>>0)y=Z;else{za=Z;break}}}else za=K;qn(b,za,R-za|0);Q=Q+4|0}while(Q>>>0<=F>>>0);if(x|0)qn(b,23629,1);if(Q>>>0>>0&(ua|0)>0){F=ua;R=Q;while(1){X=vn(c[R>>2]|0,0,Y)|0;if(X>>>0>n>>>0){zA(n|0,48,X-o|0)|0;J=X;while(1){v=J+-1|0;if(v>>>0>n>>>0)J=v;else{Aa=v;break}}}else Aa=X;qn(b,Aa,(F|0)<9?F:9);R=R+4|0;J=F+-9|0;if(!(R>>>0>>0&(F|0)>9)){Ba=J;break}else F=J}}else Ba=ua;xn(b,48,Ba+9|0,9,0)}else{F=pa?H:oa+4|0;if((ua|0)>-1){R=n+9|0;Y=(va|0)==0;Q=R;x=0-o|0;J=n+8|0;K=ua;v=oa;while(1){D=vn(c[v>>2]|0,0,R)|0;if((D|0)==(R|0)){a[J>>0]=48;Ca=J}else Ca=D;do if((v|0)==(oa|0)){D=Ca+1|0;qn(b,Ca,1);if(Y&(K|0)<1){Da=D;break}qn(b,23629,1);Da=D}else{if(Ca>>>0<=n>>>0){Da=Ca;break}zA(n|0,48,Ca+x|0)|0;D=Ca;while(1){z=D+-1|0;if(z>>>0>n>>>0)D=z;else{Da=z;break}}}while(0);X=Q-Da|0;qn(b,Da,(K|0)>(X|0)?X:K);D=K-X|0;v=v+4|0;if(!(v>>>0>>0&(D|0)>-1)){Ea=D;break}else K=D}}else Ea=ua;xn(b,48,Ea+18|0,18,0);qn(b,wa,q-wa|0)}xn(b,32,f,B,h^8192);M=B}else{K=(i&32|0)!=0;F=s+3|0;xn(b,32,f,F,h&-65537);qn(b,t,s);qn(b,r!=r|0.0!=0.0?(K?23906:23609):K?23601:23605,3);xn(b,32,f,F,h^8192);M=F}while(0);l=j;return ((M|0)<(f|0)?f:M)|0}function An(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;A=c[j+4>>2]|0;return b|0}function Bn(a,b){a=+a;b=b|0;return +(+Cn(a,b))}function Cn(a,b){a=+a;b=b|0;var d=0,e=0,f=0,g=0.0,i=0.0,k=0,l=0.0;h[j>>3]=a;d=c[j>>2]|0;e=c[j+4>>2]|0;f=CA(d|0,e|0,52)|0;switch(f&2047){case 0:{if(a!=0.0){g=+Cn(a*18446744073709551616.0,b);i=g;k=(c[b>>2]|0)+-64|0}else{i=a;k=0}c[b>>2]=k;l=i;break}case 2047:{l=a;break}default:{c[b>>2]=(f&2047)+-1022;c[j>>2]=d;c[j+4>>2]=e&-2146435073|1071644672;l=+h[j>>3]}}return +l}function Dn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;do if(b){if(d>>>0<128){a[b>>0]=d;f=1;break}if(!(c[c[(En()|0)+188>>2]>>2]|0))if((d&-128|0)==57216){a[b>>0]=d;f=1;break}else{c[(Xm()|0)>>2]=84;f=-1;break}if(d>>>0<2048){a[b>>0]=d>>>6|192;a[b+1>>0]=d&63|128;f=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;f=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;f=4;break}else{c[(Xm()|0)>>2]=84;f=-1;break}}else f=1;while(0);return f|0}function En(){return Zm()|0}function Fn(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;f=e+16|0;g=c[f>>2]|0;if(!g)if(!(Gn(e)|0)){h=c[f>>2]|0;i=5}else j=0;else{h=g;i=5}a:do if((i|0)==5){g=e+20|0;f=c[g>>2]|0;k=f;if((h-f|0)>>>0>>0){j=Za[c[e+36>>2]&31](e,b,d)|0;break}b:do if((a[e+75>>0]|0)>-1){f=d;while(1){if(!f){l=0;m=b;n=d;o=k;break b}p=f+-1|0;if((a[b+p>>0]|0)==10)break;else f=p}p=Za[c[e+36>>2]&31](e,b,f)|0;if(p>>>0>>0){j=p;break a}l=f;m=b+f|0;n=d-f|0;o=c[g>>2]|0}else{l=0;m=b;n=d;o=k}while(0);EA(o|0,m|0,n|0)|0;c[g>>2]=(c[g>>2]|0)+n;j=l+n|0}while(0);return j|0}function Gn(b){b=b|0;var d=0,e=0,f=0;d=b+74|0;e=a[d>>0]|0;a[d>>0]=e+255|e;e=c[b>>2]|0;if(!(e&8)){c[b+8>>2]=0;c[b+4>>2]=0;d=c[b+44>>2]|0;c[b+28>>2]=d;c[b+20>>2]=d;c[b+16>>2]=d+(c[b+48>>2]|0);f=0}else{c[b>>2]=e|32;f=-1}return f|0}function Hn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+20|0;f=c[e>>2]|0;g=(c[a+16>>2]|0)-f|0;a=g>>>0>d>>>0?d:g;EA(f|0,b|0,a|0)|0;c[e>>2]=(c[e>>2]|0)+a;return d|0}function In(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;g=l;l=l+128|0;h=g;c[h>>2]=0;i=h+4|0;c[i>>2]=a;c[h+44>>2]=a;j=h+8|0;c[j>>2]=(a|0)<0?-1:a+2147483647|0;c[h+76>>2]=-1;Jn(h,0);k=Kn(h,d,1,e,f)|0;if(b|0)c[b>>2]=a+((c[i>>2]|0)+(c[h+108>>2]|0)-(c[j>>2]|0));l=g;return k|0}function Jn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;c[a+104>>2]=b;d=c[a+8>>2]|0;e=c[a+4>>2]|0;f=d-e|0;c[a+108>>2]=f;c[a+100>>2]=(b|0)!=0&(f|0)>(b|0)?e+b|0:d;return} +function Aj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;b=l;l=l+48|0;d=b+36|0;e=b+32|0;f=b+28|0;g=b+24|0;i=b+20|0;j=b+16|0;k=b;m=b+4|0;n=a+140|0;o=a+144|0;p=(c[o>>2]|0)-(c[n>>2]|0)|0;q=p>>2;c[m>>2]=0;r=m+4|0;c[r>>2]=0;c[m+8>>2]=0;s=(q|0)==0;if(!s){if(q>>>0>1073741823)rx(m);t=Wy(p)|0;c[r>>2]=t;c[m>>2]=t;c[m+8>>2]=t+(q<<2);p=t;u=q;v=t;do{c[v>>2]=0;v=(c[r>>2]|0)+4|0;c[r>>2]=v;u=u+-1|0}while((u|0)!=0);if(!s){s=a+156|0;u=a+24|0;a=0;t=0;while(1){w=c[(c[n>>2]|0)+(t<<2)>>2]|0;x=c[w+24>>2]|0;y=c[w+28>>2]|0;w=x;z=y;if(((Ih(x+4|0,s)|0?Ih(y+4|0,s)|0:0)?(A=x+16|0,B=y+16|0,de(A,B)|0):0)?+h[A>>3]==+h[B>>3]:0){B=c[x+108>>2]|0;x=c[y+108>>2]|0;C=(B|0)==0?w:B;D=(x|0)==0?z:x}else{C=w;D=z}z=C;w=Zh(z)|0;x=D;if((((w|0)!=(Zh(x)|0)?(Zh(z)|0)!=0:0)?(Zh(x)|0)!=0:0)?(w=Zh(z)|0,z=c[u>>2]|0,(z|0)!=0):0){B=u;y=z;a:while(1){z=y;while(1){if((c[z+16>>2]|0)>>>0>=w>>>0)break;A=c[z+4>>2]|0;if(!A){E=B;break a}else z=A}y=c[z>>2]|0;if(!y){E=z;break}else B=z}if(((E|0)!=(u|0)?w>>>0>=(c[E+16>>2]|0)>>>0:0)?(B=Zh(x)|0,y=c[u>>2]|0,(y|0)!=0):0){A=u;F=y;b:while(1){y=F;while(1){if((c[y+16>>2]|0)>>>0>=B>>>0)break;G=c[y+4>>2]|0;if(!G){H=A;break b}else y=G}F=c[y>>2]|0;if(!F){H=y;break}else A=y}if((H|0)!=(u|0)?B>>>0>=(c[H+16>>2]|0)>>>0:0){c[(c[m>>2]|0)+(a<<2)>>2]=c[(c[n>>2]|0)+(t<<2)>>2];I=a+1|0}else I=a}else I=a}else I=a;t=t+1|0;if(t>>>0>=q>>>0)break;else a=I}a=c[r>>2]|0;q=c[m>>2]|0;t=a-q>>2;if(I>>>0>t>>>0)Bj(m,I-t|0);else{J=I;K=a;L=q;M=t;N=11}}else{O=p;P=v;N=8}}else{O=0;P=0;N=8}if((N|0)==8){J=0;K=P;L=O;M=P-O>>2;N=11}if(((N|0)==11?(N=K,J>>>0>>0):0)?(M=L+(J<<2)|0,(N|0)!=(M|0)):0)c[r>>2]=N+(~((N+-4-M|0)>>>2)<<2);if((n|0)!=(m|0))Cj(n,c[m>>2]|0,c[r>>2]|0);M=c[n>>2]|0;n=c[o>>2]|0;o=M;N=n-o|0;J=N>>2;if((N|0)>4){N=(J+-2|0)/2|0;while(1){c[g>>2]=o;c[i>>2]=n;c[j>>2]=M+(N<<2);c[f>>2]=c[g>>2];c[e>>2]=c[i>>2];c[d>>2]=c[j>>2];zj(f,e,k,J,d);if((N|0)>0)N=N+-1|0;else break}}N=c[m>>2]|0;if(!N){l=b;return}m=c[r>>2]|0;if((m|0)!=(N|0))c[r>>2]=m+(~((m+-4-N|0)>>>2)<<2);Yy(N);l=b;return}function Bj(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;d=a+8|0;e=c[d>>2]|0;f=a+4|0;g=c[f>>2]|0;if(e-g>>2>>>0>=b>>>0){h=b;i=g;do{c[i>>2]=0;i=(c[f>>2]|0)+4|0;c[f>>2]=i;h=h+-1|0}while((h|0)!=0);return}h=c[a>>2]|0;i=g-h>>2;g=i+b|0;if(g>>>0>1073741823)rx(a);j=e-h|0;h=j>>1;e=j>>2>>>0<536870911?(h>>>0>>0?g:h):1073741823;do if(e)if(e>>>0>1073741823){h=ua(8)|0;bz(h,20621);c[h>>2]=9140;Qa(h|0,1496,99)}else{k=Wy(e<<2)|0;break}else k=0;while(0);h=k+(i<<2)|0;i=k+(e<<2)|0;e=b;b=h;k=h;do{c[k>>2]=0;k=b+4|0;b=k;e=e+-1|0}while((e|0)!=0);e=c[a>>2]|0;k=(c[f>>2]|0)-e|0;g=h+(0-(k>>2)<<2)|0;if((k|0)>0)EA(g|0,e|0,k|0)|0;c[a>>2]=g;c[f>>2]=b;c[d>>2]=i;if(!e)return;Yy(e);return}function Cj(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;e=d;f=b;g=e-f|0;h=g>>2;i=a+8|0;j=c[i>>2]|0;k=c[a>>2]|0;l=k;if(h>>>0<=j-k>>2>>>0){m=a+4|0;n=(c[m>>2]|0)-k>>2;o=h>>>0>n>>>0;p=o?b+(n<<2)|0:d;d=p;n=d-f|0;f=n>>2;if(f|0)MA(k|0,b|0,n|0)|0;n=l+(f<<2)|0;if(o){o=e-d|0;if((o|0)<=0)return;EA(c[m>>2]|0,p|0,o|0)|0;c[m>>2]=(c[m>>2]|0)+(o>>>2<<2);return}else{o=c[m>>2]|0;if((o|0)==(n|0))return;c[m>>2]=o+(~((o+-4-n|0)>>>2)<<2);return}}n=k;if(!k)q=j;else{j=a+4|0;o=c[j>>2]|0;if((o|0)!=(l|0))c[j>>2]=o+(~((o+-4-k|0)>>>2)<<2);Yy(n);c[i>>2]=0;c[j>>2]=0;c[a>>2]=0;q=0}if(h>>>0>1073741823)rx(a);j=q>>1;n=q>>2>>>0<536870911?(j>>>0>>0?h:j):1073741823;if(n>>>0>1073741823)rx(a);j=Wy(n<<2)|0;h=a+4|0;c[h>>2]=j;c[a>>2]=j;c[i>>2]=j+(n<<2);if((g|0)<=0)return;EA(j|0,b|0,g|0)|0;c[h>>2]=j+(g>>>2<<2);return}function Dj(a){a=a|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.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.0,pa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0,xa=0.0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0;d=l;l=l+64|0;e=d+56|0;f=d+52|0;g=d+48|0;i=d+32|0;j=d+28|0;k=d+24|0;m=d;n=d+36|0;o=d+12|0;p=d+8|0;q=d+4|0;r=a+8|0;c[g>>2]=c[r>>2];s=a+12|0;c[i>>2]=s;c[f>>2]=c[g>>2];c[e>>2]=c[i>>2];Ej(a+20|0,f,e);t=ai((c[a>>2]|0)+100|0)|0;u=fi((c[a>>2]|0)+100|0)|0;if((u|0)!=(t|0)){v=u;do{h[v+120>>3]=1797693134862315708145274.0e284;c[v+104>>2]=0;$h(v,0);c[v+108>>2]=0;v=c[v+44>>2]|0}while((v|0)!=(t|0))}if(wg(c[a>>2]|0)|0){t=wg(c[a>>2]|0)|0;v=c[(c[t>>2]|0)+24>>2]|0;u=n+4|0;c[u>>2]=0;w=n+8|0;c[w>>2]=0;x=n+4|0;c[n>>2]=x;y=c[r>>2]|0;if((y|0)!=(s|0)){z=x;A=y;while(1){y=A+16|0;c[i>>2]=z;c[e>>2]=c[i>>2];B=Hi(n,e,f,g,y)|0;if(!(c[B>>2]|0)){C=Wy(20)|0;c[C+16>>2]=c[y>>2];y=c[f>>2]|0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=y;c[B>>2]=C;y=c[c[n>>2]>>2]|0;if(!y)D=C;else{c[n>>2]=y;D=c[B>>2]|0}kd(c[u>>2]|0,D);c[w>>2]=(c[w>>2]|0)+1}B=c[A+4>>2]|0;if(!B){y=A+8|0;C=c[y>>2]|0;if((c[C>>2]|0)==(A|0))E=C;else{C=y;do{y=c[C>>2]|0;C=y+8|0;F=c[C>>2]|0}while((c[F>>2]|0)!=(y|0));E=F}}else{C=B;while(1){F=c[C>>2]|0;if(!F)break;else C=F}E=C}if((E|0)==(s|0))break;else A=E}}db[v&63](t,n);jg(n,c[x>>2]|0)}x=a+112|0;n=a+120|0;if(c[n>>2]|0)ta(18284,18116,661,18311);t=c[r>>2]|0;if((t|0)!=(s|0)){r=a+128|0;v=a+132|0;E=a+124|0;A=t;while(1){t=c[A+16>>2]|0;c[e>>2]=t;h[t+120>>3]=0.0;w=Yh(t,t)|0;t=Wy(12)|0;c[t+8>>2]=w;c[t+4>>2]=x;w=c[x>>2]|0;c[t>>2]=w;c[w+4>>2]=t;c[x>>2]=t;c[n>>2]=(c[n>>2]|0)+1;t=c[r>>2]|0;if((t|0)==(c[v>>2]|0))jc(E,e);else{c[t>>2]=c[e>>2];c[r>>2]=(c[r>>2]|0)+4}t=c[A+4>>2]|0;if(!t){w=A+8|0;D=c[w>>2]|0;if((c[D>>2]|0)==(A|0))G=D;else{D=w;do{w=c[D>>2]|0;D=w+8|0;u=c[D>>2]|0}while((c[u>>2]|0)!=(w|0));G=u}}else{D=t;while(1){C=c[D>>2]|0;if(!C)break;else D=C}G=D}if((G|0)==(s|0))break;else A=G}}G=bf((c[a>>2]|0)+72|0)|0;if((G|0)!=(cf((c[a>>2]|0)+72|0)|0)){A=G;do{Ge(A,0);A=c[A+4>>2]|0}while((A|0)!=(cf((c[a>>2]|0)+72|0)|0))}A=a+124|0;G=c[A>>2]|0;s=a+128|0;r=c[s>>2]|0;E=r-G|0;v=E>>2;t=r;if((E|0)>4?(r=(v+-2|0)/2|0,(E|0)>=8):0){E=r;while(1){C=G+(E<<2)|0;u=E<<2;if((r|0)>=(u>>2|0)){w=u>>1|1;u=G+(w<<2)|0;z=u;B=w+1|0;if((B|0)<(v|0)?(F=u+4|0,+h[(c[u>>2]|0)+120>>3]>+h[(c[F>>2]|0)+120>>3]):0){H=B;I=F}else{H=w;I=z}z=c[C>>2]|0;J=+h[z+120>>3];w=z;if(!(+h[(c[I>>2]|0)+120>>3]>J)){z=H;F=I;B=C;while(1){C=B;B=F;c[C>>2]=c[B>>2];if((r|0)<(z|0))break;C=z<<1|1;u=G+(C<<2)|0;y=u;K=C+1|0;if((K|0)<(v|0)?(L=u+4|0,+h[(c[u>>2]|0)+120>>3]>+h[(c[L>>2]|0)+120>>3]):0){M=K;N=L}else{M=C;N=y}if(+h[(c[N>>2]|0)+120>>3]>J)break;else{z=M;F=N}}c[B>>2]=w}}if((E|0)>0)E=E+-1|0;else break}O=c[A>>2]|0;P=c[s>>2]|0}else{O=G;P=t}a:do if((O|0)!=(P|0)){t=a+140|0;G=a+144|0;E=o+4|0;N=o+8|0;M=b[4630]|0;v=a+132|0;r=a+148|0;I=a+156|0;H=a+24|0;F=a+28|0;z=O;while(1){D=c[z>>2]|0;if(!(Zh(D)|0)){Q=51;break}y=D+104|0;if((c[y>>2]|0)==0?!(+h[D+120>>3]==0.0):0){Q=54;break}C=c[t>>2]|0;if((C|0)!=(c[G>>2]|0)?(J=+h[D+120>>3],J>=+De(c[C>>2]|0)*.5):0){C=c[t>>2]|0;L=c[C>>2]|0;K=c[G>>2]|0;u=C;R=K-u|0;if((R|0)>4){S=K+-4|0;c[C>>2]=c[S>>2];c[S>>2]=L;c[i>>2]=u;c[j>>2]=S;c[k>>2]=u;c[g>>2]=c[i>>2];c[f>>2]=c[j>>2];c[e>>2]=c[k>>2];zj(g,f,m,(R>>>2)+-1|0,e);T=c[G>>2]|0}else T=K;c[G>>2]=T+-4;K=c[L+24>>2]|0;R=c[L+28>>2]|0;u=K;S=R;if(((Ih(K+4|0,I)|0?Ih(R+4|0,I)|0:0)?(C=K+16|0,U=R+16|0,de(C,U)|0):0)?+h[C>>3]==+h[U>>3]:0){U=c[K+108>>2]|0;K=c[R+108>>2]|0;V=(U|0)==0?u:U;W=(K|0)==0?S:K}else{V=u;W=S}S=Zh(V)|0;u=c[H>>2]|0;if(!u){Q=71;break}else{X=H;Y=u}b:while(1){u=Y;while(1){if((c[u+16>>2]|0)>>>0>=S>>>0)break;K=c[u+4>>2]|0;if(!K){Z=X;break b}else u=K}Y=c[u>>2]|0;if(!Y){Z=u;break}else X=u}if((Z|0)==(H|0)){Q=71;break}if(S>>>0<(c[Z+16>>2]|0)>>>0){Q=71;break}K=Zh(W)|0;U=c[H>>2]|0;if(!U){Q=79;break}else{_=H;$=U}c:while(1){U=$;while(1){if((c[U+16>>2]|0)>>>0>=K>>>0)break;R=c[U+4>>2]|0;if(!R){aa=_;break c}else U=R}$=c[U>>2]|0;if(!$){aa=U;break}else _=U}if((aa|0)==(H|0)){Q=79;break}if(K>>>0<(c[aa+16>>2]|0)>>>0){Q=79;break}Fj(a,L);if((c[F>>2]|0)==1){ba=F;break a}Aj(a)}else{S=c[A>>2]|0;u=c[s>>2]|0;R=u-S|0;C=R>>2;if(((R|0)>4?(R=u+-4|0,u=c[S>>2]|0,c[S>>2]=c[R>>2],c[R>>2]=u,u=C+-1|0,(C|0)!=2):0)?(R=C+-3|0,C=(R|0)/2|0,(R|0)>=-1):0){R=S+4|0;ca=R;if((u|0)>2?(da=S+8|0,+h[(c[R>>2]|0)+120>>3]>+h[(c[da>>2]|0)+120>>3]):0){ea=2;fa=da}else{ea=1;fa=ca}ca=c[S>>2]|0;J=+h[ca+120>>3];da=ca;if(!(+h[(c[fa>>2]|0)+120>>3]>J)){ca=ea;R=fa;ga=S;while(1){ha=ga;ga=R;c[ha>>2]=c[ga>>2];if((C|0)<(ca|0))break;ha=ca<<1|1;ia=S+(ha<<2)|0;ja=ia;ka=ha+1|0;do if((ka|0)<(u|0)){la=ia+4|0;if(!(+h[(c[ia>>2]|0)+120>>3]>+h[(c[la>>2]|0)+120>>3])){ma=ha;na=ja;break}ma=ka;na=la}else{ma=ha;na=ja}while(0);if(+h[(c[na>>2]|0)+120>>3]>J)break;else{ca=ma;R=na}}c[ga>>2]=da}}c[s>>2]=(c[s>>2]|0)+-4;wj(o,a,D,c[y>>2]|0);R=c[E>>2]|0;ca=R;if((ca|0)!=(o|0)){u=D+10|0;S=D+120|0;C=R;R=ca;do{ca=C;L=c[ca+12>>2]|0;c[p>>2]=L;K=c[ca+8>>2]|0;c[q>>2]=K;if((M&b[L+10>>1])<<16>>16==0?(b[u>>1]&M)<<16>>16==0:0)oa=+h[K+56>>3];else oa=1.0;K=Zh(D)|0;d:do if((K|0)!=(Zh(c[p>>2]|0)|0)){L=(Zh(c[p>>2]|0)|0)==0;J=+h[S>>3];if(L){L=c[p>>2]|0;h[L+120>>3]=oa+J;c[L+104>>2]=D;$h(L,_h(D)|0);L=c[s>>2]|0;if((L|0)==(c[v>>2]|0)){jc(A,p);pa=c[s>>2]|0}else{c[L>>2]=c[p>>2];L=(c[s>>2]|0)+4|0;c[s>>2]=L;pa=L}L=c[A>>2]|0;ca=pa-L|0;ja=ca>>2;do if((ca|0)>4){ha=(ja+-2|0)/2|0;if((ca|0)<8)break;else qa=ha;while(1){ka=L+(qa<<2)|0;ia=qa<<2;do if((ha|0)>=(ia>>2|0)){U=ia>>1|1;la=L+(U<<2)|0;ra=la;sa=U+1|0;do if((sa|0)<(ja|0)){ua=la+4|0;if(!(+h[(c[la>>2]|0)+120>>3]>+h[(c[ua>>2]|0)+120>>3])){va=U;wa=ra;break}va=sa;wa=ua}else{va=U;wa=ra}while(0);ra=c[ka>>2]|0;xa=+h[ra+120>>3];U=ra;if(+h[(c[wa>>2]|0)+120>>3]>xa)break;else{ya=va;za=wa;Aa=ka}while(1){ra=Aa;Aa=za;c[ra>>2]=c[Aa>>2];if((ha|0)<(ya|0))break;ra=ya<<1|1;sa=L+(ra<<2)|0;la=sa;ua=ra+1|0;do if((ua|0)<(ja|0)){Ba=sa+4|0;if(!(+h[(c[sa>>2]|0)+120>>3]>+h[(c[Ba>>2]|0)+120>>3])){Ca=ra;Da=la;break}Ca=ua;Da=Ba}else{Ca=ra;Da=la}while(0);if(+h[(c[Da>>2]|0)+120>>3]>xa)break;else{ya=Ca;za=Da}}c[Aa>>2]=U}while(0);if((qa|0)>0)qa=qa+-1|0;else break}}while(0);if(!(wg(c[a>>2]|0)|0))break;ja=wg(c[a>>2]|0)|0;kb[c[(c[ja>>2]|0)+28>>2]&7](ja,D,c[p>>2]|0,1);break}ja=c[q>>2]|0;xa=J+ +h[(c[p>>2]|0)+120>>3]+ +h[ja+56>>3];L=c[t>>2]|0;ca=c[G>>2]|0;e:do if((L|0)==(ca|0)){Ea=L;Q=129}else{ha=L;do{if((c[ha>>2]|0)==(ja|0)){Ea=ha;Q=129;break e}ha=ha+4|0}while((ha|0)!=(ca|0))}while(0);do if((Q|0)==129){Q=0;if((Ea|0)==(ca|0))break;if(!(xa<+De(ja)))break d;Ce(c[q>>2]|0,xa);L=c[t>>2]|0;ha=c[G>>2]|0;ka=L;ia=ha-ka|0;la=ia>>2;if((ia|0)>4){ia=(la+-2|0)/2|0;while(1){c[i>>2]=ka;c[j>>2]=ha;c[k>>2]=L+(ia<<2);c[g>>2]=c[i>>2];c[f>>2]=c[j>>2];c[e>>2]=c[k>>2];zj(g,f,m,la,e);if((ia|0)>0)ia=ia+-1|0;else break}}break d}while(0);Ce(ja,xa);ca=c[G>>2]|0;if((ca|0)==(c[r>>2]|0)){yj(t,q);Fa=c[G>>2]|0}else{c[ca>>2]=c[q>>2];ca=(c[G>>2]|0)+4|0;c[G>>2]=ca;Fa=ca}ca=c[t>>2]|0;ia=Fa-ca|0;do if((ia|0)>4){la=((ia>>>2)+-2|0)/2|0;L=ca+(la<<2)|0;ha=Fa+-4|0;ka=c[ha>>2]|0;J=+De(c[L>>2]|0);if(!(J>+De(ka)))break;ka=c[ha>>2]|0;ra=ka;ua=la;la=L;L=ha;while(1){c[L>>2]=c[la>>2];if(!ua)break;ua=(ua+-1|0)/2|0;ha=ca+(ua<<2)|0;J=+De(c[ha>>2]|0);if(!(J>+De(ra)))break;else{sa=la;la=ha;L=sa}}c[la>>2]=ka}while(0);if(!(wg(c[a>>2]|0)|0))break;ca=wg(c[a>>2]|0)|0;gb[c[(c[ca>>2]|0)+32>>2]&0](ca,D,c[p>>2]|0)}while(0);C=c[R+4>>2]|0;R=C}while((R|0)!=(o|0))}if(c[N>>2]|0?(R=c[E>>2]|0,C=(c[o>>2]|0)+4|0,D=c[R>>2]|0,c[D+4>>2]=c[C>>2],c[c[C>>2]>>2]=D,c[N>>2]=0,(R|0)!=(o|0)):0){D=R;do{R=D;D=c[D+4>>2]|0;Yy(R)}while((D|0)!=(o|0))}}z=c[A>>2]|0;if((z|0)==(c[s>>2]|0)){ba=F;break a}}if((Q|0)==51)ta(18332,18116,687,18311);else if((Q|0)==54)ta(18352,18116,688,18311);else if((Q|0)==71)ta(18386,18116,702,18311);else if((Q|0)==79)ta(18452,18116,703,18311)}else ba=a+28|0;while(0);if((c[ba>>2]|0)!=1)ta(18519,18116,815,18311);ba=a+116|0;Q=c[ba>>2]|0;s=Q;if((s|0)!=(x|0)){A=Q;Q=s;do{Qm(c[A+8>>2]|0);A=c[Q+4>>2]|0;Q=A}while((Q|0)!=(x|0))}if(c[n>>2]|0?(Q=c[ba>>2]|0,ba=(c[x>>2]|0)+4|0,A=c[Q>>2]|0,c[A+4>>2]=c[ba>>2],c[c[ba>>2]>>2]=A,c[n>>2]=0,(Q|0)!=(x|0)):0){n=Q;do{Q=n;n=c[n+4>>2]|0;Yy(Q)}while((n|0)!=(x|0))}x=a+88|0;n=a+92|0;Q=c[n>>2]|0;if((Q|0)!=(x|0)){A=Q;ba=Q;do{Q=c[A+8>>2]|0;Vh(Q,0);if(Q|0){Qh(Q);Yy(Q)}A=c[ba+4>>2]|0;ba=A}while((ba|0)!=(x|0))}ba=a+96|0;if(!(c[ba>>2]|0)){l=d;return}a=c[n>>2]|0;n=(c[x>>2]|0)+4|0;A=c[a>>2]|0;c[A+4>>2]=c[n>>2];c[c[n>>2]>>2]=A;c[ba>>2]=0;if((a|0)==(x|0)){l=d;return}else Ga=a;do{a=Ga;Ga=c[Ga+4>>2]|0;Yy(a)}while((Ga|0)!=(x|0));l=d;return}function Ej(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,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;e=a+8|0;a:do if(c[e>>2]|0?(f=c[a>>2]|0,g=a+4|0,c[a>>2]=g,c[(c[g>>2]|0)+8>>2]=0,c[g>>2]=0,c[e>>2]=0,h=c[f+4>>2]|0,i=(h|0)==0?f:h,i|0):0){h=a+4|0;f=i;i=c[b>>2]|0;while(1){if((i|0)==(c[d>>2]|0))break;j=f+16|0;c[j>>2]=c[i+16>>2];k=f+8|0;l=c[k>>2]|0;do if(l){m=c[l>>2]|0;if((m|0)==(f|0)){c[l>>2]=0;n=c[l+4>>2]|0;if(!n){o=l;break}else p=n;while(1){n=c[p>>2]|0;if(n|0){p=n;continue}n=c[p+4>>2]|0;if(!n)break;else p=n}o=p;break}else{c[l+4>>2]=0;if(!m){o=l;break}else q=m;while(1){n=c[q>>2]|0;if(n|0){q=n;continue}n=c[q+4>>2]|0;if(!n)break;else q=n}o=q;break}}else o=0;while(0);l=c[g>>2]|0;do if(l){m=c[j>>2]|0;n=l;while(1){if(m>>>0<(c[n+16>>2]|0)>>>0){r=c[n>>2]|0;if(!r){s=21;break}else t=r}else{u=n+4|0;r=c[u>>2]|0;if(!r){s=23;break}else t=r}n=t}if((s|0)==21){s=0;v=n;w=n;break}else if((s|0)==23){s=0;v=n;w=u;break}}else{v=g;w=g}while(0);c[f>>2]=0;c[f+4>>2]=0;c[k>>2]=v;c[w>>2]=f;l=c[c[a>>2]>>2]|0;if(!l)x=f;else{c[a>>2]=l;x=c[w>>2]|0}kd(c[h>>2]|0,x);c[e>>2]=(c[e>>2]|0)+1;l=c[i+4>>2]|0;if(!l){j=i+8|0;m=c[j>>2]|0;if((c[m>>2]|0)==(i|0))y=m;else{m=j;do{j=c[m>>2]|0;m=j+8|0;r=c[m>>2]|0}while((c[r>>2]|0)!=(j|0));y=r}}else{m=l;while(1){k=c[m>>2]|0;if(!k)break;else m=k}y=m}c[b>>2]=y;if(!o)break a;else{f=o;i=y}}i=f+8|0;if(!(c[i>>2]|0))z=f;else{h=i;do{i=c[h>>2]|0;h=i+8|0}while((c[h>>2]|0)!=0);z=i}jg(a,z)}while(0);z=c[b>>2]|0;y=c[d>>2]|0;if((z|0)==(y|0))return;d=a+4|0;o=a+4|0;x=z;while(1){z=x+16|0;w=c[d>>2]|0;do if(w){v=c[z>>2]|0;u=v;t=w;while(1){if(v>>>0<(c[t+16>>2]|0)>>>0){q=c[t>>2]|0;if(!q){s=41;break}else A=q}else{B=t+4|0;q=c[B>>2]|0;if(!q){s=43;break}else A=q}t=A}if((s|0)==41){s=0;C=t;D=t;E=u;break}else if((s|0)==43){s=0;C=B;D=t;E=u;break}}else{C=d;D=d;E=c[z>>2]|0}while(0);z=Wy(20)|0;c[z+16>>2]=E;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=D;c[C>>2]=z;w=c[c[a>>2]>>2]|0;if(!w)F=z;else{c[a>>2]=w;F=c[C>>2]|0}kd(c[o>>2]|0,F);c[e>>2]=(c[e>>2]|0)+1;w=c[x+4>>2]|0;if(!w){z=x+8|0;v=c[z>>2]|0;if((c[v>>2]|0)==(x|0))G=v;else{v=z;do{z=c[v>>2]|0;v=z+8|0;m=c[v>>2]|0}while((c[m>>2]|0)!=(z|0));G=m}}else{v=w;while(1){m=c[v>>2]|0;if(!m)break;else v=m}G=v}c[b>>2]=G;if((G|0)==(y|0))break;else x=G}return}function Fj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0.0,K=0,L=0;d=l;l=l+16|0;e=d;f=c[b+24>>2]|0;g=c[b+28>>2]|0;i=f;j=g;k=a+156|0;if(((Ih(f+4|0,k)|0?Ih(g+4|0,k)|0:0)?(k=f+16|0,m=g+16|0,de(k,m)|0):0)?+h[k>>3]==+h[m>>3]:0){m=c[f+108>>2]|0;f=c[g+108>>2]|0;n=(m|0)==0?i:m;o=(f|0)==0?j:f}else{n=i;o=j}j=n;n=Zh(j)|0;i=o;o=Zh(i)|0;f=o>>>0>>0?o:n;n=Zh(j)|0;o=Zh(i)|0;m=n>>>0>>0?o:n;if(!(c[a+32>>2]|0)){p=0;q=0}else{n=sj(a,j,0)|0;o=sj(a,i,n)|0;Ge(b,1);p=n;q=o}if(wg(c[a>>2]|0)|0?(o=wg(c[a>>2]|0)|0,kb[c[(c[o>>2]|0)+36>>2]&7](o,j,i,1),o=c[a+8>>2]|0,n=a+12|0,(o|0)!=(n|0)):0){b=o;while(1){Gj(a,c[b+16>>2]|0,0);o=c[b+4>>2]|0;if(!o){g=b+8|0;k=c[g>>2]|0;if((c[k>>2]|0)==(b|0))r=k;else{k=g;do{g=c[k>>2]|0;k=g+8|0;s=c[k>>2]|0}while((c[s>>2]|0)!=(g|0));r=s}}else{k=o;while(1){s=c[k>>2]|0;if(!s)break;else k=s}r=k}if((r|0)==(n|0))break;else b=r}}tj(a,c[j+104>>2]|0,p,j,1);tj(a,c[i+104>>2]|0,q,i,1);q=_h(j)|0;p=_h(i)|0;r=a+20|0;b=a+24|0;n=c[b>>2]|0;if(n|0){o=b;s=n;a:while(1){g=s;while(1){if((c[g+16>>2]|0)>>>0>=m>>>0)break;t=c[g+4>>2]|0;if(!t){u=o;break a}else g=t}s=c[g>>2]|0;if(!s){u=g;break}else o=g}if((u|0)!=(b|0)?m>>>0>=(c[u+16>>2]|0)>>>0:0){m=c[u+4>>2]|0;if(!m){b=u+8|0;o=c[b>>2]|0;if((c[o>>2]|0)==(u|0))v=o;else{o=b;do{b=c[o>>2]|0;o=b+8|0;s=c[o>>2]|0}while((c[s>>2]|0)!=(b|0));v=s}}else{o=m;while(1){m=c[o>>2]|0;if(!m)break;else o=m}v=o}if((c[r>>2]|0)==(u|0))c[r>>2]=v;v=a+28|0;c[v>>2]=(c[v>>2]|0)+-1;Cd(n,u);Yy(u)}}u=Yh(j,f)|0;n=a+112|0;v=Wy(12)|0;c[v+8>>2]=u;c[v+4>>2]=n;r=c[n>>2]|0;c[v>>2]=r;c[r+4>>2]=v;c[n>>2]=v;v=a+120|0;c[v>>2]=(c[v>>2]|0)+1;$h(i,u);if(!f)ta(18545,18116,1040,18553);uj(a,j,u)|0;uj(a,i,u)|0;if(!q)ta(18574,18116,1046,18553);if(!p)ta(18590,18116,1047,18553);c[q>>2]=0;c[p>>2]=0;if((c[a+28>>2]|0)==1){l=d;return}p=a+124|0;q=a+128|0;u=c[q>>2]|0;i=c[p>>2]|0;j=u-i|0;f=j>>2;c[e>>2]=0;v=e+4|0;c[v>>2]=0;c[e+8>>2]=0;if(!f){w=i;x=u;y=0;z=0}else{if(f>>>0>1073741823)rx(e);u=Wy(j)|0;c[v>>2]=u;c[e>>2]=u;c[e+8>>2]=u+(f<<2);j=u;i=f;f=u;do{c[f>>2]=0;f=(c[v>>2]|0)+4|0;c[v>>2]=f;i=i+-1|0}while((i|0)!=0);w=c[p>>2]|0;x=c[q>>2]|0;y=j;z=f}f=x-w>>2;if(f){x=0;j=0;i=w;while(1){if(!(Zh(c[i+(x<<2)>>2]|0)|0))A=j;else{c[(c[e>>2]|0)+(j<<2)>>2]=c[(c[p>>2]|0)+(x<<2)>>2];A=j+1|0}w=x+1|0;if(w>>>0>=f>>>0)break;x=w;j=A;i=c[p>>2]|0}i=c[v>>2]|0;j=c[e>>2]|0;x=i-j>>2;if(A>>>0>x>>>0)Qc(e,A-x|0);else{B=A;C=i;D=j;E=x;F=49}}else{B=0;C=z;D=y;E=z-y>>2;F=49}if(((F|0)==49?(F=C,B>>>0>>0):0)?(E=D+(B<<2)|0,(F|0)!=(E|0)):0)c[v>>2]=F+(~((F+-4-E|0)>>>2)<<2);if((p|0)!=(e|0))Hj(p,c[e>>2]|0,c[v>>2]|0);E=c[a+8>>2]|0;F=a+12|0;b:do if((E|0)!=(F|0)){B=a+132|0;D=E;while(1){C=D+16|0;y=c[C>>2]|0;if(!(+h[y+120>>3]==0.0))break;z=c[q>>2]|0;if((z|0)==(c[B>>2]|0))jc(p,C);else{c[z>>2]=y;c[q>>2]=(c[q>>2]|0)+4}y=c[D+4>>2]|0;if(!y){z=D+8|0;C=c[z>>2]|0;if((c[C>>2]|0)==(D|0))G=C;else{C=z;do{z=c[C>>2]|0;C=z+8|0;x=c[C>>2]|0}while((c[x>>2]|0)!=(z|0));G=x}}else{C=y;while(1){x=c[C>>2]|0;if(!x)break;else C=x}G=C}if((G|0)==(F|0))break b;else D=G}ta(18606,18116,1085,18553)}while(0);G=c[p>>2]|0;p=(c[q>>2]|0)-G|0;q=p>>2;if((p|0)>4?(F=(q+-2|0)/2|0,(p|0)>=8):0){p=F;while(1){E=G+(p<<2)|0;a=p<<2;if((F|0)>=(a>>2|0)){D=a>>1|1;a=G+(D<<2)|0;B=a;g=D+1|0;do if((g|0)<(q|0)){y=a+4|0;if(!(+h[(c[a>>2]|0)+120>>3]>+h[(c[y>>2]|0)+120>>3])){H=D;I=B;break}H=g;I=y}else{H=D;I=B}while(0);B=c[E>>2]|0;J=+h[B+120>>3];D=B;if(!(+h[(c[I>>2]|0)+120>>3]>J)){B=H;g=I;a=E;while(1){y=a;a=g;c[y>>2]=c[a>>2];if((F|0)<(B|0))break;y=B<<1|1;x=G+(y<<2)|0;z=x;j=y+1|0;do if((j|0)<(q|0)){i=x+4|0;if(!(+h[(c[x>>2]|0)+120>>3]>+h[(c[i>>2]|0)+120>>3])){K=y;L=z;break}K=j;L=i}else{K=y;L=z}while(0);if(+h[(c[L>>2]|0)+120>>3]>J)break;else{B=K;g=L}}c[a>>2]=D}}if((p|0)>0)p=p+-1|0;else break}}p=c[e>>2]|0;if(p|0){e=c[v>>2]|0;if((e|0)!=(p|0))c[v>>2]=e+(~((e+-4-p|0)>>>2)<<2);Yy(p)}l=d;return}function Gj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0;e=l;l=l+16|0;f=e;if(!d){if(!(_h(b)|0))ta(18627,18116,930,18657);if(!(Zh(b)|0))ta(18668,18116,931,18657)}wj(f,a,b,d);d=f+4|0;g=c[d>>2]|0;i=g;if((i|0)!=(f|0)){j=b+16|0;k=g;g=i;do{i=c[k+12>>2]|0;if((!(+h[i+120>>3]==0.0)?(m=Zh(i)|0,(m|0)==(Zh(b)|0)):0)?(c[i+104>>2]|0)==(b|0):0){if(de(j,i+16|0)|0){m=wg(c[a>>2]|0)|0;kb[c[(c[m>>2]|0)+28>>2]&7](m,b,i,0)}Gj(a,i,b)}k=c[g+4>>2]|0;g=k}while((g|0)!=(f|0))}g=f+8|0;if(!(c[g>>2]|0)){l=e;return}k=c[d>>2]|0;d=(c[f>>2]|0)+4|0;b=c[k>>2]|0;c[b+4>>2]=c[d>>2];c[c[d>>2]>>2]=b;c[g>>2]=0;if((k|0)==(f|0)){l=e;return}else n=k;do{k=n;n=c[n+4>>2]|0;Yy(k)}while((n|0)!=(f|0));l=e;return}function Hj(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;e=d;f=b;g=e-f|0;h=g>>2;i=a+8|0;j=c[i>>2]|0;k=c[a>>2]|0;l=k;if(h>>>0<=j-k>>2>>>0){m=a+4|0;n=(c[m>>2]|0)-k>>2;o=h>>>0>n>>>0;p=o?b+(n<<2)|0:d;d=p;n=d-f|0;f=n>>2;if(f|0)MA(k|0,b|0,n|0)|0;n=l+(f<<2)|0;if(o){o=e-d|0;if((o|0)<=0)return;EA(c[m>>2]|0,p|0,o|0)|0;c[m>>2]=(c[m>>2]|0)+(o>>>2<<2);return}else{o=c[m>>2]|0;if((o|0)==(n|0))return;c[m>>2]=o+(~((o+-4-n|0)>>>2)<<2);return}}n=k;if(!k)q=j;else{j=a+4|0;o=c[j>>2]|0;if((o|0)!=(l|0))c[j>>2]=o+(~((o+-4-k|0)>>>2)<<2);Yy(n);c[i>>2]=0;c[j>>2]=0;c[a>>2]=0;q=0}if(h>>>0>1073741823)rx(a);j=q>>1;n=q>>2>>>0<536870911?(j>>>0>>0?h:j):1073741823;if(n>>>0>1073741823)rx(a);j=Wy(n<<2)|0;h=a+4|0;c[h>>2]=j;c[a>>2]=j;c[i>>2]=j+(n<<2);if((g|0)<=0)return;EA(j|0,b|0,g|0)|0;c[h>>2]=j+(g>>>2<<2);return}function Ij(){Fh(28e3,0,0,0);Fh(28008,0,0,b[4624]|0);return}function Jj(d){d=d|0;var e=0;c[d>>2]=d;c[d+4>>2]=d;c[d+8>>2]=0;c[d+12>>2]=0;ae(d+16|0);e=d+40|0;c[e>>2]=0;c[e+4>>2]=0;b[e+8>>1]=0;a[e+10>>0]=0;return}function Kj(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;b=l;l=l+16|0;d=b;e=a+40|0;f=c[e>>2]|0;if(f|0){c[d>>2]=a;g=Lj(f,d)|0;if((g|0)!=(f+4|0)){d=c[g+4>>2]|0;if(!d){h=g+8|0;i=c[h>>2]|0;if((c[i>>2]|0)==(g|0))j=i;else{i=h;do{h=c[i>>2]|0;i=h+8|0;k=c[i>>2]|0}while((c[k>>2]|0)!=(h|0));j=k}}else{i=d;while(1){d=c[i>>2]|0;if(!d)break;else i=d}j=i}if((c[f>>2]|0)==(g|0))c[f>>2]=j;j=f+8|0;c[j>>2]=(c[j>>2]|0)+-1;Cd(c[f+4>>2]|0,g);Yy(g)}c[e>>2]=0}e=a+8|0;if(!(c[e>>2]|0)){l=b;return}g=c[a+4>>2]|0;f=(c[a>>2]|0)+4|0;j=c[g>>2]|0;c[j+4>>2]=c[f>>2];c[c[f>>2]>>2]=j;c[e>>2]=0;if((g|0)==(a|0)){l=b;return}else m=g;do{g=m;m=c[m+4>>2]|0;Yy(g)}while((m|0)!=(a|0));l=b;return}function Lj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0.0,o=0,p=0,q=0;d=a+4|0;e=c[d>>2]|0;do if(e|0){f=a+12|0;g=d;i=e;a:while(1){j=i;while(1){k=c[j+16>>2]|0;l=c[b>>2]|0;m=k+16|0;n=+h[(he(m,c[f>>2]|0)|0)>>3];o=l+16|0;if(n!=+h[(he(o,c[f>>2]|0)|0)>>3]){n=+h[(he(m,c[f>>2]|0)|0)>>3];if(!(n<+h[(he(o,c[f>>2]|0)|0)>>3]))break}else if(k>>>0>=l>>>0)break;l=c[j+4>>2]|0;if(!l){p=g;break a}else j=l}i=c[j>>2]|0;if(!i){p=j;break}else g=j}if((p|0)!=(d|0)){g=c[b>>2]|0;i=c[p+16>>2]|0;l=g+16|0;n=+h[(he(l,c[f>>2]|0)|0)>>3];k=i+16|0;if(n!=+h[(he(k,c[f>>2]|0)|0)>>3]){n=+h[(he(l,c[f>>2]|0)|0)>>3];if(n<+h[(he(k,c[f>>2]|0)|0)>>3])break;else q=p;return q|0}else{if(g>>>0>>0)break;else q=p;return q|0}}}while(0);q=d;return q|0}function Mj(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,q=0,r=0,s=0,t=0,u=0,v=0;f=b+50|0;if(a[f>>0]|0){g=1;return g|0}h=c[b+12>>2]|0;if((d|0)!=0&(h|0)!=0?(i=e+4|0,j=c[i>>2]|0,j|0):0){k=i;l=j;a:while(1){m=l;while(1){if((c[m+16>>2]|0)>>>0>=h>>>0)break;n=c[m+4>>2]|0;if(!n){o=k;break a}else m=n}l=c[m>>2]|0;if(!l){o=m;break}else k=m}if((o|0)!=(i|0)?h>>>0>=(c[o+16>>2]|0)>>>0:0){h=c[o+4>>2]|0;if(!h){i=o+8|0;k=c[i>>2]|0;if((c[k>>2]|0)==(o|0))p=k;else{k=i;do{i=c[k>>2]|0;k=i+8|0;l=c[k>>2]|0}while((c[l>>2]|0)!=(i|0));p=l}}else{k=h;while(1){h=c[k>>2]|0;if(!h)break;else k=h}p=k}if((c[e>>2]|0)==(o|0))c[e>>2]=p;p=e+8|0;c[p>>2]=(c[p>>2]|0)+-1;Cd(j,o);Yy(o)}}a[f>>0]=1;f=c[b+4>>2]|0;o=f;if((o|0)==(b|0)){g=0;return g|0}else{q=0;r=f;s=o}while(1){o=c[r+8>>2]|0;if((o|0)==(d|0))t=q;else{f=c[o>>2]|0;if((f|0)==0|(f|0)==(b|0))u=0;else u=Mj(f,o,e)|0;f=c[o+4>>2]|0;if((f|0)==0|(f|0)==(b|0))v=u;else v=u|(Mj(f,o,e)|0);t=q|v}r=c[s+4>>2]|0;s=r;if((s|0)==(b|0)){g=t;break}else q=t}return g|0}function Nj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=c[a+4>>2]|0;f=e;if((f|0)==(a|0))return;else{g=e;h=f}do{f=c[g+8>>2]|0;if((f|0)!=(b|0))Oj(f,a,d);g=c[h+4>>2]|0;h=g}while((h|0)!=(a|0));return}function Oj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;g=l;l=l+32|0;h=g;if(!e)ta(18691,18705,483,18723);i=c[d>>2]|0;if(!i)ta(18741,18705,484,18723);j=d+4|0;if(!(c[j>>2]|0))ta(18758,18705,485,18723);k=(i|0)==(e|0);e=c[(k?d:j)>>2]|0;i=c[(k?j:d)>>2]|0;switch(f|0){case 0:{Wd((c[d+8>>2]|0)+64|0);break}case 1:{j=d+8|0;do if(Xd((c[j>>2]|0)+64|0)|0){k=c[j>>2]|0;m=e+16|0;n=k+76|0;o=c[n>>2]|0;if((o|0)==(c[k+80>>2]|0)){Oc(k+72|0,m);break}else{c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];c[o+16>>2]=c[m+16>>2];c[o+20>>2]=c[m+20>>2];c[n>>2]=(c[n>>2]|0)+24;break}}while(0);n=c[j>>2]|0;m=i+16|0;o=n+76|0;k=c[o>>2]|0;if((k|0)==(c[n+80>>2]|0))Oc(n+72|0,m);else{c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];c[k+16>>2]=c[m+16>>2];c[k+20>>2]=c[m+20>>2];c[o>>2]=(c[o>>2]|0)+24}a:do switch(c[i+8>>2]|0){case 2:break;case 1:{o=(a[i+48>>0]|0)!=0;if(a[i+49>>0]|0?(k=(c[j>>2]|0)+76|0,c[k>>2]=(c[k>>2]|0)+-24,ce(e+16|0,m)|0):0){k=(c[j>>2]|0)+76|0;c[k>>2]=(c[k>>2]|0)+-24;if(o){p=24;break a}else break a}if(o)p=24;break}default:{o=c[(c[j>>2]|0)+148>>2]|0;if(o){k=vd(o)|0;if((c[i+12>>2]|0)==(k|0))break a;else{p=24;break a}}else ta(18776,18705,537,18723)}}while(0);if(((p|0)==24?(p=c[j>>2]|0,m=c[p+72>>2]|0,e=c[p+76>>2]|0,(m|0)!=(e|0)):0)?(p=e+-24|0,m>>>0

>>0):0){e=m;m=p;do{c[h>>2]=c[e>>2];c[h+4>>2]=c[e+4>>2];c[h+8>>2]=c[e+8>>2];c[h+12>>2]=c[e+12>>2];c[h+16>>2]=c[e+16>>2];c[h+20>>2]=c[e+20>>2];c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2];c[e+16>>2]=c[m+16>>2];b[e+20>>1]=b[m+20>>1]|0;c[m>>2]=c[h>>2];c[m+4>>2]=c[h+4>>2];c[m+8>>2]=c[h+8>>2];c[m+12>>2]=c[h+12>>2];c[m+16>>2]=c[h+16>>2];b[m+20>>1]=b[h+20>>1]|0;e=e+24|0;m=m+-24|0}while(e>>>0>>0)}if(wg(Dc(c[j>>2]|0)|0)|0){m=wg(Dc(c[j>>2]|0)|0)|0;kb[c[(c[m>>2]|0)+12>>2]&7](m,c[j>>2]|0,-1,-1)}break}default:{}}j=c[i+4>>2]|0;m=j;if((m|0)==(i|0)){l=g;return}else{q=j;r=m}do{m=c[q+8>>2]|0;if((m|0)!=(d|0))Oj(m,i,f);q=c[r+4>>2]|0;r=q}while((r|0)!=(i|0));l=g;return}function Pj(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;i=l;l=l+64|0;j=i;if((h|0)==0?(c[b+12>>2]|0)==0:0)ta(18796,18705,139,18813);k=c[b+4>>2]|0;m=k;if((m|0)==(b|0)){l=i;return}n=b+12|0;o=e[4625]|0;p=h;h=k;k=m;while(1){m=h+8|0;q=c[m>>2]|0;if((q|0)==(d|0))r=p;else{if(!(c[n>>2]|0)){s=p;t=q}else{q=Wy(176)|0;bc(q,f,0);eh(f,q);lc(q);u=q+16|0;a[u>>0]=a[u>>0]|16;qd(j,c[n>>2]|0);oc(q,o,j);rd(j);s=q;t=c[m>>2]|0}c[t+8>>2]=s;Qj(c[m>>2]|0,b,f,g);r=s}h=c[k+4>>2]|0;k=h;if((k|0)==(b|0))break;else p=r}l=i;return}function Qj(a,b,d,f){a=a|0;b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;g=l;l=l+64|0;h=g;i=a+8|0;j=c[i>>2]|0;if(!j)ta(18822,18705,573,18813);k=c[a>>2]|0;if((k|0)==0|(k|0)==(b|0))m=0;else{Pj(k,a,d,f,j);m=k}k=c[a+4>>2]|0;if((k|0)==0|(k|0)==(b|0))n=m;else{Pj(k,a,d,f,c[i>>2]|0);n=k}k=n+44|0;if(!(c[k>>2]|0)){d=c[n+12>>2]|0;if(!d){l=g;return}qd(h,d);oc(c[i>>2]|0,e[4626]|0,h);rd(h);l=g;return}nd(h);d=c[f+4>>2]|0;n=d;a:do if((n|0)!=(f|0)){a=d;m=n;while(1){if(mc(c[a+8>>2]|0,c[k>>2]|0,h)|0)break;a=c[m+4>>2]|0;m=a;if((m|0)==(f|0))break a}oc(c[i>>2]|0,e[4626]|0,h)}while(0);rd(h);l=g;return}function Rj(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=l;l=l+224|0;h=g+112|0;i=g+56|0;j=g;k=c[a+4>>2]|0;m=k;if((m|0)==(a|0)){l=g;return}n=a+12|0;o=h+56|0;p=h+56|0;q=b[4625]|0;r=b[4626]|0;s=f+8|0;t=e;e=k;k=m;while(1){m=c[e+8>>2]|0;if((m|0)==(d|0))u=t;else{v=c[n>>2]|0;if(!v)w=t;else{x=m+8|0;tc(h,c[x>>2]|0);do if((vd(h)|0)!=(v|0))if((vd(o)|0)!=(v|0)){if((sd(h)|0)!=2?(sd(h)|0)!=3:0){y=0;break}if((sd(o)|0)==2)y=1;else{sd(o)|0;y=1}}else y=0;else y=1;while(0);rd(o);rd(h);tc(h,c[x>>2]|0);v=i;z=y?h:p;A=v+56|0;do{c[v>>2]=c[z>>2];v=v+4|0;z=z+4|0}while((v|0)<(A|0));z=vd(i)|0;v=c[n>>2]|0;if((z|0)!=(v|0)){qd(j,v);oc(c[x>>2]|0,(y?q:r)&65535,j);v=Wy(12)|0;c[v+8>>2]=c[x>>2];c[v+4>>2]=f;z=c[f>>2]|0;c[v>>2]=z;c[z+4>>2]=v;c[f>>2]=v;c[s>>2]=(c[s>>2]|0)+1;rd(j)}rd(i);rd(p);rd(h);w=y}Sj(m,a,w,f);u=w}e=c[k+4>>2]|0;k=e;if((k|0)==(a|0))break;else t=u}l=g;return}function Sj(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;g=l;l=l+224|0;h=g+112|0;i=g+56|0;j=g;k=c[a>>2]|0;if((k|0)==0|(k|0)==(d|0))m=0;else{Rj(k,a,e,f);m=k}k=c[a+4>>2]|0;if((k|0)==0|(k|0)==(d|0))n=m;else{Rj(k,a,e,f);n=k}k=n+12|0;if(!(c[k>>2]|0)){l=g;return}n=a+8|0;tc(h,c[n>>2]|0);a=h+56|0;m=i;d=e?a:h;o=m+56|0;do{c[m>>2]=c[d>>2];m=m+4|0;d=d+4|0}while((m|0)<(o|0));d=vd(i)|0;m=c[k>>2]|0;if((d|0)!=(m|0)){qd(j,m);oc(c[n>>2]|0,(e?b[4626]|0:b[4625]|0)&65535,j);e=f+8|0;m=c[e>>2]|0;if(!((m|0)!=0?(c[(c[f>>2]|0)+8>>2]|0)==(c[n>>2]|0):0)){d=Wy(12)|0;c[d+8>>2]=c[n>>2];c[d+4>>2]=f;n=c[f>>2]|0;c[d>>2]=n;c[n+4>>2]=d;c[f>>2]=d;c[e>>2]=m+1}rd(j)}rd(i);rd(a);rd(h);l=g;return}function Tj(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=c[a+12>>2]|0;if(f|0){g=Wy(12)|0;c[g+8>>2]=f;c[g+4>>2]=d;f=c[d>>2]|0;c[g>>2]=f;c[f+4>>2]=g;c[d>>2]=g;g=d+8|0;c[g>>2]=(c[g>>2]|0)+1}g=c[a+4>>2]|0;f=g;if((f|0)==(a|0))return;else{h=g;i=f}do{f=c[h+8>>2]|0;if((f|0)!=(b|0))Uj(f,a,d,e);h=c[i+4>>2]|0;i=h}while((i|0)!=(a|0));return}function Uj(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;f=c[e+4>>2]|0;g=a+8|0;a:do if((f|0)==(e|0)){h=f;i=5}else{j=c[g>>2]|0;k=j;l=f;m=f;while(1){if((c[m+8>>2]|0)==(j|0)){h=l;i=5;break a}m=c[l+4>>2]|0;l=m;if((l|0)==(e|0)){n=k;i=7;break}}}while(0);if((i|0)==5?(h|0)==(e|0):0){n=c[g>>2]|0;i=7}if((i|0)==7){i=Wy(12)|0;c[i+8>>2]=n;c[i+4>>2]=e;n=c[e>>2]|0;c[i>>2]=n;c[n+4>>2]=i;c[e>>2]=i;i=e+8|0;c[i>>2]=(c[i>>2]|0)+1}i=c[a>>2]|0;if((i|0)!=(b|0)){n=i+12|0;if(c[n>>2]|0){g=Wy(12)|0;c[g+8>>2]=c[n>>2];c[g+4>>2]=d;n=c[d>>2]|0;c[g>>2]=n;c[n+4>>2]=g;c[d>>2]=g;g=d+8|0;c[g>>2]=(c[g>>2]|0)+1}g=c[i+4>>2]|0;n=g;if((n|0)==(i|0))return;else{o=g;p=n}do{n=c[o+8>>2]|0;if((n|0)!=(a|0))Uj(n,i,d,e);o=c[p+4>>2]|0;p=o}while((p|0)!=(i|0));return}i=c[a+4>>2]|0;if((i|0)==(b|0))return;b=i+12|0;if(c[b>>2]|0){p=Wy(12)|0;c[p+8>>2]=c[b>>2];c[p+4>>2]=d;b=c[d>>2]|0;c[p>>2]=b;c[b+4>>2]=p;c[d>>2]=p;p=d+8|0;c[p>>2]=(c[p>>2]|0)+1}p=c[i+4>>2]|0;b=p;if((b|0)==(i|0))return;else{q=p;r=b}do{b=c[q+8>>2]|0;if((b|0)!=(a|0))Uj(b,i,d,e);q=c[r+4>>2]|0;r=q}while((r|0)!=(i|0));return}function Vj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;e=l;l=l+112|0;f=e;g=c[a+4>>2]|0;h=g;if((h|0)==(a|0)){l=e;return}i=a+12|0;j=a+8|0;k=f+56|0;m=g;g=h;while(1){h=c[m+8>>2]|0;tc(f,c[h+8>>2]|0);if(!(c[i>>2]|0)){if(((c[j>>2]|0)==1?vd(f)|0:0)?vd(k)|0:0){n=13;break}}else{o=vd(f)|0;if((o|0)!=(c[i>>2]|0)?(o=vd(k)|0,(o|0)!=(c[i>>2]|0)):0){n=7;break}o=vd(f)|0;if((o|0)==(vd(k)|0)){n=9;break}}do if((h|0)!=(b|0)){o=c[h>>2]|0;if((o|0)!=(a|0)){Vj(o,h,d);break}o=c[h+4>>2]|0;if((o|0)!=(a|0))Vj(o,h,d)}while(0);rd(k);rd(f);m=c[g+4>>2]|0;g=m;if((g|0)==(a|0)){n=3;break}}if((n|0)==3){l=e;return}else if((n|0)==7)ta(18833,18705,305,18917);else if((n|0)==9)ta(18935,18705,306,18917);else if((n|0)==13)ta(18991,18705,311,18917)}function Wj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=a+4|0;e=c[d>>2]|0;f=e;if((f|0)!=(a|0)){g=e;e=f;do{f=g+8|0;h=c[f>>2]|0;if((h|0)!=(b|0)?(Xj(h,a),h=c[f>>2]|0,h|0):0)Yy(h);g=c[e+4>>2]|0;e=g}while((e|0)!=(a|0))}e=a+8|0;if(!(c[e>>2]|0))return;g=c[d>>2]|0;d=(c[a>>2]|0)+4|0;b=c[g>>2]|0;c[b+4>>2]=c[d>>2];c[c[d>>2]>>2]=b;c[e>>2]=0;if((g|0)==(a|0))return;else i=g;do{g=i;i=c[i+4>>2]|0;Yy(g)}while((i|0)!=(a|0));return}function Xj(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if(!((d|0)==0|(d|0)==(b|0))?(Wj(d,a),d=c[a>>2]|0,d|0):0){Kj(d);Yy(d)}c[a>>2]=0;d=a+4|0;e=c[d>>2]|0;if((e|0)==0|(e|0)==(b|0)){c[d>>2]=0;return}Wj(e,a);a=c[d>>2]|0;if(!a){c[d>>2]=0;return}Kj(a);Yy(a);c[d>>2]=0;return}function Yj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if((b|0)==(a|0))ta(19049,18705,365,19065);d=b+4|0;e=c[d>>2]|0;if((e|0)==(b|0))return;else f=e;do{Zj(c[f+8>>2]|0,b,a);f=c[d>>2]|0}while((f|0)!=(b|0));return}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,j=0,k=0,l=0;if((c[a>>2]|0)==(b|0)){e=c[b+4>>2]|0;f=e;if((f|0)==(b|0))g=a;else{h=b+8|0;i=e;e=f;do{f=e+4|0;j=i;i=c[f>>2]|0;if((c[j+8>>2]|0)==(a|0)){k=c[e>>2]|0;c[k+4>>2]=i;c[c[f>>2]>>2]=k;c[h>>2]=(c[h>>2]|0)+-1;Yy(j)}e=i}while((e|0)!=(b|0));g=a}}else{e=a+4|0;if((c[e>>2]|0)!=(b|0))return;i=c[b+4>>2]|0;h=i;if((h|0)==(b|0))g=e;else{j=b+8|0;k=i;i=h;do{h=i+4|0;f=k;k=c[h>>2]|0;if((c[f+8>>2]|0)==(a|0)){l=c[i>>2]|0;c[l+4>>2]=k;c[c[h>>2]>>2]=l;c[j>>2]=(c[j>>2]|0)+-1;Yy(f)}i=k}while((i|0)!=(b|0));g=e}}e=Wy(12)|0;c[e+8>>2]=a;c[e+4>>2]=d;a=c[d>>2]|0;c[e>>2]=a;c[a+4>>2]=e;c[d>>2]=e;e=d+8|0;c[e>>2]=(c[e>>2]|0)+1;c[g>>2]=d;return}function _j(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if((c[b+8>>2]|0)==1){d=1;return d|0}e=c[b+12>>2]|0;if(e|0?kf(e)|0:0){d=1;return d|0}e=c[b+4>>2]|0;f=e;if((f|0)==(b|0)){d=0;return d|0}else{g=e;h=f}while(1){if(a[(c[g+8>>2]|0)+12>>0]|0){d=1;i=7;break}g=c[h+4>>2]|0;h=g;if((h|0)==(b|0)){d=0;i=7;break}}if((i|0)==7)return d|0;return 0}function $j(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;c[b>>2]=0;g=b+4|0;c[g>>2]=0;c[b+8>>2]=f;h=b+12|0;a[h>>0]=0;if(f|0)a[h>>0]=(Bc(f)|0)&1;c[b>>2]=d;c[g>>2]=e;g=b;b=Wy(12)|0;c[b+8>>2]=g;c[b+4>>2]=d;f=c[d>>2]|0;c[b>>2]=f;c[f+4>>2]=b;c[d>>2]=b;b=d+8|0;c[b>>2]=(c[b>>2]|0)+1;b=Wy(12)|0;c[b+8>>2]=g;c[b+4>>2]=e;g=c[e>>2]|0;c[b>>2]=g;c[g+4>>2]=b;c[e>>2]=b;b=e+8|0;c[b>>2]=(c[b>>2]|0)+1;return}function ak(a,b){a=a|0;b=b|0;return c[((c[a>>2]|0)==(b|0)?a+4|0:a)>>2]|0}function bk(a){a=a|0;return ce((c[a>>2]|0)+16|0,(c[a+4>>2]|0)+16|0)|0}function ck(a,b){a=a|0;b=b|0;var d=0.0;d=+h[(ge((c[a>>2]|0)+16|0,b)|0)>>3];return d==+h[(ge((c[a+4>>2]|0)+16|0,b)|0)>>3]|0}function dk(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;g=d+4|0;h=c[g>>2]|0;if((h|0)!=(e|0))if((c[d>>2]|0)==(e|0))i=h;else ta(19081,18705,727,19102);else{e=c[d>>2]|0;c[g>>2]=e;c[d>>2]=h;i=e}e=Wy(56)|0;c[e>>2]=e;c[e+4>>2]=e;h=e+8|0;c[h>>2]=0;c[e+12>>2]=0;j=e+16|0;ae(j);k=e+40|0;c[k>>2]=0;c[k+4>>2]=0;b[k+8>>1]=0;a[k+10>>0]=0;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];c[j+16>>2]=c[f+16>>2];b[j+20>>1]=b[f+20>>1]|0;f=Wy(16)|0;j=c[d+8>>2]|0;c[f>>2]=0;k=f+4|0;c[k>>2]=0;c[f+8>>2]=j;l=f+12|0;a[l>>0]=0;if(j|0)a[l>>0]=(Bc(j)|0)&1;c[f>>2]=e;c[k>>2]=i;k=f;f=Wy(12)|0;c[f+8>>2]=k;c[f+4>>2]=e;j=c[e>>2]|0;c[f>>2]=j;c[j+4>>2]=f;c[e>>2]=f;c[h>>2]=(c[h>>2]|0)+1;f=Wy(12)|0;c[f+8>>2]=k;c[f+4>>2]=i;k=c[i>>2]|0;c[f>>2]=k;c[k+4>>2]=f;c[i>>2]=f;f=i+8|0;c[f>>2]=(c[f>>2]|0)+1;k=c[i+4>>2]|0;j=k;if((j|0)==(i|0)){c[g>>2]=e;m=d;n=Wy(12)|0;o=n+8|0;c[o>>2]=m;p=n+4|0;c[p>>2]=e;q=c[e>>2]|0;c[n>>2]=q;r=q+4|0;c[r>>2]=n;c[e>>2]=n;s=c[h>>2]|0;t=s+1|0;c[h>>2]=t;return}else{u=k;v=j}do{j=v+4|0;k=u;u=c[j>>2]|0;if((c[k+8>>2]|0)==(d|0)){l=c[v>>2]|0;c[l+4>>2]=u;c[c[j>>2]>>2]=l;c[f>>2]=(c[f>>2]|0)+-1;Yy(k)}v=u}while((v|0)!=(i|0));c[g>>2]=e;m=d;n=Wy(12)|0;o=n+8|0;c[o>>2]=m;p=n+4|0;c[p>>2]=e;q=c[e>>2]|0;c[n>>2]=q;r=q+4|0;c[r>>2]=n;c[e>>2]=n;s=c[h>>2]|0;t=s+1|0;c[h>>2]=t;return}function ek(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=c[a>>2]|0;if(!b)ta(18741,18705,751,19123);d=a+4|0;e=c[d>>2]|0;if(!e)ta(18758,18705,752,19123);f=c[b+4>>2]|0;g=f;if((g|0)==(b|0))h=e;else{e=b+8|0;i=f;f=g;do{g=f+4|0;j=i;i=c[g>>2]|0;if((c[j+8>>2]|0)==(a|0)){k=c[f>>2]|0;c[k+4>>2]=i;c[c[g>>2]>>2]=k;c[e>>2]=(c[e>>2]|0)+-1;Yy(j)}f=i}while((f|0)!=(b|0));h=c[d>>2]|0}b=c[h+4>>2]|0;f=b;if((f|0)==(h|0)){c[a>>2]=0;c[d>>2]=0;return}i=h+8|0;e=b;b=f;do{f=b+4|0;j=e;e=c[f>>2]|0;if((c[j+8>>2]|0)==(a|0)){k=c[b>>2]|0;c[k+4>>2]=e;c[c[f>>2]>>2]=k;c[i>>2]=(c[i>>2]|0)+-1;Yy(j)}b=e}while((b|0)!=(h|0));c[a>>2]=0;c[d>>2]=0;return}function fk(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function gk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,i=0;e=b+16|0;f=+h[(he(e,c[a>>2]|0)|0)>>3];g=d+16|0;if(f!=+h[(he(g,c[a>>2]|0)|0)>>3]){f=+h[(he(e,c[a>>2]|0)|0)>>3];i=f<+h[(he(g,c[a>>2]|0)|0)>>3];return i|0}else{i=b>>>0>>0;return i|0}return 0}function hk(a){a=a|0;return}function ik(a){a=a|0;Yy(a);return}function jk(){Fh(28016,0,0,0);Fh(28024,0,0,b[4624]|0);return}function kk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,g=0,i=0,j=0,k=0;e=+h[b+16>>3];f=+h[d+16>>3];if(e!=f){g=e>2]|0;do if(!a){i=c[b+8>>2]|0;if(!i){j=c[b+12>>2]|0;break}else{j=i;break}}else j=a;while(0);a=c[d+4>>2]|0;do if(!a){b=c[d+8>>2]|0;if(!b){k=c[d+12>>2]|0;break}else{k=b;break}}else k=a;while(0);g=j>>>0>>0;return g|0}function lk(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0;e=l;l=l+48|0;f=e;c[a>>2]=1864;c[a+4>>2]=b;c[a+8>>2]=0;c[a+12>>2]=0;h[a+16>>3]=d;c[a+56>>2]=0;c[a+60>>2]=0;Yf(f,b);h[a+24>>3]=+h[f>>3];h[a+32>>3]=+h[f+8>>3];h[a+40>>3]=+h[f+24>>3];h[a+48>>3]=+h[f+32>>3];l=e;return}function mk(a,b,d){a=a|0;b=b|0;d=+d;c[a>>2]=1864;c[a+4>>2]=0;c[a+8>>2]=b;c[a+12>>2]=0;h[a+16>>3]=d;c[a+56>>2]=0;c[a+60>>2]=0;d=+h[b+16>>3];h[a+40>>3]=d;h[a+24>>3]=d;d=+h[b+24>>3];h[a+48>>3]=d;h[a+32>>3]=d;return}function nk(a,b,d,e,f,g,i){a=a|0;b=b|0;d=+d;e=e|0;f=f|0;g=g|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,w=0.0,x=0,y=0,z=0,A=0,B=0,C=0;h[e>>3]=-1797693134862315708145274.0e284;h[f>>3]=1797693134862315708145274.0e284;j=a+40+(b<<3)|0;h[g>>3]=+h[j>>3];k=a+24+(b<<3)|0;h[i>>3]=+h[k>>3];l=a+56|0;m=a+60|0;n=(b|0)==0&1;o=a+40+(n<<3)|0;p=a+24+(n<<3)|0;a=0;do{q=(a|0)==0;r=c[(q?l:m)>>2]|0;if(r|0)if(q){q=r;do{if(+h[o>>3]==d?+h[q+40+(n<<3)>>3]==d:0)s=1;else if(+h[p>>3]==d)s=+h[q+24+(n<<3)>>3]==d;else s=0;t=q+40+(b<<3)|0;u=+h[t>>3];do if(!(u<=+h[k>>3])){v=q+24+(b<<3)|0;w=+h[v>>3];if(w>=+h[j>>3]){x=f;y=+h[f>>3]>3]=+h[(+h[g>>3]>3];x=i;y=+h[t>>3]<+h[i>>3]?i:t;z=15}}else{x=e;y=u<+h[e>>3]?e:t;z=15}while(0);if((z|0)==15){z=0;h[x>>3]=+h[y>>3]}q=c[q+56>>2]|0}while((q|0)!=0)}else{q=r;do{if(+h[o>>3]==d?+h[q+40+(n<<3)>>3]==d:0)A=1;else if(+h[p>>3]==d)A=+h[q+24+(n<<3)>>3]==d;else A=0;t=q+40+(b<<3)|0;u=+h[t>>3];do if(!(u<=+h[k>>3])){v=q+24+(b<<3)|0;w=+h[v>>3];if(w>=+h[j>>3]){B=f;C=+h[f>>3]>3]=+h[(+h[g>>3]>3];B=i;C=+h[t>>3]<+h[i>>3]?i:t;z=27}}else{B=e;C=u<+h[e>>3]?e:t;z=27}while(0);if((z|0)==27){z=0;h[B>>3]=+h[C>>3]}q=c[q+60>>2]|0}while((q|0)!=0)}a=a+1|0}while((a|0)!=2);return}function ok(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0.0,i=0,j=0.0,k=0.0,l=0,m=0,n=0.0;d=b&1^1;e=c[a+56>>2]|0;if(!e){f=-1797693134862315708145274.0e284;return +f}g=+h[a+24+(d<<3)>>3];i=a+16|0;j=-1797693134862315708145274.0e284;a=e;a:while(1){e=a;while(1){if((!(g==+h[e+24+(d<<3)>>3])?!(g==+h[e+40+(d<<3)>>3]):0)?(k=+h[e+40+(b<<3)>>3],k<=+h[i>>3]):0)break;l=c[e+56>>2]|0;if(!l){f=j;m=9;break a}else e=l}n=k>2]|0;if(!a){f=n;m=9;break}else j=n}if((m|0)==9)return +f;return +(0.0)}function pk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0.0,i=0,j=0.0,k=0.0,l=0,m=0,n=0.0;d=b&1^1;e=c[a+60>>2]|0;if(!e){f=1797693134862315708145274.0e284;return +f}g=+h[a+24+(d<<3)>>3];i=a+16|0;j=1797693134862315708145274.0e284;a=e;a:while(1){e=a;while(1){if((!(g==+h[e+24+(d<<3)>>3])?!(g==+h[e+40+(d<<3)>>3]):0)?(k=+h[e+24+(b<<3)>>3],k>=+h[i>>3]):0)break;l=c[e+60>>2]|0;if(!l){f=j;m=9;break a}else e=l}n=j>2]|0;if(!a){f=n;m=9;break}else j=n}if((m|0)==9)return +f;return +(0.0)}function qk(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0,g=0,i=0;d=c[a+60>>2]|0;a:do if(d|0){e=+h[a+16>>3];f=d;while(1){if(+h[f+24+(b<<3)>>3]>3]:0){g=1;break}f=c[f+60>>2]|0;if(!f)break a}return g|0}while(0);d=c[a+56>>2]|0;if(!d){g=0;return g|0}e=+h[a+16>>3];a=d;while(1){if(+h[a+24+(b<<3)>>3]>3]:0){g=1;i=11;break}a=c[a+56>>2]|0;if(!a){g=0;i=11;break}}if((i|0)==11)return g|0;return 0}function rk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=+e;c[a>>2]=b;c[a+4>>2]=d;h[a+8>>3]=e;return}function sk(a,b){a=a|0;b=b|0;var d=0,e=0.0,f=0.0,g=0,i=0;d=c[a>>2]|0;a=c[b>>2]|0;e=+h[d+8>>3];f=+h[a+8>>3];if(e!=f){g=e>2]|0;i=c[a>>2]|0;if((b|0)!=(i|0)){g=b-i|0;return g|0}i=c[d+4>>2]|0;d=c[a+4>>2]|0;if((i|0)==(d|0))ta(19152,19167,306,19180);g=(i-d|0)/72|0;return g|0}function tk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;b=l;l=l+80|0;d=b+32|0;e=b+56|0;f=b;g=c[a+20>>2]|0;h=a+16|0;a=g;if((a|0)==(h|0)){l=b;return}i=e+4|0;j=f+8|0;k=f+8|0;m=g;g=a;do{a=c[m+8>>2]|0;if((fc(a)|0)==2){n=Cc(a)|0;hc(e,a);a=n+32|0;Ac(a,0,0);o=n+8|0;p=n+36|0;q=n+40|0;r=0;while(1){if(r>>>0>=(fb[c[(c[n>>2]|0)+16>>2]&127](n)|0)>>>0)break;s=c[i>>2]|0;t=c[e>>2]|0;if(r){if((s|0)!=(t|0)){u=r+-1|0;v=(r<<1)+-1|0;w=0;x=t;while(1){y=c[o>>2]|0;if(Id(y+(u*24|0)|0,y+(r*24|0)|0,x+(w<<5)|0,0.0)|0){y=(c[e>>2]|0)+(w<<5)|0;c[d>>2]=c[y>>2];c[d+4>>2]=c[y+4>>2];c[d+8>>2]=c[y+8>>2];c[d+12>>2]=c[y+12>>2];c[d+16>>2]=c[y+16>>2];c[d+20>>2]=c[y+20>>2];c[f>>2]=v;c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[k+12>>2]=c[d+12>>2];c[k+16>>2]=c[d+16>>2];c[k+20>>2]=c[d+20>>2];y=c[p>>2]|0;if((y|0)==(c[q>>2]|0))uk(a,f);else{c[y>>2]=c[f>>2];c[y+4>>2]=c[f+4>>2];c[y+8>>2]=c[f+8>>2];c[y+12>>2]=c[f+12>>2];c[y+16>>2]=c[f+16>>2];c[y+20>>2]=c[f+20>>2];c[y+24>>2]=c[f+24>>2];c[y+28>>2]=c[f+28>>2];c[p>>2]=(c[p>>2]|0)+32}}w=w+1|0;y=c[i>>2]|0;z=c[e>>2]|0;A=z;if(w>>>0>=y-z>>5>>>0){B=y;C=z;D=A;E=16;break}else x=A}}}else{B=s;C=t;D=t;E=16}if((E|0)==16?(E=0,(B|0)!=(C|0)):0){x=r<<1;w=0;v=D;do{if(ee((c[o>>2]|0)+(r*24|0)|0,v+(w<<5)|0,.0001)|0){u=(c[e>>2]|0)+(w<<5)|0;c[d>>2]=c[u>>2];c[d+4>>2]=c[u+4>>2];c[d+8>>2]=c[u+8>>2];c[d+12>>2]=c[u+12>>2];c[d+16>>2]=c[u+16>>2];c[d+20>>2]=c[u+20>>2];c[f>>2]=x;c[j>>2]=c[d>>2];c[j+4>>2]=c[d+4>>2];c[j+8>>2]=c[d+8>>2];c[j+12>>2]=c[d+12>>2];c[j+16>>2]=c[d+16>>2];c[j+20>>2]=c[d+20>>2];u=c[p>>2]|0;if((u|0)==(c[q>>2]|0))uk(a,f);else{c[u>>2]=c[f>>2];c[u+4>>2]=c[f+4>>2];c[u+8>>2]=c[f+8>>2];c[u+12>>2]=c[f+12>>2];c[u+16>>2]=c[f+16>>2];c[u+20>>2]=c[f+20>>2];c[u+24>>2]=c[f+24>>2];c[u+28>>2]=c[f+28>>2];c[p>>2]=(c[p>>2]|0)+32}}w=w+1|0;v=c[e>>2]|0}while(w>>>0<(c[i>>2]|0)-v>>5>>>0)}r=r+1|0}r=c[e>>2]|0;if(r|0){p=c[i>>2]|0;if((p|0)!=(r|0))c[i>>2]=p+(~((p+-32-r|0)>>>5)<<5);Yy(r)}}m=c[g+4>>2]|0;g=m}while((g|0)!=(h|0));l=b;return}function uk(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>5;h=g+1|0;if(h>>>0>134217727)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>4;l=j>>5>>>0<67108863?(k>>>0>>0?h:k):134217727;do if(l)if(l>>>0>134217727){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<5)|0;break}else m=0;while(0);k=m+(g<<5)|0;c[k>>2]=c[b>>2];c[k+4>>2]=c[b+4>>2];c[k+8>>2]=c[b+8>>2];c[k+12>>2]=c[b+12>>2];c[k+16>>2]=c[b+16>>2];c[k+20>>2]=c[b+20>>2];c[k+24>>2]=c[b+24>>2];c[k+28>>2]=c[b+28>>2];b=k+(0-g<<5)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+32;c[i>>2]=m+(l<<5);if(!e)return;Yy(e);return}function vk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=c[a+20>>2]|0;d=a+16|0;a=b;if((a|0)==(d|0))return;else{e=b;f=a}do{a=c[e+8>>2]|0;if((fc(a)|0)==2?(b=Cc(a)|0,a=c[b+32>>2]|0,g=b+36|0,b=c[g>>2]|0,(b|0)!=(a|0)):0)c[g>>2]=b+(~((b+-32-a|0)>>>5)<<5);e=c[f+4>>2]|0;f=e}while((f|0)!=(d|0));return}function wk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0.0,E=0.0,F=0,G=0,H=0,I=0.0,J=0,K=0.0,L=0,M=0,N=0;e=l;l=l+144|0;f=e+96|0;g=e+48|0;i=e+24|0;j=e;k=c[d+8>>2]|0;if(!k){l=e;return}m=b&1^1;n=c[a+12>>2]|0;o=n+k<<1;k=Xy(o>>>0>1073741823?-1:o<<2)|0;if(!n){p=o;q=0}else{r=g+24|0;s=f+8|0;t=f+24|0;u=f+32|0;v=o;o=0;w=0;x=c[a+8>>2]|0;while(1){a=c[x+8>>2]|0;if(((a|0)!=0?(y=Pz(a,64,48,0)|0,(y|0)!=0):0)?!(kf(y)|0):0){z=v+-2|0;A=o;B=c[x+4>>2]|0}else{Yf(g,a);c[i>>2]=c[g>>2];c[i+4>>2]=c[g+4>>2];c[i+8>>2]=c[g+8>>2];c[i+12>>2]=c[g+12>>2];c[i+16>>2]=c[g+16>>2];c[i+20>>2]=c[g+20>>2];c[j>>2]=c[r>>2];c[j+4>>2]=c[r+4>>2];c[j+8>>2]=c[r+8>>2];c[j+12>>2]=c[r+12>>2];c[j+16>>2]=c[r+16>>2];c[j+20>>2]=c[r+20>>2];C=+h[(ge(i,b)|0)>>3];D=+h[(ge(j,b)|0)>>3];E=C+(D-+h[(ge(i,b)|0)>>3])*.5;y=Wy(72)|0;c[y>>2]=1864;c[y+4>>2]=a;c[y+8>>2]=0;c[y+12>>2]=0;h[y+16>>3]=E;c[y+56>>2]=0;c[y+60>>2]=0;Yf(f,a);h[y+24>>3]=+h[f>>3];h[y+32>>3]=+h[s>>3];h[y+40>>3]=+h[t>>3];h[y+48>>3]=+h[u>>3];a=Wy(16)|0;E=+h[(ge(i,m)|0)>>3];c[a>>2]=1;c[a+4>>2]=y;h[a+8>>3]=E;c[k+(o<<2)>>2]=a;a=Wy(16)|0;E=+h[(ge(j,m)|0)>>3];c[a>>2]=5;c[a+4>>2]=y;h[a+8>>3]=E;c[k+(o+1<<2)>>2]=a;z=v;A=o+2|0;B=c[x+4>>2]|0}w=w+1|0;if(w>>>0>=n>>>0){p=z;q=A;break}else{v=z;o=A;x=B}}}B=c[d+4>>2]|0;x=B;a:do if((x|0)!=(d|0)){A=q;o=B;z=x;while(1){v=o+8|0;n=c[v>>2]|0;w=fb[c[(c[n>>2]|0)+8>>2]&127](n)|0;n=c[v>>2]|0;j=fb[c[(c[n>>2]|0)+12>>2]&127](n)|0;E=+h[(he(w,b)|0)>>3];if(!(E==+h[(he(j,b)|0)>>3])){F=13;break}E=+h[(he(w,m)|0)>>3];if(!(E<+h[(he(j,m)|0)>>3])){F=15;break}n=Wy(72)|0;i=c[v>>2]|0;E=+h[(he(w,b)|0)>>3];c[n>>2]=1864;c[n+4>>2]=0;c[n+8>>2]=0;c[n+12>>2]=i;h[n+16>>3]=E;i=n+24|0;v=i+40|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(v|0));i=Wy(16)|0;E=+h[(he(w,m)|0)>>3];c[i>>2]=2;c[i+4>>2]=n;h[i+8>>3]=E;c[k+(A<<2)>>2]=i;i=Wy(16)|0;E=+h[(he(j,m)|0)>>3];c[i>>2]=4;c[i+4>>2]=n;h[i+8>>3]=E;c[k+(A+1<<2)>>2]=i;o=c[z+4>>2]|0;z=o;if((z|0)==(d|0))break a;else A=A+2|0}if((F|0)==13)ta(19195,19167,507,19221);else if((F|0)==15)ta(19248,19167,508,19221)}while(0);Do(k,p,4,14);c[f+4>>2]=0;F=f+8|0;c[F>>2]=0;d=f+4|0;c[f>>2]=d;m=(p|0)==0;if(m){G=0;H=0;I=0.0}else{G=0;H=0;I=+h[(c[k>>2]|0)+8>>3]}while(1){x=(G|0)==(p|0);if(!x?(B=c[k+(G<<2)>>2]|0,!(+h[B+8>>3]!=I)):0){J=H;K=I;L=B}else{if(H>>>0>>0){B=H;do{xk(f,c[k+(B<<2)>>2]|0,b,2);B=B+1|0}while(B>>>0>>0);M=H;do{xk(f,c[k+(M<<2)>>2]|0,b,3);M=M+1|0}while(M>>>0>>0);N=H;do{xk(f,c[k+(N<<2)>>2]|0,b,4);N=N+1|0}while(N>>>0>>0)}if(x)break;B=c[k+(G<<2)>>2]|0;J=G;K=+h[B+8>>3];L=B}xk(f,L,b,1);G=G+1|0;if(G>>>0>p>>>0)break;else{H=J;I=K}}if(c[F>>2]|0)ta(19691,19167,552,19221);if(!m){m=0;do{F=c[k+(m<<2)>>2]|0;if(F|0)Yy(F);m=m+1|0}while((m|0)!=(p|0))}Zy(k);yk(f,c[d>>2]|0);l=e;return}function xk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.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.0,P=0.0;f=l;l=l+16|0;g=f;i=c[b+4>>2]|0;c[g>>2]=i;j=i;switch(e|0){case 3:{if(((c[b>>2]|0)+-1|0)>>>0>=2){l=f;return}k=a+4|0;m=c[k>>2]|0;do if(m){n=+h[j+16>>3];o=j+4|0;p=j+8|0;q=j+12|0;r=a+4|0;s=m;while(1){t=c[s+16>>2]|0;u=+h[t+16>>3];if(n!=u)if(!(n>2]|0;x=(w|0)==0;do if(x){y=c[p>>2]|0;if(!y){z=c[q>>2]|0;break}else{z=y;break}}else z=w;while(0);y=c[t+4>>2]|0;A=(y|0)==0;do if(A){B=c[t+8>>2]|0;if(!B){C=c[t+12>>2]|0;break}else{C=B;break}}else C=y;while(0);if(z>>>0>=C>>>0){do if(A){B=c[t+8>>2]|0;if(!B){D=c[t+12>>2]|0;break}else{D=B;break}}else D=y;while(0);do if(x){y=c[p>>2]|0;if(!y){E=c[q>>2]|0;break}else{E=y;break}}else E=w;while(0);if(D>>>0>>0)v=33;else{v=35;break}}else v=19}if((v|0)==19){v=0;w=c[s>>2]|0;if(!w){v=20;break}else{F=s;G=w}}else if((v|0)==33){v=0;H=s+4|0;w=c[H>>2]|0;if(!w){v=34;break}else{F=H;G=w}}r=F;s=G}if((v|0)==20){I=s;J=s;break}else if((v|0)==34){I=H;J=s;break}else if((v|0)==35){I=r;J=s;break}}else{I=k;J=k}while(0);H=c[I>>2]|0;if(H|0){c[j+64>>2]=H;ta(20039,19167,398,19279)}H=Wy(20)|0;c[H+16>>2]=i;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=J;c[I>>2]=H;J=c[c[a>>2]>>2]|0;if(!J)K=H;else{c[a>>2]=J;K=c[I>>2]|0}kd(c[a+4>>2]|0,K);K=a+8|0;c[K>>2]=(c[K>>2]|0)+1;K=c[g>>2]|0;I=K+64|0;c[I>>2]=H;if((H|0)==(c[a>>2]|0))L=H;else{J=c[H>>2]|0;if(!J){i=H;while(1){H=c[i+8>>2]|0;if((c[H>>2]|0)==(i|0))i=H;else{M=H;break}}}else{i=J;while(1){J=c[i+4>>2]|0;if(!J){M=i;break}else i=J}}i=c[M+16>>2]|0;c[K+56>>2]=i;c[i+60>>2]=K;L=c[I>>2]|0}I=c[L+4>>2]|0;if(!I){i=L+8|0;M=c[i>>2]|0;if((c[M>>2]|0)==(L|0))N=M;else{M=i;do{i=c[M>>2]|0;M=i+8|0;L=c[M>>2]|0}while((c[L>>2]|0)!=(i|0));N=L}}else{M=I;while(1){I=c[M>>2]|0;if(!I)break;else M=I}N=M}if((N|0)==(k|0)){l=f;return}k=c[N+16>>2]|0;c[K+60>>2]=k;c[k+56>>2]=K;l=f;return}case 4:{if(((c[b>>2]|0)+-1|0)>>>0<2)v=56;else{l=f;return}break}case 1:{if((c[b>>2]&-2|0)==4)v=56;else{l=f;return}break}case 2:break;default:{l=f;return}}if((v|0)==56){v=c[j+56>>2]|0;K=(v|0)==0;a:do if(!(c[j+12>>2]|0)){b:do if(!K){k=j+24+(d<<3)|0;N=v;do{M=c[N+12>>2]|0;n=+h[N+16>>3];u=+h[k>>3];if(!M){if(!(n>u))break b}else if(n<=u){I=M+16|0;h[I>>3]=+h[(+h[I>>3]>3]}N=c[N+56>>2]|0}while((N|0)!=0)}while(0);s=c[j+60>>2]|0;if(s|0){r=j+40+(d<<3)|0;N=s;do{s=c[N+12>>2]|0;u=+h[N+16>>3];n=+h[r>>3];if(!s){if(!(u=n){k=s+8|0;h[k>>3]=+h[(n<+h[k>>3]?k:r)>>3]}N=c[N+60>>2]|0}while((N|0)!=0)}}else{c:do if(K)O=-1797693134862315708145274.0e284;else{N=j+16|0;r=v;while(1){if((c[r+12>>2]|0)==0?(n=+h[r+40+(d<<3)>>3],!(n>+h[N>>3])):0){O=n;break c}r=c[r+56>>2]|0;if(!r){O=-1797693134862315708145274.0e284;break}}}while(0);r=c[j+60>>2]|0;d:do if(!r)P=1797693134862315708145274.0e284;else{N=j+16|0;k=r;while(1){if((c[k+12>>2]|0)==0?(n=+h[k+24+(d<<3)>>3],!(n<+h[N>>3])):0){P=n;break d}k=c[k+60>>2]|0;if(!k){P=1797693134862315708145274.0e284;break}}}while(0);r=c[j+12>>2]|0;k=r+8|0;n=+h[k>>3];h[k>>3]=O>3];h[(c[j+12>>2]|0)+16>>3]=n>2]&-2|0)!=4){l=f;return}b=c[j+56>>2]|0;e=c[j+60>>2]|0;if(b|0)c[b+60>>2]=e;if(e|0)c[e+56>>2]=b;if((zk(a,g)|0)!=1)ta(20070,19167,456,19279);a=c[g>>2]|0;if(!a){l=f;return}cb[c[(c[a>>2]|0)+4>>2]&127](a);l=f;return}function yk(a,b){a=a|0;b=b|0;if(!b)return;else{yk(a,c[b>>2]|0);yk(a,c[b+4>>2]|0);Yy(b);return}}function zk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0.0,j=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;d=a+4|0;e=c[d>>2]|0;if(!e){f=0;return f|0}g=c[b>>2]|0;i=+h[g+16>>3];b=g+4|0;j=g+8|0;k=g+12|0;g=d;l=e;a:while(1){m=l;while(1){n=c[m+16>>2]|0;o=+h[n+16>>3];if(o!=i){if(!(o>2]|0;do if(!p){q=c[n+8>>2]|0;if(!q){r=c[n+12>>2]|0;break}else{r=q;break}}else r=p;while(0);p=c[b>>2]|0;do if(!p){n=c[j>>2]|0;if(!n){s=c[k>>2]|0;break}else{s=n;break}}else s=p;while(0);if(r>>>0>=s>>>0)break}p=c[m+4>>2]|0;if(!p){t=g;break a}else m=p}l=c[m>>2]|0;if(!l){t=m;break}else g=m}if((t|0)==(d|0)){f=0;return f|0}d=c[t+16>>2]|0;o=+h[d+16>>3];if(i!=o){if(i>2]|0;do if(!g){b=c[j>>2]|0;if(!b){u=c[k>>2]|0;break}else{u=b;break}}else u=g;while(0);g=c[d+4>>2]|0;do if(!g){k=c[d+8>>2]|0;if(!k){v=c[d+12>>2]|0;break}else{v=k;break}}else v=g;while(0);if(u>>>0>>0){f=0;return f|0}}v=c[t+4>>2]|0;if(!v){u=t+8|0;g=c[u>>2]|0;if((c[g>>2]|0)==(t|0))w=g;else{g=u;do{u=c[g>>2]|0;g=u+8|0;d=c[g>>2]|0}while((c[d>>2]|0)!=(u|0));w=d}}else{g=v;while(1){v=c[g>>2]|0;if(!v)break;else g=v}w=g}if((c[a>>2]|0)==(t|0))c[a>>2]=w;w=a+8|0;c[w>>2]=(c[w>>2]|0)+-1;Cd(e,t);Yy(t);f=1;return f|0}function Ak(){Fh(28032,0,0,0);Fh(28040,0,0,b[4624]|0);return}function Bk(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;c[b>>2]=d;c[b+4>>2]=e;Gb(b+8|0,f);ae(b+56|0);a[b+80>>0]=g&1;g=b+84|0;c[g>>2]=g;c[b+88>>2]=g;c[b+92>>2]=0;if(!(c[b>>2]|0))return;else ta(19297,19315,42,19330)}function Ck(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;me(a+8|0);ae(a+56|0);d=a+84|0;c[d>>2]=d;c[a+88>>2]=d;c[a+92>>2]=0;if((c[a>>2]|0)>>>0<3)return;else ta(19341,19315,52,19330)}function Dk(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;me(a+8|0);ae(a+56|0);d=a+84|0;c[d>>2]=d;c[a+88>>2]=d;c[a+92>>2]=0;if(((c[a>>2]|0)+-3|0)>>>0<3)return;else ta(19408,19315,70,19330)}function Ek(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;me(a+8|0);ae(a+56|0);d=a+84|0;c[d>>2]=d;c[a+88>>2]=d;c[a+92>>2]=0;if((c[a>>2]|0)==6)return;else ta(19484,19315,77,19330)}function Fk(a,b,d){a=a|0;b=b|0;d=d|0;c[a>>2]=b;c[a+4>>2]=d;me(a+8|0);ae(a+56|0);d=a+84|0;c[d>>2]=d;c[a+88>>2]=d;c[a+92>>2]=0;if((c[a>>2]|0)==7)return;else ta(19503,19315,85,19330)}function Gk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+84|0;d=a+92|0;if(c[d>>2]|0?(e=c[a+88>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;rd(e+16|0);Yy(e)}while((d|0)!=(b|0))}c[a+8>>2]=1624;b=c[a+40>>2]|0;if(b|0){d=a+44|0;e=c[d>>2]|0;if((e|0)!=(b|0))c[d>>2]=e+(~((e+-32-b|0)>>>5)<<5);Yy(b)}b=c[a+28>>2]|0;if(b|0){e=a+32|0;if((c[e>>2]|0)!=(b|0))c[e>>2]=b;Yy(b)}b=c[a+16>>2]|0;if(!b)return;e=a+20|0;a=c[e>>2]|0;if((a|0)!=(b|0))c[e>>2]=a+(~(((a+-24-b|0)>>>0)/24|0)*24|0);Yy(b);return}function Hk(a){a=a|0;if((c[a>>2]|0)>>>0<6)return c[a+4>>2]|0;else ta(19531,19315,98,19677);return 0}function Ik(a){a=a|0;var b=0,d=0;if((c[a>>2]|0)>>>0>=6)ta(19531,19315,98,19677);b=c[a+4>>2]|0;if(!b){d=0;return d|0}d=Pz(b,64,88,0)|0;return d|0}function Jk(a){a=a|0;if((c[a>>2]|0)==6)return c[a+4>>2]|0;else ta(19484,19315,111,19686);return 0}function Kk(a){a=a|0;var b=0,d=0;if((c[a>>2]|0)>>>0>=6)ta(19531,19315,98,19677);b=c[a+4>>2]|0;if(!b){d=0;return d|0}d=Pz(b,64,48,0)|0;return d|0}function Lk(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;f=l;l=l+128|0;g=f+56|0;h=f;i=a+84|0;j=c[a+88>>2]|0;k=j;a:do if((k|0)!=(i|0)){m=j;n=k;while(1){o=m;if((c[o+8>>2]|0)==(b|0))break;m=c[n+4>>2]|0;n=m;if((n|0)==(i|0))break a}if(e){l=f;return}p=o+16|0;q=d;r=p+52|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0));l=f;return}while(0);p=h;q=d;r=p+56|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0));c[g>>2]=b;b=g+8|0;p=b;q=d;r=p+56|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0));d=Wy(72)|0;p=d+8|0;q=g;r=p+64|0;do{c[p>>2]=c[q>>2];p=p+4|0;q=q+4|0}while((p|0)<(r|0));c[d+4>>2]=i;q=c[i>>2]|0;c[d>>2]=q;c[q+4>>2]=d;c[i>>2]=d;d=a+92|0;c[d>>2]=(c[d>>2]|0)+1;rd(b);rd(h);l=f;return}function Mk(a,b){a=a|0;b=b|0;var d=0;if((c[a>>2]|0)!=(c[b>>2]|0)){d=0;return d|0}d=(c[a+4>>2]|0)==(c[b+4>>2]|0);return d|0}function Nk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a>>2]|0;e=c[b>>2]|0;if((d|0)!=(e|0)){f=(d|0)<(e|0);return f|0}switch(d|0){case 6:{e=nc(c[a+4>>2]|0)|0;if((c[b>>2]|0)!=6)ta(19484,19315,111,19686);f=e>>>0<(nc(c[b+4>>2]|0)|0)>>>0;return f|0}case 7:{f=(c[a+4>>2]|0)>>>0<(c[b+4>>2]|0)>>>0;return f|0}default:{if(d>>>0>=6)ta(19531,19315,98,19677);d=Wf(c[a+4>>2]|0)|0;if((c[b>>2]|0)>>>0>=6)ta(19531,19315,98,19677);f=d>>>0<(Wf(c[b+4>>2]|0)|0)>>>0;return f|0}}return 0}function Ok(){Fh(28048,0,0,0);Fh(28056,0,0,b[4624]|0);return}function Pk(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0.0,I=0.0,J=0,K=0,L=0,M=0,N=0.0,O=0,P=0,Q=0.0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0.0,Z=0.0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0;b=l;l=l+176|0;d=b+72|0;e=b+24|0;f=b+8|0;g=b+156|0;i=b;j=b+160|0;k=b+144|0;m=b+132|0;n=b+120|0;o=c[a+12>>2]|0;p=a+100|0;q=(o<<1)+(hi(p)|0)|0;r=Xy(q>>>0>1073741823?-1:q<<2)|0;s=a+8|0;t=(o|0)==0;if(t){u=q;v=0}else{w=d+24|0;x=d+8|0;y=d+32|0;z=0;A=0;B=q;q=c[s>>2]|0;while(1){C=c[q+8>>2]|0;if(((C|0)!=0?(D=Pz(C,64,48,0)|0,(D|0)!=0):0)?!(kf(D)|0):0){E=B+-2|0;F=z;G=c[q+4>>2]|0}else{Yf(d,C);H=+h[d>>3];I=H+(+h[w>>3]-H)*.5;D=Wy(72)|0;lk(D,C,I);C=Wy(16)|0;rk(C,1,D,+h[x>>3]);c[r+(z<<2)>>2]=C;C=Wy(16)|0;rk(C,5,D,+h[y>>3]);c[r+(z+1<<2)>>2]=C;E=B;F=z+2|0;G=c[q+4>>2]|0}A=A+1|0;if(A>>>0>=o>>>0){u=E;v=F;break}else{z=F;B=E;q=G}}}if(wg(a)|0){c[d>>2]=0;G=d+4|0;c[G>>2]=0;c[d+8>>2]=0;if(!t){q=d+8|0;E=0;B=c[s>>2]|0;while(1){F=c[B+8>>2]|0;if(((F|0)!=0?(z=Pz(F,64,48,0)|0,(z|0)!=0):0)?!(kf(z)|0):0)J=c[B+4>>2]|0;else{Yf(e,F);F=c[G>>2]|0;if((F|0)==(c[q>>2]|0))Li(d,e);else{z=F;A=e;y=z+48|0;do{c[z>>2]=c[A>>2];z=z+4|0;A=A+4|0}while((z|0)<(y|0));c[G>>2]=F+48}J=c[B+4>>2]|0}E=E+1|0;if(E>>>0>=o>>>0)break;else B=J}}J=wg(a)|0;B=c[(c[J>>2]|0)+8>>2]|0;c[j>>2]=0;E=j+4|0;c[E>>2]=0;c[j+8>>2]=0;q=c[d>>2]|0;A=(c[G>>2]|0)-q|0;z=(A|0)/48|0;if(A|0){if(z>>>0>89478485)rx(j);y=Wy(A)|0;c[E>>2]=y;c[j>>2]=y;c[j+8>>2]=y+(z*48|0);if((A|0)>0){EA(y|0,q|0,A|0)|0;c[E>>2]=y+(((A>>>0)/48|0)*48|0)}}db[B&63](J,j);J=c[j>>2]|0;if(J|0){j=c[E>>2]|0;if((j|0)!=(J|0))c[E>>2]=j+(~(((j+-48-J|0)>>>0)/48|0)*48|0);Yy(J)}J=c[d>>2]|0;if(J|0){j=c[G>>2]|0;if((j|0)!=(J|0))c[G>>2]=j+(~(((j+-48-J|0)>>>0)/48|0)*48|0);Yy(J)}}J=fi(p)|0;a:do if(!J)K=u;else{j=J;G=v;E=u;while(1){if((j|0)==(bi(p)|0)){K=E;break a}if(!(c[j+128>>2]|0)){L=E+-1|0;M=G}else{B=Wy(72)|0;mk(B,j,+h[j+16>>3]);A=Wy(16)|0;rk(A,3,B,+h[j+24>>3]);c[r+(G<<2)>>2]=A;L=E;M=G+1|0}j=c[j+44>>2]|0;if(!j){K=L;break}else{G=M;E=L}}}while(0);Do(r,K,4,14);L=(K|0)==0;b:do if(!L){M=c[r>>2]|0;I=+h[M+8>>3];u=0;v=M;do{M=c[(c[v+4>>2]|0)+8>>2]|0;if(M|0){J=M+128|0;c[J>>2]=c[J>>2]|12}u=u+1|0;if(u>>>0>=K>>>0)break;v=c[r+(u<<2)>>2]|0}while(!(+h[v+8>>3]>I));v=K+-1|0;I=+h[(c[r+(v<<2)>>2]|0)+8>>3];u=0;do{J=c[r+(v-u<<2)>>2]|0;if(+h[J+8>>3]>2]|0)+8>>2]|0;if(M|0){J=M+128|0;c[J>>2]=c[J>>2]|12}u=u+1|0}while(u>>>0>>0)}while(0);c[k>>2]=k;u=k+4|0;c[u>>2]=k;v=k+8|0;c[v>>2]=0;c[m+4>>2]=0;J=m+8|0;c[J>>2]=0;M=m+4|0;c[m>>2]=M;E=(K|0)!=0;if(E){N=+h[(c[r>>2]|0)+8>>3];O=0;P=0}else{N=0.0;O=0;P=0}while(1){nh(a,1,P,K);G=(P|0)==(K|0);if(!G?(j=c[r+(P<<2)>>2]|0,!(+h[j+8>>3]!=N)):0){Q=N;R=O;S=j}else{if(O>>>0

>>0){j=O;do{Qk(a,m,k,c[r+(j<<2)>>2]|0,2);j=j+1|0}while(j>>>0

>>0);T=O;do{Qk(a,m,k,c[r+(T<<2)>>2]|0,3);T=T+1|0}while(T>>>0

>>0)}if(G)break;j=c[r+(P<<2)>>2]|0;Q=+h[j+8>>3];R=P;S=j}Qk(a,m,k,S,1);P=P+1|0;if(P>>>0>K>>>0)break;else{N=Q;O=R}}if(c[J>>2]|0)ta(19691,19712,1855,19727);if(!L){R=0;do{O=c[r+(R<<2)>>2]|0;if(O|0)Yy(O);R=R+1|0}while((R|0)!=(K|0))}c[f>>2]=c[u>>2];c[g>>2]=k;R=c[v>>2]|0;c[e>>2]=c[f>>2];c[d>>2]=c[g>>2];Rk(e,d,R,i)|0;c[n>>2]=n;R=n+4|0;c[R>>2]=n;O=n+8|0;c[O>>2]=0;if(t)U=0;else{t=d+8|0;P=d+32|0;S=d+24|0;T=0;j=0;F=c[s>>2]|0;while(1){s=c[F+8>>2]|0;if(((s|0)!=0?(A=Pz(s,64,48,0)|0,(A|0)!=0):0)?!(kf(A)|0):0){V=j;W=c[F+4>>2]|0}else{Yf(d,s);Q=+h[t>>3];N=+h[P>>3];A=Wy(72)|0;lk(A,s,Q+(N-Q)*.5);s=Wy(16)|0;rk(s,1,A,+h[d>>3]);c[r+(j<<2)>>2]=s;s=Wy(16)|0;rk(s,5,A,+h[S>>3]);c[r+(j+1<<2)>>2]=s;V=j+2|0;W=c[F+4>>2]|0}T=T+1|0;if(T>>>0>=o>>>0){U=V;break}else{j=V;F=W}}}W=fi(p)|0;c:do if(W|0){F=W;V=U;while(1){if((F|0)==(bi(p)|0))break c;if(!(c[F+128>>2]|0))X=V;else{j=Wy(72)|0;mk(j,F,+h[F+24>>3]);o=Wy(16)|0;rk(o,3,j,+h[F+16>>3]);c[r+(V<<2)>>2]=o;X=V+1|0}F=c[F+44>>2]|0;if(!F)break;else V=X}}while(0);Do(r,K,4,14);d:do if(!L){X=c[r>>2]|0;Q=+h[X+8>>3];p=0;U=X;do{X=c[(c[U+4>>2]|0)+8>>2]|0;if(X|0){W=X+128|0;c[W>>2]=c[W>>2]|3}p=p+1|0;if(p>>>0>=K>>>0)break;U=c[r+(p<<2)>>2]|0}while(!(+h[U+8>>3]>Q));U=K+-1|0;Q=+h[(c[r+(U<<2)>>2]|0)+8>>3];p=0;do{W=c[r+(U-p<<2)>>2]|0;if(+h[W+8>>3]>2]|0)+8>>2]|0;if(X|0){W=X+128|0;c[W>>2]=c[W>>2]|3}p=p+1|0}while(p>>>0>>0)}while(0);if(E)Y=+h[(c[r>>2]|0)+8>>3];else Y=0.0;E=e+4|0;p=f+8|0;U=f+12|0;W=0;Q=Y;X=0;e:while(1){nh(a,2,W,K);V=(W|0)==(K|0);if(!V?(F=c[r+(W<<2)>>2]|0,!(+h[F+8>>3]!=Q)):0){Z=Q;_=X;$=F}else{if(X>>>0>>0){F=X;do{Sk(a,m,n,c[r+(F<<2)>>2]|0,2);F=F+1|0}while(F>>>0>>0);aa=X;do{Sk(a,m,n,c[r+(aa<<2)>>2]|0,3);aa=aa+1|0}while(aa>>>0>>0)}c[f>>2]=c[R>>2];c[g>>2]=n;F=c[O>>2]|0;c[e>>2]=c[f>>2];c[d>>2]=c[g>>2];Rk(e,d,F,i)|0;F=c[R>>2]|0;G=F;if((G|0)!=(n|0)){o=F;F=G;do{G=o;j=G+8|0;if(!(c[v>>2]|0)){ba=104;break e}T=c[u>>2]|0;S=T;if((S|0)!=(k|0)){P=G+24|0;t=G+48|0;s=G+52|0;A=G+56|0;B=G+16|0;G=T;T=S;while(1){S=G;y=S+8|0;q=S+24|0;Y=+h[q>>3];if(!(+h[j>>3]<=Y))ca=0;else ca=+h[B>>3]>=Y;Y=+h[P>>3];N=+h[y>>3];f:do if(Y>2]|0;else{do if(Y==N){if(!ca)break;Wk(y,a,j)}else{z=S+16|0;I=+h[z>>3];if(Y==I){if(!ca)break;Xk(y,a,0);Yk(y,a,0);Zk(y,+h[z>>3])|0;_k(y,a,j);Vk(y,a,0);x=T+4|0;w=c[x>>2]|0;C=c[T>>2]|0;c[C+4>>2]=w;c[c[x>>2]>>2]=C;c[v>>2]=(c[v>>2]|0)+-1;Tk(T+48|0,c[T+52>>2]|0);Uk(T+36|0,c[T+40>>2]|0);Yy(G);da=w;break f}if(Y>I){Xk(y,a,0);Yk(y,a,0);Zk(y,+h[z>>3])|0;Vk(y,a,0);z=T+4|0;w=c[z>>2]|0;C=c[T>>2]|0;c[C+4>>2]=w;c[c[z>>2]>>2]=C;c[v>>2]=(c[v>>2]|0)+-1;Tk(T+48|0,c[T+52>>2]|0);Uk(T+36|0,c[T+40>>2]|0);Yy(G);da=w;break f}if(!(Y>N)){ba=121;break e}if(!(Y>2]|0;g:do if((w|0)!=(E|0)){C=w;while(1){I=+h[q>>3];z=c[C+16>>2]|0;switch(c[z+128>>2]&3){case 3:{ea=3;ba=130;break}case 2:{ea=1;ba=130;break}case 1:{ea=2;ba=130;break}default:fa=0}if((ba|0)==130){ba=0;fa=ea}h[f>>3]=I;c[p>>2]=z;c[U>>2]=fa;z=al(t,d,f)|0;if(!(c[z>>2]|0)){x=Wy(32)|0;D=x+16|0;c[D>>2]=c[f>>2];c[D+4>>2]=c[f+4>>2];c[D+8>>2]=c[f+8>>2];c[D+12>>2]=c[f+12>>2];D=c[d>>2]|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=D;c[z>>2]=x;D=c[c[t>>2]>>2]|0;if(!D)ga=x;else{c[t>>2]=D;ga=c[z>>2]|0}kd(c[s>>2]|0,ga);c[A>>2]=(c[A>>2]|0)+1}z=c[C+4>>2]|0;do if(!z){D=C+8|0;x=c[D>>2]|0;if((c[x>>2]|0)==(C|0)){ha=x;break}else ia=D;do{D=c[ia>>2]|0;ia=D+8|0;x=c[ia>>2]|0}while((c[x>>2]|0)!=(D|0));ha=x}else{x=z;while(1){D=c[x>>2]|0;if(!D)break;else x=D}ha=x}while(0);if((ha|0)==(E|0))break g;else C=ha}}while(0);Uk(e,c[E>>2]|0)}while(0);da=c[T+4>>2]|0}while(0);T=da;if((T|0)==(k|0))break;else G=da}}Vk(j,a,1);o=c[F+4>>2]|0;F=o}while((F|0)!=(n|0))}if(c[O>>2]|0?(F=c[R>>2]|0,o=(c[n>>2]|0)+4|0,G=c[F>>2]|0,c[G+4>>2]=c[o>>2],c[c[o>>2]>>2]=G,c[O>>2]=0,(F|0)!=(n|0)):0){G=F;do{F=G;G=c[G+4>>2]|0;Tk(F+48|0,c[F+52>>2]|0);Uk(F+36|0,c[F+40>>2]|0);Yy(F)}while((G|0)!=(n|0))}if(V){ba=145;break}G=c[r+(W<<2)>>2]|0;Z=+h[G+8>>3];_=W;$=G}Sk(a,m,n,$,1);W=W+1|0;if(W>>>0>K>>>0){ba=145;break}else{Q=Z;X=_}}if((ba|0)==104)ta(19760,19712,1284,19778);else if((ba|0)==121)ta(19796,19712,1336,19778);else if((ba|0)==123)ta(19826,19712,1337,19778);else if((ba|0)==145){if(c[J>>2]|0)ta(19691,19712,1960,19727);if(!L){L=0;do{J=c[r+(L<<2)>>2]|0;if(J|0)Yy(J);L=L+1|0}while((L|0)!=(K|0))}Zy(r);r=c[u>>2]|0;if((r|0)!=(k|0)){K=r;do{r=K+8|0;Xk(r,a,0);Yk(r,a,0);Zk(r,+h[K+16>>3])|0;Vk(r,a,0);r=K+4|0;L=K;K=c[r>>2]|0;J=c[L>>2]|0;c[J+4>>2]=K;c[c[r>>2]>>2]=J;c[v>>2]=(c[v>>2]|0)+-1;Tk(L+48|0,c[L+52>>2]|0);Uk(L+36|0,c[L+40>>2]|0);Yy(L)}while((K|0)!=(k|0))}if(c[O>>2]|0?(K=c[R>>2]|0,R=(c[n>>2]|0)+4|0,a=c[K>>2]|0,c[a+4>>2]=c[R>>2],c[c[R>>2]>>2]=a,c[O>>2]=0,(K|0)!=(n|0)):0){O=K;do{K=O;O=c[O+4>>2]|0;Tk(K+48|0,c[K+52>>2]|0);Uk(K+36|0,c[K+40>>2]|0);Yy(K)}while((O|0)!=(n|0))}yk(m,c[M>>2]|0);if(!(c[v>>2]|0)){l=b;return}M=c[u>>2]|0;u=(c[k>>2]|0)+4|0;m=c[M>>2]|0;c[m+4>>2]=c[u>>2];c[c[u>>2]>>2]=m;c[v>>2]=0;if((M|0)==(k|0)){l=b;return}else ja=M;do{M=ja;ja=c[ja+4>>2]|0;Tk(M+48|0,c[M+52>>2]|0);Uk(M+36|0,c[M+40>>2]|0);Yy(M)}while((ja|0)!=(k|0));l=b;return}}function Qk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,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.0,Z=0.0,_=0.0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;g=l;l=l+544|0;i=g+504|0;j=g+532|0;k=g+496|0;m=g+488|0;n=g+480|0;o=g+472|0;p=g+408|0;q=g+344|0;r=g+280|0;s=g+416|0;t=g+352|0;u=g+288|0;v=g+224|0;w=g+528|0;x=g+168|0;y=g+112|0;z=g+56|0;A=g;B=e+4|0;C=c[B>>2]|0;c[j>>2]=C;D=C;switch(f|0){case 1:{if((c[e>>2]|0)==1)E=4;else{l=g;return}break}case 2:{F=c[e>>2]|0;if((F|0)==3)E=4;else{G=F;H=D;E=34}break}default:I=0}if((E|0)==4){F=b+4|0;J=c[F>>2]|0;do if(J){K=b+8|0;L=b+4|0;M=J;while(1){N=M+16|0;if(kk(K,D,c[N>>2]|0)|0){O=c[M>>2]|0;if(!O){E=9;break}else{P=M;Q=O}}else{if(!(kk(K,c[N>>2]|0,D)|0)){E=13;break}R=M+4|0;N=c[R>>2]|0;if(!N){E=12;break}else{P=R;Q=N}}L=P;M=Q}if((E|0)==9){S=M;T=M;break}else if((E|0)==12){S=R;T=M;break}else if((E|0)==13){S=L;T=M;break}}else{S=F;T=F}while(0);R=c[S>>2]|0;if(R|0){c[D+64>>2]=R;ta(20039,19712,1378,20146)}R=Wy(20)|0;c[R+16>>2]=C;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=T;c[S>>2]=R;T=c[c[b>>2]>>2]|0;if(!T)U=R;else{c[b>>2]=T;U=c[S>>2]|0}kd(c[b+4>>2]|0,U);U=b+8|0;c[U>>2]=(c[U>>2]|0)+1;U=c[j>>2]|0;S=U+64|0;c[S>>2]=R;if((R|0)==(c[b>>2]|0))V=R;else{T=c[R>>2]|0;if(!T){C=R;while(1){R=c[C+8>>2]|0;if((c[R>>2]|0)==(C|0))C=R;else{W=R;break}}}else{C=T;while(1){T=c[C+4>>2]|0;if(!T){W=C;break}else C=T}}C=c[W+16>>2]|0;c[U+56>>2]=C;c[C+60>>2]=U;V=c[S>>2]|0}S=c[V+4>>2]|0;if(!S){C=V+8|0;W=c[C>>2]|0;if((c[W>>2]|0)==(V|0))X=W;else{W=C;do{C=c[W>>2]|0;W=C+8|0;V=c[W>>2]|0}while((c[V>>2]|0)!=(C|0));X=V}}else{W=S;while(1){S=c[W>>2]|0;if(!S)break;else W=S}X=W}if((X|0)!=(F|0)){F=c[X+16>>2]|0;c[U+60>>2]=F;c[F+56>>2]=U}if((f|0)==2){G=c[e>>2]|0;H=U;E=34}else I=0}a:do if((E|0)==34)switch(G|0){case 5:case 1:{Y=+h[((G|0)==1?H+24|0:H+40|0)+8>>3];h[k>>3]=Y;h[m>>3]=+h[H+24>>3];h[n>>3]=+h[H+40>>3];nk(H,0,Y,o,p,q,r);Y=+h[q>>3];Z=+h[r>>3];if(!(Y>=Z)){if(Y>+h[o>>3]?!(Y>=+h[m>>3]):1)_=Z;else{fl(v,o,q,k,1,0,0);U=gl(d,v)|0;Tk(v+40|0,c[v+44>>2]|0);Uk(v+28|0,c[v+32>>2]|0);F=Wy(160)|0;be(i,+h[m>>3],+h[k>>3]);Oh(F,a,28056,i,1);c[w>>2]=F;F=U+28|0;X=dl(F,i,w)|0;if(!(c[X>>2]|0)){W=Wy(20)|0;c[W+16>>2]=c[w>>2];S=c[i>>2]|0;c[W>>2]=0;c[W+4>>2]=0;c[W+8>>2]=S;c[X>>2]=W;S=c[c[F>>2]>>2]|0;if(!S)$=W;else{c[F>>2]=S;$=c[X>>2]|0}kd(c[U+32>>2]|0,$);X=U+36|0;c[X>>2]=(c[X>>2]|0)+1}_=+h[r>>3]}if(!(_<+h[p>>3]?!(_<=+h[n>>3]):1)?(fl(x,r,p,k,1,0,0),X=gl(d,x)|0,Tk(x+40|0,c[x+44>>2]|0),Uk(x+28|0,c[x+32>>2]|0),U=Wy(160)|0,be(i,+h[n>>3],+h[k>>3]),Oh(U,a,28056,i,1),c[w>>2]=U,U=X+28|0,S=dl(U,i,w)|0,(c[S>>2]|0)==0):0){F=Wy(20)|0;c[F+16>>2]=c[w>>2];W=c[i>>2]|0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=W;c[S>>2]=F;W=c[c[U>>2]>>2]|0;if(!W)aa=F;else{c[U>>2]=W;aa=c[S>>2]|0}kd(c[X+32>>2]|0,aa);S=X+36|0;c[S>>2]=(c[S>>2]|0)+1}}else{S=Wy(160)|0;be(i,+h[m>>3],+h[k>>3]);Oh(S,a,28056,i,1);X=Wy(160)|0;be(i,+h[n>>3],+h[k>>3]);Oh(X,a,28056,i,1);if(+h[o>>3]<+h[m>>3]){fl(s,o,m,k,1,0,S);gl(d,s)|0;Tk(s+40|0,c[s+44>>2]|0);Uk(s+28|0,c[s+32>>2]|0)}fl(t,m,n,k,1,S,X);gl(d,t)|0;Tk(t+40|0,c[t+44>>2]|0);Uk(t+28|0,c[t+32>>2]|0);if(+h[n>>3]<+h[p>>3]){fl(u,n,p,k,1,X,0);gl(d,u)|0;Tk(u+40|0,c[u+44>>2]|0);Uk(u+28|0,c[u+32>>2]|0)}}I=1;break a;break}case 3:{X=c[(c[B>>2]|0)+8>>2]|0;S=X+16|0;Z=+ok(H,0);h[k>>3]=Z;h[m>>3]=+pk(H,0);W=qk(H,0)|0;U=X+128|0;F=c[U>>2]|0;if((F&4|0)!=0?Z<+h[S>>3]:0){fl(y,k,S,e+8|0,1,0,X);V=gl(d,y)|0;Tk(y+40|0,c[y+44>>2]|0);Uk(y+28|0,c[y+32>>2]|0);ba=V;ca=c[U>>2]|0}else{ba=0;ca=F}if((ca&8|0)!=0?+h[S>>3]<+h[m>>3]:0){fl(z,S,m,e+8|0,1,X,0);F=gl(d,z)|0;Tk(z+40|0,c[z+44>>2]|0);Uk(z+28|0,c[z+32>>2]|0);da=F;ea=0}else{da=0;ea=ba}F=(ea|0)!=0;U=(da|0)!=0;if(F|U){if(!W){W=Wy(160)|0;Oh(W,a,28048,S,1);c[n>>2]=W;if(F?(F=ea+28|0,W=dl(F,i,n)|0,(c[W>>2]|0)==0):0){V=Wy(20)|0;c[V+16>>2]=c[n>>2];C=c[i>>2]|0;c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=C;c[W>>2]=V;C=c[c[F>>2]>>2]|0;if(!C)fa=V;else{c[F>>2]=C;fa=c[W>>2]|0}kd(c[ea+32>>2]|0,fa);W=ea+36|0;c[W>>2]=(c[W>>2]|0)+1}if(U?(U=da+28|0,W=dl(U,i,n)|0,(c[W>>2]|0)==0):0){C=Wy(20)|0;c[C+16>>2]=c[n>>2];F=c[i>>2]|0;c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=F;c[W>>2]=C;F=c[c[U>>2]>>2]|0;if(!F)ga=C;else{c[U>>2]=F;ga=c[W>>2]|0}kd(c[da+32>>2]|0,ga);W=da+36|0;c[W>>2]=(c[W>>2]|0)+1}}}else{kl(A,S,e+8|0,X);gl(d,A)|0;Tk(A+40|0,c[A+44>>2]|0);Uk(A+28|0,c[A+32>>2]|0)}I=1;break a;break}default:{l=g;return}}while(0);if((f|0)==3?(c[e>>2]|0)==5:0)ha=5;else{if(!I){l=g;return}if((c[e>>2]|0)==3)ha=3;else{l=g;return}}e=c[j>>2]|0;I=c[e+56>>2]|0;f=c[e+60>>2]|0;if(I|0)c[I+60>>2]=f;if(f|0)c[f+56>>2]=I;if((ha|0)!=3){if((zk(b,j)|0)!=1)ta(20070,19712,1538,20146);ha=c[j>>2]|0;if(!ha){l=g;return}cb[c[(c[ha>>2]|0)+4>>2]&127](ha);l=g;return}ha=c[e+64>>2]|0;e=c[ha+4>>2]|0;if(!e){I=ha+8|0;f=c[I>>2]|0;if((c[f>>2]|0)==(ha|0))ia=f;else{f=I;do{I=c[f>>2]|0;f=I+8|0;A=c[f>>2]|0}while((c[A>>2]|0)!=(I|0));ia=A}}else{f=e;while(1){e=c[f>>2]|0;if(!e)break;else f=e}ia=f}if((c[b>>2]|0)==(ha|0))c[b>>2]=ia;ia=b+8|0;c[ia>>2]=(c[ia>>2]|0)+-1;Cd(c[b+4>>2]|0,ha);Yy(ha);ha=c[j>>2]|0;if(!ha){l=g;return}cb[c[(c[ha>>2]|0)+4>>2]&127](ha);l=g;return}function Rk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.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;g=l;l=l+32|0;i=g+20|0;j=g+16|0;k=g+12|0;m=g+8|0;n=g+4|0;o=g;switch(e|0){case 1:case 0:{p=c[b>>2]|0;l=g;return p|0}case 2:{q=c[c[d>>2]>>2]|0;c[d>>2]=q;r=q;s=c[b>>2]|0;t=+h[r+8>>3];u=+h[s+8>>3];v=q;do if(t!=u){if(!(t>3];x=+h[s+24>>3];if(w!=x){if(w>3];w=+h[s+16>>3];if(x!=w){if(x>0]|0)==(a[s+32>>0]|0)){p=s;l=g;return p|0}else ta(20109,19712,707,20136)}while(0);r=v+4|0;q=c[v>>2]|0;c[q+4>>2]=c[r>>2];c[c[r>>2]>>2]=q;q=c[s>>2]|0;c[q+4>>2]=v;c[v>>2]=q;c[s>>2]=v;c[r>>2]=s;p=c[d>>2]|0;l=g;return p|0}default:{s=e>>>1;r=c[b>>2]|0;v=r;if(!s)y=r;else{q=s;z=r;while(1){r=c[z+4>>2]|0;if((q|0)>1){q=q+-1|0;z=r}else{y=r;break}}}z=y;c[k>>2]=v;c[m>>2]=z;c[j>>2]=c[k>>2];c[i>>2]=c[m>>2];m=Rk(j,i,s,f)|0;c[b>>2]=m;c[n>>2]=z;z=c[d>>2]|0;c[o>>2]=z;c[j>>2]=c[n>>2];c[i>>2]=c[o>>2];o=Rk(j,i,e-s|0,f)|0;f=o;u=+h[o+8>>3];t=+h[m+8>>3];s=z;do if(u!=t)if(u>3];x=+h[m+24>>3];if(w!=x)if(w>3];w=+h[m+16>>3];if(x!=w)if(x>0]|0)==(a[m+32>>0]|0))A=34;else ta(20109,19712,707,20136)}while(0);if((A|0)==22){z=c[o+4>>2]|0;e=z;a:do if((e|0)!=(s|0)){i=m+24|0;j=m+16|0;n=z;d=e;b:while(1){B=n;u=+h[B+8>>3];do if(u!=t){if(!(u>3];x=+h[i>>3];if(w!=x)if(w>3];w=+h[j>>3];if(!(x!=w))break b;if(!(x>2]|0;v=k;if((v|0)==(s|0)){C=k;D=s;break a}else{n=k;d=v}}if((a[B+32>>0]|0)==(a[m+32>>0]|0)){C=n;D=d}else ta(20109,19712,707,20136)}else{C=z;D=s}while(0);z=c[D>>2]|0;D=z+4|0;B=c[o>>2]|0;c[B+4>>2]=c[D>>2];c[c[D>>2]>>2]=B;B=c[m+4>>2]|0;e=c[m>>2]|0;c[e+4>>2]=o;c[o>>2]=e;c[m>>2]=z;c[D>>2]=m;E=B;F=C;G=o}else if((A|0)==34){E=c[m+4>>2]|0;F=f;G=m}c[b>>2]=E;m=E;f=F;if((m|0)==(f|0)){p=G;l=g;return p|0}else{H=E;I=F;J=F;K=f;L=m}c:while(1){m=I;f=I;F=f+24|0;E=f+16|0;o=f+32|0;if((m|0)==(s|0)){p=G;A=59;break}t=+h[f+8>>3];f=H;C=L;d:while(1){M=f;u=+h[M+8>>3];do if(t!=u){if(t>3];x=+h[M+24>>3];if(w!=x)if(w>3];w=+h[M+16>>3];if(x!=w)if(x>0]|0)==(a[M+32>>0]|0))break;else{A=44;break c}}while(0);f=c[C+4>>2]|0;c[b>>2]=f;B=f;if((B|0)==(K|0)){p=G;A=59;break c}else C=B}f=c[m+4>>2]|0;o=f;e:do if((o|0)!=(s|0)){t=+h[M+8>>3];E=M+24|0;F=M+16|0;d=f;n=o;f:while(1){N=d;u=+h[N+8>>3];do if(u!=t){if(!(u>3];x=+h[E>>3];if(w!=x)if(w>3];w=+h[F>>3];if(!(x!=w))break f;if(!(x>2]|0;D=B;if((D|0)==(s|0)){O=B;P=s;break e}else{d=B;n=D}}if((a[N+32>>0]|0)==(a[M+32>>0]|0)){O=d;P=n}else{A=54;break c}}else{O=f;P=s}while(0);f=c[P>>2]|0;o=f+4|0;F=c[m>>2]|0;c[F+4>>2]=c[o>>2];c[c[o>>2]>>2]=F;H=c[C+4>>2]|0;J=(K|0)==(m|0)?O:J;F=c[C>>2]|0;c[F+4>>2]=m;c[m>>2]=F;c[C>>2]=f;c[o>>2]=C;c[b>>2]=H;L=H;K=J;if((L|0)==(K|0)){p=G;A=59;break}else I=O}if((A|0)==44)ta(20109,19712,707,20136);else if((A|0)==54)ta(20109,19712,707,20136);else if((A|0)==59){l=g;return p|0}}}return 0}function Sk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,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,W=0.0,X=0.0,Y=0.0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;g=l;l=l+368|0;i=g+320|0;j=g+352|0;k=g+312|0;m=g+304|0;n=g+240|0;o=g+232|0;p=g+224|0;q=g+248|0;r=g+348|0;s=g+344|0;t=g+168|0;u=g+112|0;v=g+56|0;w=g;x=e+4|0;y=c[x>>2]|0;c[j>>2]=y;z=y;switch(f|0){case 1:{if((c[e>>2]|0)==1)A=4;else{l=g;return}break}case 2:{B=c[e>>2]|0;if((B|0)==3)A=4;else{C=z;D=B;A=34}break}default:E=0}if((A|0)==4){B=b+4|0;F=c[B>>2]|0;do if(F){G=b+8|0;H=b+4|0;I=F;while(1){J=I+16|0;if(kk(G,z,c[J>>2]|0)|0){K=c[I>>2]|0;if(!K){A=9;break}else{L=I;M=K}}else{if(!(kk(G,c[J>>2]|0,z)|0)){A=13;break}N=I+4|0;J=c[N>>2]|0;if(!J){A=12;break}else{L=N;M=J}}H=L;I=M}if((A|0)==9){O=I;P=I;break}else if((A|0)==12){O=N;P=I;break}else if((A|0)==13){O=H;P=I;break}}else{O=B;P=B}while(0);N=c[O>>2]|0;if(N|0){c[z+64>>2]=N;ta(20039,19712,1561,20053)}N=Wy(20)|0;c[N+16>>2]=y;c[N>>2]=0;c[N+4>>2]=0;c[N+8>>2]=P;c[O>>2]=N;P=c[c[b>>2]>>2]|0;if(!P)Q=N;else{c[b>>2]=P;Q=c[O>>2]|0}kd(c[b+4>>2]|0,Q);Q=b+8|0;c[Q>>2]=(c[Q>>2]|0)+1;Q=c[j>>2]|0;O=Q+64|0;c[O>>2]=N;if((N|0)==(c[b>>2]|0))R=N;else{P=c[N>>2]|0;if(!P){y=N;while(1){N=c[y+8>>2]|0;if((c[N>>2]|0)==(y|0))y=N;else{S=N;break}}}else{y=P;while(1){P=c[y+4>>2]|0;if(!P){S=y;break}else y=P}}y=c[S+16>>2]|0;c[Q+56>>2]=y;c[y+60>>2]=Q;R=c[O>>2]|0}O=c[R+4>>2]|0;if(!O){y=R+8|0;S=c[y>>2]|0;if((c[S>>2]|0)==(R|0))T=S;else{S=y;do{y=c[S>>2]|0;S=y+8|0;R=c[S>>2]|0}while((c[R>>2]|0)!=(y|0));T=R}}else{S=O;while(1){O=c[S>>2]|0;if(!O)break;else S=O}T=S}if((T|0)!=(B|0)){B=c[T+16>>2]|0;c[Q+60>>2]=B;c[B+56>>2]=Q}if((f|0)==2){C=Q;D=c[e>>2]|0;A=34}else E=0}a:do if((A|0)==34)switch(D|0){case 5:case 1:{U=+h[((D|0)==1?C+24|0:C+40|0)>>3];h[k>>3]=U;V=+h[C+32>>3];W=+h[C+48>>3];nk(C,1,U,m,n,o,p);U=+h[o>>3];X=+h[p>>3];if(!(U>=X)){if(U>=V?!(U>+h[m>>3]):1)Y=X;else{fl(t,m,o,k,0,0,0);Q=gl(d,t)|0;Tk(t+40|0,c[t+44>>2]|0);Uk(t+28|0,c[t+32>>2]|0);B=Wy(160)|0;be(i,+h[k>>3],V);Oh(B,a,28056,i,1);c[r>>2]=B;B=Q+28|0;T=dl(B,i,r)|0;if(!(c[T>>2]|0)){S=Wy(20)|0;c[S+16>>2]=c[r>>2];O=c[i>>2]|0;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=O;c[T>>2]=S;O=c[c[B>>2]>>2]|0;if(!O)Z=S;else{c[B>>2]=O;Z=c[T>>2]|0}kd(c[Q+32>>2]|0,Z);T=Q+36|0;c[T>>2]=(c[T>>2]|0)+1}Y=+h[p>>3]}if(!(Y<=W?!(Y<+h[n>>3]):1)?(fl(u,p,n,k,0,0,0),T=gl(d,u)|0,Tk(u+40|0,c[u+44>>2]|0),Uk(u+28|0,c[u+32>>2]|0),Q=Wy(160)|0,be(i,+h[k>>3],W),Oh(Q,a,28056,i,1),c[r>>2]=Q,Q=T+28|0,O=dl(Q,i,r)|0,(c[O>>2]|0)==0):0){B=Wy(20)|0;c[B+16>>2]=c[r>>2];S=c[i>>2]|0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=S;c[O>>2]=B;S=c[c[Q>>2]>>2]|0;if(!S)_=B;else{c[Q>>2]=S;_=c[O>>2]|0}kd(c[T+32>>2]|0,_);O=T+36|0;c[O>>2]=(c[O>>2]|0)+1}}else{fl(q,m,n,k,0,0,0);O=gl(d,q)|0;Tk(q+40|0,c[q+44>>2]|0);Uk(q+28|0,c[q+32>>2]|0);T=Wy(160)|0;be(i,+h[k>>3],V);Oh(T,a,28056,i,1);c[r>>2]=T;T=Wy(160)|0;be(i,+h[k>>3],W);Oh(T,a,28056,i,1);c[s>>2]=T;T=O+28|0;S=dl(T,i,r)|0;if(!(c[S>>2]|0)){Q=Wy(20)|0;c[Q+16>>2]=c[r>>2];B=c[i>>2]|0;c[Q>>2]=0;c[Q+4>>2]=0;c[Q+8>>2]=B;c[S>>2]=Q;B=c[c[T>>2]>>2]|0;if(!B)$=Q;else{c[T>>2]=B;$=c[S>>2]|0}kd(c[O+32>>2]|0,$);S=O+36|0;c[S>>2]=(c[S>>2]|0)+1}S=dl(T,i,s)|0;if(!(c[S>>2]|0)){B=Wy(20)|0;c[B+16>>2]=c[s>>2];Q=c[i>>2]|0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=Q;c[S>>2]=B;Q=c[c[T>>2]>>2]|0;if(!Q)aa=B;else{c[T>>2]=Q;aa=c[S>>2]|0}kd(c[O+32>>2]|0,aa);S=O+36|0;c[S>>2]=(c[S>>2]|0)+1}}E=1;break a;break}case 3:{S=c[(c[x>>2]|0)+8>>2]|0;W=+ok(C,1);h[i>>3]=W;h[k>>3]=+pk(C,1);O=S+128|0;Q=c[O>>2]|0;if((Q&1|0)!=0?(T=S+24|0,W<+h[T>>3]):0){fl(v,i,T,e+8|0,0,0,0);gl(d,v)|0;Tk(v+40|0,c[v+44>>2]|0);Uk(v+28|0,c[v+32>>2]|0);ba=c[O>>2]|0}else ba=Q;if(ba&2|0?(Q=S+24|0,+h[Q>>3]<+h[k>>3]):0){fl(w,Q,k,e+8|0,0,0,0);gl(d,w)|0;Tk(w+40|0,c[w+44>>2]|0);Uk(w+28|0,c[w+32>>2]|0)}E=1;break a;break}default:{l=g;return}}while(0);if((f|0)==3?(c[e>>2]|0)==5:0)ca=5;else{if(!E){l=g;return}if((c[e>>2]|0)==3)ca=3;else{l=g;return}}e=c[j>>2]|0;E=c[e+56>>2]|0;f=c[e+60>>2]|0;if(E|0)c[E+60>>2]=f;if(f|0)c[f+56>>2]=E;if((ca|0)!=3){if((zk(b,j)|0)!=1)ta(20070,19712,1681,20053);ca=c[j>>2]|0;if(!ca){l=g;return}cb[c[(c[ca>>2]|0)+4>>2]&127](ca);l=g;return}ca=c[e+64>>2]|0;e=c[ca+4>>2]|0;if(!e){E=ca+8|0;f=c[E>>2]|0;if((c[f>>2]|0)==(ca|0))da=f;else{f=E;do{E=c[f>>2]|0;f=E+8|0;w=c[f>>2]|0}while((c[w>>2]|0)!=(E|0));da=w}}else{f=e;while(1){e=c[f>>2]|0;if(!e)break;else f=e}da=f}if((c[b>>2]|0)==(ca|0))c[b>>2]=da;da=b+8|0;c[da>>2]=(c[da>>2]|0)+-1;Cd(c[b+4>>2]|0,ca);Yy(ca);ca=c[j>>2]|0;if(!ca){l=g;return}cb[c[(c[ca>>2]|0)+4>>2]&127](ca);l=g;return}function Tk(a,b){a=a|0;b=b|0;if(!b)return;else{Tk(a,c[b>>2]|0);Tk(a,c[b+4>>2]|0);Yy(b);return}}function Uk(a,b){a=a|0;b=b|0;if(!b)return;else{Uk(a,c[b>>2]|0);Uk(a,c[b+4>>2]|0);Yy(b);return}}function Vk(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0.0,z=0,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;f=l;l=l+48|0;g=f+40|0;i=f+16|0;j=f;k=a+40|0;m=a+48|0;n=(c[m>>2]|0)==0;if(!n){o=+h[a>>3];if(+h[(c[k>>2]|0)+16>>3]>o){p=a;q=o;r=4}else r=15}else{p=a;q=+h[a>>3];r=4}do if((r|0)==4){if(q==-1797693134862315708145274.0e284)if(n)ta(19925,19712,1046,19946);else{h[p>>3]=+h[(c[k>>2]|0)+16>>3];r=15;break}o=+h[a+16>>3];be(i,o,o);o=+h[p>>3];h[(ge(i,e)|0)>>3]=o;s=Wy(160)|0;Oh(s,d,28048,i,1);h[j>>3]=+h[p>>3];c[j+8>>2]=s;c[j+12>>2]=0;s=al(k,g,j)|0;if(!(c[s>>2]|0)){t=Wy(32)|0;u=t+16|0;c[u>>2]=c[j>>2];c[u+4>>2]=c[j+4>>2];c[u+8>>2]=c[j+8>>2];c[u+12>>2]=c[j+12>>2];u=c[g>>2]|0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=u;c[s>>2]=t;u=c[c[k>>2]>>2]|0;if(!u)v=t;else{c[k>>2]=u;v=c[s>>2]|0}kd(c[a+44>>2]|0,v);s=(c[m>>2]|0)+1|0;c[m>>2]=s;w=s}else w=c[m>>2]|0;if(!w){s=a+8|0;x=s;y=+h[s>>3];r=20}else r=15}while(0);if((r|0)==15){w=a+44|0;v=c[w>>2]|0;if(!v){p=w;while(1){n=c[p+8>>2]|0;if((c[n>>2]|0)==(p|0))p=n;else{z=n;break}}}else{p=v;while(1){v=c[p+4>>2]|0;if(!v){z=p;break}else p=v}}p=a+8|0;q=+h[p>>3];if(+h[z+16>>3]>2]|0;if(!p){z=w;while(1){v=c[z+8>>2]|0;if((c[v>>2]|0)==(z|0))z=v;else{B=v;break}}}else{z=p;while(1){v=c[z+4>>2]|0;if(!v){B=z;break}else z=v}}h[x>>3]=+h[B+16>>3];A=w;break}else{q=+h[a+16>>3];be(i,q,q);q=+h[x>>3];h[(ge(i,e)|0)>>3]=q;z=Wy(160)|0;Oh(z,d,28048,i,1);h[j>>3]=+h[x>>3];c[j+8>>2]=z;c[j+12>>2]=0;z=al(k,g,j)|0;if(!(c[z>>2]|0)){p=Wy(32)|0;v=p+16|0;c[v>>2]=c[j>>2];c[v+4>>2]=c[j+4>>2];c[v+8>>2]=c[j+8>>2];c[v+12>>2]=c[j+12>>2];v=c[g>>2]|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=v;c[z>>2]=p;v=c[c[k>>2]>>2]|0;if(!v)C=p;else{c[k>>2]=v;C=c[z>>2]|0}kd(c[a+44>>2]|0,C);c[m>>2]=(c[m>>2]|0)+1}A=a+44|0;break}while(0);el(a,e);a=c[k>>2]|0;m=a;if((m|0)==(A|0)){l=f;return}C=b[4627]|0;g=a;j=a;a=m;a:while(1){m=g;x=m+24|0;i=j;d=a;while(1){y=+h[(ge((c[x>>2]|0)+16|0,e)|0)>>3];B=i;z=B+24|0;if(y!=+h[(ge((c[z>>2]|0)+16|0,e)|0)>>3]){v=B+28|0;B=(i|0)==(A|0);p=g;n=x;s=m;while(1){if((d|0)==(p|0)){r=38;break a}if(!(de((c[z>>2]|0)+16|0,(c[n>>2]|0)+16|0)|0)){r=40;break a}b:do if((C&b[(c[z>>2]|0)+10>>1])<<16>>16?(b[(c[n>>2]|0)+10>>1]&C)<<16>>16:0){u=p+24|0;t=c[u>>2]|0;c:do if(!((C&b[t+10>>1])<<16>>16)){D=u;E=t}else{F=c[k>>2]|0;G=p;H=t;I=u;while(1){J=G;if((J|0)==(F|0)){D=I;E=H;break c}K=c[J>>2]|0;if(!K){J=G;while(1){L=c[J+8>>2]|0;if((c[L>>2]|0)==(J|0))J=L;else{M=L;break}}}else{J=K;while(1){L=c[J+4>>2]|0;if(!L){M=J;break}else J=L}}J=M+24|0;K=c[J>>2]|0;if(!((C&b[K+10>>1])<<16>>16)){D=J;E=K;break}else{G=M;H=K;I=J}}}while(0);if(c[v>>2]&2|0?(C&b[E+10>>1])<<16>>16==0:0){u=Wy(72)|0;ve(u,c[D>>2]|0,c[z>>2]|0,1);y=+h[(ge((c[z>>2]|0)+16|0,e)|0)>>3];Be(u,y-+h[(ge((c[D>>2]|0)+16|0,e)|0)>>3])}if(!B){u=i;while(1){if(!((C&b[(c[u+24>>2]|0)+10>>1])<<16>>16))break;t=u;I=c[t+4>>2]|0;if(!I){H=t+8|0;G=c[H>>2]|0;if((c[G>>2]|0)==(t|0))N=G;else{G=H;do{H=c[G>>2]|0;G=H+8|0;t=c[G>>2]|0}while((c[t>>2]|0)!=(H|0));N=t}}else{G=I;while(1){t=c[G>>2]|0;if(!t)break;else G=t}N=G}if((N|0)==(A|0))break b;else u=N}if(c[s+28>>2]&1|0){I=Wy(72)|0;t=u+24|0;ve(I,c[n>>2]|0,c[t>>2]|0,1);y=+h[(ge((c[t>>2]|0)+16|0,e)|0)>>3];Be(I,y-+h[(ge((c[n>>2]|0)+16|0,e)|0)>>3])}}}while(0);if(!((C&b[(c[n>>2]|0)+10>>1])<<16>>16!=0?!(c[s+28>>2]&1|0):0))r=66;do if((r|0)==66){r=0;if((C&b[(c[z>>2]|0)+10>>1])<<16>>16?(c[v>>2]&2|0)==0:0)break;I=Wy(72)|0;ve(I,c[n>>2]|0,c[z>>2]|0,1);y=+h[(ge((c[z>>2]|0)+16|0,e)|0)>>3];Be(I,y-+h[(ge((c[n>>2]|0)+16|0,e)|0)>>3])}while(0);I=p;t=c[I+4>>2]|0;if(!t){H=I+8|0;F=c[H>>2]|0;if((c[F>>2]|0)==(I|0))O=F;else{F=H;do{H=c[F>>2]|0;F=H+8|0;I=c[F>>2]|0}while((c[I>>2]|0)!=(H|0));O=I}}else{F=t;while(1){I=c[F>>2]|0;if(!I)break;else F=I}O=F}t=O;I=O+24|0;y=+h[(ge((c[I>>2]|0)+16|0,e)|0)>>3];if(y!=+h[(ge((c[z>>2]|0)+16|0,e)|0)>>3]){p=t;n=I;s=O}else{P=I;Q=t;break}}}else{P=x;Q=g}s=i;n=c[s+4>>2]|0;if(!n){p=s+8|0;z=c[p>>2]|0;if((c[z>>2]|0)==(s|0))R=z;else{z=p;do{p=c[z>>2]|0;z=p+8|0;s=c[z>>2]|0}while((c[s>>2]|0)!=(p|0));R=s}}else{z=n;while(1){s=c[z>>2]|0;if(!s)break;else z=s}R=z}i=R;if((R|0)==(A|0)){r=82;break a}y=+h[(ge((c[P>>2]|0)+16|0,e)|0)>>3];if(!(y==+h[(ge((c[R+24>>2]|0)+16|0,e)|0)>>3]))break;else d=R}if((R|0)==(A|0)){r=82;break}else{g=Q;j=i;a=R}}if((r|0)==38)ta(19987,19712,1112,19946);else if((r|0)==40)ta(2e4,19712,1114,19946);else if((r|0)==82){l=f;return}}function Wk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0,k=0.0,m=0,n=0.0,o=0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0.0,A=0,B=0,C=0,D=0,E=0,F=0;e=l;l=l+32|0;f=e+16|0;g=e;i=a+16|0;j=+h[i>>3];k=+h[d>>3];do if(j==k?(c[d+36>>2]|0)!=0:0){m=c[(c[d+28>>2]|0)+16>>2]|0;n=+h[m+24>>3];o=n==k;p=+h[m+16>>3];if(o?(q=+h[d+16>>3],p==q):0)if(!m){r=11;break}else{s=q;r=9}else{if(!(p==k)){r=11;break}q=+h[d+16>>3];if((m|0)==0|n!=q){r=11;break}if(o){s=q;r=9}else t=q}if((r|0)==9)if(p==s){u=m;break}else t=s;u=p==k&n==t?m:0}else r=11;while(0);do if((r|0)==11){t=+h[d+8>>3];if(j==t?(c[d+36>>2]|0)!=0:0){m=d+32|0;o=c[m>>2]|0;v=(o|0)==0;if(v){w=m;while(1){x=c[w+8>>2]|0;if((c[x>>2]|0)==(w|0))w=x;else{y=x;break}}}else{w=o;while(1){x=c[w+4>>2]|0;if(!x){y=w;break}else w=x}}w=c[y+16>>2]|0;k=+h[w+24>>3];s=+h[w+16>>3];if(k==t?(n=+h[d+16>>3],s==n):0)if(!w){u=0;break}else z=n;else{if(!(s==t)){u=0;break}s=+h[d+16>>3];if((w|0)==0|k!=s){u=0;break}else z=s}if(v){w=m;while(1){x=c[w+8>>2]|0;if((c[x>>2]|0)==(w|0))w=x;else{A=x;break}}}else{w=o;while(1){m=c[w+4>>2]|0;if(!m){A=w;break}else w=m}}w=c[A+16>>2]|0;s=+h[w+24>>3];k=+h[w+16>>3];if(s==t&k==z)u=w;else u=k==t&s==z?w:0}else u=0}while(0);Xk(a,b,u);u=c[a+28>>2]|0;b=a+32|0;if((u|0)==(b|0)){l=e;return}A=d+40|0;y=g+8|0;w=g+12|0;o=d+44|0;m=d+48|0;d=u;while(1){u=c[d+16>>2]|0;if(+h[u+16>>3]==+h[a>>3]){z=+h[i>>3];switch(c[u+128>>2]&3){case 3:{B=3;r=35;break}case 2:{B=1;r=35;break}case 1:{B=2;r=35;break}default:C=0}if((r|0)==35){r=0;C=B}h[g>>3]=z;c[y>>2]=u;c[w>>2]=C;u=al(A,f,g)|0;if(!(c[u>>2]|0)){v=Wy(32)|0;x=v+16|0;c[x>>2]=c[g>>2];c[x+4>>2]=c[g+4>>2];c[x+8>>2]=c[g+8>>2];c[x+12>>2]=c[g+12>>2];x=c[f>>2]|0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=x;c[u>>2]=v;x=c[c[A>>2]>>2]|0;if(!x)D=v;else{c[A>>2]=x;D=c[u>>2]|0}kd(c[o>>2]|0,D);c[m>>2]=(c[m>>2]|0)+1}}u=c[d+4>>2]|0;if(!u){x=d+8|0;v=c[x>>2]|0;if((c[v>>2]|0)==(d|0))E=v;else{v=x;do{x=c[v>>2]|0;v=x+8|0;F=c[v>>2]|0}while((c[F>>2]|0)!=(x|0));E=F}}else{v=u;while(1){F=c[v>>2]|0;if(!F)break;else v=F}E=v}if((E|0)==(b|0))break;else d=E}l=e;return}function Xk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0.0,q=0;e=l;l=l+48|0;f=e+32|0;g=e+28|0;i=e+24|0;j=e;c[g>>2]=d;k=a+28|0;if(d|0?(d=dl(k,f,g)|0,(c[d>>2]|0)==0):0){m=Wy(20)|0;c[m+16>>2]=c[g>>2];g=c[f>>2]|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=g;c[d>>2]=m;g=c[c[k>>2]>>2]|0;if(!g)n=m;else{c[k>>2]=g;n=c[d>>2]|0}kd(c[a+32>>2]|0,n);n=a+36|0;c[n>>2]=(c[n>>2]|0)+1}n=a+36|0;if(c[n>>2]|0){o=+h[a>>3];if(+h[(c[(c[k>>2]|0)+16>>2]|0)+16>>3]!=o)p=o;else{l=e;return}}else p=+h[a>>3];if(!(p!=-1797693134862315708145274.0e284)){l=e;return}d=Wy(160)|0;be(j,p,+h[a+16>>3]);Oh(d,b,28048,j,1);c[i>>2]=d;d=dl(a+28|0,f,i)|0;if(!(c[d>>2]|0)){j=Wy(20)|0;c[j+16>>2]=c[i>>2];i=c[f>>2]|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=i;c[d>>2]=j;i=c[c[a+28>>2]>>2]|0;if(!i)q=j;else{c[k>>2]=i;q=c[d>>2]|0}kd(c[a+32>>2]|0,q);c[n>>2]=(c[n>>2]|0)+1}l=e;return}function Yk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0;e=l;l=l+48|0;f=e+32|0;g=e+28|0;i=e+24|0;j=e;c[g>>2]=d;k=a+28|0;if(d|0?(d=dl(k,f,g)|0,(c[d>>2]|0)==0):0){m=Wy(20)|0;c[m+16>>2]=c[g>>2];g=c[f>>2]|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=g;c[d>>2]=m;g=c[c[k>>2]>>2]|0;if(!g)n=m;else{c[k>>2]=g;n=c[d>>2]|0}kd(c[a+32>>2]|0,n);n=a+36|0;c[n>>2]=(c[n>>2]|0)+1}n=a+36|0;if(c[n>>2]|0){d=a+32|0;g=c[d>>2]|0;if(!g){m=d;while(1){d=c[m+8>>2]|0;if((c[d>>2]|0)==(m|0))m=d;else{o=d;break}}}else{m=g;while(1){g=c[m+4>>2]|0;if(!g){o=m;break}else m=g}}p=+h[a+8>>3];if(+h[(c[o+16>>2]|0)+16>>3]!=p)q=p;else{l=e;return}}else q=+h[a+8>>3];if(!(q!=1797693134862315708145274.0e284)){l=e;return}o=Wy(160)|0;be(j,q,+h[a+16>>3]);Oh(o,b,28048,j,1);c[i>>2]=o;o=dl(a+28|0,f,i)|0;if(!(c[o>>2]|0)){j=Wy(20)|0;c[j+16>>2]=c[i>>2];i=c[f>>2]|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=i;c[o>>2]=j;i=c[c[a+28>>2]>>2]|0;if(!i)r=j;else{c[k>>2]=i;r=c[o>>2]|0}kd(c[a+32>>2]|0,r);c[n>>2]=(c[n>>2]|0)+1}l=e;return}function Zk(a,b){a=a|0;b=+b;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;d=l;l=l+32|0;e=d+16|0;f=d;g=a+32|0;i=g;j=c[a+28>>2]|0;if((j|0)==(g|0)){k=i;m=k;l=d;return m|0}n=a+40|0;o=f+8|0;p=f+12|0;q=a+44|0;r=a+48|0;a=j;j=i;while(1){i=a;s=a+16|0;t=c[s>>2]|0;u=+h[t+16>>3];if(u>b){k=j;v=21;break}switch(c[t+128>>2]&12){case 12:{w=3;v=7;break}case 4:{w=2;v=7;break}case 8:{w=1;v=7;break}default:x=0}if((v|0)==7){v=0;x=w}h[f>>3]=u;c[o>>2]=t;c[p>>2]=x;t=al(n,e,f)|0;if(!(c[t>>2]|0)){y=Wy(32)|0;z=y+16|0;c[z>>2]=c[f>>2];c[z+4>>2]=c[f+4>>2];c[z+8>>2]=c[f+8>>2];c[z+12>>2]=c[f+12>>2];z=c[e>>2]|0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=z;c[t>>2]=y;z=c[c[n>>2]>>2]|0;if(!z)A=y;else{c[n>>2]=z;A=c[t>>2]|0}kd(c[q>>2]|0,A);c[r>>2]=(c[r>>2]|0)+1}if((j|0)==(g|0)?+h[(c[s>>2]|0)+16>>3]==b:0)B=i;else B=j;i=c[a+4>>2]|0;if(!i){s=a+8|0;t=c[s>>2]|0;if((c[t>>2]|0)==(a|0))C=t;else{t=s;do{s=c[t>>2]|0;t=s+8|0;z=c[t>>2]|0}while((c[z>>2]|0)!=(s|0));C=z}}else{t=i;while(1){z=c[t>>2]|0;if(!z)break;else t=z}C=t}if((C|0)==(g|0)){k=B;v=21;break}else{a=C;j=B}}if((v|0)==21){m=k;l=d;return m|0}return 0}function _k(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0,k=0.0,m=0,n=0.0,o=0,p=0.0,q=0.0,r=0,s=0.0,t=0.0,u=0,v=0,w=0,x=0,y=0,z=0.0,A=0,B=0,C=0,D=0,E=0,F=0;e=l;l=l+32|0;f=e+16|0;g=e;i=a+16|0;j=+h[i>>3];k=+h[d>>3];do if(j==k?(c[d+36>>2]|0)!=0:0){m=c[(c[d+28>>2]|0)+16>>2]|0;n=+h[m+24>>3];o=n==k;p=+h[m+16>>3];if(o?(q=+h[d+16>>3],p==q):0)if(!m){r=11;break}else{s=q;r=9}else{if(!(p==k)){r=11;break}q=+h[d+16>>3];if((m|0)==0|n!=q){r=11;break}if(o){s=q;r=9}else t=q}if((r|0)==9)if(p==s){u=m;break}else t=s;u=p==k&n==t?m:0}else r=11;while(0);do if((r|0)==11){t=+h[d+8>>3];if(j==t?(c[d+36>>2]|0)!=0:0){m=d+32|0;o=c[m>>2]|0;v=(o|0)==0;if(v){w=m;while(1){x=c[w+8>>2]|0;if((c[x>>2]|0)==(w|0))w=x;else{y=x;break}}}else{w=o;while(1){x=c[w+4>>2]|0;if(!x){y=w;break}else w=x}}w=c[y+16>>2]|0;k=+h[w+24>>3];s=+h[w+16>>3];if(k==t?(n=+h[d+16>>3],s==n):0)if(!w){u=0;break}else z=n;else{if(!(s==t)){u=0;break}s=+h[d+16>>3];if((w|0)==0|k!=s){u=0;break}else z=s}if(v){w=m;while(1){x=c[w+8>>2]|0;if((c[x>>2]|0)==(w|0))w=x;else{A=x;break}}}else{w=o;while(1){m=c[w+4>>2]|0;if(!m){A=w;break}else w=m}}w=c[A+16>>2]|0;s=+h[w+24>>3];k=+h[w+16>>3];if(s==t&k==z)u=w;else u=k==t&s==z?w:0}else u=0}while(0);Yk(a,b,u);u=c[a+28>>2]|0;b=a+32|0;if((u|0)==(b|0)){l=e;return}A=a+8|0;a=d+40|0;y=g+8|0;w=g+12|0;o=d+44|0;m=d+48|0;d=u;while(1){u=c[d+16>>2]|0;if(+h[u+16>>3]==+h[A>>3]){z=+h[i>>3];switch(c[u+128>>2]&3){case 3:{B=3;r=35;break}case 2:{B=1;r=35;break}case 1:{B=2;r=35;break}default:C=0}if((r|0)==35){r=0;C=B}h[g>>3]=z;c[y>>2]=u;c[w>>2]=C;u=al(a,f,g)|0;if(!(c[u>>2]|0)){v=Wy(32)|0;x=v+16|0;c[x>>2]=c[g>>2];c[x+4>>2]=c[g+4>>2];c[x+8>>2]=c[g+8>>2];c[x+12>>2]=c[g+12>>2];x=c[f>>2]|0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=x;c[u>>2]=v;x=c[c[a>>2]>>2]|0;if(!x)D=v;else{c[a>>2]=x;D=c[u>>2]|0}kd(c[o>>2]|0,D);c[m>>2]=(c[m>>2]|0)+1}}u=c[d+4>>2]|0;if(!u){x=d+8|0;v=c[x>>2]|0;if((c[v>>2]|0)==(d|0))E=v;else{v=x;do{x=c[v>>2]|0;v=x+8|0;F=c[v>>2]|0}while((c[F>>2]|0)!=(x|0));E=F}}else{v=u;while(1){F=c[v>>2]|0;if(!F)break;else v=F}E=v}if((E|0)==(b|0))break;else d=E}l=e;return}function $k(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;f=l;l=l+16|0;g=f+12|0;i=f+8|0;j=f+4|0;k=f;m=a+4|0;c[m>>2]=0;n=a+8|0;c[n>>2]=0;o=a+4|0;c[a>>2]=o;Xk(b,d,0);p=e+16|0;bl(b,d,+h[p>>3])|0;d=Zk(b,+h[p>>3])|0;e=b+28|0;q=b+32|0;a:do if((d|0)==(q|0))r=d;else{s=+h[p>>3];t=d;while(1){if(!(+h[(c[t+16>>2]|0)+16>>3]==s)){r=t;break a}u=c[t+4>>2]|0;if(!u){v=t+8|0;w=c[v>>2]|0;if((c[w>>2]|0)==(t|0))x=w;else{w=v;do{v=c[w>>2]|0;w=v+8|0;y=c[w>>2]|0}while((c[y>>2]|0)!=(v|0));x=y}}else{w=u;while(1){y=c[w>>2]|0;if(!y)break;else w=y}x=w}if((x|0)==(q|0)){r=q;break}else t=x}}while(0);if((d|0)!=(r|0)){x=o;o=d;while(1){q=o+16|0;c[k>>2]=x;c[g>>2]=c[k>>2];t=cl(a,g,i,j,q)|0;if(!(c[t>>2]|0)){u=Wy(20)|0;c[u+16>>2]=c[q>>2];q=c[i>>2]|0;c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=q;c[t>>2]=u;q=c[c[a>>2]>>2]|0;if(!q)z=u;else{c[a>>2]=q;z=c[t>>2]|0}kd(c[m>>2]|0,z);c[n>>2]=(c[n>>2]|0)+1}t=c[o+4>>2]|0;if(!t){q=o+8|0;u=c[q>>2]|0;if((c[u>>2]|0)==(o|0))A=u;else{u=q;do{q=c[u>>2]|0;u=q+8|0;y=c[u>>2]|0}while((c[y>>2]|0)!=(q|0));A=y}}else{u=t;while(1){y=c[u>>2]|0;if(!y)break;else u=y}A=u}if((A|0)==(r|0))break;else o=A}}h[b>>3]=+h[p>>3];p=c[e>>2]|0;if((p|0)==(d|0)){l=f;return}A=b+36|0;o=b+32|0;b=p;while(1){p=c[b+4>>2]|0;if(!p){r=b+8|0;n=c[r>>2]|0;if((c[n>>2]|0)==(b|0))B=n;else{n=r;do{r=c[n>>2]|0;n=r+8|0;z=c[n>>2]|0}while((c[z>>2]|0)!=(r|0));B=z}}else{n=p;while(1){u=c[n>>2]|0;if(!u)break;else n=u}B=n}if((c[e>>2]|0)==(b|0))c[e>>2]=B;c[A>>2]=(c[A>>2]|0)+-1;Cd(c[o>>2]|0,b);Yy(b);if((B|0)==(d|0))break;else b=B}l=f;return}function al(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0.0,l=0.0,m=0,n=0,o=0,p=0,q=0;e=a+4|0;f=c[e>>2]|0;if(!f){c[b>>2]=e;g=e;return g|0}e=d+8|0;i=d+12|0;j=a+4|0;a=f;a:while(1){k=+h[d>>3];f=a+16|0;l=+h[f>>3];do if(k!=l)if(k>2]|0)+4|0,(c[n>>2]|0)+4|0)|0?Hh((c[e>>2]|0)+4|0,28048)|0:0){m=12;break}if(Ih((c[e>>2]|0)+4|0,(c[n>>2]|0)+4|0)|0)if(Jh((c[e>>2]|0)+4|0,(c[n>>2]|0)+4|0)|0){m=10;break}else{m=12;break}else if((c[i>>2]|0)>>>0<(c[a+28>>2]|0)>>>0){m=10;break}else{m=12;break}}while(0);if((m|0)==10){m=0;n=c[a>>2]|0;if(!n){m=11;break}else{o=a;p=n}}else if((m|0)==12){m=0;l=+h[f>>3];k=+h[d>>3];do if(l!=k){if(!(l>2]|0)+4|0,(c[e>>2]|0)+4|0)|0?Hh((c[n>>2]|0)+4|0,28048)|0:0){m=22;break a}if(Ih((c[n>>2]|0)+4|0,(c[e>>2]|0)+4|0)|0)if(Jh((c[n>>2]|0)+4|0,(c[e>>2]|0)+4|0)|0)break;else{m=22;break a}else if((c[a+28>>2]|0)>>>0<(c[i>>2]|0)>>>0)break;else{m=22;break a}}while(0);q=a+4|0;f=c[q>>2]|0;if(!f){m=21;break}else{o=q;p=f}}j=o;a=p}if((m|0)==11){c[b>>2]=a;g=a;return g|0}else if((m|0)==21){c[b>>2]=a;g=q;return g|0}else if((m|0)==22){c[b>>2]=a;g=j;return g|0}return 0}function bl(a,b,d){a=a|0;b=b|0;d=+d;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=l;l=l+32|0;f=e;g=e+24|0;c[g>>2]=0;i=a+28|0;j=c[i>>2]|0;k=a+32|0;a:do if((j|0)!=(k|0)){m=j;while(1){n=c[m+16>>2]|0;if(+h[n+16>>3]==d)break;o=c[m+4>>2]|0;if(!o){p=m+8|0;q=c[p>>2]|0;if((c[q>>2]|0)==(m|0))r=q;else{q=p;do{p=c[q>>2]|0;q=p+8|0;s=c[q>>2]|0}while((c[s>>2]|0)!=(p|0));r=s}}else{q=o;while(1){s=c[q>>2]|0;if(!s)break;else q=s}r=q}if((r|0)==(k|0))break a;else m=r}c[g>>2]=n;if(n|0){t=n;l=e;return t|0}}while(0);n=Wy(160)|0;be(f,d,+h[a+16>>3]);Oh(n,b,28048,f,1);c[g>>2]=n;n=dl(i,f,g)|0;if(!(c[n>>2]|0)){b=Wy(20)|0;c[b+16>>2]=c[g>>2];r=c[f>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=r;c[n>>2]=b;r=c[c[i>>2]>>2]|0;if(!r)u=b;else{c[i>>2]=r;u=c[n>>2]|0}kd(c[a+32>>2]|0,u);u=a+36|0;c[u>>2]=(c[u>>2]|0)+1}t=c[g>>2]|0;l=e;return t|0}function cl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0.0,m=0.0,n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=a+4|0;i=c[b>>2]|0;b=i;a:do if((i|0)!=(g|0)){j=c[f>>2]|0;k=c[i+16>>2]|0;l=+h[j+16>>3];m=+h[k+16>>3];n=l==m;if(!n?!(+h[j+24>>3]==+h[k+24>>3]):0)ta(19857,19712,637,19914);o=l!=m;do if(o){if(l>3];q=+h[k+24>>3];if(p!=q)if(p>>0>>0)break a;else break}while(0);if(!n?!(+h[k+24>>3]==+h[j+24>>3]):0)ta(19857,19712,637,19914);do if(o){if(!(m>3];p=+h[j+24>>3];if(q!=p)if(q>>0>>0)break;else{r=52;break}}while(0);if((r|0)==52){c[d>>2]=b;c[e>>2]=b;s=e;return s|0}k=i+4|0;o=c[k>>2]|0;if(!o){n=i+8|0;t=c[n>>2]|0;if((c[t>>2]|0)==(i|0))u=t;else{t=n;do{n=c[t>>2]|0;t=n+8|0;v=c[t>>2]|0}while((c[v>>2]|0)!=(n|0));u=v}}else{t=o;while(1){v=c[t>>2]|0;if(!v)break;else t=v}u=t}b:do if((u|0)!=(g|0)){o=c[u+16>>2]|0;m=+h[o+16>>3];if(!(l==m)?!(+h[j+24>>3]==+h[o+24>>3]):0)ta(19857,19712,637,19914);do if(l!=m){if(l>3];q=+h[o+24>>3];if(p!=q)if(p>>0>>0)break b;else break}while(0);s=dl(a,d,f)|0;return s|0}while(0);if(!(c[i+4>>2]|0)){c[d>>2]=b;s=k;return s|0}else{c[d>>2]=u;s=u;return s|0}}while(0);u=c[i>>2]|0;c:do if((i|0)==(c[a>>2]|0))w=b;else{if(!u){g=i;while(1){e=c[g+8>>2]|0;if((c[e>>2]|0)==(g|0))g=e;else{x=e;break}}}else{g=u;while(1){k=c[g+4>>2]|0;if(!k){x=g;break}else g=k}}g=x;k=c[x+16>>2]|0;e=c[f>>2]|0;l=+h[k+16>>3];m=+h[e+16>>3];if(!(l==m)?!(+h[k+24>>3]==+h[e+24>>3]):0)ta(19857,19712,637,19914);do if(l!=m){if(l>3];p=+h[e+24>>3];if(q!=p)if(q>>0>>0){w=g;break c}else break}while(0);s=dl(a,d,f)|0;return s|0}while(0);if(!u){c[d>>2]=i;s=i;return s|0}else{i=w;c[d>>2]=i;s=i+4|0;return s|0}return 0}function dl(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0;e=a+4|0;f=c[e>>2]|0;if(!f){c[b>>2]=e;g=e;return g|0}e=c[d>>2]|0;i=+h[e+16>>3];d=e+24|0;j=a+4|0;a=f;a:while(1){f=c[a+16>>2]|0;k=+h[f+16>>3];l=i==k;if(!l?!(+h[d>>3]==+h[f+24>>3]):0){m=6;break}n=i!=k;do if(n)if(i>3];p=+h[f+24>>3];if(o!=p)if(o>>0>>0){m=12;break}else{m=14;break}}while(0);if((m|0)==12){m=0;q=c[a>>2]|0;if(!q){m=13;break}else{r=a;s=q}}else if((m|0)==14){m=0;if(!l?!(+h[f+24>>3]==+h[d>>3]):0){m=16;break}do if(n){if(!(k>3];o=+h[d>>3];if(p!=o)if(p>>0>>0)break;else{m=24;break a}}while(0);t=a+4|0;f=c[t>>2]|0;if(!f){m=23;break}else{r=t;s=f}}j=r;a=s}if((m|0)==6)ta(19857,19712,637,19914);else if((m|0)==13){c[b>>2]=a;g=a;return g|0}else if((m|0)==16)ta(19857,19712,637,19914);else if((m|0)==23){c[b>>2]=a;g=t;return g|0}else if((m|0)==24){c[b>>2]=a;g=j;return g|0}return 0}function el(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,u=0,v=0,w=0,x=0,y=0;e=c[a+40>>2]|0;f=a+44|0;a=(e|0)==(f|0);if(a)return;g=b[4627]|0;h=b[4624]|0;if(!d){i=0;j=0;k=e;while(1){l=c[k+24>>2]|0;m=l+156|0;c[m>>2]=c[m>>2]|((j?2:0)|i&1);m=b[l+10>>1]|0;j=j|(g&m)<<16>>16!=0;i=i|(h&m)<<16>>16!=0;m=c[k+4>>2]|0;if(!m){l=k+8|0;n=c[l>>2]|0;if((c[n>>2]|0)==(k|0))o=n;else{n=l;do{l=c[n>>2]|0;n=l+8|0;p=c[n>>2]|0}while((c[p>>2]|0)!=(l|0));o=p}}else{n=m;while(1){p=c[n>>2]|0;if(!p)break;else n=p}o=n}if((o|0)==(f|0))break;else k=o}}else{o=0;k=0;i=e;while(1){j=k?32:0;m=c[i+24>>2]|0;p=m+156|0;c[p>>2]=c[p>>2]|(o?j|16:j)&65535;j=b[m+10>>1]|0;k=k|(g&j)<<16>>16!=0;o=o|(h&j)<<16>>16!=0;j=c[i+4>>2]|0;if(!j){m=i+8|0;p=c[m>>2]|0;if((c[p>>2]|0)==(i|0))q=p;else{p=m;do{m=c[p>>2]|0;p=m+8|0;l=c[p>>2]|0}while((c[l>>2]|0)!=(m|0));q=l}}else{p=j;while(1){n=c[p>>2]|0;if(!n)break;else p=n}q=p}if((q|0)==(f|0))break;else i=q}}if(a)return;a=b[4627]|0;q=b[4624]|0;if(!d){d=0;i=0;h=f;while(1){o=i?8:0;g=(d?o|4:o)&65535;o=c[h>>2]|0;k=(o|0)==0;if(k){j=h;while(1){n=c[j+8>>2]|0;if((c[n>>2]|0)==(j|0))j=n;else{r=n;break}}}else{j=o;while(1){p=c[j+4>>2]|0;if(!p){r=j;break}else j=p}}j=(c[r+24>>2]|0)+156|0;c[j>>2]=c[j>>2]|g;if(k){j=h;while(1){p=c[j+8>>2]|0;if((c[p>>2]|0)==(j|0))j=p;else{s=p;break}}}else{j=o;while(1){g=c[j+4>>2]|0;if(!g){s=j;break}else j=g}}i=i|(a&b[(c[s+24>>2]|0)+10>>1])<<16>>16!=0;if(k){j=h;while(1){g=c[j+8>>2]|0;if((c[g>>2]|0)==(j|0))j=g;else{t=g;break}}}else{j=o;while(1){g=c[j+4>>2]|0;if(!g){t=j;break}else j=g}}d=d|(q&b[(c[t+24>>2]|0)+10>>1])<<16>>16!=0;if(k){j=h;while(1){g=c[j+8>>2]|0;if((c[g>>2]|0)==(j|0))j=g;else{u=g;break}}}else{j=o;while(1){k=c[j+4>>2]|0;if(!k){u=j;break}else j=k}}if((u|0)==(e|0))break;else h=u}return}else{u=0;h=0;t=f;while(1){f=h?128:0;d=(u?f|64:f)&65535;f=c[t>>2]|0;s=(f|0)==0;if(s){i=t;while(1){r=c[i+8>>2]|0;if((c[r>>2]|0)==(i|0))i=r;else{v=r;break}}}else{i=f;while(1){r=c[i+4>>2]|0;if(!r){v=i;break}else i=r}}i=(c[v+24>>2]|0)+156|0;c[i>>2]=c[i>>2]|d;if(s){i=t;while(1){r=c[i+8>>2]|0;if((c[r>>2]|0)==(i|0))i=r;else{w=r;break}}}else{i=f;while(1){d=c[i+4>>2]|0;if(!d){w=i;break}else i=d}}h=h|(a&b[(c[w+24>>2]|0)+10>>1])<<16>>16!=0;if(s){i=t;while(1){d=c[i+8>>2]|0;if((c[d>>2]|0)==(i|0))i=d;else{x=d;break}}}else{i=f;while(1){d=c[i+4>>2]|0;if(!d){x=i;break}else i=d}}u=u|(q&b[(c[x+24>>2]|0)+10>>1])<<16>>16!=0;if(s){i=t;while(1){d=c[i+8>>2]|0;if((c[d>>2]|0)==(i|0))i=d;else{y=d;break}}}else{i=f;while(1){s=c[i+4>>2]|0;if(!s){y=i;break}else i=s}}if((y|0)==(e|0))break;else t=y}return}}function fl(b,d,e,f,g,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=0;k=l;l=l+16|0;m=k+8|0;n=k+4|0;o=k;c[n>>2]=i;c[o>>2]=j;p=+h[d>>3];h[b>>3]=p;q=+h[e>>3];h[b+8>>3]=q;h[b+16>>3]=+h[f>>3];a[b+24>>0]=g&1;g=b+28|0;f=b+32|0;c[f>>2]=0;e=b+36|0;c[e>>2]=0;c[g>>2]=b+32;c[b+44>>2]=0;c[b+48>>2]=0;c[b+40>>2]=b+44;if(!(p>2]|0)){i=Wy(20)|0;c[i+16>>2]=c[n>>2];n=c[m>>2]|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=n;c[j>>2]=i;n=c[c[g>>2]>>2]|0;if(!n)s=i;else{c[g>>2]=n;s=c[j>>2]|0}kd(c[f>>2]|0,s);c[e>>2]=(c[e>>2]|0)+1}r=c[o>>2]|0}if(!r){l=k;return}r=dl(g,m,o)|0;if(!(c[r>>2]|0)){s=Wy(20)|0;c[s+16>>2]=c[o>>2];o=c[m>>2]|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=o;c[r>>2]=s;o=c[c[g>>2]>>2]|0;if(!o)t=s;else{c[g>>2]=o;t=c[r>>2]|0}kd(c[f>>2]|0,t);c[e>>2]=(c[e>>2]|0)+1}l=k;return}function gl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=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;d=a;e=c[a+4>>2]|0;f=e;if((f|0)==(a|0))g=d;else{i=b+16|0;j=b+8|0;k=a+8|0;l=e;e=d;d=f;while(1){f=l;m=f+8|0;n=+h[m>>3];o=+h[b>>3];p=+h[f+24>>3]==+h[i>>3];if(!(n!=o|p^1)?+h[f+16>>3]==+h[j>>3]:0)q=11;else q=6;do if((q|0)==6){q=0;if(p){if(n>=o?n<=+h[j>>3]:0){q=11;break}if(o>=n?o<=+h[f+16>>3]:0)q=11;else r=e}else r=e}while(0);do if((q|0)==11){q=0;f=e;if((f|0)==(a|0)){hl(m,b);r=l;break}else{hl(m,e+8|0);p=f+4|0;s=c[f>>2]|0;c[s+4>>2]=c[p>>2];c[c[p>>2]>>2]=s;c[k>>2]=(c[k>>2]|0)+-1;Tk(f+48|0,c[f+52>>2]|0);Uk(f+36|0,c[f+40>>2]|0);Yy(e);r=l;break}}while(0);l=c[d+4>>2]|0;d=l;if((d|0)==(a|0)){g=r;break}else e=r}}if((g|0)==(a|0)){r=Wy(64)|0;il(r+8|0,b);c[r+4>>2]=a;b=c[a>>2]|0;c[r>>2]=b;c[b+4>>2]=r;c[a>>2]=r;b=a+8|0;c[b>>2]=(c[b>>2]|0)+1;t=r;u=t+8|0;return u|0}else{t=g;u=t+8|0;return u|0}return 0}function hl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0.0,k=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=l;l=l+16|0;e=d+12|0;f=d+8|0;g=d+4|0;i=d;j=+h[b>>3];k=+h[a>>3];h[a>>3]=j>3];j=+h[b+8>>3];h[m>>3]=k>2]|0;o=b+32|0;if((n|0)==(o|0)){l=d;return}b=a+32|0;p=a+32|0;q=a+36|0;a=n;while(1){n=a+16|0;c[i>>2]=b;c[e>>2]=c[i>>2];r=cl(m,e,f,g,n)|0;if(!(c[r>>2]|0)){s=Wy(20)|0;c[s+16>>2]=c[n>>2];n=c[f>>2]|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=n;c[r>>2]=s;n=c[c[m>>2]>>2]|0;if(!n)t=s;else{c[m>>2]=n;t=c[r>>2]|0}kd(c[p>>2]|0,t);c[q>>2]=(c[q>>2]|0)+1}r=c[a+4>>2]|0;if(!r){n=a+8|0;s=c[n>>2]|0;if((c[s>>2]|0)==(a|0))u=s;else{s=n;do{n=c[s>>2]|0;s=n+8|0;v=c[s>>2]|0}while((c[v>>2]|0)!=(n|0));u=v}}else{s=r;while(1){v=c[s>>2]|0;if(!v)break;else s=v}u=s}if((u|0)==(o|0))break;else a=u}l=d;return}function il(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=l;l=l+16|0;f=e+12|0;g=e+8|0;h=e+4|0;i=e;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];a[b+24>>0]=a[d+24>>0]|0;j=b+28|0;k=b+32|0;c[k>>2]=0;m=b+36|0;c[m>>2]=0;n=b+32|0;c[j>>2]=n;o=c[d+28>>2]|0;p=d+32|0;if((o|0)!=(p|0)){q=n;n=o;while(1){o=n+16|0;c[i>>2]=q;c[f>>2]=c[i>>2];r=cl(j,f,g,h,o)|0;if(!(c[r>>2]|0)){s=Wy(20)|0;c[s+16>>2]=c[o>>2];o=c[g>>2]|0;c[s>>2]=0;c[s+4>>2]=0;c[s+8>>2]=o;c[r>>2]=s;o=c[c[j>>2]>>2]|0;if(!o)t=s;else{c[j>>2]=o;t=c[r>>2]|0}kd(c[k>>2]|0,t);c[m>>2]=(c[m>>2]|0)+1}r=c[n+4>>2]|0;if(!r){o=n+8|0;s=c[o>>2]|0;if((c[s>>2]|0)==(n|0))u=s;else{s=o;do{o=c[s>>2]|0;s=o+8|0;v=c[s>>2]|0}while((c[v>>2]|0)!=(o|0));u=v}}else{s=r;while(1){v=c[s>>2]|0;if(!v)break;else s=v}u=s}if((u|0)==(p|0))break;else n=u}}u=b+40|0;n=b+44|0;c[n>>2]=0;p=b+48|0;c[p>>2]=0;m=b+44|0;c[u>>2]=m;b=c[d+40>>2]|0;t=d+44|0;if((b|0)==(t|0)){l=e;return}d=m;m=b;while(1){b=m+16|0;c[i>>2]=d;c[f>>2]=c[i>>2];k=jl(u,f,g,h,b)|0;if(!(c[k>>2]|0)){j=Wy(32)|0;q=j+16|0;c[q>>2]=c[b>>2];c[q+4>>2]=c[b+4>>2];c[q+8>>2]=c[b+8>>2];c[q+12>>2]=c[b+12>>2];b=c[g>>2]|0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=b;c[k>>2]=j;b=c[c[u>>2]>>2]|0;if(!b)w=j;else{c[u>>2]=b;w=c[k>>2]|0}kd(c[n>>2]|0,w);c[p>>2]=(c[p>>2]|0)+1}k=c[m+4>>2]|0;if(!k){b=m+8|0;j=c[b>>2]|0;if((c[j>>2]|0)==(m|0))x=j;else{j=b;do{b=c[j>>2]|0;j=b+8|0;q=c[j>>2]|0}while((c[q>>2]|0)!=(b|0));x=q}}else{j=k;while(1){s=c[j>>2]|0;if(!s)break;else j=s}x=j}if((x|0)==(t|0))break;else m=x}l=e;return}function jl(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0.0,k=0,l=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=a+4|0;i=c[b>>2]|0;b=i;a:do if((i|0)!=(g|0)){j=+h[f>>3];k=i+16|0;l=+h[k>>3];do if(j!=l){if(j>2]|0)+4|0,(c[n>>2]|0)+4|0)|0?Hh((c[m>>2]|0)+4|0,28048)|0:0)break;if(Ih((c[m>>2]|0)+4|0,(c[n>>2]|0)+4|0)|0)if(Jh((c[m>>2]|0)+4|0,(c[n>>2]|0)+4|0)|0)break a;else break;else if((c[f+12>>2]|0)>>>0<(c[i+28>>2]|0)>>>0)break a;else break}while(0);l=+h[k>>3];j=+h[f>>3];do if(l!=j){if(!(l>2]|0)+4|0,(c[m>>2]|0)+4|0)|0?Hh((c[n>>2]|0)+4|0,28048)|0:0){o=48;break}if(Ih((c[n>>2]|0)+4|0,(c[m>>2]|0)+4|0)|0)if(Jh((c[n>>2]|0)+4|0,(c[m>>2]|0)+4|0)|0)break;else{o=48;break}else if((c[i+28>>2]|0)>>>0<(c[f+12>>2]|0)>>>0)break;else{o=48;break}}while(0);if((o|0)==48){c[d>>2]=b;c[e>>2]=b;p=e;return p|0}k=i+4|0;m=c[k>>2]|0;if(!m){n=i+8|0;q=c[n>>2]|0;if((c[q>>2]|0)==(i|0))r=q;else{q=n;do{n=c[q>>2]|0;q=n+8|0;s=c[q>>2]|0}while((c[s>>2]|0)!=(n|0));r=s}}else{q=m;while(1){s=c[q>>2]|0;if(!s)break;else q=s}r=q}b:do if((r|0)!=(g|0)){j=+h[f>>3];l=+h[r+16>>3];do if(j!=l){if(j>2]|0)+4|0,(c[s>>2]|0)+4|0)|0?Hh((c[m>>2]|0)+4|0,28048)|0:0)break;if(Ih((c[m>>2]|0)+4|0,(c[s>>2]|0)+4|0)|0)if(Jh((c[m>>2]|0)+4|0,(c[s>>2]|0)+4|0)|0)break b;else break;else if((c[f+12>>2]|0)>>>0<(c[r+28>>2]|0)>>>0)break b;else break}while(0);p=al(a,d,f)|0;return p|0}while(0);if(!(c[i+4>>2]|0)){c[d>>2]=b;p=k;return p|0}else{c[d>>2]=r;p=r;return p|0}}while(0);c:do if((i|0)==(c[a>>2]|0))t=b;else{r=c[i>>2]|0;if(!r){g=i;while(1){e=c[g+8>>2]|0;if((c[e>>2]|0)==(g|0))g=e;else{u=e;break}}}else{g=r;while(1){k=c[g+4>>2]|0;if(!k){u=g;break}else g=k}}g=u;l=+h[u+16>>3];j=+h[f>>3];do if(l!=j){if(l>2]|0)+4|0,(c[k>>2]|0)+4|0)|0?Hh((c[r>>2]|0)+4|0,28048)|0:0)break;if(Ih((c[r>>2]|0)+4|0,(c[k>>2]|0)+4|0)|0)if(Jh((c[r>>2]|0)+4|0,(c[k>>2]|0)+4|0)|0){t=g;break c}else break;else if((c[u+28>>2]|0)>>>0<(c[f+12>>2]|0)>>>0){t=g;break c}else break}while(0);p=al(a,d,f)|0;return p|0}while(0);if(!(c[i>>2]|0)){c[d>>2]=i;p=i;return p|0}else{i=t;c[d>>2]=i;p=i+4|0;return p|0}return 0}function kl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0;g=l;l=l+16|0;i=g+4|0;j=g;c[j>>2]=f;h[b>>3]=+h[d>>3];h[b+8>>3]=+h[d>>3];h[b+16>>3]=+h[e>>3];a[b+24>>0]=0;e=b+28|0;d=b+32|0;c[d>>2]=0;k=b+36|0;c[k>>2]=0;c[e>>2]=b+32;c[b+44>>2]=0;c[b+48>>2]=0;c[b+40>>2]=b+44;if(!f){l=g;return}f=dl(e,i,j)|0;if(!(c[f>>2]|0)){b=Wy(20)|0;c[b+16>>2]=c[j>>2];j=c[i>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=j;c[f>>2]=b;j=c[c[e>>2]>>2]|0;if(!j)m=b;else{c[e>>2]=j;m=c[f>>2]|0}kd(c[d>>2]|0,m);c[k>>2]=(c[k>>2]|0)+1}l=g;return}function ll(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a+16|0;d=a+20|0;ml(b,c[d>>2]|0);c[a+24>>2]=0;c[b>>2]=d;c[d>>2]=0;nl(a);tk(c[a>>2]|0);if(oh(c[a>>2]|0,4)|0?+ph(c[a>>2]|0,4)==0.0:0){d=a+28|0;b=a+36|0;e=a+32|0;if(c[b>>2]|0?(f=c[e>>2]|0,g=(c[d>>2]|0)+4|0,h=c[f>>2]|0,c[h+4>>2]=c[g>>2],c[c[g>>2]>>2]=h,c[b>>2]=0,(f|0)!=(d|0)):0){h=f;do{f=h;h=c[h+4>>2]|0;Yy(f)}while((h|0)!=(d|0))}ql(c[a>>2]|0,0,d);wk(c[a>>2]|0,0,d);rl(a,0,1);if(c[b>>2]|0?(h=c[e>>2]|0,e=(c[d>>2]|0)+4|0,f=c[h>>2]|0,c[f+4>>2]=c[e>>2],c[c[e>>2]>>2]=f,c[b>>2]=0,(h|0)!=(d|0)):0){b=h;do{h=b;b=c[b+4>>2]|0;Yy(h)}while((b|0)!=(d|0))}ql(c[a>>2]|0,1,d);wk(c[a>>2]|0,1,d);rl(a,1,1)}d=a+4|0;b=a+8|0;h=a+12|0;f=a+28|0;e=a+36|0;g=a+32|0;ol(d,c[b>>2]|0);c[h>>2]=0;c[d>>2]=b;c[b>>2]=0;pl(a);if(c[e>>2]|0?(i=c[g>>2]|0,j=(c[f>>2]|0)+4|0,k=c[i>>2]|0,c[k+4>>2]=c[j>>2],c[c[j>>2]>>2]=k,c[e>>2]=0,(i|0)!=(f|0)):0){k=i;do{i=k;k=c[k+4>>2]|0;Yy(i)}while((k|0)!=(f|0))}ql(c[a>>2]|0,0,f);wk(c[a>>2]|0,0,f);rl(a,0,0);ol(d,c[b>>2]|0);c[h>>2]=0;c[d>>2]=b;c[b>>2]=0;pl(a);if(c[e>>2]|0?(b=c[g>>2]|0,g=(c[f>>2]|0)+4|0,d=c[b>>2]|0,c[d+4>>2]=c[g>>2],c[c[g>>2]>>2]=d,c[e>>2]=0,(b|0)!=(f|0)):0){e=b;do{b=e;e=c[e+4>>2]|0;Yy(b)}while((e|0)!=(f|0))}ql(c[a>>2]|0,1,f);wk(c[a>>2]|0,1,f);rl(a,1,0);nl(a);uh(c[a>>2]|0);vk(c[a>>2]|0);return}function ml(a,b){a=a|0;b=b|0;if(!b)return;else{ml(a,c[b>>2]|0);ml(a,c[b+4>>2]|0);Yy(b);return}}function nl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;b=l;l=l+48|0;d=b;e=c[a>>2]|0;f=c[e+20>>2]|0;g=f;if((g|0)==(e+16|0)){l=b;return}e=d+32|0;h=d+20|0;i=d+8|0;j=d+12|0;k=d+24|0;m=d+36|0;n=f;f=g;do{g=n+8|0;if((fc(c[g>>2]|0)|0)==2){o=c[g>>2]|0;re(d,Cc(o)|0);wc(o,d);c[d>>2]=1624;o=c[e>>2]|0;if(o|0){g=c[m>>2]|0;if((g|0)!=(o|0))c[m>>2]=g+(~((g+-32-o|0)>>>5)<<5);Yy(o)}o=c[h>>2]|0;if(o|0){if((c[k>>2]|0)!=(o|0))c[k>>2]=o;Yy(o)}o=c[i>>2]|0;if(o|0){g=c[j>>2]|0;if((g|0)!=(o|0))c[j>>2]=g+(~(((g+-24-o|0)>>>0)/24|0)*24|0);Yy(o)}}n=c[f+4>>2]|0;f=n}while((f|0)!=((c[a>>2]|0)+16|0));l=b;return}function ol(a,b){a=a|0;b=b|0;if(!b)return;ol(a,c[b>>2]|0);ol(a,c[b+4>>2]|0);Sc(b+40|0);Yy(b);return}function pl(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,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,ba=0,ca=0,da=0;d=l;l=l+96|0;e=d+76|0;f=d+64|0;g=d;nl(a);if(oh(c[a>>2]|0,6)|0)h=0;else h=(c[a+24>>2]|0)==0;i=c[a>>2]|0;j=c[i+20>>2]|0;k=i+16|0;c[e>>2]=0;i=e+4|0;c[i>>2]=0;c[e+8>>2]=0;if((j|0)==(k|0)){m=0;n=0}else{o=0;p=j;do{o=o+1|0;p=c[p+4>>2]|0}while((p|0)!=(k|0));if(o>>>0>1073741823)rx(e);p=Wy(o<<2)|0;c[i>>2]=p;c[e>>2]=p;c[e+8>>2]=p+(o<<2);o=p;q=j;j=p;do{c[j>>2]=c[q+8>>2];q=c[q+4>>2]|0;j=(c[i>>2]|0)+4|0;c[i>>2]=j}while((q|0)!=(k|0));m=o;n=j}Wl(f,n-m>>2);m=c[e>>2]|0;n=m;a:do if((c[i>>2]|0)!=(m|0)){j=0;o=n;do{k=Cc(c[o+(j<<2)>>2]|0)|0;q=c[f>>2]|0;c[q+(j*44|0)+4>>2]=c[k+4>>2];if((q+(j*44|0)|0)!=(k|0)){yc(q+(j*44|0)+8|0,c[k+8>>2]|0,c[k+12>>2]|0);zc(q+(j*44|0)+20|0,c[k+20>>2]|0,c[k+24>>2]|0);Ac(q+(j*44|0)+32|0,c[k+32>>2]|0,c[k+36>>2]|0)}j=j+1|0;r=c[i>>2]|0;s=c[e>>2]|0;o=s}while(j>>>0>2>>>0);if((r|0)!=(s|0)){j=0;k=o;while(1){q=(fc(c[k+(j<<2)>>2]|0)|0)==2;p=c[i>>2]|0;t=c[e>>2]|0;if(q){q=t;if((p|0)==(t|0)){u=q;v=p;w=p}else{x=0;y=q;while(1){if((j|0)!=(x|0)?(fc(c[y+(x<<2)>>2]|0)|0)==2:0){q=c[f>>2]|0;cd(q+(x*44|0)|0,1,q+(j*44|0)|0,0.0)}x=x+1|0;q=c[i>>2]|0;z=c[e>>2]|0;A=z;if(x>>>0>=q-z>>2>>>0){u=A;v=q;w=z;break}else y=A}}}else{u=t;v=p;w=t}j=j+1|0;if(j>>>0>=v-w>>2>>>0)break;else k=w}if((v|0)==(w|0)){B=u;C=18}else{k=a+4|0;j=g+36|0;y=g+28|0;x=h^1;A=a+16|0;z=a+20|0;q=a+20|0;D=a+24|0;E=0;F=u;b:while(1){G=c[F+(E<<2)>>2]|0;c:do if((fc(G)|0)==2){H=E;while(1){I=H;do{I=I+1|0;J=c[i>>2]|0;K=c[e>>2]|0;L=K;if(I>>>0>=J-K>>2>>>0){M=K;N=J;O=L;break c}P=c[L+(I<<2)>>2]|0}while((fc(P)|0)!=2);L=c[f>>2]|0;J=L+(E*44|0)|0;fd(g,L+(I*44|0)|0,1,J,P,G);c[j>>2]=k;L=1;K=0;while(1){if(L>>>0>=(fb[c[(c[J>>2]|0)+16>>2]&127](J)|0)>>>0)break;Q=L+1|0;gd(g,L,(Q|0)==(fb[c[(c[J>>2]|0)+16>>2]&127](J)|0));L=Q;K=c[y>>2]|K}if(!((K&4|0)==0|x)){L=nc(G)|0;J=nc(P)|0;if((L|0)==(J|0))break b;Q=L>>>0>>0?L:J;R=Q&65535;S=L>>>0>J>>>0?L:J;J=S&65535;L=c[z>>2]|0;do if(L){T=q;U=L;while(1){V=b[U+14>>1]|0;if(R<<16>>16==V<<16>>16){W=b[U+16>>1]|0;if((J&65535)>=(W&65535))if((W&65535)<(J&65535))C=52;else{C=54;break}else C=48}else if((R&65535)>=(V&65535))if((V&65535)<(R&65535))C=52;else{C=54;break}else C=48;if((C|0)==48){C=0;V=c[U>>2]|0;if(!V){C=49;break}else{X=U;Y=V}}else if((C|0)==52){C=0;Z=U+4|0;V=c[Z>>2]|0;if(!V){C=53;break}else{X=Z;Y=V}}T=X;U=Y}if((C|0)==49){C=0;_=U;$=U;break}else if((C|0)==53){C=0;_=Z;$=U;break}else if((C|0)==54){C=0;_=T;$=U;break}}else{_=z;$=z}while(0);if(!(c[_>>2]|0)){R=Wy(20)|0;J=R+14|0;L=S<<16|Q&65535;b[J>>1]=L;b[J+2>>1]=L>>>16;c[R>>2]=0;c[R+4>>2]=0;c[R+8>>2]=$;c[_>>2]=R;L=c[c[A>>2]>>2]|0;if(!L)aa=R;else{c[A>>2]=L;aa=c[_>>2]|0}kd(c[q>>2]|0,aa);c[D>>2]=(c[D>>2]|0)+1}}H=I}}else{H=c[e>>2]|0;M=H;N=c[i>>2]|0;O=H}while(0);E=E+1|0;if(E>>>0>=N-M>>2>>>0){ba=f;ca=O;break a}else F=M}ta(20202,19712,72,20215)}}else{B=o;C=18}}else{B=n;C=18}while(0);if((C|0)==18){ba=f;ca=B}B=c[ba>>2]|0;if(!B)da=ca;else{ca=f+4|0;while(1){ba=c[ca>>2]|0;if((ba|0)==(B|0))break;C=ba+-44|0;c[ca>>2]=C;cb[c[c[C>>2]>>2]&127](C)}Yy(c[f>>2]|0);da=c[e>>2]|0}if(!da){l=d;return}e=c[i>>2]|0;if((e|0)!=(da|0))c[i>>2]=e+(~((e+-4-da|0)>>>2)<<2);Yy(da);l=d;return}function ql(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0.0,D=0,E=0,F=0,G=0,H=0,I=0.0,J=0.0,K=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,V=0.0,W=0,X=0,Y=0.0,Z=0.0,_=0,$=0.0,aa=0,ba=0.0,ca=0.0,da=0,ea=0.0,fa=0.0,ga=0.0,ha=0,ia=0,ja=0.0,ka=0.0;g=l;l=l+144|0;i=g+132|0;j=g+72|0;k=g;m=g+48|0;n=g+120|0;if(+ph(d,0)==0.0){l=g;return}o=oh(d,0)|0;c[i>>2]=0;p=i+4|0;c[p>>2]=0;c[i+8>>2]=0;if(o){q=c[d+12>>2]|0;Jl(j,q);r=j+4|0;Kl(i,c[j>>2]|0,c[r>>2]|0);s=c[j>>2]|0;if(s|0){t=c[r>>2]|0;if((t|0)!=(s|0))c[r>>2]=t+(~(((t+-48-s|0)>>>0)/48|0)*48|0);Yy(s)}if(q|0){s=k+24|0;t=j+24|0;r=k+24|0;u=0;v=d+8|0;while(1){w=c[v>>2]|0;x=c[w+8>>2]|0;do if(x|0){y=Pz(x,64,88,0)|0;z=Pz(x,64,48,0)|0;if(y|0){je(j,Eh(y)|0,0.0);c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];c[k+12>>2]=c[j+12>>2];c[k+16>>2]=c[j+16>>2];c[k+20>>2]=c[j+20>>2];c[r>>2]=c[t>>2];c[r+4>>2]=c[t+4>>2];c[r+8>>2]=c[t+8>>2];c[r+12>>2]=c[t+12>>2];c[r+16>>2]=c[t+16>>2];c[r+20>>2]=c[t+20>>2];y=c[i>>2]|0;MA(y+(u*48|0)|0,j|0,22)|0;A=y+(u*48|0)+24|0;c[A>>2]=c[r>>2];c[A+4>>2]=c[r+4>>2];c[A+8>>2]=c[r+8>>2];c[A+12>>2]=c[r+12>>2];c[A+16>>2]=c[r+16>>2];b[A+20>>1]=b[r+20>>1]|0;break}if(z|0){db[c[(c[z>>2]|0)+8>>2]&63](j,z);c[m>>2]=c[j>>2];c[m+4>>2]=c[j+4>>2];c[m+8>>2]=c[j+8>>2];c[m+12>>2]=c[j+12>>2];c[m+16>>2]=c[j+16>>2];c[m+20>>2]=c[j+20>>2];c[k>>2]=c[m>>2];c[k+4>>2]=c[m+4>>2];c[k+8>>2]=c[m+8>>2];c[k+12>>2]=c[m+12>>2];c[k+16>>2]=c[m+16>>2];c[k+20>>2]=c[m+20>>2];c[s>>2]=c[j>>2];c[s+4>>2]=c[j+4>>2];c[s+8>>2]=c[j+8>>2];c[s+12>>2]=c[j+12>>2];c[s+16>>2]=c[j+16>>2];c[s+20>>2]=c[j+20>>2];z=c[i>>2]|0;A=z+(u*48|0)|0;c[A>>2]=c[m>>2];c[A+4>>2]=c[m+4>>2];c[A+8>>2]=c[m+8>>2];c[A+12>>2]=c[m+12>>2];c[A+16>>2]=c[m+16>>2];b[A+20>>1]=b[m+20>>1]|0;A=z+(u*48|0)+24|0;c[A>>2]=c[s>>2];c[A+4>>2]=c[s+4>>2];c[A+8>>2]=c[s+8>>2];c[A+12>>2]=c[s+12>>2];c[A+16>>2]=c[s+16>>2];b[A+20>>1]=b[s+20>>1]|0}}while(0);u=u+1|0;if(u>>>0>=q>>>0)break;else v=w+4|0}}}v=e&1^1;q=c[d+20>>2]|0;u=d+16|0;d=q;if((d|0)!=(u|0)){s=j+4|0;m=n+4|0;r=k+4|0;t=f+8|0;x=q;q=d;do{d=x+8|0;a:do if((fc(c[d>>2]|0)|0)==2){A=Cc(c[d>>2]|0)|0;z=A+8|0;y=1;while(1){if(y>>>0>=(fb[c[(c[A>>2]|0)+16>>2]&127](A)|0)>>>0)break a;B=y+-1|0;C=+h[(ge((c[z>>2]|0)+(B*24|0)|0,e)|0)>>3];if(C==+h[(ge((c[z>>2]|0)+(y*24|0)|0,e)|0)>>3]?(C=+h[(ge((c[z>>2]|0)+(B*24|0)|0,v)|0)>>3],!(C==+h[(ge((c[z>>2]|0)+(y*24|0)|0,v)|0)>>3])):0){C=+h[(ge((c[z>>2]|0)+(B*24|0)|0,v)|0)>>3];D=C>+h[(ge((c[z>>2]|0)+(y*24|0)|0,v)|0)>>3];E=D?B:y;F=D?y:B;se(j,A,B,0);D=y+-2|0;se(k,A,D,-1);se(n,A,y,1);do if(o|(c[s>>2]|0)==(c[j>>2]|0)){C=+h[(ge((c[z>>2]|0)+(y*24|0)|0,e)|0)>>3];if((y|0)!=1?(G=y+1|0,(G|0)!=(fb[c[(c[A>>2]|0)+16>>2]&127](A)|0)):0){H=c[n>>2]|0;if((c[m>>2]|0)==(H|0)){I=1.0e8;J=-1.0e8}else{K=0;L=1.0e8;M=-1.0e8;N=H;while(1){H=+h[(ge(N+(K*24|0)|0,e)|0)>>3]>2]|0)+(K*24|0)|0,e)|0)>>3];do if(H){P=L;Q=MC)){P=L;Q=M;break}R=+h[(ge((c[n>>2]|0)+(K*24|0)|0,e)|0)>>3];P=R>2]|0;if(K>>>0>=(((c[m>>2]|0)-N|0)/24|0)>>>0){I=P;J=Q;break}else{L=P;M=Q}}}N=c[k>>2]|0;if((c[r>>2]|0)==(N|0)){S=I;T=J}else{K=0;M=I;L=J;H=N;while(1){N=+h[(ge(H+(K*24|0)|0,e)|0)>>3]>2]|0)+(K*24|0)|0,e)|0)>>3];do if(N){U=M;V=LC)){U=M;V=L;break}R=+h[(ge((c[k>>2]|0)+(K*24|0)|0,e)|0)>>3];U=R>2]|0;if(K>>>0>=(((c[r>>2]|0)-H|0)/24|0)>>>0){S=U;T=V;break}else{M=U;L=V}}}do if((c[j>>2]|0)==(c[s>>2]|0)){L=+h[(ge((c[z>>2]|0)+(D*24|0)|0,e)|0)>>3];M=+h[(ge((c[z>>2]|0)+(G*24|0)|0,e)|0)>>3];if(LC){W=1;X=0;Y=MC&M>2]|0,F,E,X,W,e,Z,Y);yc(G+48|0,c[j>>2]|0,c[s>>2]|0);_=G;break}if(!o){G=Wy(64)|0;Ll(G,c[d>>2]|0,F,E,e);_=G;break}G=c[i>>2]|0;if((c[p>>2]|0)!=(G|0)){H=0;K=0;C=-1.0e8;M=1.0e8;N=G;while(1){L=+h[(ge(N+(H*48|0)|0,e)|0)>>3];O=+h[(ge((c[i>>2]|0)+(H*48|0)+24|0,e)|0)>>3];if(Ml((c[z>>2]|0)+(B*24|0)|0,(c[i>>2]|0)+(H*48|0)|0)|0){$=C>2]|0)+(y*24|0)|0,(c[i>>2]|0)+(H*48|0)|0)|0){ca=$>2]|0;if(H>>>0>=(((c[p>>2]|0)-N|0)/48|0)>>>0)break;else{K=da;C=ca;M=ea}}if(!da){fa=ca;ga=ea;ha=40}else{ia=da;ja=ca;ka=ea}}else{fa=-1.0e8;ga=1.0e8;ha=40}if((ha|0)==40){ha=0;M=+h[(ge((c[z>>2]|0)+(B*24|0)|0,e)|0)>>3];C=M+-15.0;O=M+15.0;ia=0;ja=fa>2]|0)|0):0){K=Wy(64)|0;Nl(K,c[d>>2]|0,F,E,0,0,e,ja,ka);a[K+45>>0]=1;a[K+46>>0]=(ia|0)!=0&1;if((fb[c[(c[A>>2]|0)+16>>2]&127](A)|0)!=2){_=K;break}a[K+47>>0]=1;_=K;break}K=Wy(64)|0;Ll(K,c[d>>2]|0,F,E,e);_=K}else{K=Wy(64)|0;Ll(K,c[d>>2]|0,F,E,e);_=K}while(0);E=Wy(12)|0;c[E+8>>2]=_;c[E+4>>2]=f;F=c[f>>2]|0;c[E>>2]=F;c[F+4>>2]=E;c[f>>2]=E;c[t>>2]=(c[t>>2]|0)+1;E=c[n>>2]|0;if(E|0){F=c[m>>2]|0;if((F|0)!=(E|0))c[m>>2]=F+(~(((F+-24-E|0)>>>0)/24|0)*24|0);Yy(E)}E=c[k>>2]|0;if(E|0){F=c[r>>2]|0;if((F|0)!=(E|0))c[r>>2]=F+(~(((F+-24-E|0)>>>0)/24|0)*24|0);Yy(E)}E=c[j>>2]|0;if(E|0){F=c[s>>2]|0;if((F|0)!=(E|0))c[s>>2]=F+(~(((F+-24-E|0)>>>0)/24|0)*24|0);Yy(E)}}y=y+1|0}}while(0);x=c[q+4>>2]|0;q=x}while((q|0)!=(u|0))}u=c[i>>2]|0;if(u|0){i=c[p>>2]|0;if((i|0)!=(u|0))c[p>>2]=i+(~(((i+-48-u|0)>>>0)/48|0)*48|0);Yy(u)}l=g;return} +function Vv(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;c[e>>2]=b;c[h>>2]=f;b=g;if(j&2)if((b-f|0)<3)k=1;else{c[h>>2]=f+1;a[f>>0]=-17;f=c[h>>2]|0;c[h>>2]=f+1;a[f>>0]=-69;f=c[h>>2]|0;c[h>>2]=f+1;a[f>>0]=-65;l=4}else l=4;a:do if((l|0)==4){f=c[e>>2]|0;while(1){if(f>>>0>=d>>>0){k=0;break a}j=c[f>>2]|0;if(j>>>0>i>>>0|(j&-2048|0)==55296){k=2;break a}do if(j>>>0>=128){g=(j&63|128)&255;if(j>>>0<2048){m=c[h>>2]|0;if((b-m|0)<2){k=1;break a}c[h>>2]=m+1;a[m>>0]=j>>>6|192;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=g;break}m=c[h>>2]|0;n=b-m|0;o=m+1|0;p=(j>>>6&63|128)&255;if(j>>>0<65536){if((n|0)<3){k=1;break a}c[h>>2]=o;a[m>>0]=j>>>12|224;q=c[h>>2]|0;c[h>>2]=q+1;a[q>>0]=p;q=c[h>>2]|0;c[h>>2]=q+1;a[q>>0]=g;break}else{if((n|0)<4){k=1;break a}c[h>>2]=o;a[m>>0]=j>>>18|240;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=j>>>12&63|128;m=c[h>>2]|0;c[h>>2]=m+1;a[m>>0]=p;p=c[h>>2]|0;c[h>>2]=p+1;a[p>>0]=g;break}}else{g=c[h>>2]|0;if((b-g|0)<1){k=1;break a}c[h>>2]=g+1;a[g>>0]=j}while(0);j=(c[e>>2]|0)+4|0;c[e>>2]=j;f=j}}while(0);return k|0}function Wv(a){a=a|0;qq(a);Yy(a);return}function Xv(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 Yv(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 Zv(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 _v(a){a=a|0;return 1}function $v(a){a=a|0;return 1}function aw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=d-c|0;return (b>>>0>>0?b:e)|0}function bw(a){a=a|0;return 1}function cw(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,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;k=l;l=l+16|0;m=k;n=k+8|0;o=e;while(1){if((o|0)==(f|0)){p=f;break}if(!(c[o>>2]|0)){p=o;break}o=o+4|0}c[j>>2]=h;c[g>>2]=e;o=i;q=b+8|0;b=e;e=h;h=p;a:while(1){if((e|0)==(i|0)|(b|0)==(f|0)){r=b;s=35;break}p=d;t=c[p+4>>2]|0;u=m;c[u>>2]=c[p>>2];c[u+4>>2]=t;t=Zo(c[q>>2]|0)|0;u=Un(e,g,h-b>>2,o-e|0,d)|0;if(t|0)Zo(t)|0;switch(u|0){case -1:{s=10;break a;break}case 0:{v=1;s=32;break a;break}default:{}}t=(c[j>>2]|0)+u|0;c[j>>2]=t;if((t|0)==(i|0)){s=33;break}if((h|0)==(f|0)){w=f;x=t;y=c[g>>2]|0}else{t=Zo(c[q>>2]|0)|0;u=Dn(n,0,d)|0;if(t|0)Zo(t)|0;if((u|0)==-1){z=2;s=31;break}if(u>>>0>(o-(c[j>>2]|0)|0)>>>0){z=1;s=31;break}else{A=n;B=u}while(1){if(!B)break;u=a[A>>0]|0;t=c[j>>2]|0;c[j>>2]=t+1;a[t>>0]=u;A=A+1|0;B=B+-1|0}u=(c[g>>2]|0)+4|0;c[g>>2]=u;t=u;while(1){if((t|0)==(f|0)){C=f;break}if(!(c[t>>2]|0)){C=t;break}t=t+4|0}w=C;x=c[j>>2]|0;y=u}b=y;e=x;h=w}if((s|0)==10){c[j>>2]=e;w=b;b=e;while(1){if((w|0)==(c[g>>2]|0))break;e=c[w>>2]|0;h=Zo(c[q>>2]|0)|0;x=Dn(b,e,m)|0;if(h|0)Zo(h)|0;if((x|0)==-1)break;h=(c[j>>2]|0)+x|0;c[j>>2]=h;w=w+4|0;b=h}c[g>>2]=w;v=2;s=32}else if((s|0)==31){v=z;s=32}else if((s|0)==33){r=c[g>>2]|0;s=35}if((s|0)==32)D=v;else if((s|0)==35)D=(r|0)!=(f|0)&1;l=k;return D|0}function dw(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,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;k=l;l=l+16|0;m=k;n=e;while(1){if((n|0)==(f|0)){o=f;break}if(!(a[n>>0]|0)){o=n;break}n=n+1|0}c[j>>2]=h;c[g>>2]=e;n=i;p=b+8|0;b=e;e=h;h=o;while(1){if((e|0)==(i|0)|(b|0)==(f|0)){q=b;r=32;break}o=d;s=c[o+4>>2]|0;t=m;c[t>>2]=c[o>>2];c[t+4>>2]=s;u=h;s=Zo(c[p>>2]|0)|0;t=Zn(e,g,u-b|0,n-e>>2,d)|0;if(s|0)Zo(s)|0;if((t|0)==-1){v=b;w=e;r=10;break}s=(c[j>>2]|0)+(t<<2)|0;c[j>>2]=s;if((s|0)==(i|0)){r=29;break}t=c[g>>2]|0;if((h|0)==(f|0)){x=f;y=s;z=t}else{o=Zo(c[p>>2]|0)|0;A=Sn(s,t,1,d)|0;if(o|0)Zo(o)|0;if(A|0){B=2;r=28;break}c[j>>2]=(c[j>>2]|0)+4;A=(c[g>>2]|0)+1|0;c[g>>2]=A;o=A;while(1){if((o|0)==(f|0)){C=f;break}if(!(a[o>>0]|0)){C=o;break}o=o+1|0}x=C;y=c[j>>2]|0;z=A}b=z;e=y;h=x}do if((r|0)==10){a:while(1){r=0;c[j>>2]=w;if((v|0)==(c[g>>2]|0)){r=18;break}x=Zo(c[p>>2]|0)|0;h=Sn(w,v,u-v|0,m)|0;if(x|0)Zo(x)|0;switch(h|0){case -1:{r=15;break a;break}case -2:{r=16;break a;break}case 0:{D=1;break}default:D=h}v=v+D|0;w=(c[j>>2]|0)+4|0;r=10}if((r|0)==15){c[g>>2]=v;B=2;r=28;break}else if((r|0)==16){c[g>>2]=v;B=1;r=28;break}else if((r|0)==18){c[g>>2]=v;B=(v|0)!=(f|0)&1;r=28;break}}else if((r|0)==29){q=c[g>>2]|0;r=32}while(0);if((r|0)==28)E=B;else if((r|0)==32)E=(q|0)!=(f|0)&1;l=k;return E|0}function ew(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;h=l;l=l+16|0;i=h;c[g>>2]=e;e=Zo(c[b+8>>2]|0)|0;b=Dn(i,0,d)|0;if(e|0)Zo(e)|0;a:do switch(b|0){case 0:case -1:{j=2;break}default:{e=b+-1|0;if(e>>>0>(f-(c[g>>2]|0)|0)>>>0)j=1;else{d=i;k=e;while(1){if(!k){j=0;break a}e=a[d>>0]|0;m=c[g>>2]|0;c[g>>2]=m+1;a[m>>0]=e;d=d+1|0;k=k+-1|0}}}}while(0);l=h;return j|0}function fw(a){a=a|0;var b=0,d=0,e=0;b=a+8|0;a=Zo(c[b>>2]|0)|0;d=Pn(0,0,4)|0;if(a|0)Zo(a)|0;if(!d){d=c[b>>2]|0;if(!d)e=1;else{b=Zo(d)|0;d=No()|0;if(b|0)Zo(b)|0;return (d|0)==1|0}}else e=-1;return e|0}function gw(a){a=a|0;return 0}function hw(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;g=e;h=a+8|0;a=0;i=0;j=d;a:while(1){if((j|0)==(e|0)|a>>>0>=f>>>0)break;d=Zo(c[h>>2]|0)|0;k=Rn(j,g-j|0,b)|0;if(d|0)Zo(d)|0;switch(k|0){case -2:case -1:{break a;break}case 0:{l=1;break}default:l=k}a=a+1|0;i=l+i|0;j=j+l|0}return i|0}function iw(a){a=a|0;var b=0,d=0;b=c[a+8>>2]|0;if(b){a=Zo(b)|0;b=No()|0;if(!a)d=b;else{Zo(a)|0;d=b}}else d=1;return d|0}function jw(a){a=a|0;var b=0,d=0;c[a>>2]=8484;b=a+8|0;d=c[b>>2]|0;if((d|0)!=(Nq()|0))To(c[b>>2]|0);qq(a);return}function kw(a){a=a|0;jw(a);Yy(a);return}function lw(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;b=l;l=l+16|0;a=b+4|0;j=b;c[a>>2]=d;c[j>>2]=g;k=uw(d,e,a,g,h,j,1114111,0)|0;c[f>>2]=c[a>>2];c[i>>2]=c[j>>2];l=b;return k|0}function mw(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;b=l;l=l+16|0;a=b+4|0;j=b;c[a>>2]=d;c[j>>2]=g;k=tw(d,e,a,g,h,j,1114111,0)|0;c[f>>2]=c[a>>2];c[i>>2]=c[j>>2];l=b;return k|0}function nw(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 ow(a){a=a|0;return 0}function pw(a){a=a|0;return 0}function qw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return sw(c,d,e,1114111,0)|0}function rw(a){a=a|0;return 4}function sw(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,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=c;i=b;if(((h-i|0)>2&(g&4|0)!=0?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0){j=0;k=(a[b+2>>0]|0)==-65?b+3|0:b}else{j=0;k=b}a:while(1){if(!(j>>>0>>0&k>>>0>>0)){l=31;break}b=a[k>>0]|0;g=b&255;if(g>>>0>f>>>0){l=31;break}m=k+1|0;do if(b<<24>>24<=-1){if((b&255)<194){l=31;break a}n=k+2|0;o=k;p=h-o|0;if((b&255)<224){if((p|0)<2){l=31;break a}q=d[m>>0]|0;if((q&192|0)!=128){l=31;break a}if((q&63|g<<6&1984)>>>0>f>>>0){l=31;break a}else{r=j;s=n;break}}q=k+3|0;if((b&255)<240){if((p|0)<3){l=31;break a}t=a[n>>0]|0;u=d[m>>0]|0;v=u&224;switch(b<<24>>24){case -32:{if((v|0)!=160){w=o;break a}break}case -19:{if((v|0)!=128){w=o;break a}break}default:if((u&192|0)!=128){w=o;break a}}v=t&255;if((v&192|0)!=128){l=31;break a}if((u<<6&4032|g<<12&61440|v&63)>>>0>f>>>0){l=31;break a}else{r=j;s=q;break}}if((b&255)>=245){l=31;break a}if((e-j|0)>>>0<2|(p|0)<4){l=31;break a}p=a[m>>0]|0;v=a[n>>0]|0;n=a[q>>0]|0;q=p&255;switch(b<<24>>24){case -16:{if((p+112&255)>=48){w=o;break a}break}case -12:{if((q&240|0)!=128){w=o;break a}break}default:if((q&192|0)!=128){w=o;break a}}o=v&255;if((o&192|0)!=128){l=31;break a}v=n&255;if((v&192|0)!=128){l=31;break a}if((q<<12&258048|g<<18&1835008|o<<6&4032|v&63)>>>0>f>>>0){l=31;break a}else{r=j+1|0;s=k+4|0}}else{r=j;s=m}while(0);j=r+1|0;k=s}if((l|0)==31)w=k;return w-i|0}function tw(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;c[g>>2]=e;c[j>>2]=h;h=f;if((((l&4|0?(l=c[g>>2]|0,(h-l|0)>2):0)?(a[l>>0]|0)==-17:0)?(a[l+1>>0]|0)==-69:0)?(a[l+2>>0]|0)==-65:0)c[g>>2]=l+3;l=i;a:while(1){e=c[g>>2]|0;m=e>>>0>>0;if(!m){n=40;break}o=c[j>>2]|0;if(o>>>0>=i>>>0){n=40;break}p=a[e>>0]|0;q=p&255;if(q>>>0>k>>>0){r=2;break}s=e+1|0;do if(p<<24>>24>-1){b[o>>1]=p&255;t=s}else{if((p&255)<194){r=2;break a}u=h-e|0;v=e+2|0;if((p&255)<224){if((u|0)<2){r=1;break a}w=d[s>>0]|0;if((w&192|0)!=128){r=2;break a}x=w&63|q<<6&1984;if(x>>>0>k>>>0){r=2;break a}b[o>>1]=x;t=v;break}x=e+3|0;if((p&255)<240){if((u|0)<3){r=1;break a}w=a[v>>0]|0;y=d[s>>0]|0;z=y&224;switch(p<<24>>24){case -32:{if((z|0)!=160){r=2;break a}break}case -19:{if((z|0)!=128){r=2;break a}break}default:if((y&192|0)!=128){r=2;break a}}z=w&255;if((z&192|0)!=128){r=2;break a}w=y<<6&4032|q<<12|z&63;if((w&65535)>>>0>k>>>0){r=2;break a}b[o>>1]=w;t=x;break}if((p&255)>=245){r=2;break a}if((u|0)<4){r=1;break a}u=a[s>>0]|0;w=a[v>>0]|0;v=a[x>>0]|0;x=u&255;switch(p<<24>>24){case -16:{if((u+112&255)>=48){r=2;break a}break}case -12:{if((x&240|0)!=128){r=2;break a}break}default:if((x&192|0)!=128){r=2;break a}}u=w&255;if((u&192|0)!=128){r=2;break a}w=v&255;if((w&192|0)!=128){r=2;break a}if((l-o|0)<4){r=1;break a}v=q&7;z=u<<6;y=w&63;if((x<<12&258048|v<<18|z&4032|y)>>>0>k>>>0){r=2;break a}b[o>>1]=x<<2&60|u>>>4&3|((x>>>4&3|v<<2)<<6)+16320|55296;v=o+2|0;c[j>>2]=v;b[v>>1]=y|z&960|56320;t=(c[g>>2]|0)+4|0}while(0);c[g>>2]=t;c[j>>2]=(c[j>>2]|0)+2}if((n|0)==40)r=m&1;return r|0}function uw(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,o=0,p=0,q=0,r=0,s=0,t=0;c[g>>2]=d;c[j>>2]=h;d=i;if(l&2)if((d-h|0)<3)m=1;else{c[j>>2]=h+1;a[h>>0]=-17;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=-69;h=c[j>>2]|0;c[j>>2]=h+1;a[h>>0]=-65;n=4}else n=4;a:do if((n|0)==4){h=f;l=c[g>>2]|0;while(1){if(l>>>0>=f>>>0){m=0;break a}i=b[l>>1]|0;o=i&65535;if(o>>>0>k>>>0){m=2;break a}do if((i&65535)<128){p=c[j>>2]|0;if((d-p|0)<1){m=1;break a}c[j>>2]=p+1;a[p>>0]=i}else{p=o&63;q=(p|128)&255;if((i&65535)<2048){r=c[j>>2]|0;if((d-r|0)<2){m=1;break a}c[j>>2]=r+1;a[r>>0]=o>>>6|192;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=q;break}r=(o>>>12|224)&255;s=(o>>>6&63|128)&255;if((i&65535)<55296){t=c[j>>2]|0;if((d-t|0)<3){m=1;break a}c[j>>2]=t+1;a[t>>0]=r;t=c[j>>2]|0;c[j>>2]=t+1;a[t>>0]=s;t=c[j>>2]|0;c[j>>2]=t+1;a[t>>0]=q;break}if((i&65535)>=56320){if((i&65535)<57344){m=2;break a}t=c[j>>2]|0;if((d-t|0)<3){m=1;break a}c[j>>2]=t+1;a[t>>0]=r;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=s;s=c[j>>2]|0;c[j>>2]=s+1;a[s>>0]=q;break}if((h-l|0)<4){m=1;break a}q=l+2|0;s=e[q>>1]|0;if((s&64512|0)!=56320){m=2;break a}if((d-(c[j>>2]|0)|0)<4){m=1;break a}r=o&960;if(((r<<10)+65536|p<<10|s&1023)>>>0>k>>>0){m=2;break a}c[g>>2]=q;q=(r>>>6)+1|0;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=q>>>2|240;r=c[j>>2]|0;c[j>>2]=r+1;a[r>>0]=o>>>2&15|q<<4&48|128;q=c[j>>2]|0;c[j>>2]=q+1;a[q>>0]=o<<4&48|s>>>6&15|128;q=c[j>>2]|0;c[j>>2]=q+1;a[q>>0]=s&63|128}while(0);o=(c[g>>2]|0)+2|0;c[g>>2]=o;l=o}}while(0);return m|0}function vw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;c[a>>2]=8532;b=a+8|0;d=a+12|0;e=0;while(1){f=c[b>>2]|0;if(e>>>0>=(c[d>>2]|0)-f>>2>>>0)break;g=c[f+(e<<2)>>2]|0;if(g|0)Ty(g)|0;e=e+1|0}fz(a+144|0);xw(b);qq(a);return}function ww(a){a=a|0;vw(a);Yy(a);return}function xw(b){b=b|0;var d=0,e=0,f=0,g=0;d=c[b>>2]|0;do if(d|0){e=b+4|0;f=c[e>>2]|0;while(1){if((f|0)==(d|0))break;g=f+-4|0;c[e>>2]=g;f=g}if((b+16|0)==(d|0)){a[b+128>>0]=0;break}else{Yy(d);break}}while(0);return}function yw(b){b=b|0;var d=0;c[b>>2]=8552;d=c[b+8>>2]|0;if(d|0?a[b+12>>0]|0:0)Zy(d);qq(b);return}function zw(a){a=a|0;yw(a);Yy(a);return}function Aw(a,b){a=a|0;b=b|0;var d=0;if(b<<24>>24>-1)d=c[(Jw()|0)+((b&255)<<2)>>2]&255;else d=b;return d|0}function Bw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1){f=Jw()|0;g=c[f+(a[b>>0]<<2)>>2]&255}else g=d;a[b>>0]=g;b=b+1|0}return e|0}function Cw(a,b){a=a|0;b=b|0;var d=0;if(b<<24>>24>-1)d=c[(Iw()|0)+(b<<24>>24<<2)>>2]&255;else d=b;return d|0}function Dw(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;b=d;while(1){if((b|0)==(e|0))break;d=a[b>>0]|0;if(d<<24>>24>-1){f=Iw()|0;g=c[f+(a[b>>0]<<2)>>2]&255}else g=d;a[b>>0]=g;b=b+1|0}return e|0}function Ew(a,b){a=a|0;b=b|0;return b|0}function Fw(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;b=e;e=c;while(1){if((e|0)==(d|0))break;a[b>>0]=a[e>>0]|0;b=b+1|0;e=e+1|0}return d|0}function Gw(a,b,c){a=a|0;b=b|0;c=c|0;return (b<<24>>24>-1?b:c)|0}function Hw(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;b=f;f=c;while(1){if((f|0)==(d|0))break;c=a[f>>0]|0;a[b>>0]=c<<24>>24>-1?c:e;b=b+1|0;f=f+1|0}return d|0}function Iw(){return c[(Mo()|0)>>2]|0}function Jw(){return c[(Qo()|0)>>2]|0}function Kw(){return c[(Po()|0)>>2]|0}function Lw(a){a=a|0;c[a>>2]=8604;fz(a+12|0);qq(a);return}function Mw(a){a=a|0;Lw(a);Yy(a);return}function Nw(b){b=b|0;return a[b+8>>0]|0}function Ow(b){b=b|0;return a[b+9>>0]|0}function Pw(a,b){a=a|0;b=b|0;ez(a,b+12|0);return}function Qw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=Yp(26336)|0;if(f>>>0>4294967279)dz(b);if(f>>>0<11){a[b+11>>0]=f;g=b}else{h=f+16&-16;i=Wy(h)|0;c[b>>2]=i;c[b+8>>2]=h|-2147483648;c[b+4>>2]=f;g=i}Op(g,26336,f)|0;a[e>>0]=0;Zp(g+f|0,e);l=d;return}function Rw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=Yp(26330)|0;if(f>>>0>4294967279)dz(b);if(f>>>0<11){a[b+11>>0]=f;g=b}else{h=f+16&-16;i=Wy(h)|0;c[b>>2]=i;c[b+8>>2]=h|-2147483648;c[b+4>>2]=f;g=i}Op(g,26330,f)|0;a[e>>0]=0;Zp(g+f|0,e);l=d;return}function Sw(a){a=a|0;c[a>>2]=8644;fz(a+16|0);qq(a);return}function Tw(a){a=a|0;Sw(a);Yy(a);return}function Uw(a){a=a|0;return c[a+8>>2]|0}function Vw(a){a=a|0;return c[a+12>>2]|0}function Ww(a,b){a=a|0;b=b|0;ez(a,b+16|0);return}function Xw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=wt(8700)|0;if(f>>>0>1073741807)dz(b);do if(f>>>0>=2){g=f+4&-4;if(g>>>0>1073741823)ra();else{h=Wy(g<<2)|0;c[b>>2]=h;c[b+8>>2]=g|-2147483648;c[b+4>>2]=f;i=h;break}}else{a[b+8+3>>0]=f;i=b}while(0);Sp(i,8700,f)|0;c[e>>2]=0;wq(i+(f<<2)|0,e);l=d;return}function Yw(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;d=l;l=l+16|0;e=d;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;f=wt(8676)|0;if(f>>>0>1073741807)dz(b);do if(f>>>0>=2){g=f+4&-4;if(g>>>0>1073741823)ra();else{h=Wy(g<<2)|0;c[b>>2]=h;c[b+8>>2]=g|-2147483648;c[b+4>>2]=f;i=h;break}}else{a[b+8+3>>0]=f;i=b}while(0);Sp(i,8676,f)|0;c[e>>2]=0;wq(i+(f<<2)|0,e);l=d;return}function Zw(a){a=a|0;qq(a);Yy(a);return}function _w(a){a=a|0;qq(a);Yy(a);return}function $w(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;if(d>>>0<128)e=(b[(Kw()|0)+(d<<1)>>1]&c)<<16>>16!=0;else e=0;return e|0}function ax(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0;a=g;g=d;while(1){if((g|0)==(f|0))break;if((c[g>>2]|0)>>>0<128){d=Kw()|0;h=e[d+(c[g>>2]<<1)>>1]|0}else h=0;b[a>>1]=h;a=a+2|0;g=g+4|0}return f|0}function bx(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;a=e;while(1){if((a|0)==(f|0)){g=f;break}if((c[a>>2]|0)>>>0<128?(e=Kw()|0,(b[e+(c[a>>2]<<1)>>1]&d)<<16>>16):0){g=a;break}a=a+4|0}return g|0}function cx(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0;a=e;while(1){if((a|0)==(f|0)){g=f;break}if((c[a>>2]|0)>>>0>=128){g=a;break}e=Kw()|0;if(!((b[e+(c[a>>2]<<1)>>1]&d)<<16>>16)){g=a;break}a=a+4|0}return g|0}function dx(a,b){a=a|0;b=b|0;var d=0;if(b>>>0<128)d=c[(Jw()|0)+(b<<2)>>2]|0;else d=b;return d|0}function ex(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=b;while(1){if((a|0)==(d|0))break;b=c[a>>2]|0;if(b>>>0<128){e=Jw()|0;f=c[e+(c[a>>2]<<2)>>2]|0}else f=b;c[a>>2]=f;a=a+4|0}return d|0}function fx(a,b){a=a|0;b=b|0;var d=0;if(b>>>0<128)d=c[(Iw()|0)+(b<<2)>>2]|0;else d=b;return d|0}function gx(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;a=b;while(1){if((a|0)==(d|0))break;b=c[a>>2]|0;if(b>>>0<128){e=Iw()|0;f=c[e+(c[a>>2]<<2)>>2]|0}else f=b;c[a>>2]=f;a=a+4|0}return d|0}function hx(a,b){a=a|0;b=b|0;return b<<24>>24|0}function ix(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=f;f=d;while(1){if((f|0)==(e|0))break;c[b>>2]=a[f>>0];b=b+4|0;f=f+1|0}return e|0}function jx(a,b,c){a=a|0;b=b|0;c=c|0;return (b>>>0<128?b&255:c)|0}function kx(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;b=(e-d|0)>>>2;h=g;g=d;while(1){if((g|0)==(e|0))break;i=c[g>>2]|0;a[h>>0]=i>>>0<128?i&255:f;h=h+1|0;g=g+4|0}return d+(b<<2)|0}function lx(a){a=a|0;qq(a);Yy(a);return}function mx(a){a=a|0;qq(a);Yy(a);return}function nx(a){a=a|0;qq(a);Yy(a);return}function ox(a){a=a|0;c[a>>2]=8960;return}function px(a){a=a|0;c[a>>2]=8996;return}function qx(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]=8552;f=b+8|0;c[f>>2]=d;a[b+12>>0]=e&1;if(!d)c[f>>2]=Kw()|0;return}function rx(a){a=a|0;ra()}function sx(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=l;l=l+16|0;f=e;c[b+4>>2]=d+-1;c[b>>2]=8532;d=b+8|0;tx(d,28);g=b+144|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;h=Yp(24275)|0;if(h>>>0>4294967279)dz(g);if(h>>>0<11){a[g+11>>0]=h;i=g}else{j=h+16&-16;k=Wy(j)|0;c[g>>2]=k;c[b+152>>2]=j|-2147483648;c[b+148>>2]=h;i=k}Op(i,24275,h)|0;a[f>>0]=0;Zp(i+h|0,f);f=c[d>>2]|0;d=b+12|0;h=c[d>>2]|0;while(1){if((h|0)==(f|0))break;i=h+-4|0;c[d>>2]=i;h=i}ux();vx(b,27240);wx();xx(b,27248);yx();zx(b,27256);Ax();Bx(b,27272);Cx();Dx(b,27280);Ex();Fx(b,27288);Gx();Hx(b,27304);Ix();Jx(b,27312);Kx();Lx(b,27320);Mx();Nx(b,27344);Ox();Px(b,27376);Qx();Rx(b,27384);Sx();Tx(b,27392);Ux();Vx(b,27400);Wx();Xx(b,27408);Yx();Zx(b,27416);_x();$x(b,27424);ay();by(b,27432);cy();dy(b,27440);ey();fy(b,27448);gy();hy(b,27456);iy();jy(b,27464);ky();ly(b,27472);my();ny(b,27488);oy();py(b,27504);qy();ry(b,27520);sy();ty(b,27536);uy();vy(b,27544);l=e;return}function tx(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){Iy(b,d);zy(b,d)}return}function ux(){c[6811]=0;c[6810]=6196;return}function vx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28680)|0);return}function wx(){c[6813]=0;c[6812]=6228;return}function xx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28688)|0);return}function yx(){qx(27256,0,0,1);return}function zx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28696)|0);return}function Ax(){c[6819]=0;c[6818]=8748;return}function Bx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28728)|0);return}function Cx(){c[6821]=0;c[6820]=8816;return}function Dx(a,b){a=a|0;b=b|0;wy(a,b,Pq(30488)|0);return}function Ex(){Hy(27288,1);return}function Fx(a,b){a=a|0;b=b|0;wy(a,b,Pq(30496)|0);return}function Gx(){c[6827]=0;c[6826]=8864;return}function Hx(a,b){a=a|0;b=b|0;wy(a,b,Pq(30504)|0);return}function Ix(){c[6829]=0;c[6828]=8912;return}function Jx(a,b){a=a|0;b=b|0;wy(a,b,Pq(30512)|0);return}function Kx(){Gy(27320,1);return}function Lx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28712)|0);return}function Mx(){Fy(27344,1);return}function Nx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28736)|0);return}function Ox(){c[6845]=0;c[6844]=6260;return}function Px(a,b){a=a|0;b=b|0;wy(a,b,Pq(28720)|0);return}function Qx(){c[6847]=0;c[6846]=6324;return}function Rx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28744)|0);return}function Sx(){c[6849]=0;c[6848]=6388;return}function Tx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28752)|0);return}function Ux(){c[6851]=0;c[6850]=6440;return}function Vx(a,b){a=a|0;b=b|0;wy(a,b,Pq(28760)|0);return}function Wx(){c[6853]=0;c[6852]=7988;return}function Xx(a,b){a=a|0;b=b|0;wy(a,b,Pq(30408)|0);return}function Yx(){c[6855]=0;c[6854]=8044;return}function Zx(a,b){a=a|0;b=b|0;wy(a,b,Pq(30416)|0);return}function _x(){c[6857]=0;c[6856]=8100;return}function $x(a,b){a=a|0;b=b|0;wy(a,b,Pq(30424)|0);return}function ay(){c[6859]=0;c[6858]=8156;return}function by(a,b){a=a|0;b=b|0;wy(a,b,Pq(30432)|0);return}function cy(){c[6861]=0;c[6860]=8212;return}function dy(a,b){a=a|0;b=b|0;wy(a,b,Pq(30440)|0);return}function ey(){c[6863]=0;c[6862]=8240;return}function fy(a,b){a=a|0;b=b|0;wy(a,b,Pq(30448)|0);return}function gy(){c[6865]=0;c[6864]=8268;return}function hy(a,b){a=a|0;b=b|0;wy(a,b,Pq(30456)|0);return}function iy(){c[6867]=0;c[6866]=8296;return}function jy(a,b){a=a|0;b=b|0;wy(a,b,Pq(30464)|0);return}function ky(){c[6869]=0;c[6868]=8728;ox(27480);c[6868]=6492;c[6870]=6540;return}function ly(a,b){a=a|0;b=b|0;wy(a,b,Pq(29572)|0);return}function my(){c[6873]=0;c[6872]=8728;px(27496);c[6872]=6576;c[6874]=6624;return}function ny(a,b){a=a|0;b=b|0;wy(a,b,Pq(30384)|0);return}function oy(){c[6877]=0;c[6876]=8728;c[6878]=Nq()|0;c[6876]=7940;return}function py(a,b){a=a|0;b=b|0;wy(a,b,Pq(30392)|0);return}function qy(){c[6881]=0;c[6880]=8728;c[6882]=Nq()|0;c[6880]=7964;return}function ry(a,b){a=a|0;b=b|0;wy(a,b,Pq(30400)|0);return}function sy(){c[6885]=0;c[6884]=8324;return}function ty(a,b){a=a|0;b=b|0;wy(a,b,Pq(30472)|0);return}function uy(){c[6887]=0;c[6886]=8356;return}function vy(a,b){a=a|0;b=b|0;wy(a,b,Pq(30480)|0);return}function wy(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;Ry(b);e=a+8|0;f=c[e>>2]|0;if((c[a+12>>2]|0)-f>>2>>>0>d>>>0){g=e;h=f}else{xy(e,d+1|0);g=e;h=c[e>>2]|0}e=c[h+(d<<2)>>2]|0;if(e|0)Ty(e)|0;c[(c[g>>2]|0)+(d<<2)>>2]=b;return}function xy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=a+4|0;e=c[d>>2]|0;f=c[a>>2]|0;g=e-f>>2;h=f;f=e;a:do if(g>>>0>=b>>>0){if(g>>>0>b>>>0){e=h+(b<<2)|0;i=f;while(1){if((i|0)==(e|0))break a;j=i+-4|0;c[d>>2]=j;i=j}}}else yy(a,b-g|0);while(0);return}function yy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;d=l;l=l+32|0;e=d;f=a+8|0;g=a+4|0;h=c[g>>2]|0;do if((c[f>>2]|0)-h>>2>>>0>>0){i=(h-(c[a>>2]|0)>>2)+b|0;j=Ay(a)|0;if(j>>>0>>0)rx(a);else{k=c[a>>2]|0;m=(c[f>>2]|0)-k|0;n=m>>1;By(e,m>>2>>>0>>1>>>0?(n>>>0>>0?i:n):j,(c[g>>2]|0)-k>>2,a+16|0);Cy(e,b);Dy(a,e);Ey(e);break}}else zy(a,b);while(0);l=d;return}function zy(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 Ay(a){a=a|0;return 1073741823}function By(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;c[b+12>>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;h=f;break}else{h=Wy(d<<2)|0;break}}else h=0;while(0);c[b>>2]=h;f=h+(e<<2)|0;c[b+8>>2]=f;c[b+4>>2]=f;c[b+12>>2]=h+(d<<2);return}function Cy(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 Dy(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c[a>>2]|0;e=a+4|0;f=b+4|0;g=(c[e>>2]|0)-d|0;h=(c[f>>2]|0)+(0-(g>>2)<<2)|0;c[f>>2]=h;if((g|0)>0){EA(h|0,d|0,g|0)|0;i=f;j=c[f>>2]|0}else{i=f;j=h}h=c[a>>2]|0;c[a>>2]=j;c[i>>2]=h;h=b+8|0;j=c[e>>2]|0;c[e>>2]=c[h>>2];c[h>>2]=j;j=a+8|0;a=b+12|0;h=c[j>>2]|0;c[j>>2]=c[a>>2];c[a>>2]=h;c[b>>2]=c[i>>2];return}function Ey(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}f=c[b>>2]|0;do if(f|0){e=c[b+16>>2]|0;if((e|0)==(f|0)){a[e+112>>0]=0;break}else{Yy(f);break}}while(0);return}function Fy(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=8644;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 Gy(b,d){b=b|0;d=d|0;c[b+4>>2]=d+-1;c[b>>2]=8604;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 Hy(a,b){a=a|0;b=b|0;c[a+4>>2]=b+-1;c[a>>2]=8484;c[a+8>>2]=Nq()|0;return}function Iy(b,d){b=b|0;d=d|0;var e=0,f=0;if((Ay(b)|0)>>>0>>0)rx(b);e=b+128|0;if(d>>>0<29&(a[e>>0]|0)==0){a[e>>0]=1;f=b+16|0}else f=Wy(d<<2)|0;c[b+4>>2]=f;c[b>>2]=f;c[b+8>>2]=f+(d<<2);return}function Jy(){if((a[27552]|0)==0?sA(27552)|0:0){Ky()|0;c[7631]=30520}return c[7631]|0}function Ky(){Ly();c[7630]=27560;return 30520}function Ly(){sx(27560,1);return}function My(){Ny(30528,Jy()|0);return 30528}function Ny(a,b){a=a|0;b=b|0;var d=0;d=c[b>>2]|0;c[a>>2]=d;Ry(d);return}function Oy(){if((a[27720]|0)==0?sA(27720)|0:0){My()|0;c[7633]=30528}return c[7633]|0}function Py(a){a=a|0;var b=0;b=c[(Oy()|0)>>2]|0;c[a>>2]=b;Ry(b);return}function Qy(a){a=a|0;return}function Ry(a){a=a|0;Sy(a+4|0);return}function Sy(a){a=a|0;c[a>>2]=(c[a>>2]|0)+1;return}function Ty(a){a=a|0;var b=0;if((Uy(a+4|0)|0)==-1){cb[c[(c[a>>2]|0)+8>>2]&127](a);b=1}else b=0;return b|0}function Uy(a){a=a|0;var b=0;b=c[a>>2]|0;c[a>>2]=b+-1;return b+-1|0}function Vy(a,b,d){a=a|0;b=b|0;d=d|0;AA(30536)|0;while(1){if((c[a>>2]|0)!=1)break;pa(30564,30536)|0}if(!(c[a>>2]|0)){c[a>>2]=1;OA(30536)|0;cb[d&127](b);AA(30536)|0;c[a>>2]=-1;OA(30536)|0;DA(30564)|0}else OA(30536)|0;return}function Wy(a){a=a|0;var b=0,c=0;b=(a|0)==0?1:a;while(1){a=Pm(b)|0;if(a|0){c=a;break}a=uA()|0;if(!a){c=0;break}hb[a&3]()}return c|0}function Xy(a){a=a|0;return Wy(a)|0}function Yy(a){a=a|0;Qm(a);return}function Zy(a){a=a|0;Yy(a);return}function _y(){ra()}function $y(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=Yn(b)|0;e=Wy(d+13|0)|0;c[e>>2]=d;c[e+4>>2]=d;c[e+8>>2]=0;f=az(e)|0;EA(f|0,b|0,d+1|0)|0;c[a>>2]=f;return}function az(a){a=a|0;return a+12|0}function bz(a,b){a=a|0;b=b|0;c[a>>2]=9120;$y(a+4|0,b);return}function cz(a){a=a|0;return 1}function dz(a){a=a|0;ra()}function ez(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=l;l=l+16|0;f=e;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;if((a[d+11>>0]|0)<0){g=c[d>>2]|0;h=c[d+4>>2]|0;if(h>>>0>4294967279)dz(b);if(h>>>0<11){a[b+11>>0]=h;i=b}else{j=h+16&-16;k=Wy(j)|0;c[b>>2]=k;c[b+8>>2]=j|-2147483648;c[b+4>>2]=h;i=k}Op(i,g,h)|0;a[f>>0]=0;Zp(i+h|0,f)}else{c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2]}l=e;return}function fz(b){b=b|0;if((a[b+11>>0]|0)<0)Yy(c[b>>2]|0);return}function gz(b,d){b=b|0;d=d|0;var e=0,f=0;if((b|0)!=(d|0)){e=a[d+11>>0]|0;f=e<<24>>24<0;hz(b,f?c[d>>2]|0:d,f?c[d+4>>2]|0:e&255)|0}return b|0}function hz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;f=l;l=l+16|0;g=f;h=b+11|0;i=a[h>>0]|0;j=i<<24>>24<0;if(j)k=(c[b+8>>2]&2147483647)+-1|0;else k=10;do if(k>>>0>=e>>>0){if(j)m=c[b>>2]|0;else m=b;iz(m,d,e)|0;a[g>>0]=0;Zp(m+e|0,g);if((a[h>>0]|0)<0){c[b+4>>2]=e;break}else{a[h>>0]=e;break}}else{if(j)n=c[b+4>>2]|0;else n=i&255;jz(b,k,e-k|0,n,0,n,e,d)}while(0);l=f;return b|0}function iz(a,b,c){a=a|0;b=b|0;c=c|0;if(c|0)MA(a|0,b|0,c|0)|0;return a|0}function jz(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,m=0,n=0,o=0,p=0,q=0;k=l;l=l+16|0;m=k;if((-18-d|0)>>>0>>0)dz(b);if((a[b+11>>0]|0)<0)n=c[b>>2]|0;else n=b;if(d>>>0<2147483623){o=e+d|0;e=d<<1;p=o>>>0>>0?e:o;q=p>>>0<11?11:p+16&-16}else q=-17;p=Wy(q)|0;if(g|0)Op(p,n,g)|0;if(i|0)Op(p+g|0,j,i)|0;j=f-h|0;f=j-g|0;if(f|0)Op(p+g+i|0,n+g+h|0,f)|0;if((d|0)!=10)Yy(n);c[b>>2]=p;c[b+8>>2]=q|-2147483648;q=j+i|0;c[b+4>>2]=q;a[m>>0]=0;Zp(p+q|0,m);l=k;return}function kz(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;if(d>>>0>4294967279)dz(b);e=b+11|0;f=a[e>>0]|0;g=f<<24>>24<0;if(g){h=c[b+4>>2]|0;i=(c[b+8>>2]&2147483647)+-1|0}else{h=f&255;i=10}j=h>>>0>d>>>0?h:d;d=j>>>0<11;k=d?10:(j+16&-16)+-1|0;do if((k|0)!=(i|0)){do if(d){j=c[b>>2]|0;if(g){l=0;m=j;n=b;o=13}else{Op(b,j,(f&255)+1|0)|0;Yy(j);o=15}}else{j=Wy(k+1|0)|0;if(g){l=1;m=c[b>>2]|0;n=j;o=13;break}else{Op(j,b,(f&255)+1|0)|0;p=j;o=14;break}}while(0);if((o|0)==13){Op(n,m,(c[b+4>>2]|0)+1|0)|0;Yy(m);if(l){p=n;o=14}else o=15}if((o|0)==14){c[b+8>>2]=k+1|-2147483648;c[b+4>>2]=h;c[b>>2]=p;break}else if((o|0)==15){a[e>>0]=h;break}}while(0);return}function lz(a,b){a=a|0;b=b|0;return hz(a,b,Yp(b)|0)|0}function mz(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;f=l;l=l+16|0;g=f;h=b+11|0;i=a[h>>0]|0;j=i<<24>>24<0;if(j)k=c[b+4>>2]|0;else k=i&255;do if(k>>>0>=d>>>0)if(j){i=(c[b>>2]|0)+d|0;a[g>>0]=0;Zp(i,g);c[b+4>>2]=d;break}else{a[g>>0]=0;Zp(b+d|0,g);a[h>>0]=d;break}else nz(b,d-k|0,e)|0;while(0);l=f;return}function nz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;if(d|0){h=b+11|0;i=a[h>>0]|0;if(i<<24>>24<0){j=c[b+4>>2]|0;k=(c[b+8>>2]&2147483647)+-1|0}else{j=i&255;k=10}m=j+d|0;if((k-j|0)>>>0>>0){oz(b,k,m-k|0,j,j,0,0);n=a[h>>0]|0}else n=i;if(n<<24>>24<0)o=c[b>>2]|0;else o=b;pu(o+j|0,d,e)|0;if((a[h>>0]|0)<0)c[b+4>>2]=m;else a[h>>0]=m;a[g>>0]=0;Zp(o+m|0,g)}l=f;return b|0}function oz(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((-17-d|0)>>>0>>0)dz(b);if((a[b+11>>0]|0)<0)j=c[b>>2]|0;else j=b;if(d>>>0<2147483623){k=e+d|0;e=d<<1;l=k>>>0>>0?e:k;m=l>>>0<11?11:l+16&-16}else m=-17;l=Wy(m)|0;if(g|0)Op(l,j,g)|0;k=f-h-g|0;if(k|0)Op(l+g+i|0,j+g+h|0,k)|0;if((d|0)!=10)Yy(j);c[b>>2]=l;c[b+8>>2]=m|-2147483648;return}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,k=0,m=0,n=0;f=l;l=l+16|0;g=f;h=b+11|0;i=a[h>>0]|0;j=i<<24>>24<0;if(j){k=c[b+4>>2]|0;m=(c[b+8>>2]&2147483647)+-1|0}else{k=i&255;m=10}i=k+e|0;if((m-k|0)>>>0>=e>>>0){if(e|0){if(j)n=c[b>>2]|0;else n=b;Op(n+k|0,d,e)|0;if((a[h>>0]|0)<0)c[b+4>>2]=i;else a[h>>0]=i;a[g>>0]=0;Zp(n+i|0,g)}}else jz(b,m,i-m|0,k,k,0,e,d);l=f;return 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,m=0,n=0,o=0,p=0;e=l;l=l+16|0;f=e;g=e+1|0;a[f>>0]=d;d=b+11|0;h=a[d>>0]|0;i=h<<24>>24<0;if(i){j=c[b+4>>2]|0;k=(c[b+8>>2]&2147483647)+-1|0}else{j=h&255;k=10}if((j|0)==(k|0)){oz(b,k,1,k,k,0,0);h=k+1|0;if((a[d>>0]|0)<0){m=h;n=8}else{o=h;n=7}}else{h=j+1|0;if(i){m=h;n=8}else{o=h;n=7}}if((n|0)==7){a[d>>0]=o;p=b}else if((n|0)==8){n=c[b>>2]|0;c[b+4>>2]=m;p=n}n=p+j|0;Zp(n,f);a[g>>0]=0;Zp(n+1|0,g);l=e;return}function rz(b){b=b|0;if((a[b+8+3>>0]|0)<0)Yy(c[b>>2]|0);return}function sz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;h=b+8|0;i=h+3|0;j=a[i>>0]|0;k=j<<24>>24<0;if(k)m=(c[h>>2]&2147483647)+-1|0;else m=1;do if(m>>>0>=e>>>0){if(k)n=c[b>>2]|0;else n=b;tz(n,d,e)|0;c[g>>2]=0;wq(n+(e<<2)|0,g);if((a[i>>0]|0)<0){c[b+4>>2]=e;break}else{a[i>>0]=e;break}}else{if(k)o=c[b+4>>2]|0;else o=j&255;uz(b,m,e-m|0,o,0,o,e,d)}while(0);l=f;return b|0}function tz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!c)d=a;else{np(a,b,c)|0;d=a}return d|0}function uz(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,m=0,n=0,o=0,p=0,q=0,r=0;k=l;l=l+16|0;m=k;if((1073741806-d|0)>>>0>>0)dz(b);n=b+8|0;if((a[n+3>>0]|0)<0)o=c[b>>2]|0;else o=b;if(d>>>0<536870887){p=e+d|0;e=d<<1;q=p>>>0>>0?e:p;p=q>>>0<2?2:q+4&-4;if(p>>>0>1073741823)ra();else r=p}else r=1073741807;p=Wy(r<<2)|0;if(g|0)Sp(p,o,g)|0;if(i|0)Sp(p+(g<<2)|0,j,i)|0;j=f-h|0;f=j-g|0;if(f|0)Sp(p+(g<<2)+(i<<2)|0,o+(g<<2)+(h<<2)|0,f)|0;if((d|0)!=1)Yy(o);c[b>>2]=p;c[n>>2]=r|-2147483648;r=j+i|0;c[b+4>>2]=r;c[m>>2]=0;wq(p+(r<<2)|0,m);l=k;return}function vz(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;if(d>>>0>1073741807)dz(b);e=b+8|0;f=e+3|0;g=a[f>>0]|0;h=g<<24>>24<0;if(h){i=c[b+4>>2]|0;j=(c[e>>2]&2147483647)+-1|0}else{i=g&255;j=1}k=i>>>0>d>>>0?i:d;d=k>>>0<2;l=d?1:(k+4&-4)+-1|0;do if((l|0)!=(j|0)){do if(d){k=c[b>>2]|0;if(h){m=0;n=k;o=b;p=15}else{Sp(b,k,(g&255)+1|0)|0;Yy(k);p=17}}else{k=l+1|0;if(k>>>0>1073741823)ra();q=Wy(k<<2)|0;if(h){m=1;n=c[b>>2]|0;o=q;p=15;break}else{Sp(q,b,(g&255)+1|0)|0;r=q;p=16;break}}while(0);if((p|0)==15){Sp(o,n,(c[b+4>>2]|0)+1|0)|0;Yy(n);if(m){r=o;p=16}else p=17}if((p|0)==16){c[e>>2]=l+1|-2147483648;c[b+4>>2]=i;c[b>>2]=r;break}else if((p|0)==17){a[f>>0]=i;break}}while(0);return}function wz(a,b){a=a|0;b=b|0;return sz(a,b,wt(b)|0)|0}function xz(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;if((1073741807-d|0)>>>0>>0)dz(b);j=b+8|0;if((a[j+3>>0]|0)<0)k=c[b>>2]|0;else k=b;if(d>>>0<536870887){l=e+d|0;e=d<<1;m=l>>>0>>0?e:l;l=m>>>0<2?2:m+4&-4;if(l>>>0>1073741823)ra();else n=l}else n=1073741807;l=Wy(n<<2)|0;if(g|0)Sp(l,k,g)|0;m=f-h-g|0;if(m|0)Sp(l+(g<<2)+(i<<2)|0,k+(g<<2)+(h<<2)|0,m)|0;if((d|0)!=1)Yy(k);c[b>>2]=l;c[j>>2]=n|-2147483648;return}function yz(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;f=l;l=l+16|0;g=f;h=b+8|0;i=h+3|0;j=a[i>>0]|0;k=j<<24>>24<0;if(k){m=c[b+4>>2]|0;n=(c[h>>2]&2147483647)+-1|0}else{m=j&255;n=1}j=m+e|0;if((n-m|0)>>>0>=e>>>0){if(e|0){if(k)o=c[b>>2]|0;else o=b;Sp(o+(m<<2)|0,d,e)|0;if((a[i>>0]|0)<0)c[b+4>>2]=j;else a[i>>0]=j;c[g>>2]=0;wq(o+(j<<2)|0,g)}}else uz(b,n,j-n|0,m,m,0,e,d);l=f;return b|0}function zz(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;e=l;l=l+16|0;f=e;g=e+4|0;c[f>>2]=d;d=b+8|0;h=d+3|0;i=a[h>>0]|0;j=i<<24>>24<0;if(j){k=c[b+4>>2]|0;m=(c[d>>2]&2147483647)+-1|0}else{k=i&255;m=1}if((k|0)==(m|0)){xz(b,m,1,m,m,0,0);i=m+1|0;if((a[h>>0]|0)<0){n=i;o=8}else{p=i;o=7}}else{i=k+1|0;if(j){n=i;o=8}else{p=i;o=7}}if((o|0)==7){a[h>>0]=p;q=b}else if((o|0)==8){o=c[b>>2]|0;c[b+4>>2]=n;q=o}o=q+(k<<2)|0;wq(o,f);c[g>>2]=0;wq(o+4|0,g);l=e;return}function Az(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a=l;l=l+48|0;b=a+32|0;d=a+24|0;e=a+16|0;f=a;g=a+36|0;a=Bz()|0;if(a|0?(h=c[a>>2]|0,h|0):0){a=h+48|0;i=c[a>>2]|0;j=c[a+4>>2]|0;if(!((i&-256|0)==1126902528&(j|0)==1129074247)){c[d>>2]=c[2257];Cz(26494,d)}if((i|0)==1126902529&(j|0)==1129074247)k=c[h+44>>2]|0;else k=h+80|0;c[g>>2]=k;k=c[h>>2]|0;h=c[k+4>>2]|0;j=Za[c[(c[354]|0)+16>>2]&31](1416,k,g)|0;k=c[2257]|0;if(j){j=c[g>>2]|0;g=fb[c[(c[j>>2]|0)+8>>2]&127](j)|0;c[f>>2]=k;c[f+4>>2]=h;c[f+8>>2]=g;Cz(26408,f)}else{c[e>>2]=k;c[e+4>>2]=h;Cz(26453,e)}}Cz(26532,b)}function Bz(){var a=0,b=0;a=l;l=l+16|0;if(!(Ia(30612,3)|0)){b=Ea(c[7654]|0)|0;l=a;return b|0}else Cz(26683,a);return 0}function Cz(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=b;b=c[638]|0;mn(b,a,e)|0;pp(10,b)|0;ra()}function Dz(a){a=a|0;return}function Ez(a){a=a|0;Dz(a);Yy(a);return}function Fz(a){a=a|0;return}function Gz(a){a=a|0;return}function Hz(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=l;l=l+64|0;f=e;if(!(Lz(a,b,0)|0))if((b|0)!=0?(g=Pz(b,1440,1424,0)|0,(g|0)!=0):0){b=f+4|0;h=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(h|0));c[f>>2]=g;c[f+8>>2]=a;c[f+12>>2]=-1;c[f+48>>2]=1;kb[c[(c[g>>2]|0)+28>>2]&7](g,f,c[d>>2]|0,1);if((c[f+24>>2]|0)==1){c[d>>2]=c[f+16>>2];i=1}else i=0;j=i}else j=0;else j=1;l=e;return j|0}function Iz(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(Lz(a,c[b+8>>2]|0,g)|0)Oz(0,b,d,e,f);return}function Jz(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;do if(!(Lz(b,c[d+8>>2]|0,g)|0)){if(Lz(b,c[d>>2]|0,g)|0){h=d+32|0;if((c[d+16>>2]|0)!=(e|0)?(i=d+20|0,(c[i>>2]|0)!=(e|0)):0){c[h>>2]=f;c[i>>2]=e;i=d+40|0;c[i>>2]=(c[i>>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[h>>2]=1}}else Nz(0,d,e,f);while(0);return}function Kz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if(Lz(a,c[b+8>>2]|0,0)|0)Mz(0,b,d,e);return}function Lz(a,b,c){a=a|0;b=b|0;c=c|0;return (a|0)==(b|0)|0}function Mz(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;b=d+16|0;g=c[b>>2]|0;h=d+36|0;i=d+24|0;do if(g){if((g|0)!=(e|0)){c[h>>2]=(c[h>>2]|0)+1;c[i>>2]=2;a[d+54>>0]=1;break}if((c[i>>2]|0)==2)c[i>>2]=f}else{c[b>>2]=e;c[i>>2]=f;c[h>>2]=1}while(0);return}function Nz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((c[b+4>>2]|0)==(d|0)?(d=b+28|0,(c[d>>2]|0)!=1):0)c[d>>2]=e;return}function Oz(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;a[d+53>>0]=1;do if((c[d+4>>2]|0)==(f|0)){a[d+52>>0]=1;b=d+16|0;h=c[b>>2]|0;i=d+54|0;j=d+48|0;k=d+24|0;l=d+36|0;if(!h){c[b>>2]=e;c[k>>2]=g;c[l>>2]=1;if(!((c[j>>2]|0)==1&(g|0)==1))break;a[i>>0]=1;break}if((h|0)!=(e|0)){c[l>>2]=(c[l>>2]|0)+1;a[i>>0]=1;break}l=c[k>>2]|0;if((l|0)==2){c[k>>2]=g;m=g}else m=l;if((c[j>>2]|0)==1&(m|0)==1)a[i>>0]=1}while(0);return}function Pz(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;h=l;l=l+64|0;i=h;j=c[d>>2]|0;k=d+(c[j+-8>>2]|0)|0;m=c[j+-4>>2]|0;c[i>>2]=f;c[i+4>>2]=d;c[i+8>>2]=e;c[i+12>>2]=g;g=i+16|0;e=i+20|0;d=i+24|0;j=i+28|0;n=i+32|0;o=i+40|0;p=g;q=p+36|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(q|0));b[g+36>>1]=0;a[g+38>>0]=0;a:do if(Lz(m,f,0)|0){c[i+48>>2]=1;_a[c[(c[m>>2]|0)+20>>2]&7](m,i,k,k,1,0);r=(c[d>>2]|0)==1?k:0}else{$a[c[(c[m>>2]|0)+24>>2]&3](m,i,k,1,0);switch(c[i+36>>2]|0){case 0:{r=(c[o>>2]|0)==1&(c[j>>2]|0)==1&(c[n>>2]|0)==1?c[e>>2]|0:0;break a;break}case 1:break;default:{r=0;break a}}if((c[d>>2]|0)!=1?!((c[o>>2]|0)==0&(c[j>>2]|0)==1&(c[n>>2]|0)==1):0){r=0;break}r=c[g>>2]|0}while(0);l=h;return r|0}function Qz(a){a=a|0;Dz(a);Yy(a);return}function Rz(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;if(Lz(a,c[b+8>>2]|0,g)|0)Oz(0,b,d,e,f);else{h=c[a+8>>2]|0;_a[c[(c[h>>2]|0)+20>>2]&7](h,b,d,e,f,g)}return}function Sz(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;do if(!(Lz(b,c[d+8>>2]|0,g)|0)){h=b+8|0;if(!(Lz(b,c[d>>2]|0,g)|0)){i=c[h>>2]|0;$a[c[(c[i>>2]|0)+24>>2]&3](i,d,e,f,g);break}i=d+32|0;if((c[d+16>>2]|0)!=(e|0)?(j=d+20|0,(c[j>>2]|0)!=(e|0)):0){c[i>>2]=f;k=d+44|0;if((c[k>>2]|0)==4)break;l=d+52|0;a[l>>0]=0;m=d+53|0;a[m>>0]=0;n=c[h>>2]|0;_a[c[(c[n>>2]|0)+20>>2]&7](n,d,e,e,1,g);if(a[m>>0]|0)if(!(a[l>>0]|0)){o=3;p=11}else q=3;else{o=4;p=11}if((p|0)==11){c[j>>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;q=o}else q=o}c[k>>2]=q;break}if((f|0)==1)c[i>>2]=1}else Nz(0,d,e,f);while(0);return}function Tz(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;if(Lz(a,c[b+8>>2]|0,0)|0)Mz(0,b,d,e);else{f=c[a+8>>2]|0;kb[c[(c[f>>2]|0)+28>>2]&7](f,b,d,e)}return}function Uz(a){a=a|0;return}function Vz(){var a=0;a=l;l=l+16|0;if(!(qa(30616,118)|0)){l=a;return}else Cz(26732,a)}function Wz(a){a=a|0;var b=0;b=l;l=l+16|0;Qm(a);if(!(Oa(c[7654]|0,0)|0)){l=b;return}else Cz(26782,b)}function Xz(){var a=0,b=0;a=Bz()|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)Yz(c[b+12>>2]|0);Yz(Zz()|0)}function Yz(a){a=a|0;var b=0;b=l;l=l+16|0;hb[a&3]();Cz(26835,b)}function Zz(){var a=0;a=c[2256]|0;c[2256]=a+0;return a|0}function _z(a){a=a|0;return}function $z(a){a=a|0;c[a>>2]=9120;dA(a+4|0);return}function aA(a){a=a|0;$z(a);Yy(a);return}function bA(a){a=a|0;return cA(a+4|0)|0}function cA(a){a=a|0;return c[a>>2]|0}function dA(a){a=a|0;var b=0,d=0;if(cz(a)|0?(b=eA(c[a>>2]|0)|0,a=b+8|0,d=c[a>>2]|0,c[a>>2]=d+-1,(d+-1|0)<0):0)Yy(b);return}function eA(a){a=a|0;return a+-12|0}function fA(a){a=a|0;$z(a);Yy(a);return}function gA(a){a=a|0;Dz(a);Yy(a);return}function hA(a,b,c){a=a|0;b=b|0;c=c|0;return Lz(a,b,0)|0}function iA(a){a=a|0;Dz(a);Yy(a);return}function jA(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=l;l=l+64|0;f=e;c[d>>2]=c[c[d>>2]>>2];if(!(kA(a,b,0)|0))if(((b|0)!=0?(g=Pz(b,1440,1528,0)|0,(g|0)!=0):0)?(c[g+8>>2]&~c[a+8>>2]|0)==0:0){b=a+12|0;a=g+12|0;if(!(Lz(c[b>>2]|0,c[a>>2]|0,0)|0)?!(Lz(c[b>>2]|0,1560,0)|0):0){g=c[b>>2]|0;if((((g|0)!=0?(b=Pz(g,1440,1424,0)|0,(b|0)!=0):0)?(g=c[a>>2]|0,(g|0)!=0):0)?(a=Pz(g,1440,1424,0)|0,(a|0)!=0):0){g=f+4|0;h=g+52|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));c[f>>2]=a;c[f+8>>2]=b;c[f+12>>2]=-1;c[f+48>>2]=1;kb[c[(c[a>>2]|0)+28>>2]&7](a,f,c[d>>2]|0,1);if((c[f+24>>2]|0)==1){c[d>>2]=c[f+16>>2];i=1}else i=0;j=i}else j=0}else j=1}else j=0;else j=1;l=e;return j|0}function kA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(Lz(a,b,0)|0)d=1;else d=Lz(b,1568,0)|0;return d|0}function lA(a){a=a|0;Dz(a);Yy(a);return}function mA(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;if(Lz(b,c[d+8>>2]|0,h)|0)Oz(0,d,e,f,g);else{i=d+52|0;j=a[i>>0]|0;k=d+53|0;l=a[k>>0]|0;m=c[b+12>>2]|0;n=b+16+(m<<3)|0;a[i>>0]=0;a[k>>0]=0;qA(b+16|0,d,e,f,g,h);a:do if((m|0)>1){o=d+24|0;p=d+54|0;q=b+8|0;r=b+24|0;do{if(a[p>>0]|0)break a;if(!(a[i>>0]|0)){if(a[k>>0]|0?(c[q>>2]&1|0)==0:0)break a}else{if((c[o>>2]|0)==1)break a;if(!(c[q>>2]&2))break a}a[i>>0]=0;a[k>>0]=0;qA(r,d,e,f,g,h);r=r+8|0}while(r>>>0>>0)}while(0);a[i>>0]=j;a[k>>0]=l}return}function nA(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;a:do if(!(Lz(b,c[d+8>>2]|0,g)|0)){h=b+12|0;i=d+24|0;j=d+36|0;k=d+54|0;l=b+8|0;m=b+16|0;if(!(Lz(b,c[d>>2]|0,g)|0)){n=c[h>>2]|0;o=b+16+(n<<3)|0;rA(m,d,e,f,g);p=b+24|0;if((n|0)<=1)break;n=c[l>>2]|0;if((n&2|0)==0?(c[j>>2]|0)!=1:0){if(!(n&1)){n=p;while(1){if(a[k>>0]|0)break a;if((c[j>>2]|0)==1)break a;rA(n,d,e,f,g);n=n+8|0;if(n>>>0>=o>>>0)break a}}else q=p;while(1){if(a[k>>0]|0)break a;if((c[j>>2]|0)==1?(c[i>>2]|0)==1:0)break a;rA(q,d,e,f,g);q=q+8|0;if(q>>>0>=o>>>0)break a}}else r=p;while(1){if(a[k>>0]|0)break a;rA(r,d,e,f,g);r=r+8|0;if(r>>>0>=o>>>0)break a}}o=d+32|0;if((c[d+16>>2]|0)!=(e|0)?(p=d+20|0,(c[p>>2]|0)!=(e|0)):0){c[o>>2]=f;n=d+44|0;if((c[n>>2]|0)==4)break;s=b+16+(c[h>>2]<<3)|0;t=d+52|0;u=d+53|0;v=0;w=m;x=0;b:while(1){if(w>>>0>=s>>>0){y=v;z=18;break}a[t>>0]=0;a[u>>0]=0;qA(w,d,e,e,1,g);if(a[k>>0]|0){y=v;z=18;break}do if(a[u>>0]|0){if(!(a[t>>0]|0))if(!(c[l>>2]&1)){y=1;z=18;break b}else{A=1;B=x;break}if((c[i>>2]|0)==1){z=23;break b}if(!(c[l>>2]&2)){z=23;break b}else{A=1;B=1}}else{A=v;B=x}while(0);v=A;w=w+8|0;x=B}do if((z|0)==18){if((!x?(c[p>>2]=e,w=d+40|0,c[w>>2]=(c[w>>2]|0)+1,(c[j>>2]|0)==1):0)?(c[i>>2]|0)==2:0){a[k>>0]=1;if(y){z=23;break}else{C=4;break}}if(y)z=23;else C=4}while(0);if((z|0)==23)C=3;c[n>>2]=C;break}if((f|0)==1)c[o>>2]=1}else Nz(0,d,e,f);while(0);return}function oA(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!(Lz(b,c[d+8>>2]|0,0)|0)){g=c[b+12>>2]|0;h=b+16+(g<<3)|0;pA(b+16|0,d,e,f);if((g|0)>1){g=d+54|0;i=b+24|0;do{pA(i,d,e,f);if(a[g>>0]|0)break a;i=i+8|0}while(i>>>0>>0)}}else Mz(0,d,e,f);while(0);return}function pA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[a+4>>2]|0;g=f>>8;if(!(f&1))h=g;else h=c[(c[d>>2]|0)+g>>2]|0;g=c[a>>2]|0;kb[c[(c[g>>2]|0)+28>>2]&7](g,b,d+h|0,f&2|0?e:2);return}function qA(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=c[a+4>>2]|0;i=h>>8;if(!(h&1))j=i;else j=c[(c[e>>2]|0)+i>>2]|0;i=c[a>>2]|0;_a[c[(c[i>>2]|0)+20>>2]&7](i,b,d,e+j|0,h&2|0?f:2,g);return}function rA(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=c[a+4>>2]|0;h=g>>8;if(!(g&1))i=h;else i=c[(c[d>>2]|0)+h>>2]|0;h=c[a>>2]|0;$a[c[(c[h>>2]|0)+24>>2]&3](h,b,d+i|0,g&2|0?e:2,f);return}function sA(b){b=b|0;var c=0;if((a[b>>0]|0)==1)c=0;else{a[b>>0]=1;c=1}return c|0}function tA(a){a=a|0;return}function uA(){var a=0;a=c[7655]|0;c[7655]=a+0;return a|0}function vA(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=l;l=l+16|0;f=e;c[f>>2]=c[d>>2];g=Za[c[(c[a>>2]|0)+16>>2]&31](a,b,f)|0;if(g)c[d>>2]=c[f>>2];l=e;return g&1|0}function wA(a){a=a|0;var b=0;if(!a)b=0;else b=(Pz(a,1440,1528,0)|0)!=0;return b&1|0}function xA(){}function yA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=b-d>>>0;e=b-d-(c>>>0>a>>>0|0)>>>0;return (A=e,a-c>>>0|0)|0}function zA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}g=f&-4|0;h=g-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(h|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)<(g|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(f|0)){a[b>>0]=d;b=b+1|0}return f-e|0}function AA(a){a=a|0;return 0}function BA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=a+c>>>0;return (A=b+d+(e>>>0>>0|0)>>>0,e|0)|0}function CA(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){A=b>>>c;return a>>>c|(b&(1<>>c-32|0}function DA(a){a=a|0;return 0}function EA(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return Ba(b|0,d|0,e|0)|0;f=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return f|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}h=g&-4|0;e=h-64|0;while((b|0)<=(e|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)<(h|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{h=g-4|0;while((b|0)<(h|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 f|0}function FA(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function GA(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;g=a;h=b;i=h;j=d;k=e;l=k;if(!i){m=(f|0)!=0;if(!l){if(m){c[f>>2]=(g>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(g>>>0)/(j>>>0)>>>0;return (A=n,o)|0}else{if(!m){n=0;o=0;return (A=n,o)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;o=0;return (A=n,o)|0}}m=(l|0)==0;do if(j){if(!m){p=(S(l|0)|0)-(S(i|0)|0)|0;if(p>>>0<=31){q=p+1|0;r=31-p|0;s=p-31>>31;t=q;u=g>>>(q>>>0)&s|i<>>(q>>>0)&s;w=0;x=g<>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (A=n,o)|0}r=j-1|0;if(r&j|0){s=(S(j|0)|0)+33-(S(i|0)|0)|0;q=64-s|0;p=32-s|0;y=p>>31;z=s-32|0;B=z>>31;t=s;u=p-1>>31&i>>>(z>>>0)|(i<>>(s>>>0))&B;v=B&i>>>(s>>>0);w=g<>>(z>>>0))&y|g<>31;break}if(f|0){c[f>>2]=r&g;c[f+4>>2]=0}if((j|0)==1){n=h|b&0;o=a|0|0;return (A=n,o)|0}else{r=FA(j|0)|0;n=i>>>(r>>>0)|0;o=i<<32-r|g>>>(r>>>0)|0;return (A=n,o)|0}}else{if(m){if(f|0){c[f>>2]=(i>>>0)%(j>>>0);c[f+4>>2]=0}n=0;o=(i>>>0)/(j>>>0)>>>0;return (A=n,o)|0}if(!g){if(f|0){c[f>>2]=0;c[f+4>>2]=(i>>>0)%(l>>>0)}n=0;o=(i>>>0)/(l>>>0)>>>0;return (A=n,o)|0}r=l-1|0;if(!(r&l)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=r&i|b&0}n=0;o=i>>>((FA(l|0)|0)>>>0);return (A=n,o)|0}r=(S(l|0)|0)-(S(i|0)|0)|0;if(r>>>0<=30){s=r+1|0;p=31-r|0;t=s;u=i<>>(s>>>0);v=i>>>(s>>>0);w=0;x=g<>2]=a|0;c[f+4>>2]=h|b&0;n=0;o=0;return (A=n,o)|0}while(0);if(!t){C=x;D=w;E=v;F=u;G=0;H=0}else{b=d|0|0;d=k|e&0;e=BA(b|0,d|0,-1,-1)|0;k=A;h=x;x=w;w=v;v=u;u=t;t=0;do{a=h;h=x>>>31|h<<1;x=t|x<<1;g=v<<1|a>>>31|0;a=v>>>31|w<<1|0;yA(e|0,k|0,g|0,a|0)|0;i=A;l=i>>31|((i|0)<0?-1:0)<<1;t=l&1;v=yA(g|0,a|0,l&b|0,(((i|0)<0?-1:0)>>31|((i|0)<0?-1:0)<<1)&d|0)|0;w=A;u=u-1|0}while((u|0)!=0);C=h;D=x;E=w;F=v;G=0;H=t}t=D;D=0;if(f|0){c[f>>2]=F;c[f+4>>2]=E}n=(t|0)>>>31|(C|D)<<1|(D<<1|t>>>31)&0|G;o=(t<<1|0>>>31)&-2|H;return (A=n,o)|0}function HA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return GA(a,b,c,d,0)|0}function IA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=a&65535;d=b&65535;e=P(d,c)|0;f=a>>>16;a=(e>>>16)+(P(d,f)|0)|0;d=b>>>16;b=P(d,c)|0;return (A=(a>>>16)+(P(d,f)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|e&65535|0)|0}function JA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;a=c;c=IA(e,a)|0;f=A;return (A=(P(b,a)|0)+(P(d,e)|0)+f|f&0,c|0|0)|0}function KA(a){a=a|0;var b=0,d=0;a=a+15&-16|0;b=c[i>>2]|0;d=b+a|0;if((a|0)>0&(d|0)<(b|0)|(d|0)<0){X()|0;za(12);return -1}c[i>>2]=d;if((d|0)>(W()|0)?(V()|0)==0:0){c[i>>2]=b;za(12);return -1}return b|0}function LA(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){A=b<>>32-c;return a<0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else EA(b,c,d)|0;return b|0}function NA(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=l;l=l+16|0;g=f|0;GA(a,b,d,e,g)|0;l=f;return (A=c[g+4>>2]|0,c[g>>2]|0)|0}function OA(a){a=a|0;return 0}function PA(a){a=a|0;return (a&255)<<24|(a>>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function QA(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 Ya[a&7](b|0,c|0,d|0,e|0,f|0,g|0,h|0)|0}function RA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Za[a&31](b|0,c|0,d|0)|0}function SA(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;_a[a&7](b|0,c|0,d|0,e|0,f|0,g|0)}function TA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;$a[a&3](b|0,c|0,d|0,e|0,f|0)}function UA(a,b,c){a=a|0;b=b|0;c=c|0;return +ab[a&3](b|0,c|0)}function VA(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 bb[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function WA(a,b){a=a|0;b=b|0;cb[a&127](b|0)}function XA(a,b,c){a=a|0;b=b|0;c=c|0;db[a&63](b|0,c|0)}function YA(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 eb[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function ZA(a,b){a=a|0;b=b|0;return fb[a&127](b|0)|0}function _A(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;gb[a&0](b|0,c|0,d|0)}function $A(a){a=a|0;hb[a&3]()}function aB(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 ib[a&15](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0)|0}function bB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return jb[a&7](b|0,c|0,d|0,e|0)|0}function cB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;kb[a&7](b|0,c|0,d|0,e|0)}function dB(a,b,c){a=a|0;b=b|0;c=c|0;return lb[a&15](b|0,c|0)|0}function eB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;return mb[a&7](b|0,c|0,d|0,e|0,+f)|0}function fB(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 nb[a&31](b|0,c|0,d|0,e|0,f|0)|0}function gB(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;T(0);return 0}function hB(a,b,c){a=a|0;b=b|0;c=c|0;T(1);return 0}function iB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;T(2)}function jB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;T(3)}function kB(a,b){a=a|0;b=b|0;T(4);return 0.0}function lB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=+f;T(5);return 0}function mB(a){a=a|0;T(6)}function nB(a,b){a=a|0;b=b|0;T(7)}function oB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;T(8);return 0}function pB(a){a=a|0;T(9);return 0}function qB(a,b,c){a=a|0;b=b|0;c=c|0;T(10)}function rB(){T(11)}function sB(){Va()}function tB(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;T(12);return 0}function uB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;T(13);return 0}function vB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;T(14)}function wB(a,b){a=a|0;b=b|0;T(15);return 0}function xB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;T(16);return 0}function yB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;T(17);return 0} + +// EMSCRIPTEN_END_FUNCS +var Ya=[gB,Wt,au,Zu,_u,iv,jv,gB];var Za=[hB,Zi,Ul,Bp,Gp,Kp,$m,Vm,an,Hn,pq,vq,Dv,Iv,Bw,Dw,Gw,$w,ex,gx,jx,Hz,hA,jA,lo,hB,hB,hB,hB,hB,hB,hB];var _a=[iB,xm,Cp,Ev,Jv,Iz,Rz,mA];var $a=[jB,Jz,Sz,nA];var ab=[kB,Nd,Od,kB];var bb=[lB,rv,xv,lB];var cb=[mB,Ud,Vd,Wd,oe,df,ef,Ff,Gf,bg,cg,qg,rg,xh,yh,Ti,Ui,hk,ik,Ol,Pl,Tp,Up,Vp,Wp,tm,Cm,Dm,Em,vm,wm,vp,xp,yp,zp,kq,lq,mq,rq,sq,xq,yq,rr,sr,Sr,Tr,hs,is,vs,ws,gt,ht,Ut,Vt,_t,$t,eu,fu,qu,ru,Bu,Cu,Mu,Nu,Xu,Yu,gv,hv,pv,qv,vv,wv,Bv,Cv,Gv,Hv,qq,Wv,Lv,jw,kw,vw,ww,yw,zw,Lw,Mw,Sw,Tw,Zw,_w,lx,mx,nx,Dz,Ez,Fz,Gz,Qz,$z,aA,fA,gA,iA,lA,Km,Rq,Tq,fz,Ms,Os,Qs,rz,yt,At,Ct,$u,Qm,Wz,mB,mB,mB,mB,mB,mB,mB,mB,mB];var db=[nB,ff,gf,tg,zh,Ah,Ap,iu,ju,ku,lu,nu,ou,uu,vu,wu,xu,zu,Au,Fu,Gu,Hu,Iu,Ku,Lu,Qu,Ru,Su,Tu,Vu,Wu,Fv,Kv,Pw,Qw,Rw,Ww,Xw,Yw,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB,nB];var eb=[oB,zq,Aq,Bq,Cq,Dq,Eq,Fq,Gq,Hq,Iq,Jq,tr,ur,vr,wr,xr,yr,zr,Ar,Br,Cr,Dr,Wr,Yr,ls,ns,ys,zs,As,Bs,Cs,jt,kt,lt,mt,nt,sv,yv,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB,oB];var fb=[pB,Xd,Yd,Zd,dg,sg,Vi,Wi,Xi,Yi,_i,Ql,Rl,Sl,Tl,Vl,Ep,Fp,zm,Ip,Um,Hp,xs,Es,Fs,Gs,Hs,Is,Js,Ks,it,pt,qt,rt,st,tt,ut,vt,gu,hu,mu,su,tu,yu,Du,Eu,Ju,Ou,Pu,Uu,Pv,Qv,Sv,fw,gw,iw,Nw,Ow,Uw,Vw,_v,$v,bw,ow,pw,rw,bA,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB,pB];var gb=[qB];var hb=[rB,sB,Az,Vz];var ib=[tB,Ds,ot,Mv,Nv,cw,dw,Xv,Yv,lw,mw,tB,tB,tB,tB,tB];var jb=[uB,Fw,ax,bx,cx,ix,uB,uB];var kb=[vB,ym,Dp,oq,uq,Kz,Tz,oA];var lb=[wB,_d,ug,vg,Am,Bm,Jp,Lp,Aw,Cw,Ew,dx,fx,hx,sk,wB];var mb=[xB,eg,Zr,_r,os,ps,xB,xB];var nb=[yB,nq,tq,Ur,Vr,Xr,$r,js,ks,ms,qs,Ov,Rv,ew,hw,Hw,kx,Zv,aw,nw,qw,yB,yB,yB,yB,yB,yB,yB,yB,yB,yB,yB];return{_setShapeBuffer:wb,__GLOBAL__sub_I_hyperedgetree_cpp:Ij,_i64Subtract:yA,dynCall_iiiiiii:YA,__GLOBAL__sub_I_makepath_cpp:of,__GLOBAL__sub_I_mtst_cpp:nj,establishStackSpace:rb,__GLOBAL__sub_I_hyperedge_cpp:vi,__GLOBAL__sub_I_connend_cpp:md,___udivdi3:HA,dynCall_viii:_A,_bitshift64Lshr:CA,dynCall_iii:dB,__GLOBAL__sub_I_visibility_cpp:mi,dynCall_iiiiiid:VA,_bitshift64Shl:LA,_malloc:Pm,__GLOBAL__sub_I_connector_cpp:ac,_pthread_cond_broadcast:DA,_fflush:go,___cxa_is_pointer_type:wA,__GLOBAL__sub_I_viscluster_cpp:ii,dynCall_iiiiiiiii:aB,__GLOBAL__sub_I_scanline_cpp:jk,__GLOBAL__sub_I_hyperedgeimprover_cpp:Mi,_memset:zA,dynCall_ii:ZA,__GLOBAL__sub_I_router_cpp:og,_sbrk:KA,_memcpy:EA,__GLOBAL__sub_I_shape_cpp:Bh,_llvm_bswap_i32:PA,___muldi3:JA,dynCall_vii:XA,___uremdi3:NA,_createShape:xb,stackAlloc:ob,__GLOBAL__sub_I_actioninfo_cpp:Ak,__GLOBAL__sub_I_orthogonal_cpp:Ok,setTempRet0:tb,_i64Add:BA,__GLOBAL__sub_I_geometry_cpp:Hd,dynCall_vi:WA,dynCall_iiii:RA,_pthread_mutex_unlock:OA,_displayRoute:Fb,dynCall_iiiiid:eB,_emscripten_get_global_libc:bn,__GLOBAL__sub_I_graph_cpp:ue,dynCall_dii:UA,_free:Qm,_disconnect:Eb,_connectShapes:Db,__GLOBAL__sub_I_avoid_cpp:Kb,stackSave:pb,_connectLine:Cb,_createRouter:vb,___cxa_can_catch:vA,__GLOBAL__sub_I_geomtypes_cpp:$d,runPostSets:xA,dynCall_viiii:cB,dynCall_viiiiii:SA,getTempRet0:ub,_processTransaction:Bb,_createShapeConnectionPin:Hb,setThrew:sb,_moveShapeRect:Ab,stackRestore:qb,___errno_location:Xm,_pthread_mutex_lock:AA,dynCall_iiiii:bB,__GLOBAL__sub_I_obstacle_cpp:If,__GLOBAL__sub_I_junction_cpp:hf,_memmove:MA,_moveShape:zb,dynCall_v:$A,dynCall_viiiii:TA,__GLOBAL__sub_I_connectionpin_cpp:Lb,dynCall_iiiiii:fB,dynCall_iiiiiiii:QA}}) + + +// EMSCRIPTEN_END_ASM +(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _setShapeBuffer=Module["_setShapeBuffer"]=asm["_setShapeBuffer"];var __GLOBAL__sub_I_hyperedgetree_cpp=Module["__GLOBAL__sub_I_hyperedgetree_cpp"]=asm["__GLOBAL__sub_I_hyperedgetree_cpp"];var stackSave=Module["stackSave"]=asm["stackSave"];var __GLOBAL__sub_I_actioninfo_cpp=Module["__GLOBAL__sub_I_actioninfo_cpp"]=asm["__GLOBAL__sub_I_actioninfo_cpp"];var _connectShapes=Module["_connectShapes"]=asm["_connectShapes"];var __GLOBAL__sub_I_mtst_cpp=Module["__GLOBAL__sub_I_mtst_cpp"]=asm["__GLOBAL__sub_I_mtst_cpp"];var __GLOBAL__sub_I_hyperedge_cpp=Module["__GLOBAL__sub_I_hyperedge_cpp"]=asm["__GLOBAL__sub_I_hyperedge_cpp"];var __GLOBAL__sub_I_connend_cpp=Module["__GLOBAL__sub_I_connend_cpp"]=asm["__GLOBAL__sub_I_connend_cpp"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var __GLOBAL__sub_I_visibility_cpp=Module["__GLOBAL__sub_I_visibility_cpp"]=asm["__GLOBAL__sub_I_visibility_cpp"];var __GLOBAL__sub_I_makepath_cpp=Module["__GLOBAL__sub_I_makepath_cpp"]=asm["__GLOBAL__sub_I_makepath_cpp"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var __GLOBAL__sub_I_connector_cpp=Module["__GLOBAL__sub_I_connector_cpp"]=asm["__GLOBAL__sub_I_connector_cpp"];var _pthread_cond_broadcast=Module["_pthread_cond_broadcast"]=asm["_pthread_cond_broadcast"];var _fflush=Module["_fflush"]=asm["_fflush"];var ___cxa_is_pointer_type=Module["___cxa_is_pointer_type"]=asm["___cxa_is_pointer_type"];var __GLOBAL__sub_I_viscluster_cpp=Module["__GLOBAL__sub_I_viscluster_cpp"]=asm["__GLOBAL__sub_I_viscluster_cpp"];var __GLOBAL__sub_I_scanline_cpp=Module["__GLOBAL__sub_I_scanline_cpp"]=asm["__GLOBAL__sub_I_scanline_cpp"];var __GLOBAL__sub_I_hyperedgeimprover_cpp=Module["__GLOBAL__sub_I_hyperedgeimprover_cpp"]=asm["__GLOBAL__sub_I_hyperedgeimprover_cpp"];var _memset=Module["_memset"]=asm["_memset"];var __GLOBAL__sub_I_router_cpp=Module["__GLOBAL__sub_I_router_cpp"]=asm["__GLOBAL__sub_I_router_cpp"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var __GLOBAL__sub_I_shape_cpp=Module["__GLOBAL__sub_I_shape_cpp"]=asm["__GLOBAL__sub_I_shape_cpp"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _createShape=Module["_createShape"]=asm["_createShape"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var __GLOBAL__sub_I_orthogonal_cpp=Module["__GLOBAL__sub_I_orthogonal_cpp"]=asm["__GLOBAL__sub_I_orthogonal_cpp"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var __GLOBAL__sub_I_geometry_cpp=Module["__GLOBAL__sub_I_geometry_cpp"]=asm["__GLOBAL__sub_I_geometry_cpp"];var _pthread_mutex_unlock=Module["_pthread_mutex_unlock"]=asm["_pthread_mutex_unlock"];var _displayRoute=Module["_displayRoute"]=asm["_displayRoute"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var __GLOBAL__sub_I_graph_cpp=Module["__GLOBAL__sub_I_graph_cpp"]=asm["__GLOBAL__sub_I_graph_cpp"];var __GLOBAL__sub_I_geomtypes_cpp=Module["__GLOBAL__sub_I_geomtypes_cpp"]=asm["__GLOBAL__sub_I_geomtypes_cpp"];var _disconnect=Module["_disconnect"]=asm["_disconnect"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var __GLOBAL__sub_I_avoid_cpp=Module["__GLOBAL__sub_I_avoid_cpp"]=asm["__GLOBAL__sub_I_avoid_cpp"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var _createRouter=Module["_createRouter"]=asm["_createRouter"];var ___cxa_can_catch=Module["___cxa_can_catch"]=asm["___cxa_can_catch"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var _free=Module["_free"]=asm["_free"];var _connectLine=Module["_connectLine"]=asm["_connectLine"];var setThrew=Module["setThrew"]=asm["setThrew"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var _processTransaction=Module["_processTransaction"]=asm["_processTransaction"];var _createShapeConnectionPin=Module["_createShapeConnectionPin"]=asm["_createShapeConnectionPin"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var _moveShapeRect=Module["_moveShapeRect"]=asm["_moveShapeRect"];var _malloc=Module["_malloc"]=asm["_malloc"];var _moveShape=Module["_moveShape"]=asm["_moveShape"];var _pthread_mutex_lock=Module["_pthread_mutex_lock"]=asm["_pthread_mutex_lock"];var __GLOBAL__sub_I_obstacle_cpp=Module["__GLOBAL__sub_I_obstacle_cpp"]=asm["__GLOBAL__sub_I_obstacle_cpp"];var __GLOBAL__sub_I_junction_cpp=Module["__GLOBAL__sub_I_junction_cpp"]=asm["__GLOBAL__sub_I_junction_cpp"];var _memmove=Module["_memmove"]=asm["_memmove"];var __GLOBAL__sub_I_connectionpin_cpp=Module["__GLOBAL__sub_I_connectionpin_cpp"]=asm["__GLOBAL__sub_I_connectionpin_cpp"];var dynCall_iiiiiiii=Module["dynCall_iiiiiiii"]=asm["dynCall_iiiiiiii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];var dynCall_viiiii=Module["dynCall_viiiii"]=asm["dynCall_viiiii"];var dynCall_dii=Module["dynCall_dii"]=asm["dynCall_dii"];var dynCall_iiiiiid=Module["dynCall_iiiiiid"]=asm["dynCall_iiiiiid"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_v=Module["dynCall_v"]=asm["dynCall_v"];var dynCall_iiiiiiiii=Module["dynCall_iiiiiiiii"]=asm["dynCall_iiiiiiiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiiiid=Module["dynCall_iiiiid"]=asm["dynCall_iiiiid"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];Runtime.stackAlloc=Module["stackAlloc"];Runtime.stackSave=Module["stackSave"];Runtime.stackRestore=Module["stackRestore"];Runtime.establishStackSpace=Module["establishStackSpace"];Runtime.setTempRet0=Module["setTempRet0"];Runtime.getTempRet0=Module["getTempRet0"];Module["asm"]=asm;function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;var calledMain=false;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};Module["callMain"]=Module.callMain=function callMain(args){args=args||[];ensureInitRuntime();var argc=args.length+1;function pad(){for(var i=0;i<4-1;i++){argv.push(0)}}var argv=[allocate(intArrayFromString(Module["thisProgram"]),"i8",ALLOC_NORMAL)];pad();for(var i=0;i0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();if(Module["_main"]&&shouldRunNow)Module["callMain"](args);postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=Module.run=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=Module.exit=exit;var abortDecorators=[];function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=Module.abort=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}var shouldRunNow=true;if(Module["noInitialRun"]){shouldRunNow=false}run() + + + + diff --git a/avoid.cpp b/src/avoid.cpp similarity index 69% rename from avoid.cpp rename to src/avoid.cpp index 7504fa4..d91d9dc 100644 --- a/avoid.cpp +++ b/src/avoid.cpp @@ -6,10 +6,15 @@ using namespace Avoid; void *createRouter() { - Router *router = new Router(OrthogonalRouting | PolyLineRouting); + Router *router = new Router(OrthogonalRouting); return static_cast(router); } +void setShapeBuffer(void *router, double value) +{ + static_cast(router)->setRoutingParameter(RoutingParameter::shapeBufferDistance, value); +} + void *createShape(void *router, double x1, double y1, double x2, double y2) { Rectangle rectangle(Point(x1, y1), Point(x2, y2)); @@ -33,19 +38,19 @@ void processTransaction(void *router) static_cast(router)->processTransaction(); } -void *connect(void *router, double x1, double y1, double x2, double y2) +void *connectLine(void *router, double x1, double y1, double x2, double y2, int startDir = ConnDirFlag::ConnDirAll, int endDir = ConnDirFlag::ConnDirAll) { - ConnEnd srcPt(Point(x1, y1)); - ConnEnd dstPt(Point(x2, y2)); - ConnRef *connRef = new ConnRef(static_cast(router), srcPt, dstPt); - return static_cast(connRef); + ConnEnd srcPt(Point(x1, y1), startDir); + ConnEnd dstPt(Point(x2, y2), endDir); + ConnRef *connRef = new ConnRef(static_cast(router), srcPt, dstPt); + return static_cast(connRef); } void *connectShapes(void *router, void *shapeRef1, void *shapeRef2, int classId1, int classId2) { ConnEnd srcPt(static_cast(shapeRef1), classId1); ConnEnd dstPt(static_cast(shapeRef2), classId2); - ConnRef *connRef = new ConnRef(static_cast(router), srcPt, dstPt); + ConnRef *connRef = new ConnRef(static_cast(router), srcPt, dstPt); return static_cast(connRef); } @@ -56,24 +61,25 @@ void disconnect(void *router, void *connRef) size_t displayRoute(void *connRef, void *array, size_t maxpoints) { + const PolyLine route = static_cast(connRef)->displayRoute(); + double *points = static_cast(array); size_t size = route.size() * 2; - for (size_t i = 0; i < maxpoints && i < size; i+=2) + for (size_t i = 0; i < maxpoints && i < size; i += 2) { - Point point = route.at(i/2); + Point point = route.at(i / 2); points[i] = point.x; - points[i+1] = point.y; - } + points[i + 1] = point.y; + } return maxpoints < size ? maxpoints : size; } -void *createShapeConnectionPin(void *shapeRef, int classId, double xOffset, double yOffset) +void *createShapeConnectionPin(void *shapeRef, int classId, double xOffset, double yOffset, bool propotional = 1, double insideOffset = 0, ConnDirFlags visDirs = ConnDirAll) { - ShapeConnectionPin *pin = new ShapeConnectionPin(static_cast(shapeRef), classId, xOffset, yOffset); + ShapeConnectionPin *pin = new ShapeConnectionPin(static_cast(shapeRef), classId, xOffset, yOffset, propotional, insideOffset, visDirs); return static_cast(pin); } - } diff --git a/src/avoid.js b/src/avoid.js new file mode 100644 index 0000000..0fd9fb3 --- /dev/null +++ b/src/avoid.js @@ -0,0 +1,132 @@ + + +(function (global) { + + function Avoid() { } + + Avoid.C = { + // void *createRouter() + createRouter: Module.cwrap('createRouter', 'number'), + + // void *createShape(void* router, double x1, double y1, double x2, double y2) + createShape: Module.cwrap('createShape', 'number', ['number', 'number', 'number', 'number', 'number']), + + // void moveShape(void *router, void* shapeRef, double x, double y) + moveShape: Module.cwrap('moveShape', 'number', ['number', 'number', 'number', 'number']), + + // void moveShapeRect(void *router, void* shapeRef, double x1, double y1, double x2, double y2) + moveShapeRect: Module.cwrap('moveShapeRect', 'number', ['number', 'number', 'number', 'number', 'number', 'number']), + + // void processTransaction(void *router) + processTransaction: Module.cwrap('processTransaction', 'number', ['number']), + + // void *connect(void* router, double x1, double y1, double x2, double y2) + connectLine: Module.cwrap('connectLine', 'number', ['number', 'number', 'number', 'number', 'number', 'number', 'number']), + + // void *connectShapes(void* router, void* shapeRef1, void* shapeRef2, int classId1, int classId2) + connectShapes: Module.cwrap('connectShapes', 'number', ['number', 'number', 'number', 'number', 'number']), + + // void disconnect(void *router, void* connRef) + disconnect: Module.cwrap('disconnect', 'number', ['number', 'number']), + + + // size_t displayRoute(void *connRef, void* array, size_t maxpoints) + displayRoute: Module.cwrap('displayRoute', 'number', ['number', 'number', 'number']), + + // void *createShapeConnectionPin(void* shapeRef, int classId, double xOffset, double yOffset) + createShapeConnectionPin: Module.cwrap('createShapeConnectionPin', 'number', ['number', 'number', 'number', 'number']), + + //void setShapeBuffer(void *router, double value) + setShapeBuffer: Module.cwrap('setShapeBuffer', 'number', ['number', 'number']) + }; + + Avoid.Router = function () { + this._handle = Avoid.C.createRouter(); + }; + + Avoid.ConnDir = { + UP: 1, + DOWN: 2, + LEFT: 4, + RIGHT: 8, + ALL: 15 + }; + + Avoid.Router.prototype = { + moveShape: function (shape, xDiff, yDiff) { + Avoid.C.moveShape(this._handle, shape._handle, xDiff, yDiff); + }, + + moveShapeRect: function (shape, x1, y1, x2, y2) { + Avoid.C.moveShapeRect(this._handle, shape._handle, x1, y1, x2, y2); + }, + + processTransaction: function () { + Avoid.C.processTransaction(this._handle); + }, + + deleteConnection: function (connection) { + Avoid.C.disconnect(this._handle, connection._handle); + }, + + setShapeBuffer: function (value) { + Avoid.C.setShapeBuffer(this._handle, value); + } + }; + + Avoid.Shape = function (router, x1, y1, x2, y2) { + this._handle = Avoid.C.createShape(router._handle, x1, y1, x2, y2); + }; + + Avoid.Shape.prototype = { + }; + + Avoid.Connection = function () { }; + Avoid.Connection.connectPoints = function (router, x1, y1, x2, y2, startDir, endDir) { + startDir = startDir || Avoid.ConnDir.ALL; + endDir = endDir || Avoid.ConnDir.ALL; + + + var connection = new Avoid.Connection(); + connection._handle = Avoid.C.connectLine(router._handle, x1, y1, x2, y2, startDir, endDir); + return connection; + }; + + Avoid.Connection.connectShapes = function (router, shapeFrom, shapeTo, classIdFrom, classIdTo) { + var connection = new Avoid.Connection(); + connection._handle = Avoid.C.connectShapes(router._handle, shapeFrom._handle, shapeTo._handle, classIdFrom, classIdTo); + return connection; + }; + + const BUFFER_SIZE = 8 * 2 * 1000; + + Avoid.Connection.prototype = { + displayRoute: function () { + + + if (!Avoid.Connection._routesBuffer) { + // Buffer for connection points retrieval. Lets pretend that 1000 of double (x, y) + // pairs is enough. + Avoid.Connection._routesBuffer = _malloc(BUFFER_SIZE); + } + + + + var elems = Avoid.C.displayRoute(this._handle, Avoid.Connection._routesBuffer, BUFFER_SIZE); + var segments = []; + for (var i = 0; i < elems; i += 2) { + var x = getValue(Avoid.Connection._routesBuffer + i * 8, 'double'); + var y = getValue(Avoid.Connection._routesBuffer + (i + 1) * 8, 'double'); + segments.push([x, y]); + } + return segments; + }, + }; + + Avoid.ShapeConnectionPin = function (shape, classId, xOffset, yOffset) { + this._handle = Avoid.C.createShapeConnectionPin(shape._handle, classId, xOffset, yOffset); + }; + + global.Avoid = Avoid; + +}(this)); diff --git a/src/build.sh b/src/build.sh new file mode 100644 index 0000000..9800e42 --- /dev/null +++ b/src/build.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +#LIBAVOID_SOURCE=../adaptagrams/cola/libavoid +EMCC_DEBUG=1 emcc -O2 -I$LIBAVOID_SOURCE/.. avoid.cpp $LIBAVOID_SOURCE/.libs/libavoid.a -o avoid.bin.js -s EXPORTED_FUNCTIONS="['_createRouter', '_createShape', '_moveShape', '_moveShapeRect', '_processTransaction', '_connectLine', '_disconnect', '_displayRoute', '_connectShapes', '_createShapeConnectionPin','_setShapeBuffer']" --memory-init-file 0 diff --git a/src/test.html b/src/test.html new file mode 100644 index 0000000..c149c25 --- /dev/null +++ b/src/test.html @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + \ No newline at end of file

>>0)oz(b,o,q-o|0,n,n,0,0);if((a[j>>0]|0)<0)w=c[b>>2]|0;else w=b;v=e+(n-g)|0;x=w+n|0;y=d;while(1){if((y|0)==(e|0))break;Zp(x,y);x=x+1|0;y=y+1|0}a[h>>0]=0;Zp(w+v|0,h);if((a[j>>0]|0)<0){c[b+4>>2]=q;break}else{a[j>>0]=q;break}}while(0);l=f;return b|0}function cv(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function dv(b,d,e,f,g,h,i,j,k,m){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;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;n=l;l=l+16|0;o=n+12|0;p=n;if(b){b=Kq(d,30416)|0;db[c[(c[b>>2]|0)+44>>2]&63](o,b);q=c[o>>2]|0;a[e>>0]=q;a[e+1>>0]=q>>8;a[e+2>>0]=q>>16;a[e+3>>0]=q>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);q=k+11|0;if((a[q>>0]|0)<0){r=c[k>>2]|0;a[o>>0]=0;Zp(r,o);c[k+4>>2]=0;s=k}else{a[o>>0]=0;Zp(k,o);a[q>>0]=0;s=k}kz(k,0);c[s>>2]=c[p>>2];c[s+4>>2]=c[p+4>>2];c[s+8>>2]=c[p+8>>2];s=0;while(1){if((s|0)==3)break;c[p+(s<<2)>>2]=0;s=s+1|0}fz(p);db[c[(c[b>>2]|0)+28>>2]&63](p,b);s=j+11|0;if((a[s>>0]|0)<0){q=c[j>>2]|0;a[o>>0]=0;Zp(q,o);c[j+4>>2]=0;t=j}else{a[o>>0]=0;Zp(j,o);a[s>>0]=0;t=j}kz(j,0);c[t>>2]=c[p>>2];c[t+4>>2]=c[p+4>>2];c[t+8>>2]=c[p+8>>2];t=0;while(1){if((t|0)==3)break;c[p+(t<<2)>>2]=0;t=t+1|0}fz(p);a[f>>0]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[g>>0]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[b>>2]|0)+20>>2]&63](p,b);t=h+11|0;if((a[t>>0]|0)<0){s=c[h>>2]|0;a[o>>0]=0;Zp(s,o);c[h+4>>2]=0;u=h}else{a[o>>0]=0;Zp(h,o);a[t>>0]=0;u=h}kz(h,0);c[u>>2]=c[p>>2];c[u+4>>2]=c[p+4>>2];c[u+8>>2]=c[p+8>>2];u=0;while(1){if((u|0)==3)break;c[p+(u<<2)>>2]=0;u=u+1|0}fz(p);db[c[(c[b>>2]|0)+24>>2]&63](p,b);u=i+11|0;if((a[u>>0]|0)<0){t=c[i>>2]|0;a[o>>0]=0;Zp(t,o);c[i+4>>2]=0;v=i}else{a[o>>0]=0;Zp(i,o);a[u>>0]=0;v=i}kz(i,0);c[v>>2]=c[p>>2];c[v+4>>2]=c[p+4>>2];c[v+8>>2]=c[p+8>>2];v=0;while(1){if((v|0)==3)break;c[p+(v<<2)>>2]=0;v=v+1|0}fz(p);w=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}else{b=Kq(d,30408)|0;db[c[(c[b>>2]|0)+44>>2]&63](o,b);d=c[o>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);d=k+11|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;a[o>>0]=0;Zp(e,o);c[k+4>>2]=0;x=k}else{a[o>>0]=0;Zp(k,o);a[d>>0]=0;x=k}kz(k,0);c[x>>2]=c[p>>2];c[x+4>>2]=c[p+4>>2];c[x+8>>2]=c[p+8>>2];x=0;while(1){if((x|0)==3)break;c[p+(x<<2)>>2]=0;x=x+1|0}fz(p);db[c[(c[b>>2]|0)+28>>2]&63](p,b);x=j+11|0;if((a[x>>0]|0)<0){k=c[j>>2]|0;a[o>>0]=0;Zp(k,o);c[j+4>>2]=0;y=j}else{a[o>>0]=0;Zp(j,o);a[x>>0]=0;y=j}kz(j,0);c[y>>2]=c[p>>2];c[y+4>>2]=c[p+4>>2];c[y+8>>2]=c[p+8>>2];y=0;while(1){if((y|0)==3)break;c[p+(y<<2)>>2]=0;y=y+1|0}fz(p);a[f>>0]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[g>>0]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[b>>2]|0)+20>>2]&63](p,b);g=h+11|0;if((a[g>>0]|0)<0){f=c[h>>2]|0;a[o>>0]=0;Zp(f,o);c[h+4>>2]=0;z=h}else{a[o>>0]=0;Zp(h,o);a[g>>0]=0;z=h}kz(h,0);c[z>>2]=c[p>>2];c[z+4>>2]=c[p+4>>2];c[z+8>>2]=c[p+8>>2];z=0;while(1){if((z|0)==3)break;c[p+(z<<2)>>2]=0;z=z+1|0}fz(p);db[c[(c[b>>2]|0)+24>>2]&63](p,b);z=i+11|0;if((a[z>>0]|0)<0){h=c[i>>2]|0;a[o>>0]=0;Zp(h,o);c[i+4>>2]=0;A=i}else{a[o>>0]=0;Zp(i,o);a[z>>0]=0;A=i}kz(i,0);c[A>>2]=c[p>>2];c[A+4>>2]=c[p+4>>2];c[A+8>>2]=c[p+8>>2];A=0;while(1){if((A|0)==3)break;c[p+(A<<2)>>2]=0;A=A+1|0}fz(p);w=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=w;l=n;return}function ev(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=a+4|0;f=(c[e>>2]|0)!=116;g=c[a>>2]|0;h=(c[d>>2]|0)-g|0;i=h>>>0<2147483647?h<<1:-1;h=(i|0)==0?1:i;i=(c[b>>2]|0)-g|0;j=Rm(f?g:0,h)|0;if(!j)_y();if(!f){f=c[a>>2]|0;c[a>>2]=j;if(!f)k=j;else{cb[c[e>>2]&127](f);k=c[a>>2]|0}}else{c[a>>2]=j;k=j}c[e>>2]=117;c[b>>2]=k+i;c[d>>2]=(c[a>>2]|0)+h;return}function fv(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=a+4|0;f=(c[e>>2]|0)!=116;g=c[a>>2]|0;h=(c[d>>2]|0)-g|0;i=h>>>0<2147483647?h<<1:-1;h=(i|0)==0?4:i;i=(c[b>>2]|0)-g>>2;j=Rm(f?g:0,h)|0;if(!j)_y();if(!f){f=c[a>>2]|0;c[a>>2]=j;if(!f)k=j;else{cb[c[e>>2]&127](f);k=c[a>>2]|0}}else{c[a>>2]=j;k=j}c[e>>2]=117;c[b>>2]=k+(i<<2);c[d>>2]=(c[a>>2]|0)+(h>>>2<<2);return}function gv(a){a=a|0;qq(a);return}function hv(a){a=a|0;qq(a);Yy(a);return}function iv(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;b=l;l=l+576|0;j=b+424|0;k=b;m=b+24|0;n=b+16|0;o=b+12|0;p=b+8|0;q=b+564|0;r=b+4|0;s=b+464|0;c[n>>2]=m;t=n+4|0;c[t>>2]=116;bq(p,g);u=Kq(p,28728)|0;a[q>>0]=0;c[r>>2]=c[e>>2];v=c[g+4>>2]|0;c[j>>2]=c[r>>2];if(kv(d,j,f,p,v,h,q,u,n,o,m+400|0)|0){jb[c[(c[u>>2]|0)+48>>2]&7](u,25653,25663,j)|0;u=c[o>>2]|0;m=c[n>>2]|0;v=u-m|0;f=m;m=u;if((v|0)>392){u=Pm((v>>>2)+2|0)|0;if(!u)_y();else{w=u;x=u}}else{w=s;x=0}if(!(a[q>>0]|0))y=w;else{a[w>>0]=45;y=w+1|0}w=j+40|0;q=j;u=f;f=y;y=m;while(1){if(u>>>0>=y>>>0)break;m=c[u>>2]|0;v=j;while(1){if((v|0)==(w|0)){z=w;break}if((c[v>>2]|0)==(m|0)){z=v;break}v=v+4|0}a[f>>0]=a[25653+(z-q>>2)>>0]|0;u=u+4|0;f=f+1|0;y=c[o>>2]|0}a[f>>0]=0;c[k>>2]=i;if((jo(s,25554,k)|0)!=1)du(0);if(x|0)Qm(x)}x=c[d>>2]|0;do if(x){k=c[x+12>>2]|0;if((k|0)==(c[x+16>>2]|0))A=fb[c[(c[x>>2]|0)+36>>2]&127](x)|0;else A=Rp(c[k>>2]|0)|0;if(cq(A,Qp()|0)|0){c[d>>2]=0;B=1;break}else{B=(c[d>>2]|0)==0;break}}else B=1;while(0);A=c[e>>2]|0;do if(A){x=c[A+12>>2]|0;if((x|0)==(c[A+16>>2]|0))C=fb[c[(c[A>>2]|0)+36>>2]&127](A)|0;else C=Rp(c[x>>2]|0)|0;if(!(cq(C,Qp()|0)|0))if(B)break;else{D=34;break}else{c[e>>2]=0;D=32;break}}else D=32;while(0);if((D|0)==32?B:0)D=34;if((D|0)==34)c[h>>2]=c[h>>2]|2;h=c[d>>2]|0;Lq(p);p=c[n>>2]|0;c[n>>2]=0;if(p|0)cb[c[t>>2]&127](p);l=b;return h|0}function jv(b,d,e,f,g,h,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;b=l;l=l+432|0;j=b+424|0;k=b+24|0;m=b+16|0;n=b+8|0;o=b;p=b+428|0;q=b+4|0;c[m>>2]=k;r=m+4|0;c[r>>2]=116;bq(o,g);s=Kq(o,28728)|0;a[p>>0]=0;t=c[e>>2]|0;c[q>>2]=t;u=c[g+4>>2]|0;c[j>>2]=c[q>>2];q=t;if(kv(d,j,f,o,u,h,p,s,m,n,k+400|0)|0){k=i+8+3|0;if((a[k>>0]|0)<0){u=c[i>>2]|0;c[j>>2]=0;wq(u,j);c[i+4>>2]=0}else{c[j>>2]=0;wq(i,j);a[k>>0]=0}if(a[p>>0]|0)zz(i,lb[c[(c[s>>2]|0)+44>>2]&15](s,45)|0);p=lb[c[(c[s>>2]|0)+44>>2]&15](s,48)|0;s=c[n>>2]|0;n=s+-4|0;k=c[m>>2]|0;while(1){if(k>>>0>=n>>>0)break;if((c[k>>2]|0)!=(p|0))break;k=k+4|0}lv(i,k,s)|0}s=c[d>>2]|0;do if(s){k=c[s+12>>2]|0;if((k|0)==(c[s+16>>2]|0))v=fb[c[(c[s>>2]|0)+36>>2]&127](s)|0;else v=Rp(c[k>>2]|0)|0;if(cq(v,Qp()|0)|0){c[d>>2]=0;w=1;break}else{w=(c[d>>2]|0)==0;break}}else w=1;while(0);do if(t){v=c[q+12>>2]|0;if((v|0)==(c[q+16>>2]|0))x=fb[c[(c[t>>2]|0)+36>>2]&127](q)|0;else x=Rp(c[v>>2]|0)|0;if(!(cq(x,Qp()|0)|0))if(w)break;else{y=27;break}else{c[e>>2]=0;y=25;break}}else y=25;while(0);if((y|0)==25?w:0)y=27;if((y|0)==27)c[h>>2]=c[h>>2]|2;h=c[d>>2]|0;Lq(o);o=c[m>>2]|0;c[m>>2]=0;if(o|0)cb[c[r>>2]&127](o);l=b;return h|0}function kv(b,e,f,g,h,i,j,k,m,n,o){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,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,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,_a=0,$a=0,ab=0,bb=0,db=0,eb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0;p=l;l=l+512|0;q=p+96|0;r=p+104|0;s=p+88|0;t=p+80|0;u=p+76|0;v=p+504|0;w=p+72|0;x=p+68|0;y=p+56|0;z=p+44|0;A=p+32|0;B=p+20|0;C=p+8|0;D=p+4|0;E=p;c[q>>2]=o;c[s>>2]=r;o=s+4|0;c[o>>2]=116;c[t>>2]=r;c[u>>2]=r+400;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[y+(r<<2)>>2]=0;r=r+1|0}c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[z+(r<<2)>>2]=0;r=r+1|0}c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[A+(r<<2)>>2]=0;r=r+1|0}c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[B+(r<<2)>>2]=0;r=r+1|0}c[C>>2]=0;c[C+4>>2]=0;c[C+8>>2]=0;r=0;while(1){if((r|0)==3)break;c[C+(r<<2)>>2]=0;r=r+1|0}nv(f,g,v,w,x,y,z,A,B,D);c[n>>2]=c[m>>2];g=A+8+3|0;f=A+4|0;r=B+8+3|0;F=B+4|0;G=(h&512|0)!=0;h=z+8+3|0;H=z+4|0;I=C+8+3|0;J=C+4|0;K=v+3|0;L=y+11|0;M=y+4|0;N=0;O=0;a:while(1){P=(N|0)!=0;if(O>>>0>=4){Q=229;break}R=c[b>>2]|0;do if(R){S=c[R+12>>2]|0;if((S|0)==(c[R+16>>2]|0))T=fb[c[(c[R>>2]|0)+36>>2]&127](R)|0;else T=Rp(c[S>>2]|0)|0;if(cq(T,Qp()|0)|0){c[b>>2]=0;U=1;break}else{U=(c[b>>2]|0)==0;break}}else U=1;while(0);R=c[e>>2]|0;do if(R){S=c[R+12>>2]|0;if((S|0)==(c[R+16>>2]|0))V=fb[c[(c[R>>2]|0)+36>>2]&127](R)|0;else V=Rp(c[S>>2]|0)|0;if(!(cq(V,Qp()|0)|0))if(U){W=R;break}else{Q=229;break a}else{c[e>>2]=0;Q=31;break}}else Q=31;while(0);if((Q|0)==31){Q=0;if(U){Q=229;break}else W=0}R=(O|0)!=3;b:do switch(a[v+O>>0]|0){case 1:{if(R){S=c[b>>2]|0;X=c[S+12>>2]|0;if((X|0)==(c[S+16>>2]|0))Y=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else Y=Rp(c[X>>2]|0)|0;if(!(Za[c[(c[k>>2]|0)+12>>2]&31](k,8192,Y)|0)){Q=43;break a}X=c[b>>2]|0;S=X+12|0;Z=c[S>>2]|0;if((Z|0)==(c[X+16>>2]|0))_=fb[c[(c[X>>2]|0)+40>>2]&127](X)|0;else{c[S>>2]=Z+4;_=Rp(c[Z>>2]|0)|0}zz(C,_);$=W;aa=W;Q=45}else ba=N;break}case 0:{if(R){$=W;aa=W;Q=45}else ba=N;break}case 3:{Z=a[g>>0]|0;S=Z<<24>>24<0?c[f>>2]|0:Z&255;Z=a[r>>0]|0;X=Z<<24>>24<0?c[F>>2]|0:Z&255;if((S|0)==(0-X|0))ba=N;else{Z=(S|0)==0;S=c[b>>2]|0;ca=c[S+12>>2]|0;da=(ca|0)==(c[S+16>>2]|0);if(Z|(X|0)==0){if(da)ea=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else ea=Rp(c[ca>>2]|0)|0;if(Z){if((ea|0)!=(c[((a[r>>0]|0)<0?c[B>>2]|0:B)>>2]|0)){ba=N;break b}Z=c[b>>2]|0;X=Z+12|0;fa=c[X>>2]|0;if((fa|0)==(c[Z+16>>2]|0))fb[c[(c[Z>>2]|0)+40>>2]&127](Z)|0;else{c[X>>2]=fa+4;Rp(c[fa>>2]|0)|0}a[j>>0]=1;fa=a[r>>0]|0;ba=(fa<<24>>24<0?c[F>>2]|0:fa&255)>>>0>1?B:N;break b}if((ea|0)!=(c[((a[g>>0]|0)<0?c[A>>2]|0:A)>>2]|0)){a[j>>0]=1;ba=N;break b}fa=c[b>>2]|0;X=fa+12|0;Z=c[X>>2]|0;if((Z|0)==(c[fa+16>>2]|0))fb[c[(c[fa>>2]|0)+40>>2]&127](fa)|0;else{c[X>>2]=Z+4;Rp(c[Z>>2]|0)|0}Z=a[g>>0]|0;ba=(Z<<24>>24<0?c[f>>2]|0:Z&255)>>>0>1?A:N;break b}if(da)ga=fb[c[(c[S>>2]|0)+36>>2]&127](S)|0;else ga=Rp(c[ca>>2]|0)|0;ca=c[b>>2]|0;S=ca+12|0;da=c[S>>2]|0;Z=(da|0)==(c[ca+16>>2]|0);if((ga|0)==(c[((a[g>>0]|0)<0?c[A>>2]|0:A)>>2]|0)){if(Z)fb[c[(c[ca>>2]|0)+40>>2]&127](ca)|0;else{c[S>>2]=da+4;Rp(c[da>>2]|0)|0}S=a[g>>0]|0;ba=(S<<24>>24<0?c[f>>2]|0:S&255)>>>0>1?A:N;break b}if(Z)ha=fb[c[(c[ca>>2]|0)+36>>2]&127](ca)|0;else ha=Rp(c[da>>2]|0)|0;if((ha|0)!=(c[((a[r>>0]|0)<0?c[B>>2]|0:B)>>2]|0)){Q=101;break a}da=c[b>>2]|0;ca=da+12|0;Z=c[ca>>2]|0;if((Z|0)==(c[da+16>>2]|0))fb[c[(c[da>>2]|0)+40>>2]&127](da)|0;else{c[ca>>2]=Z+4;Rp(c[Z>>2]|0)|0}a[j>>0]=1;Z=a[r>>0]|0;ba=(Z<<24>>24<0?c[F>>2]|0:Z&255)>>>0>1?B:N}break}case 2:{if(!(O>>>0<2|P)?!(G|(O|0)==2&(a[K>>0]|0)!=0):0){ba=0;break b}Z=a[h>>0]|0;ca=c[z>>2]|0;da=Z<<24>>24<0?ca:z;c:do if((O|0)!=0?(d[v+(O+-1)>>0]|0)<2:0){S=da;X=Z;fa=ca;while(1){ia=X<<24>>24<0;ja=S;if((ja|0)==((ia?fa:z)+((ia?c[H>>2]|0:X&255)<<2)|0)){ka=X;la=fa;break}if(!(Za[c[(c[k>>2]|0)+12>>2]&31](k,8192,c[ja>>2]|0)|0)){Q=108;break}S=ja+4|0;X=a[h>>0]|0;fa=c[z>>2]|0}if((Q|0)==108){Q=0;ka=a[h>>0]|0;la=c[z>>2]|0}fa=ka<<24>>24<0?la:z;X=fa;ja=S-X>>2;ia=a[I>>0]|0;ma=ia<<24>>24<0;na=ma?c[J>>2]|0:ia&255;if(ja>>>0>na>>>0){oa=W;pa=X;qa=ka;ra=la;sa=W}else{ia=(ma?c[C>>2]|0:C)+(na<<2)|0;na=fa;fa=ia+(0-ja<<2)|0;while(1){if((fa|0)==(ia|0)){oa=W;pa=S;qa=ka;ra=la;sa=W;break c}if((c[fa>>2]|0)!=(c[na>>2]|0)){oa=W;pa=X;qa=ka;ra=la;sa=W;break c}na=na+4|0;fa=fa+4|0}}}else{oa=W;pa=da;qa=Z;ra=ca;sa=W}while(0);d:while(1){ca=qa<<24>>24<0;Z=(ca?ra:z)+((ca?c[H>>2]|0:qa&255)<<2)|0;ca=pa;if((ca|0)==(Z|0)){ta=Z;break}Z=c[b>>2]|0;do if(Z){da=c[Z+12>>2]|0;if((da|0)==(c[Z+16>>2]|0))ua=fb[c[(c[Z>>2]|0)+36>>2]&127](Z)|0;else ua=Rp(c[da>>2]|0)|0;if(cq(ua,Qp()|0)|0){c[b>>2]=0;va=1;break}else{va=(c[b>>2]|0)==0;break}}else va=1;while(0);do if(sa){Z=c[sa+12>>2]|0;if((Z|0)==(c[sa+16>>2]|0))wa=fb[c[(c[sa>>2]|0)+36>>2]&127](sa)|0;else wa=Rp(c[Z>>2]|0)|0;if(!(cq(wa,Qp()|0)|0))if(va^(oa|0)==0){xa=oa;ya=oa;break}else{ta=ca;break d}else{c[e>>2]=0;za=0;Q=129;break}}else{za=oa;Q=129}while(0);if((Q|0)==129){Q=0;if(va){ta=ca;break}else{xa=za;ya=0}}Z=c[b>>2]|0;da=c[Z+12>>2]|0;if((da|0)==(c[Z+16>>2]|0))Aa=fb[c[(c[Z>>2]|0)+36>>2]&127](Z)|0;else Aa=Rp(c[da>>2]|0)|0;if((Aa|0)!=(c[ca>>2]|0)){ta=ca;break}da=c[b>>2]|0;Z=da+12|0;fa=c[Z>>2]|0;if((fa|0)==(c[da+16>>2]|0))fb[c[(c[da>>2]|0)+40>>2]&127](da)|0;else{c[Z>>2]=fa+4;Rp(c[fa>>2]|0)|0}oa=xa;pa=ca+4|0;qa=a[h>>0]|0;ra=c[z>>2]|0;sa=ya}if(G?(fa=a[h>>0]|0,Z=fa<<24>>24<0,(ta|0)!=((Z?c[z>>2]|0:z)+((Z?c[H>>2]|0:fa&255)<<2)|0)):0){Q=141;break a}else ba=N;break}case 4:{fa=0;Z=W;da=W;e:while(1){na=c[b>>2]|0;do if(na){X=c[na+12>>2]|0;if((X|0)==(c[na+16>>2]|0))Ba=fb[c[(c[na>>2]|0)+36>>2]&127](na)|0;else Ba=Rp(c[X>>2]|0)|0;if(cq(Ba,Qp()|0)|0){c[b>>2]=0;Ca=1;break}else{Ca=(c[b>>2]|0)==0;break}}else Ca=1;while(0);do if(da){na=c[da+12>>2]|0;if((na|0)==(c[da+16>>2]|0))Da=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else Da=Rp(c[na>>2]|0)|0;if(!(cq(Da,Qp()|0)|0))if(Ca^(Z|0)==0){Ea=Z;Fa=Z;break}else{Ga=Z;break e}else{c[e>>2]=0;Ha=0;Q=155;break}}else{Ha=Z;Q=155}while(0);if((Q|0)==155){Q=0;if(Ca){Ga=Ha;break}else{Ea=Ha;Fa=0}}na=c[b>>2]|0;ca=c[na+12>>2]|0;if((ca|0)==(c[na+16>>2]|0))Ia=fb[c[(c[na>>2]|0)+36>>2]&127](na)|0;else Ia=Rp(c[ca>>2]|0)|0;if(Za[c[(c[k>>2]|0)+12>>2]&31](k,2048,Ia)|0){ca=c[n>>2]|0;if((ca|0)==(c[q>>2]|0)){ov(m,n,q);Ja=c[n>>2]|0}else Ja=ca;c[n>>2]=Ja+4;c[Ja>>2]=Ia;Ka=fa+1|0}else{ca=a[L>>0]|0;if(!((Ia|0)==(c[x>>2]|0)&(fa|0?((ca<<24>>24<0?c[M>>2]|0:ca&255)|0)!=0:0))){Ga=Ea;break}ca=c[t>>2]|0;if((ca|0)==(c[u>>2]|0)){fv(s,t,u);La=c[t>>2]|0}else La=ca;c[t>>2]=La+4;c[La>>2]=fa;Ka=0}ca=c[b>>2]|0;na=ca+12|0;X=c[na>>2]|0;if((X|0)==(c[ca+16>>2]|0)){fb[c[(c[ca>>2]|0)+40>>2]&127](ca)|0;fa=Ka;Z=Ea;da=Fa;continue}else{c[na>>2]=X+4;Rp(c[X>>2]|0)|0;fa=Ka;Z=Ea;da=Fa;continue}}da=c[t>>2]|0;if(fa|0?(c[s>>2]|0)!=(da|0):0){if((da|0)==(c[u>>2]|0)){fv(s,t,u);Ma=c[t>>2]|0}else Ma=da;c[t>>2]=Ma+4;c[Ma>>2]=fa}f:do if((c[D>>2]|0)>0){da=c[b>>2]|0;do if(da){Z=c[da+12>>2]|0;if((Z|0)==(c[da+16>>2]|0))Na=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else Na=Rp(c[Z>>2]|0)|0;if(cq(Na,Qp()|0)|0){c[b>>2]=0;Oa=1;break}else{Oa=(c[b>>2]|0)==0;break}}else Oa=1;while(0);do if(Ga){da=c[Ga+12>>2]|0;if((da|0)==(c[Ga+16>>2]|0))Pa=fb[c[(c[Ga>>2]|0)+36>>2]&127](Ga)|0;else Pa=Rp(c[da>>2]|0)|0;if(!(cq(Pa,Qp()|0)|0))if(Oa){Qa=Ga;break}else{Q=227;break a}else{c[e>>2]=0;Q=189;break}}else Q=189;while(0);if((Q|0)==189){Q=0;if(Oa){Q=227;break a}else Qa=0}da=c[b>>2]|0;Z=c[da+12>>2]|0;if((Z|0)==(c[da+16>>2]|0))Ra=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else Ra=Rp(c[Z>>2]|0)|0;if((Ra|0)!=(c[w>>2]|0)){Q=227;break a}Z=c[b>>2]|0;da=Z+12|0;X=c[da>>2]|0;if((X|0)==(c[Z+16>>2]|0)){fb[c[(c[Z>>2]|0)+40>>2]&127](Z)|0;Sa=Qa;Ta=Qa}else{c[da>>2]=X+4;Rp(c[X>>2]|0)|0;Sa=Qa;Ta=Qa}while(1){if((c[D>>2]|0)<=0)break f;X=c[b>>2]|0;do if(X){da=c[X+12>>2]|0;if((da|0)==(c[X+16>>2]|0))Ua=fb[c[(c[X>>2]|0)+36>>2]&127](X)|0;else Ua=Rp(c[da>>2]|0)|0;if(cq(Ua,Qp()|0)|0){c[b>>2]=0;Va=1;break}else{Va=(c[b>>2]|0)==0;break}}else Va=1;while(0);do if(Ta){X=c[Ta+12>>2]|0;if((X|0)==(c[Ta+16>>2]|0))Wa=fb[c[(c[Ta>>2]|0)+36>>2]&127](Ta)|0;else Wa=Rp(c[X>>2]|0)|0;if(!(cq(Wa,Qp()|0)|0))if(Va^(Sa|0)==0){Xa=Sa;Ya=Sa;break}else{Q=227;break a}else{c[e>>2]=0;_a=0;Q=212;break}}else{_a=Sa;Q=212}while(0);if((Q|0)==212){Q=0;if(Va){Q=227;break a}else{Xa=_a;Ya=0}}X=c[b>>2]|0;da=c[X+12>>2]|0;if((da|0)==(c[X+16>>2]|0))$a=fb[c[(c[X>>2]|0)+36>>2]&127](X)|0;else $a=Rp(c[da>>2]|0)|0;if(!(Za[c[(c[k>>2]|0)+12>>2]&31](k,2048,$a)|0)){Q=227;break a}if((c[n>>2]|0)==(c[q>>2]|0))ov(m,n,q);da=c[b>>2]|0;X=c[da+12>>2]|0;if((X|0)==(c[da+16>>2]|0))ab=fb[c[(c[da>>2]|0)+36>>2]&127](da)|0;else ab=Rp(c[X>>2]|0)|0;X=c[n>>2]|0;c[n>>2]=X+4;c[X>>2]=ab;c[D>>2]=(c[D>>2]|0)+-1;X=c[b>>2]|0;da=X+12|0;Z=c[da>>2]|0;if((Z|0)==(c[X+16>>2]|0)){fb[c[(c[X>>2]|0)+40>>2]&127](X)|0;Sa=Xa;Ta=Ya;continue}else{c[da>>2]=Z+4;Rp(c[Z>>2]|0)|0;Sa=Xa;Ta=Ya;continue}}}while(0);if((c[n>>2]|0)==(c[m>>2]|0)){Q=227;break a}else ba=N;break}default:ba=N}while(0);g:do if((Q|0)==45)while(1){Q=0;R=c[b>>2]|0;do if(R){fa=c[R+12>>2]|0;if((fa|0)==(c[R+16>>2]|0))bb=fb[c[(c[R>>2]|0)+36>>2]&127](R)|0;else bb=Rp(c[fa>>2]|0)|0;if(cq(bb,Qp()|0)|0){c[b>>2]=0;db=1;break}else{db=(c[b>>2]|0)==0;break}}else db=1;while(0);do if(aa){R=c[aa+12>>2]|0;if((R|0)==(c[aa+16>>2]|0))eb=fb[c[(c[aa>>2]|0)+36>>2]&127](aa)|0;else eb=Rp(c[R>>2]|0)|0;if(!(cq(eb,Qp()|0)|0))if(db^($|0)==0){gb=$;hb=$;break}else{ba=N;break g}else{c[e>>2]=0;ib=0;Q=58;break}}else{ib=$;Q=58}while(0);if((Q|0)==58){Q=0;if(db){ba=N;break g}else{gb=ib;hb=0}}R=c[b>>2]|0;fa=c[R+12>>2]|0;if((fa|0)==(c[R+16>>2]|0))jb=fb[c[(c[R>>2]|0)+36>>2]&127](R)|0;else jb=Rp(c[fa>>2]|0)|0;if(!(Za[c[(c[k>>2]|0)+12>>2]&31](k,8192,jb)|0)){ba=N;break g}fa=c[b>>2]|0;R=fa+12|0;Z=c[R>>2]|0;if((Z|0)==(c[fa+16>>2]|0))kb=fb[c[(c[fa>>2]|0)+40>>2]&127](fa)|0;else{c[R>>2]=Z+4;kb=Rp(c[Z>>2]|0)|0}zz(C,kb);$=gb;aa=hb;Q=45}while(0);N=ba;O=O+1|0}h:do if((Q|0)==43){c[i>>2]=c[i>>2]|4;lb=0}else if((Q|0)==101){c[i>>2]=c[i>>2]|4;lb=0}else if((Q|0)==141){c[i>>2]=c[i>>2]|4;lb=0}else if((Q|0)==227){c[i>>2]=c[i>>2]|4;lb=0}else if((Q|0)==229){i:do if(P){O=N+8+3|0;ba=N+4|0;hb=1;j:while(1){aa=a[O>>0]|0;if(aa<<24>>24<0)mb=c[ba>>2]|0;else mb=aa&255;if(hb>>>0>=mb>>>0)break i;aa=c[b>>2]|0;do if(aa){gb=c[aa+12>>2]|0;if((gb|0)==(c[aa+16>>2]|0))nb=fb[c[(c[aa>>2]|0)+36>>2]&127](aa)|0;else nb=Rp(c[gb>>2]|0)|0;if(cq(nb,Qp()|0)|0){c[b>>2]=0;ob=1;break}else{ob=(c[b>>2]|0)==0;break}}else ob=1;while(0);aa=c[e>>2]|0;do if(aa){gb=c[aa+12>>2]|0;if((gb|0)==(c[aa+16>>2]|0))pb=fb[c[(c[aa>>2]|0)+36>>2]&127](aa)|0;else pb=Rp(c[gb>>2]|0)|0;if(!(cq(pb,Qp()|0)|0))if(ob)break;else break j;else{c[e>>2]=0;Q=248;break}}else Q=248;while(0);if((Q|0)==248?(Q=0,ob):0)break;aa=c[b>>2]|0;gb=c[aa+12>>2]|0;if((gb|0)==(c[aa+16>>2]|0))qb=fb[c[(c[aa>>2]|0)+36>>2]&127](aa)|0;else qb=Rp(c[gb>>2]|0)|0;if((a[O>>0]|0)<0)rb=c[N>>2]|0;else rb=N;if((qb|0)!=(c[rb+(hb<<2)>>2]|0))break;gb=hb+1|0;aa=c[b>>2]|0;$=aa+12|0;kb=c[$>>2]|0;if((kb|0)==(c[aa+16>>2]|0)){fb[c[(c[aa>>2]|0)+40>>2]&127](aa)|0;hb=gb;continue}else{c[$>>2]=kb+4;Rp(c[kb>>2]|0)|0;hb=gb;continue}}c[i>>2]=c[i>>2]|4;lb=0;break h}while(0);hb=c[s>>2]|0;O=c[t>>2]|0;if((hb|0)!=(O|0)){c[E>>2]=0;Zq(y,hb,O,E);if(!(c[E>>2]|0)){lb=1;break}else{c[i>>2]=c[i>>2]|4;lb=0;break}}else lb=1}while(0);rz(C);rz(B);rz(A);rz(z);fz(y);y=c[s>>2]|0;c[s>>2]=0;if(y|0)cb[c[o>>2]&127](y);l=p;return lb|0}function lv(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;f=l;l=l+16|0;g=f+12|0;h=f;i=b+8|0;j=i+3|0;k=a[j>>0]|0;m=k<<24>>24<0;if(m){n=c[b+4>>2]|0;o=(c[i>>2]&2147483647)+-1|0}else{n=k&255;o=1}i=e-d>>2;do if(i|0){if(m){p=c[b>>2]|0;q=p;r=c[b+4>>2]|0;s=p}else{q=b;r=k&255;s=b}if(mv(d,s,q+(r<<2)|0)|0){c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;if(i>>>0>1073741807)dz(h);do if(i>>>0>=2){p=i+4&-4;if(p>>>0>1073741823)ra();else{t=Wy(p<<2)|0;c[h>>2]=t;c[h+8>>2]=p|-2147483648;c[h+4>>2]=i;u=d;v=t;break}}else{a[h+8+3>>0]=i;u=d;v=h}while(0);while(1){if((u|0)==(e|0))break;wq(v,u);u=u+4|0;v=v+4|0}c[g>>2]=0;wq(v,g);t=a[h+8+3>>0]|0;p=t<<24>>24<0;yz(b,p?c[h>>2]|0:h,p?c[h+4>>2]|0:t&255)|0;rz(h);break}t=n+i|0;if((o-n|0)>>>0>>0)xz(b,o,t-o|0,n,n,0,0);if((a[j>>0]|0)<0)w=c[b>>2]|0;else w=b;p=w+(n<<2)|0;x=d;while(1){if((x|0)==(e|0))break;wq(p,x);p=p+4|0;x=x+4|0}c[g>>2]=0;wq(p,g);if((a[j>>0]|0)<0){c[b+4>>2]=t;break}else{a[j>>0]=t;break}}while(0);l=f;return b|0}function mv(a,b,c){a=a|0;b=b|0;c=c|0;return b>>>0<=a>>>0&a>>>0>>0|0}function nv(b,d,e,f,g,h,i,j,k,m){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;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=l;l=l+16|0;o=n+12|0;p=n;if(b){b=Kq(d,30432)|0;db[c[(c[b>>2]|0)+44>>2]&63](o,b);q=c[o>>2]|0;a[e>>0]=q;a[e+1>>0]=q>>8;a[e+2>>0]=q>>16;a[e+3>>0]=q>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);q=k+8+3|0;if((a[q>>0]|0)<0){r=c[k>>2]|0;c[o>>2]=0;wq(r,o);c[k+4>>2]=0}else{c[o>>2]=0;wq(k,o);a[q>>0]=0}vz(k,0);c[k>>2]=c[p>>2];c[k+4>>2]=c[p+4>>2];c[k+8>>2]=c[p+8>>2];q=0;while(1){if((q|0)==3)break;c[p+(q<<2)>>2]=0;q=q+1|0}rz(p);db[c[(c[b>>2]|0)+28>>2]&63](p,b);q=j+8+3|0;if((a[q>>0]|0)<0){r=c[j>>2]|0;c[o>>2]=0;wq(r,o);c[j+4>>2]=0}else{c[o>>2]=0;wq(j,o);a[q>>0]=0}vz(j,0);c[j>>2]=c[p>>2];c[j+4>>2]=c[p+4>>2];c[j+8>>2]=c[p+8>>2];q=0;while(1){if((q|0)==3)break;c[p+(q<<2)>>2]=0;q=q+1|0}rz(p);c[f>>2]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[g>>2]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[b>>2]|0)+20>>2]&63](p,b);q=h+11|0;if((a[q>>0]|0)<0){r=c[h>>2]|0;a[o>>0]=0;Zp(r,o);c[h+4>>2]=0;s=h}else{a[o>>0]=0;Zp(h,o);a[q>>0]=0;s=h}kz(h,0);c[s>>2]=c[p>>2];c[s+4>>2]=c[p+4>>2];c[s+8>>2]=c[p+8>>2];s=0;while(1){if((s|0)==3)break;c[p+(s<<2)>>2]=0;s=s+1|0}fz(p);db[c[(c[b>>2]|0)+24>>2]&63](p,b);s=i+8+3|0;if((a[s>>0]|0)<0){q=c[i>>2]|0;c[o>>2]=0;wq(q,o);c[i+4>>2]=0}else{c[o>>2]=0;wq(i,o);a[s>>0]=0}vz(i,0);c[i>>2]=c[p>>2];c[i+4>>2]=c[p+4>>2];c[i+8>>2]=c[p+8>>2];s=0;while(1){if((s|0)==3)break;c[p+(s<<2)>>2]=0;s=s+1|0}rz(p);t=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}else{b=Kq(d,30424)|0;db[c[(c[b>>2]|0)+44>>2]&63](o,b);d=c[o>>2]|0;a[e>>0]=d;a[e+1>>0]=d>>8;a[e+2>>0]=d>>16;a[e+3>>0]=d>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);d=k+8+3|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;c[o>>2]=0;wq(e,o);c[k+4>>2]=0}else{c[o>>2]=0;wq(k,o);a[d>>0]=0}vz(k,0);c[k>>2]=c[p>>2];c[k+4>>2]=c[p+4>>2];c[k+8>>2]=c[p+8>>2];k=0;while(1){if((k|0)==3)break;c[p+(k<<2)>>2]=0;k=k+1|0}rz(p);db[c[(c[b>>2]|0)+28>>2]&63](p,b);k=j+8+3|0;if((a[k>>0]|0)<0){d=c[j>>2]|0;c[o>>2]=0;wq(d,o);c[j+4>>2]=0}else{c[o>>2]=0;wq(j,o);a[k>>0]=0}vz(j,0);c[j>>2]=c[p>>2];c[j+4>>2]=c[p+4>>2];c[j+8>>2]=c[p+8>>2];j=0;while(1){if((j|0)==3)break;c[p+(j<<2)>>2]=0;j=j+1|0}rz(p);c[f>>2]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[g>>2]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[b>>2]|0)+20>>2]&63](p,b);g=h+11|0;if((a[g>>0]|0)<0){f=c[h>>2]|0;a[o>>0]=0;Zp(f,o);c[h+4>>2]=0;u=h}else{a[o>>0]=0;Zp(h,o);a[g>>0]=0;u=h}kz(h,0);c[u>>2]=c[p>>2];c[u+4>>2]=c[p+4>>2];c[u+8>>2]=c[p+8>>2];u=0;while(1){if((u|0)==3)break;c[p+(u<<2)>>2]=0;u=u+1|0}fz(p);db[c[(c[b>>2]|0)+24>>2]&63](p,b);u=i+8+3|0;if((a[u>>0]|0)<0){h=c[i>>2]|0;c[o>>2]=0;wq(h,o);c[i+4>>2]=0}else{c[o>>2]=0;wq(i,o);a[u>>0]=0}vz(i,0);c[i>>2]=c[p>>2];c[i+4>>2]=c[p+4>>2];c[i+8>>2]=c[p+8>>2];i=0;while(1){if((i|0)==3)break;c[p+(i<<2)>>2]=0;i=i+1|0}rz(p);t=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=t;l=n;return}function ov(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=a+4|0;f=(c[e>>2]|0)!=116;g=c[a>>2]|0;h=(c[d>>2]|0)-g|0;i=h>>>0<2147483647?h<<1:-1;h=(i|0)==0?4:i;i=(c[b>>2]|0)-g>>2;j=Rm(f?g:0,h)|0;if(!j)_y();if(!f){f=c[a>>2]|0;c[a>>2]=j;if(!f)k=j;else{cb[c[e>>2]&127](f);k=c[a>>2]|0}}else{c[a>>2]=j;k=j}c[e>>2]=117;c[b>>2]=k+(i<<2);c[d>>2]=(c[a>>2]|0)+(h>>>2<<2);return}function pv(a){a=a|0;qq(a);return}function qv(a){a=a|0;qq(a);Yy(a);return}function rv(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=+i;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;b=l;l=l+384|0;j=b+8|0;k=b;m=b+284|0;n=b+72|0;o=b+184|0;p=b+68|0;q=b+180|0;r=b+177|0;s=b+176|0;t=b+56|0;u=b+44|0;v=b+32|0;w=b+28|0;x=b+76|0;y=b+24|0;z=b+16|0;A=b+20|0;c[n>>2]=m;h[j>>3]=i;B=$n(m,100,25759,j)|0;if(B>>>0>99){m=Nq()|0;h[k>>3]=i;C=ds(n,m,25759,k)|0;k=c[n>>2]|0;if(!k)_y();m=Pm(C)|0;if(!m)_y();else{D=m;E=C;F=m;G=k}}else{D=o;E=B;F=0;G=0}bq(p,f);B=Kq(p,28696)|0;o=c[n>>2]|0;jb[c[(c[B>>2]|0)+32>>2]&7](B,o,o+E|0,D)|0;if(!E)H=0;else H=(a[c[n>>2]>>0]|0)==45;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}tv(e,H,p,q,r,s,t,u,v,w);e=c[w>>2]|0;if((E|0)>(e|0)){w=a[v+11>>0]|0;n=a[u+11>>0]|0;I=1;J=(w<<24>>24<0?c[v+4>>2]|0:w&255)+(E-e<<1)|0;K=n<<24>>24<0?c[u+4>>2]|0:n&255}else{n=a[v+11>>0]|0;w=a[u+11>>0]|0;I=2;J=w<<24>>24<0?c[u+4>>2]|0:w&255;K=n<<24>>24<0?c[v+4>>2]|0:n&255}n=K+e+J+I|0;if(n>>>0>100){I=Pm(n)|0;if(!I)_y();else{L=I;M=I}}else{L=x;M=0}uv(L,y,z,c[f+4>>2]|0,D,D+E|0,B,H,q,a[r>>0]|0,a[s>>0]|0,t,u,v,e);c[A>>2]=c[d>>2];d=c[y>>2]|0;y=c[z>>2]|0;c[j>>2]=c[A>>2];A=Nh(j,L,d,y,f,g)|0;if(M|0)Qm(M);fz(v);fz(u);fz(t);Lq(p);if(F|0)Qm(F);if(G|0)Qm(G);l=b;return A|0}function sv(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;b=l;l=l+176|0;i=b+56|0;j=b+52|0;k=b+164|0;m=b+161|0;n=b+160|0;o=b+40|0;p=b+28|0;q=b+16|0;r=b+12|0;s=b+60|0;t=b+8|0;u=b+4|0;v=b;bq(j,f);w=Kq(j,28696)|0;x=h+11|0;y=a[x>>0]|0;z=y<<24>>24<0;A=h+4|0;if(!((z?c[A>>2]|0:y&255)|0))B=0;else{y=a[(z?c[h>>2]|0:h)>>0]|0;B=y<<24>>24==(lb[c[(c[w>>2]|0)+28>>2]&15](w,45)|0)<<24>>24};c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;y=0;while(1){if((y|0)==3)break;c[o+(y<<2)>>2]=0;y=y+1|0}c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;y=0;while(1){if((y|0)==3)break;c[p+(y<<2)>>2]=0;y=y+1|0}c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;y=0;while(1){if((y|0)==3)break;c[q+(y<<2)>>2]=0;y=y+1|0}tv(e,B,j,k,m,n,o,p,q,r);e=a[x>>0]|0;x=e<<24>>24<0;y=x?c[A>>2]|0:e&255;e=c[r>>2]|0;if((y|0)>(e|0)){r=a[q+11>>0]|0;A=a[p+11>>0]|0;C=1;D=(r<<24>>24<0?c[q+4>>2]|0:r&255)+(y-e<<1)|0;E=A<<24>>24<0?c[p+4>>2]|0:A&255}else{A=a[q+11>>0]|0;r=a[p+11>>0]|0;C=2;D=r<<24>>24<0?c[p+4>>2]|0:r&255;E=A<<24>>24<0?c[q+4>>2]|0:A&255}A=E+e+D+C|0;if(A>>>0>100){C=Pm(A)|0;if(!C)_y();else{F=C;G=C}}else{F=s;G=0}s=x?c[h>>2]|0:h;uv(F,t,u,c[f+4>>2]|0,s,s+y|0,w,B,k,a[m>>0]|0,a[n>>0]|0,o,p,q,e);c[v>>2]=c[d>>2];d=c[t>>2]|0;t=c[u>>2]|0;c[i>>2]=c[v>>2];v=Nh(i,F,d,t,f,g)|0;if(G|0)Qm(G);fz(q);fz(p);fz(o);Lq(j);l=b;return v|0}function tv(b,d,e,f,g,h,i,j,k,m){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;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;n=l;l=l+16|0;o=n+12|0;p=n;if(b){b=Kq(e,30416)|0;if(d){db[c[(c[b>>2]|0)+44>>2]&63](o,b);q=c[o>>2]|0;a[f>>0]=q;a[f+1>>0]=q>>8;a[f+2>>0]=q>>16;a[f+3>>0]=q>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);q=k+11|0;if((a[q>>0]|0)<0){r=c[k>>2]|0;a[o>>0]=0;Zp(r,o);c[k+4>>2]=0;s=k}else{a[o>>0]=0;Zp(k,o);a[q>>0]=0;s=k}kz(k,0);c[s>>2]=c[p>>2];c[s+4>>2]=c[p+4>>2];c[s+8>>2]=c[p+8>>2];s=0;while(1){if((s|0)==3)break;c[p+(s<<2)>>2]=0;s=s+1|0}fz(p);t=b}else{db[c[(c[b>>2]|0)+40>>2]&63](o,b);s=c[o>>2]|0;a[f>>0]=s;a[f+1>>0]=s>>8;a[f+2>>0]=s>>16;a[f+3>>0]=s>>24;db[c[(c[b>>2]|0)+28>>2]&63](p,b);s=k+11|0;if((a[s>>0]|0)<0){q=c[k>>2]|0;a[o>>0]=0;Zp(q,o);c[k+4>>2]=0;u=k}else{a[o>>0]=0;Zp(k,o);a[s>>0]=0;u=k}kz(k,0);c[u>>2]=c[p>>2];c[u+4>>2]=c[p+4>>2];c[u+8>>2]=c[p+8>>2];u=0;while(1){if((u|0)==3)break;c[p+(u<<2)>>2]=0;u=u+1|0}fz(p);t=b}a[g>>0]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[h>>0]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[t>>2]|0)+20>>2]&63](p,b);u=i+11|0;if((a[u>>0]|0)<0){s=c[i>>2]|0;a[o>>0]=0;Zp(s,o);c[i+4>>2]=0;v=i}else{a[o>>0]=0;Zp(i,o);a[u>>0]=0;v=i}kz(i,0);c[v>>2]=c[p>>2];c[v+4>>2]=c[p+4>>2];c[v+8>>2]=c[p+8>>2];v=0;while(1){if((v|0)==3)break;c[p+(v<<2)>>2]=0;v=v+1|0}fz(p);db[c[(c[t>>2]|0)+24>>2]&63](p,b);t=j+11|0;if((a[t>>0]|0)<0){v=c[j>>2]|0;a[o>>0]=0;Zp(v,o);c[j+4>>2]=0;w=j}else{a[o>>0]=0;Zp(j,o);a[t>>0]=0;w=j}kz(j,0);c[w>>2]=c[p>>2];c[w+4>>2]=c[p+4>>2];c[w+8>>2]=c[p+8>>2];w=0;while(1){if((w|0)==3)break;c[p+(w<<2)>>2]=0;w=w+1|0}fz(p);x=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}else{b=Kq(e,30408)|0;if(d){db[c[(c[b>>2]|0)+44>>2]&63](o,b);d=c[o>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);d=k+11|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;a[o>>0]=0;Zp(e,o);c[k+4>>2]=0;y=k}else{a[o>>0]=0;Zp(k,o);a[d>>0]=0;y=k}kz(k,0);c[y>>2]=c[p>>2];c[y+4>>2]=c[p+4>>2];c[y+8>>2]=c[p+8>>2];y=0;while(1){if((y|0)==3)break;c[p+(y<<2)>>2]=0;y=y+1|0}fz(p);z=b}else{db[c[(c[b>>2]|0)+40>>2]&63](o,b);y=c[o>>2]|0;a[f>>0]=y;a[f+1>>0]=y>>8;a[f+2>>0]=y>>16;a[f+3>>0]=y>>24;db[c[(c[b>>2]|0)+28>>2]&63](p,b);y=k+11|0;if((a[y>>0]|0)<0){f=c[k>>2]|0;a[o>>0]=0;Zp(f,o);c[k+4>>2]=0;A=k}else{a[o>>0]=0;Zp(k,o);a[y>>0]=0;A=k}kz(k,0);c[A>>2]=c[p>>2];c[A+4>>2]=c[p+4>>2];c[A+8>>2]=c[p+8>>2];A=0;while(1){if((A|0)==3)break;c[p+(A<<2)>>2]=0;A=A+1|0}fz(p);z=b}a[g>>0]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;a[h>>0]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[z>>2]|0)+20>>2]&63](p,b);h=i+11|0;if((a[h>>0]|0)<0){g=c[i>>2]|0;a[o>>0]=0;Zp(g,o);c[i+4>>2]=0;B=i}else{a[o>>0]=0;Zp(i,o);a[h>>0]=0;B=i}kz(i,0);c[B>>2]=c[p>>2];c[B+4>>2]=c[p+4>>2];c[B+8>>2]=c[p+8>>2];B=0;while(1){if((B|0)==3)break;c[p+(B<<2)>>2]=0;B=B+1|0}fz(p);db[c[(c[z>>2]|0)+24>>2]&63](p,b);z=j+11|0;if((a[z>>0]|0)<0){B=c[j>>2]|0;a[o>>0]=0;Zp(B,o);c[j+4>>2]=0;C=j}else{a[o>>0]=0;Zp(j,o);a[z>>0]=0;C=j}kz(j,0);c[C>>2]=c[p>>2];c[C+4>>2]=c[p+4>>2];c[C+8>>2]=c[p+8>>2];C=0;while(1){if((C|0)==3)break;c[p+(C<<2)>>2]=0;C=C+1|0}fz(p);x=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=x;l=n;return}function uv(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,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;c[f>>2]=d;s=q+11|0;t=q+4|0;u=p+11|0;v=p+4|0;w=(g&512|0)==0;x=j+8|0;y=(r|0)>0;z=o+11|0;A=o+4|0;B=0;C=h;while(1){if((B|0)==4)break;a:do switch(a[l+B>>0]|0){case 0:{c[e>>2]=c[f>>2];D=C;break}case 1:{c[e>>2]=c[f>>2];h=lb[c[(c[j>>2]|0)+28>>2]&15](j,32)|0;E=c[f>>2]|0;c[f>>2]=E+1;a[E>>0]=h;D=C;break}case 3:{h=a[s>>0]|0;E=h<<24>>24<0;if(!((E?c[t>>2]|0:h&255)|0))D=C;else{h=a[(E?c[q>>2]|0:q)>>0]|0;E=c[f>>2]|0;c[f>>2]=E+1;a[E>>0]=h;D=C}break}case 2:{h=a[u>>0]|0;E=h<<24>>24<0;F=E?c[v>>2]|0:h&255;if(w|(F|0)==0)D=C;else{h=E?c[p>>2]|0:p;E=h+F|0;F=c[f>>2]|0;G=h;while(1){if((G|0)==(E|0))break;a[F>>0]=a[G>>0]|0;F=F+1|0;G=G+1|0}c[f>>2]=F;D=C}break}case 4:{G=c[f>>2]|0;E=k?C+1|0:C;h=E;while(1){if(h>>>0>=i>>>0)break;H=a[h>>0]|0;if(H<<24>>24<=-1)break;if(!(b[(c[x>>2]|0)+(H<<24>>24<<1)>>1]&2048))break;h=h+1|0}if(y){F=r;H=h;while(1){I=(F|0)>0;if(!(H>>>0>E>>>0&I))break;J=H+-1|0;K=a[J>>0]|0;L=c[f>>2]|0;c[f>>2]=L+1;a[L>>0]=K;F=F+-1|0;H=J}if(I)M=lb[c[(c[j>>2]|0)+28>>2]&15](j,48)|0;else M=0;J=F;while(1){N=c[f>>2]|0;c[f>>2]=N+1;if((J|0)<=0)break;a[N>>0]=M;J=J+-1|0}a[N>>0]=m;O=H}else O=h;b:do if((O|0)==(E|0)){J=lb[c[(c[j>>2]|0)+28>>2]&15](j,48)|0;F=c[f>>2]|0;c[f>>2]=F+1;a[F>>0]=J}else{J=a[z>>0]|0;F=J<<24>>24<0;if(!((F?c[A>>2]|0:J&255)|0)){P=-1;Q=0;R=0;S=O}else{P=a[(F?c[o>>2]|0:o)>>0]|0;Q=0;R=0;S=O}while(1){if((S|0)==(E|0))break b;if((R|0)==(P|0)){F=c[f>>2]|0;c[f>>2]=F+1;a[F>>0]=n;F=Q+1|0;J=a[z>>0]|0;K=J<<24>>24<0;if(F>>>0<(K?c[A>>2]|0:J&255)>>>0){J=a[(K?c[o>>2]|0:o)+F>>0]|0;T=J<<24>>24==127?-1:J<<24>>24;U=F;V=0}else{T=R;U=F;V=0}}else{T=P;U=Q;V=R}F=S+-1|0;J=a[F>>0]|0;K=c[f>>2]|0;c[f>>2]=K+1;a[K>>0]=J;P=T;Q=U;R=V+1|0;S=F}}while(0);h=c[f>>2]|0;if((G|0)==(h|0))D=E;else{H=h;h=G;while(1){F=H+-1|0;if(h>>>0>=F>>>0){D=E;break a}J=a[h>>0]|0;a[h>>0]=a[F>>0]|0;a[F>>0]=J;H=F;h=h+1|0}}break}default:D=C}while(0);B=B+1|0;C=D}D=a[s>>0]|0;s=D<<24>>24<0;C=s?c[t>>2]|0:D&255;if(C>>>0>1){D=s?c[q>>2]|0:q;q=D+C|0;C=c[f>>2]|0;s=D;while(1){D=s+1|0;if((D|0)==(q|0))break;a[C>>0]=a[D>>0]|0;C=C+1|0;s=D}c[f>>2]=C}switch((g&176)<<24>>24){case 32:{c[e>>2]=c[f>>2];break}case 16:break;default:c[e>>2]=d}return}function vv(a){a=a|0;qq(a);return}function wv(a){a=a|0;qq(a);Yy(a);return}function xv(b,d,e,f,g,i){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;i=+i;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;b=l;l=l+1008|0;j=b+8|0;k=b;m=b+896|0;n=b+888|0;o=b+488|0;p=b+480|0;q=b+892|0;r=b+476|0;s=b+472|0;t=b+460|0;u=b+448|0;v=b+436|0;w=b+432|0;x=b+32|0;y=b+24|0;z=b+16|0;A=b+20|0;c[n>>2]=m;h[j>>3]=i;B=$n(m,100,25759,j)|0;if(B>>>0>99){m=Nq()|0;h[k>>3]=i;C=ds(n,m,25759,k)|0;k=c[n>>2]|0;if(!k)_y();m=Pm(C<<2)|0;if(!m)_y();else{D=m;E=C;F=m;G=k}}else{D=o;E=B;F=0;G=0}bq(p,f);B=Kq(p,28728)|0;o=c[n>>2]|0;jb[c[(c[B>>2]|0)+48>>2]&7](B,o,o+E|0,D)|0;if(!E)H=0;else H=(a[c[n>>2]>>0]|0)==45;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}zv(e,H,p,q,r,s,t,u,v,w);e=c[w>>2]|0;if((E|0)>(e|0)){w=a[v+8+3>>0]|0;n=a[u+8+3>>0]|0;I=1;J=(w<<24>>24<0?c[v+4>>2]|0:w&255)+(E-e<<1)|0;K=n<<24>>24<0?c[u+4>>2]|0:n&255}else{n=a[v+8+3>>0]|0;w=a[u+8+3>>0]|0;I=2;J=w<<24>>24<0?c[u+4>>2]|0:w&255;K=n<<24>>24<0?c[v+4>>2]|0:n&255}n=K+e+J+I|0;if(n>>>0>100){I=Pm(n<<2)|0;if(!I)_y();else{L=I;M=I}}else{L=x;M=0}Av(L,y,z,c[f+4>>2]|0,D,D+(E<<2)|0,B,H,q,c[r>>2]|0,c[s>>2]|0,t,u,v,e);c[A>>2]=c[d>>2];d=c[y>>2]|0;y=c[z>>2]|0;c[j>>2]=c[A>>2];A=rs(j,L,d,y,f,g)|0;if(M|0)Qm(M);rz(v);rz(u);fz(t);Lq(p);if(F|0)Qm(F);if(G|0)Qm(G);l=b;return A|0}function yv(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;b=l;l=l+480|0;i=b+468|0;j=b+464|0;k=b+472|0;m=b+460|0;n=b+456|0;o=b+444|0;p=b+432|0;q=b+420|0;r=b+416|0;s=b+16|0;t=b+8|0;u=b+4|0;v=b;bq(j,f);w=Kq(j,28728)|0;x=h+8+3|0;y=a[x>>0]|0;z=y<<24>>24<0;A=h+4|0;if(!((z?c[A>>2]|0:y&255)|0))B=0;else{y=c[(z?c[h>>2]|0:h)>>2]|0;B=(y|0)==(lb[c[(c[w>>2]|0)+44>>2]&15](w,45)|0)};c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;y=0;while(1){if((y|0)==3)break;c[o+(y<<2)>>2]=0;y=y+1|0}c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;y=0;while(1){if((y|0)==3)break;c[p+(y<<2)>>2]=0;y=y+1|0}c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;y=0;while(1){if((y|0)==3)break;c[q+(y<<2)>>2]=0;y=y+1|0}zv(e,B,j,k,m,n,o,p,q,r);e=a[x>>0]|0;x=e<<24>>24<0;y=x?c[A>>2]|0:e&255;e=c[r>>2]|0;if((y|0)>(e|0)){r=a[q+8+3>>0]|0;A=a[p+8+3>>0]|0;C=1;D=(r<<24>>24<0?c[q+4>>2]|0:r&255)+(y-e<<1)|0;E=A<<24>>24<0?c[p+4>>2]|0:A&255}else{A=a[q+8+3>>0]|0;r=a[p+8+3>>0]|0;C=2;D=r<<24>>24<0?c[p+4>>2]|0:r&255;E=A<<24>>24<0?c[q+4>>2]|0:A&255}A=E+e+D+C|0;if(A>>>0>100){C=Pm(A<<2)|0;if(!C)_y();else{F=C;G=C}}else{F=s;G=0}s=x?c[h>>2]|0:h;Av(F,t,u,c[f+4>>2]|0,s,s+(y<<2)|0,w,B,k,c[m>>2]|0,c[n>>2]|0,o,p,q,e);c[v>>2]=c[d>>2];d=c[t>>2]|0;t=c[u>>2]|0;c[i>>2]=c[v>>2];v=rs(i,F,d,t,f,g)|0;if(G|0)Qm(G);rz(q);rz(p);fz(o);Lq(j);l=b;return v|0}function zv(b,d,e,f,g,h,i,j,k,m){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;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=l;l=l+16|0;o=n+12|0;p=n;if(b){b=Kq(e,30432)|0;if(d){db[c[(c[b>>2]|0)+44>>2]&63](o,b);q=c[o>>2]|0;a[f>>0]=q;a[f+1>>0]=q>>8;a[f+2>>0]=q>>16;a[f+3>>0]=q>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);q=k+8+3|0;if((a[q>>0]|0)<0){r=c[k>>2]|0;c[o>>2]=0;wq(r,o);c[k+4>>2]=0}else{c[o>>2]=0;wq(k,o);a[q>>0]=0}vz(k,0);c[k>>2]=c[p>>2];c[k+4>>2]=c[p+4>>2];c[k+8>>2]=c[p+8>>2];q=0;while(1){if((q|0)==3)break;c[p+(q<<2)>>2]=0;q=q+1|0}rz(p)}else{db[c[(c[b>>2]|0)+40>>2]&63](o,b);q=c[o>>2]|0;a[f>>0]=q;a[f+1>>0]=q>>8;a[f+2>>0]=q>>16;a[f+3>>0]=q>>24;db[c[(c[b>>2]|0)+28>>2]&63](p,b);q=k+8+3|0;if((a[q>>0]|0)<0){r=c[k>>2]|0;c[o>>2]=0;wq(r,o);c[k+4>>2]=0}else{c[o>>2]=0;wq(k,o);a[q>>0]=0}vz(k,0);c[k>>2]=c[p>>2];c[k+4>>2]=c[p+4>>2];c[k+8>>2]=c[p+8>>2];q=0;while(1){if((q|0)==3)break;c[p+(q<<2)>>2]=0;q=q+1|0}rz(p)}c[g>>2]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[h>>2]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[b>>2]|0)+20>>2]&63](p,b);q=i+11|0;if((a[q>>0]|0)<0){r=c[i>>2]|0;a[o>>0]=0;Zp(r,o);c[i+4>>2]=0;s=i}else{a[o>>0]=0;Zp(i,o);a[q>>0]=0;s=i}kz(i,0);c[s>>2]=c[p>>2];c[s+4>>2]=c[p+4>>2];c[s+8>>2]=c[p+8>>2];s=0;while(1){if((s|0)==3)break;c[p+(s<<2)>>2]=0;s=s+1|0}fz(p);db[c[(c[b>>2]|0)+24>>2]&63](p,b);s=j+8+3|0;if((a[s>>0]|0)<0){q=c[j>>2]|0;c[o>>2]=0;wq(q,o);c[j+4>>2]=0}else{c[o>>2]=0;wq(j,o);a[s>>0]=0}vz(j,0);c[j>>2]=c[p>>2];c[j+4>>2]=c[p+4>>2];c[j+8>>2]=c[p+8>>2];s=0;while(1){if((s|0)==3)break;c[p+(s<<2)>>2]=0;s=s+1|0}rz(p);t=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}else{b=Kq(e,30424)|0;if(d){db[c[(c[b>>2]|0)+44>>2]&63](o,b);d=c[o>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;db[c[(c[b>>2]|0)+32>>2]&63](p,b);d=k+8+3|0;if((a[d>>0]|0)<0){e=c[k>>2]|0;c[o>>2]=0;wq(e,o);c[k+4>>2]=0}else{c[o>>2]=0;wq(k,o);a[d>>0]=0}vz(k,0);c[k>>2]=c[p>>2];c[k+4>>2]=c[p+4>>2];c[k+8>>2]=c[p+8>>2];d=0;while(1){if((d|0)==3)break;c[p+(d<<2)>>2]=0;d=d+1|0}rz(p)}else{db[c[(c[b>>2]|0)+40>>2]&63](o,b);d=c[o>>2]|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;db[c[(c[b>>2]|0)+28>>2]&63](p,b);d=k+8+3|0;if((a[d>>0]|0)<0){f=c[k>>2]|0;c[o>>2]=0;wq(f,o);c[k+4>>2]=0}else{c[o>>2]=0;wq(k,o);a[d>>0]=0}vz(k,0);c[k>>2]=c[p>>2];c[k+4>>2]=c[p+4>>2];c[k+8>>2]=c[p+8>>2];k=0;while(1){if((k|0)==3)break;c[p+(k<<2)>>2]=0;k=k+1|0}rz(p)}c[g>>2]=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;c[h>>2]=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;db[c[(c[b>>2]|0)+20>>2]&63](p,b);h=i+11|0;if((a[h>>0]|0)<0){g=c[i>>2]|0;a[o>>0]=0;Zp(g,o);c[i+4>>2]=0;u=i}else{a[o>>0]=0;Zp(i,o);a[h>>0]=0;u=i}kz(i,0);c[u>>2]=c[p>>2];c[u+4>>2]=c[p+4>>2];c[u+8>>2]=c[p+8>>2];u=0;while(1){if((u|0)==3)break;c[p+(u<<2)>>2]=0;u=u+1|0}fz(p);db[c[(c[b>>2]|0)+24>>2]&63](p,b);u=j+8+3|0;if((a[u>>0]|0)<0){i=c[j>>2]|0;c[o>>2]=0;wq(i,o);c[j+4>>2]=0}else{c[o>>2]=0;wq(j,o);a[u>>0]=0}vz(j,0);c[j>>2]=c[p>>2];c[j+4>>2]=c[p+4>>2];c[j+8>>2]=c[p+8>>2];j=0;while(1){if((j|0)==3)break;c[p+(j<<2)>>2]=0;j=j+1|0}rz(p);t=fb[c[(c[b>>2]|0)+36>>2]&127](b)|0}c[m>>2]=t;l=n;return}function Av(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,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;c[e>>2]=b;r=p+8+3|0;s=p+4|0;t=o+8+3|0;u=o+4|0;v=(f&512|0)==0;w=(q|0)>0;x=n+11|0;y=n+4|0;z=0;A=g;while(1){if((z|0)==4)break;a:do switch(a[k+z>>0]|0){case 0:{c[d>>2]=c[e>>2];B=A;break}case 1:{c[d>>2]=c[e>>2];g=lb[c[(c[i>>2]|0)+44>>2]&15](i,32)|0;C=c[e>>2]|0;c[e>>2]=C+4;c[C>>2]=g;B=A;break}case 3:{g=a[r>>0]|0;C=g<<24>>24<0;if(!((C?c[s>>2]|0:g&255)|0))B=A;else{g=c[(C?c[p>>2]|0:p)>>2]|0;C=c[e>>2]|0;c[e>>2]=C+4;c[C>>2]=g;B=A}break}case 2:{g=a[t>>0]|0;C=g<<24>>24<0;D=C?c[u>>2]|0:g&255;if(v|(D|0)==0)B=A;else{g=C?c[o>>2]|0:o;C=g+(D<<2)|0;E=c[e>>2]|0;F=E;G=g;while(1){if((G|0)==(C|0))break;c[F>>2]=c[G>>2];F=F+4|0;G=G+4|0}c[e>>2]=E+(D<<2);B=A}break}case 4:{G=c[e>>2]|0;F=j?A+4|0:A;C=F;while(1){if(C>>>0>=h>>>0)break;if(!(Za[c[(c[i>>2]|0)+12>>2]&31](i,2048,c[C>>2]|0)|0))break;C=C+4|0}if(w){D=q;E=C;while(1){H=(D|0)>0;if(!(E>>>0>F>>>0&H))break;g=E+-4|0;I=c[g>>2]|0;J=c[e>>2]|0;c[e>>2]=J+4;c[J>>2]=I;D=D+-1|0;E=g}if(H)K=lb[c[(c[i>>2]|0)+44>>2]&15](i,48)|0;else K=0;g=D;I=c[e>>2]|0;while(1){L=I+4|0;if((g|0)<=0)break;c[I>>2]=K;g=g+-1|0;I=L}c[e>>2]=L;c[I>>2]=l;M=E}else M=C;if((M|0)==(F|0)){g=lb[c[(c[i>>2]|0)+44>>2]&15](i,48)|0;D=c[e>>2]|0;J=D+4|0;c[e>>2]=J;c[D>>2]=g;N=J}else{J=a[x>>0]|0;g=J<<24>>24<0;D=J&255;if(!((g?c[y>>2]|0:D)|0)){O=-1;P=0;Q=0;R=M}else{O=a[(g?c[n>>2]|0:n)>>0]|0;P=0;Q=0;R=M}while(1){if((R|0)==(F|0))break;J=c[e>>2]|0;if((Q|0)==(O|0)){S=J+4|0;c[e>>2]=S;c[J>>2]=m;T=P+1|0;if(T>>>0<(g?c[y>>2]|0:D)>>>0){U=a[(g?c[n>>2]|0:n)+T>>0]|0;V=U<<24>>24==127?-1:U<<24>>24;W=T;X=0;Y=S}else{V=Q;W=T;X=0;Y=S}}else{V=O;W=P;X=Q;Y=J}J=R+-4|0;S=c[J>>2]|0;c[e>>2]=Y+4;c[Y>>2]=S;O=V;P=W;Q=X+1|0;R=J}N=c[e>>2]|0}if((G|0)==(N|0))B=F;else{g=N;D=G;while(1){C=g+-4|0;if(D>>>0>=C>>>0){B=F;break a}E=c[D>>2]|0;c[D>>2]=c[C>>2];c[C>>2]=E;g=C;D=D+4|0}}break}default:B=A}while(0);z=z+1|0;A=B}B=a[r>>0]|0;r=B<<24>>24<0;A=r?c[s>>2]|0:B&255;if(A>>>0>1){B=r?c[p>>2]|0:p;p=B+4|0;r=B+(A<<2)|0;A=c[e>>2]|0;B=r-p|0;s=A;z=p;while(1){if((z|0)==(r|0))break;c[s>>2]=c[z>>2];s=s+4|0;z=z+4|0}c[e>>2]=A+(B>>>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 Bv(a){a=a|0;qq(a);return}function Cv(a){a=a|0;qq(a);Yy(a);return}function Dv(b,d,e){b=b|0;d=d|0;e=e|0;e=$o((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|0}function Ev(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0;d=l;l=l+16|0;i=d;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;j=0;while(1){if((j|0)==3)break;c[i+(j<<2)>>2]=0;j=j+1|0}j=a[h+11>>0]|0;k=j<<24>>24<0;m=k?c[h>>2]|0:h;n=m+(k?c[h+4>>2]|0:j&255)|0;j=m;while(1){if(j>>>0>=n>>>0)break;qz(i,a[j>>0]|0);j=j+1|0}j=(a[i+11>>0]|0)<0?c[i>>2]|0:i;n=Yo((e|0)==-1?-1:e<<1,f,g,j)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;g=0;while(1){if((g|0)==3)break;c[b+(g<<2)>>2]=0;g=g+1|0}g=j+(Yn(n)|0)|0;n=j;while(1){if(n>>>0>=g>>>0)break;qz(b,a[n>>0]|0);n=n+1|0}fz(i);l=d;return}function Fv(a,b){a=a|0;b=b|0;return}function Gv(a){a=a|0;qq(a);return}function Hv(a){a=a|0;qq(a);Yy(a);return}function Iv(b,d,e){b=b|0;d=d|0;e=e|0;e=$o((a[d+11>>0]|0)<0?c[d>>2]|0:d,1)|0;return e>>>((e|0)!=(-1|0)&1)|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;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;d=l;l=l+176|0;i=d+168|0;j=d+40|0;k=d+36|0;m=d+32|0;n=d;o=d+24|0;p=d+16|0;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=0;q=0;while(1){if((q|0)==3)break;c[n+(q<<2)>>2]=0;q=q+1|0}c[o+4>>2]=0;c[o>>2]=8388;q=a[h+8+3>>0]|0;r=q<<24>>24<0;s=r?c[h>>2]|0:h;t=s+((r?c[h+4>>2]|0:q&255)<<2)|0;q=j+32|0;h=s;s=0;while(1){if(!((s|0)!=2&h>>>0>>0))break;c[m>>2]=h;r=ib[c[(c[o>>2]|0)+12>>2]&15](o,i,h,t,m,j,q,k)|0;if((r|0)==2?1:(c[m>>2]|0)==(h|0)){u=7;break}else v=j;while(1){if(v>>>0>=(c[k>>2]|0)>>>0)break;qz(n,a[v>>0]|0);v=v+1|0}h=c[m>>2]|0;s=r}if((u|0)==7)du(0);qq(o);o=(a[n+11>>0]|0)<0?c[n>>2]|0:n;s=Yo((e|0)==-1?-1:e<<1,f,g,o)|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;g=0;while(1){if((g|0)==3)break;c[b+(g<<2)>>2]=0;g=g+1|0}c[p+4>>2]=0;c[p>>2]=8436;g=o+(Yn(s)|0)|0;s=g;f=j+128|0;e=o;o=0;while(1){if(!((o|0)!=2&e>>>0>>0)){u=21;break}c[m>>2]=e;h=ib[c[(c[p>>2]|0)+16>>2]&15](p,i,e,(s-e|0)>32?e+32|0:g,m,j,f,k)|0;if((h|0)==2?1:(c[m>>2]|0)==(e|0)){u=17;break}else w=j;while(1){if(w>>>0>=(c[k>>2]|0)>>>0)break;zz(b,c[w>>2]|0);w=w+4|0}e=c[m>>2]|0;o=h}if((u|0)==17)du(0);else if((u|0)==21){qq(p);fz(n);l=d;return}}function Kv(a,b){a=a|0;b=b|0;return}function Lv(a){a=a|0;qq(a);Yy(a);return}function Mv(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;b=l;l=l+16|0;a=b+4|0;j=b;c[a>>2]=d;c[j>>2]=g;k=Vv(d,e,a,g,h,j,1114111,0)|0;c[f>>2]=c[a>>2];c[i>>2]=c[j>>2];l=b;return k|0}function Nv(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;b=l;l=l+16|0;a=b+4|0;j=b;c[a>>2]=d;c[j>>2]=g;k=Uv(d,e,a,g,h,j,1114111,0)|0;c[f>>2]=c[a>>2];c[i>>2]=c[j>>2];l=b;return k|0}function Ov(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 Pv(a){a=a|0;return 0}function Qv(a){a=a|0;return 0}function Rv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Tv(c,d,e,1114111,0)|0}function Sv(a){a=a|0;return 4}function Tv(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,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=c;i=b;if(((h-i|0)>2&(g&4|0)!=0?(a[b>>0]|0)==-17:0)?(a[b+1>>0]|0)==-69:0){j=0;k=(a[b+2>>0]|0)==-65?b+3|0:b}else{j=0;k=b}a:while(1){if(!(j>>>0>>0&k>>>0>>0)){l=30;break}b=a[k>>0]|0;g=b&255;m=k+1|0;do if(b<<24>>24>-1)if(g>>>0>f>>>0){l=30;break a}else n=m;else{if((b&255)<194){l=30;break a}o=k+2|0;p=k;q=h-p|0;if((b&255)<224){if((q|0)<2){l=30;break a}r=d[m>>0]|0;if((r&192|0)!=128){l=30;break a}if((r&63|g<<6&1984)>>>0>f>>>0){l=30;break a}else{n=o;break}}r=k+3|0;if((b&255)<240){if((q|0)<3){l=30;break a}s=a[o>>0]|0;t=d[m>>0]|0;u=t&224;switch(b<<24>>24){case -32:{if((u|0)!=160){v=p;break a}break}case -19:{if((u|0)!=128){v=p;break a}break}default:if((t&192|0)!=128){v=p;break a}}u=s&255;if((u&192|0)!=128){l=30;break a}if((t<<6&4032|g<<12&61440|u&63)>>>0>f>>>0){l=30;break a}else{n=r;break}}if((q|0)<4|(b&255)>244){l=30;break a}q=a[m>>0]|0;u=a[o>>0]|0;o=a[r>>0]|0;r=q&255;switch(b<<24>>24){case -16:{if((q+112&255)>=48){v=p;break a}break}case -12:{if((r&240|0)!=128){v=p;break a}break}default:if((r&192|0)!=128){v=p;break a}}p=u&255;if((p&192|0)!=128){l=30;break a}u=o&255;if((u&192|0)!=128){l=30;break a}if((r<<12&258048|g<<18&1835008|p<<6&4032|u&63)>>>0>f>>>0){l=30;break a}else n=k+4|0}while(0);j=j+1|0;k=n}if((l|0)==30)v=k;return v-i|0}function Uv(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,r=0,s=0,t=0,u=0,v=0;c[f>>2]=b;c[i>>2]=g;g=e;if((((k&4|0?(k=c[f>>2]|0,(g-k|0)>2):0)?(a[k>>0]|0)==-17:0)?(a[k+1>>0]|0)==-69:0)?(a[k+2>>0]|0)==-65:0)c[f>>2]=k+3;a:while(1){k=c[f>>2]|0;if(k>>>0>=e>>>0){l=0;break}b=c[i>>2]|0;if(b>>>0>=h>>>0){l=1;break}m=a[k>>0]|0;n=m&255;o=k+1|0;do if(m<<24>>24>-1){if(n>>>0>j>>>0){l=2;break a}c[b>>2]=n;p=o}else{if((m&255)<194){l=2;break a}q=k+2|0;r=g-k|0;if((m&255)<224){if((r|0)<2){l=1;break a}s=d[o>>0]|0;if((s&192|0)!=128){l=2;break a}t=s&63|n<<6&1984;if(t>>>0>j>>>0){l=2;break a}c[b>>2]=t;p=q;break}t=k+3|0;if((m&255)<240){if((r|0)<3){l=1;break a}s=a[q>>0]|0;u=d[o>>0]|0;v=u&224;switch(m<<24>>24){case -32:{if((v|0)!=160){l=2;break a}break}case -19:{if((v|0)!=128){l=2;break a}break}default:if((u&192|0)!=128){l=2;break a}}v=s&255;if((v&192|0)!=128){l=2;break a}s=u<<6&4032|n<<12&61440|v&63;if(s>>>0>j>>>0){l=2;break a}c[b>>2]=s;p=t;break}if((m&255)>=245){l=2;break a}if((r|0)<4){l=1;break a}r=a[o>>0]|0;s=a[q>>0]|0;q=a[t>>0]|0;t=r&255;switch(m<<24>>24){case -16:{if((r+112&255)>=48){l=2;break a}break}case -12:{if((t&240|0)!=128){l=2;break a}break}default:if((t&192|0)!=128){l=2;break a}}r=s&255;if((r&192|0)!=128){l=2;break a}s=q&255;if((s&192|0)!=128){l=2;break a}q=t<<12&258048|n<<18&1835008|r<<6&4032|s&63;if(q>>>0>j>>>0){l=2;break a}c[b>>2]=q;p=k+4|0}while(0);c[f>>2]=p;c[i>>2]=(c[i>>2]|0)+4}return l|0} +function jf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=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,y=0,z=0;g=l;l=l+144|0;i=g+24|0;j=g;k=g+48|0;m=g+92|0;c[b>>2]=1696;if(!d)ta(13832,13839,65,13852);n=+ph(d,7);o=n<1.0?n:1.0;c[i>>2]=c[e>>2];c[i+4>>2]=c[e+4>>2];c[i+8>>2]=c[e+8>>2];c[i+12>>2]=c[e+12>>2];c[i+16>>2]=c[e+16>>2];c[i+20>>2]=c[e+20>>2];h[i>>3]=+h[i>>3]-o;p=i+8|0;h[p>>3]=+h[p>>3]-o;c[j>>2]=c[e>>2];c[j+4>>2]=c[e+4>>2];c[j+8>>2]=c[e+8>>2];c[j+12>>2]=c[e+12>>2];c[j+16>>2]=c[e+16>>2];c[j+20>>2]=c[e+20>>2];h[j>>3]=o+ +h[j>>3];p=j+8|0;h[p>>3]=o+ +h[p>>3];te(m,i,j);Gb(k,m);Jf(b,d,k,f);c[k>>2]=1624;f=c[k+32>>2]|0;if(f|0){d=k+36|0;j=c[d>>2]|0;if((j|0)!=(f|0))c[d>>2]=j+(~((j+-32-f|0)>>>5)<<5);Yy(f)}f=c[k+20>>2]|0;if(f|0){j=k+24|0;if((c[j>>2]|0)!=(f|0))c[j>>2]=f;Yy(f)}f=c[k+8>>2]|0;if(f|0){j=k+12|0;k=c[j>>2]|0;if((k|0)!=(f|0))c[j>>2]=k+(~(((k+-24-f|0)>>>0)/24|0)*24|0);Yy(f)}c[m>>2]=1624;f=c[m+32>>2]|0;if(f|0){k=m+36|0;j=c[k>>2]|0;if((j|0)!=(f|0))c[k>>2]=j+(~((j+-32-f|0)>>>5)<<5);Yy(f)}f=c[m+20>>2]|0;if(f|0){j=m+24|0;if((c[j>>2]|0)!=(f|0))c[j>>2]=f;Yy(f)}f=c[m+8>>2]|0;if(f|0){j=m+12|0;m=c[j>>2]|0;if((m|0)!=(f|0))c[j>>2]=m+(~(((m+-24-f|0)>>>0)/24|0)*24|0);Yy(f)}c[b>>2]=1696;f=b+96|0;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[f+16>>2]=c[e+16>>2];c[f+20>>2]=c[e+20>>2];f=b+120|0;c[f>>2]=c[e>>2];c[f+4>>2]=c[e+4>>2];c[f+8>>2]=c[e+8>>2];c[f+12>>2]=c[e+12>>2];c[f+16>>2]=c[e+16>>2];c[f+20>>2]=c[e+20>>2];a[b+144>>0]=0;e=Wy(80)|0;Sb(e,b,2147483646,15);f=e;Vb(e,0);m=b+84|0;j=b+88|0;k=c[j>>2]|0;do if(k){d=b+88|0;i=k;while(1){p=i+16|0;if($b(e,c[p>>2]|0)|0){q=c[i>>2]|0;if(!q){r=32;break}else{s=i;t=q}}else{if(!($b(c[p>>2]|0,e)|0)){r=36;break}u=i+4|0;p=c[u>>2]|0;if(!p){r=35;break}else{s=u;t=p}}d=s;i=t}if((r|0)==32){v=i;w=i;break}else if((r|0)==35){v=u;w=i;break}else if((r|0)==36){v=d;w=i;break}}else{v=j;w=j}while(0);if(c[v>>2]|0){x=b+4|0;y=c[x>>2]|0;kh(y,b);l=g;return}j=Wy(20)|0;c[j+16>>2]=f;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=w;c[v>>2]=j;w=c[c[m>>2]>>2]|0;if(!w)z=j;else{c[m>>2]=w;z=c[v>>2]|0}kd(c[b+88>>2]|0,z);z=b+92|0;c[z>>2]=(c[z>>2]|0)+1;x=b+4|0;y=c[x>>2]|0;kh(y,b);l=g;return}function kf(b){b=b|0;return (a[b+144>>0]|0)!=0|0}function lf(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0.0,n=0.0,o=0;e=l;l=l+96|0;f=e+24|0;g=e;i=e+48|0;j=a+96|0;c[j>>2]=c[d>>2];c[j+4>>2]=c[d+4>>2];c[j+8>>2]=c[d+8>>2];c[j+12>>2]=c[d+12>>2];c[j+16>>2]=c[d+16>>2];b[j+20>>1]=b[d+20>>1]|0;k=a+120|0;c[k>>2]=c[d>>2];c[k+4>>2]=c[d+4>>2];c[k+8>>2]=c[d+8>>2];c[k+12>>2]=c[d+12>>2];c[k+16>>2]=c[d+16>>2];b[k+20>>1]=b[d+20>>1]|0;d=c[a+4>>2]|0;if(!d)ta(13832,13839,65,13852);m=+ph(d,7);n=m<1.0?m:1.0;c[f>>2]=c[j>>2];c[f+4>>2]=c[j+4>>2];c[f+8>>2]=c[j+8>>2];c[f+12>>2]=c[j+12>>2];c[f+16>>2]=c[j+16>>2];c[f+20>>2]=c[j+20>>2];h[f>>3]=+h[f>>3]-n;d=f+8|0;h[d>>3]=+h[d>>3]-n;c[g>>2]=c[j>>2];c[g+4>>2]=c[j+4>>2];c[g+8>>2]=c[j+8>>2];c[g+12>>2]=c[j+12>>2];c[g+16>>2]=c[j+16>>2];c[g+20>>2]=c[j+20>>2];h[g>>3]=n+ +h[g>>3];j=g+8|0;h[j>>3]=n+ +h[j>>3];te(i,f,g);g=a+12|0;c[a+16>>2]=c[i+4>>2];if((g|0)==(i|0))o=i+32|0;else{yc(a+20|0,c[i+8>>2]|0,c[i+12>>2]|0);zc(a+32|0,c[i+20>>2]|0,c[i+24>>2]|0);f=i+32|0;Ac(a+44|0,c[f>>2]|0,c[i+36>>2]|0);o=f}c[i>>2]=1624;f=c[o>>2]|0;if(f|0){o=i+36|0;j=c[o>>2]|0;if((j|0)!=(f|0))c[o>>2]=j+(~((j+-32-f|0)>>>5)<<5);Yy(f)}f=c[i+20>>2]|0;if(f|0){j=i+24|0;if((c[j>>2]|0)!=(f|0))c[j>>2]=f;Yy(f)}f=c[i+8>>2]|0;if(!f){Lf(a,g);l=e;return}j=i+12|0;i=c[j>>2]|0;if((i|0)!=(f|0))c[j>>2]=i+(~(((i+-24-f|0)>>>0)/24|0)*24|0);Yy(f);Lf(a,g);l=e;return}function mf(a,d){a=a|0;d=d|0;var e=0;e=a+120|0;c[e>>2]=c[d>>2];c[e+4>>2]=c[d+4>>2];c[e+8>>2]=c[d+8>>2];c[e+12>>2]=c[d+12>>2];c[e+16>>2]=c[d+16>>2];b[e+20>>1]=b[d+20>>1]|0;return}function nf(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;d=c[a+72>>2]|0;e=a+76|0;a:do if((d|0)!=(e|0)){f=a+4|0;g=d;while(1){h=c[g+16>>2]|0;i=c[h+44>>2]|0;if(!i)break;j=c[f>>2]|0;xg(j,i,xd(h)|0,h,0);h=c[g+4>>2]|0;if(!h){i=g+8|0;j=c[i>>2]|0;if((c[j>>2]|0)==(g|0))k=j;else{j=i;do{i=c[j>>2]|0;j=i+8|0;l=c[j>>2]|0}while((c[l>>2]|0)!=(i|0));k=l}}else{j=h;while(1){l=c[j>>2]|0;if(!l)break;else j=l}k=j}if((k|0)==(e|0))break a;else g=k}ta(16231,13839,177,16267)}while(0);k=c[a+84>>2]|0;e=a+88|0;if((k|0)==(e|0))return;else m=k;while(1){Xb(c[m+16>>2]|0,b);k=c[m+4>>2]|0;if(!k){a=m+8|0;d=c[a>>2]|0;if((c[d>>2]|0)==(m|0))n=d;else{d=a;do{a=c[d>>2]|0;d=a+8|0;g=c[d>>2]|0}while((c[g>>2]|0)!=(a|0));n=g}}else{d=k;while(1){g=c[d>>2]|0;if(!g)break;else d=g}n=d}if((n|0)==(e|0))break;else m=n}return}function of(){Fh(27856,0,0,0);Fh(27864,0,0,b[4624]|0);return}function pf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0.0,f=0.0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!b)ta(13866,13879,661,13892);e=+h[c+8>>3];f=+h[a+8>>3];if(!(e>f))if(e>3];e=+h[a>>3];if(!(f>e))if(f>2]|0;if((c[j>>2]|0)==(k|0))ta(13918,13879,858,13944);m=a+36|0;n=a+48|0;a=(d|0)==0;o=g+8|0;p=e+8|0;q=d+8|0;r=1797693134862315708145274.0e284;s=0;t=k;while(1){k=c[(c[m>>2]|0)+(s<<2)>>2]|0;u=(c[t+(s<<2)>>2]|0)+16|0;c[g>>2]=c[u>>2];c[g+4>>2]=c[u+4>>2];c[g+8>>2]=c[u+8>>2];c[g+12>>2]=c[u+12>>2];c[g+16>>2]=c[u+16>>2];c[g+20>>2]=c[u+20>>2];if((fc(b)|0)==1)v=+Nd(e,g);else{if(!(+ph(Dc(b)|0,0)>0.0)){w=8;break}x=+Od(e,g);do if(!a)if(x>0.0){y=+h[p>>3];z=+h[q>>3];if(!(y>z))if(y>3];y=+h[d>>3];if(!(z>y))if(!(z>>1&1)+(C&1)+(C>>>2&1)+(C>>>3&1)|0)==1){if(!(k&1))D=10;else{u=pf(e,C,g,1)|0;D=(u|0)<10?u:10}if(!(k&2))E=D;else{u=pf(e,C,g,2)|0;E=(u|0)<(D|0)?u:D}if(!(k&4))F=E;else{u=pf(e,C,g,4)|0;F=(u|0)<(E|0)?u:E}if(!(k&8))B=F;else{u=pf(e,C,g,8)|0;B=(u|0)<(F|0)?u:F}}else B=0}else B=0;else B=(+h[o>>3]-+h[p>>3]!=0.0?+h[g>>3]-+h[e>>3]!=0.0:0)&1;while(0);v=x+ +(B|0)*+ph(Dc(b)|0,0)}y=v+ +h[(c[n>>2]|0)+(s<<3)>>3];r=y>2]|0;if(s>>>0>=(c[j>>2]|0)-t>>2>>>0){w=4;break}}if((w|0)==4){l=f;return +r}else if((w|0)==8)ta(13958,13879,794,14014);return +(0.0)}function rf(a){a=a|0;var b=0,d=0,e=0;b=Wy(60)|0;d=b;e=d+60|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[a>>2]=b;return}function sf(a){a=a|0;var b=0;b=c[a>>2]|0;if(!b)return;tf(b);Yy(b);return}function tf(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+4|0;d=c[b>>2]|0;e=c[a>>2]|0;if((d|0)!=(e|0)){f=0;g=e;e=d;while(1){d=c[g+(f<<2)>>2]|0;if(!d){h=g;i=e}else{Zy(d);h=c[a>>2]|0;i=c[b>>2]|0}f=f+1|0;if(f>>>0>=i-h>>2>>>0)break;else{g=h;e=i}}}i=c[a+48>>2]|0;if(i|0){e=a+52|0;h=c[e>>2]|0;if((h|0)!=(i|0))c[e>>2]=h+(~((h+-8-i|0)>>>3)<<3);Yy(i)}i=c[a+36>>2]|0;if(i|0){h=a+40|0;e=c[h>>2]|0;if((e|0)!=(i|0))c[h>>2]=e+(~((e+-4-i|0)>>>2)<<2);Yy(i)}i=c[a+24>>2]|0;if(i|0){e=a+28|0;h=c[e>>2]|0;if((h|0)!=(i|0))c[e>>2]=h+(~((h+-4-i|0)>>>2)<<2);Yy(i)}i=c[a>>2]|0;if(!i)return;a=c[b>>2]|0;if((a|0)!=(i|0))c[b>>2]=a+(~((a+-4-i|0)>>>2)<<2);Yy(i);return}function uf(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;vf(c[a>>2]|0,b,d,e,f);return}function vf(d,e,f,g,i){d=d|0;e=e|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,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.0,ha=0.0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,bb=0.0,cb=0,eb=0,fb=0,hb=0,ib=0,jb=0.0,kb=0.0,mb=0,nb=0.0,ob=0,pb=0.0,qb=0,rb=0.0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0;j=l;l=l+224|0;k=j+56|0;m=j+192|0;n=j+184|0;o=j+176|0;p=j+48|0;q=j+128|0;r=j+40|0;s=j+180|0;t=j+116|0;u=j+104|0;v=j;w=j+100|0;x=j+132|0;c[s>>2]=g;y=(fc(e)|0)==2;z=(i|0)==0?f:i;i=g;if(wg(Dc(e)|0)|0){A=wg(Dc(e)|0)|0;gb[c[(c[A>>2]|0)+16>>2]&0](A,z,g)}if(((y?(A=b[g+10>>1]|0,(b[4627]&A)<<16>>16):0)?(b[4629]&A)<<16>>16==0:0)?(A=g+16|0,B=c[g+76>>2]|0,D=g+72|0,E=B,(E|0)!=(D|0)):0){F=b[4628]|0;G=B;B=E;do{E=We(c[G+8>>2]|0,g)|0;if((F&b[E+10>>1])<<16>>16){H=c[E+76>>2]|0;I=E+72|0;J=H;if((J|0)!=(I|0)){K=H;H=J;do{J=We(c[K+8>>2]|0,E)|0;if((J|0)!=(g|0)?!(ce(J+16|0,A)|0):0)wf(d,0.0,0,E,J,0);K=c[H+4>>2]|0;H=K}while((H|0)!=(I|0))}}else wf(d,0.0,0,g,E,0);G=c[B+4>>2]|0;B=G}while((B|0)!=(D|0))}D=d+24|0;B=c[D>>2]|0;G=d+28|0;if((B|0)==(c[G>>2]|0)){if((B|0)==(c[d+32>>2]|0))jc(D,s);else{c[B>>2]=i;c[G>>2]=(c[G>>2]|0)+4}c[k>>2]=15;i=d+40|0;B=c[i>>2]|0;if((B|0)==(c[d+44>>2]|0))xf(d+36|0,k);else{c[B>>2]=15;c[i>>2]=B+4}h[k>>3]=0.0;B=d+52|0;i=c[B>>2]|0;if((i|0)==(c[d+56>>2]|0))yf(d+48|0,k);else{h[i>>3]=0.0;c[B>>2]=i+8}}i=y?2:1;c[t>>2]=0;B=t+4|0;c[B>>2]=0;c[t+8>>2]=0;if(y){Rc(k,e);g=k+4|0;yc(t,c[k>>2]|0,c[g>>2]|0);A=c[k>>2]|0;if(A|0){F=c[g>>2]|0;if((F|0)!=(A|0))c[g>>2]=F+(~(((F+-24-A|0)>>>0)/24|0)*24|0);Yy(A)}A=c[B>>2]|0;F=(c[s>>2]|0)+16|0;if((A|0)==(c[t+8>>2]|0)){L=F;M=35}else{c[A>>2]=c[F>>2];c[A+4>>2]=c[F+4>>2];c[A+8>>2]=c[F+8>>2];c[A+12>>2]=c[F+12>>2];c[A+16>>2]=c[F+16>>2];c[A+20>>2]=c[F+20>>2];c[B>>2]=A+24}}else{L=(c[s>>2]|0)+16|0;M=35}if((M|0)==35)Oc(t,L);c[u>>2]=0;L=u+4|0;c[L>>2]=0;c[u+8>>2]=0;A=u+8|0;F=Wy(4e3)|0;g=F;c[u>>2]=g;c[L>>2]=g;c[A>>2]=F+4e3;c[v>>2]=0;F=v+8|0;g=v+36|0;c[F>>2]=0;c[F+4>>2]=0;c[F+8>>2]=0;c[F+12>>2]=0;c[F+16>>2]=0;c[F+20>>2]=0;c[F+24>>2]=0;c[g>>2]=-1;c[w>>2]=0;I=Dc(e)|0;H=I+144|0;K=(z|0)==(f|0);do if(!(K|(a[H>>0]|0)==0)){if(!(a[I+139>>0]|0))ta(14036,13879,1084,14066);J=rc(e)|0;if(z){N=b[4627]|0;O=I+100|0;P=k+4|0;Q=v+4|0;R=f+16|0;S=v+16|0;T=v+24|0;U=d+16|0;V=d+12|0;W=d+4|0;X=d+8|0;Y=d+20|0;Z=v+32|0;_=1;$=0;aa=0;ba=0;ca=0;da=c[w>>2]|0;while(1){ea=lb[c[(c[J>>2]|0)+24>>2]&15](J,aa)|0;Fh(m,c[ea+16>>2]|0,b[ea+20>>1]|0,(aa|0)>0?0:N);ea=$;$=ei(O,m)|0;if(!$){M=42;break}fa=_;_=_+1|0;c[P>>2]=0;c[P+4>>2]=0;c[P+8>>2]=0;c[P+12>>2]=0;c[P+16>>2]=0;c[P+20>>2]=0;c[P+24>>2]=0;c[v>>2]=$;c[Q>>2]=c[k>>2];c[Q+4>>2]=c[k+4>>2];c[Q+8>>2]=c[k+8>>2];c[Q+12>>2]=c[k+12>>2];c[Q+16>>2]=c[k+16>>2];c[Q+20>>2]=c[k+20>>2];c[Q+24>>2]=c[k+24>>2];c[Q+28>>2]=c[k+28>>2];c[g>>2]=fa;if(!ea){c[v>>2]=f;h[F>>3]=0.0;ga=+qf(d,e,0,R);h[S>>3]=ga;h[T>>3]=ga+ +h[F>>3]}else{ga=+ab[i&3]((c[ba>>2]|0)+16|0,$+16|0);ha=+h[ba+8>>3];h[F>>3]=ha+ +zf(e,ga,c[ba>>2]|0,c[v>>2]|0,c[ba+32>>2]|0);ga=+qf(d,e,(c[ba>>2]|0)+16|0,(c[v>>2]|0)+16|0);h[S>>3]=ga;h[T>>3]=ga+ +h[F>>3];c[Z>>2]=ca}ea=($|0)==(z|0);if(ea){M=56;break}fa=c[U>>2]|0;if((fa+1|0)>>>0<=(c[V>>2]|0)>>>0?(ia=c[Y>>2]|0,ia>>>0<=4999):0){ja=fa;ka=ia}else{ia=Xy(2e5)|0;fa=ia+2e5|0;la=ia;do{c[la>>2]=0;ma=la+8|0;c[ma>>2]=0;c[ma+4>>2]=0;c[ma+8>>2]=0;c[ma+12>>2]=0;c[ma+16>>2]=0;c[ma+20>>2]=0;c[ma+24>>2]=0;c[la+36>>2]=-1;la=la+40|0}while((la|0)!=(fa|0));c[k>>2]=ia;fa=c[W>>2]|0;if((fa|0)==(c[X>>2]|0))Af(d,k);else{c[fa>>2]=ia;c[W>>2]=(c[W>>2]|0)+4}fa=c[V>>2]|0;c[V>>2]=fa+1;c[Y>>2]=0;c[U>>2]=fa;ja=fa;ka=0}fa=c[(c[d>>2]|0)+(ja<<2)>>2]|0;c[Y>>2]=ka+1;ba=fa+(ka*40|0)|0;na=ba;oa=v;pa=na+40|0;do{c[na>>2]=c[oa>>2];na=na+4|0;oa=oa+4|0}while((na|0)<(pa|0));qa=ba;ia=c[ba>>2]|0;fa=ia+132|0;la=Wy(12)|0;c[la+8>>2]=qa;c[la+4>>2]=fa;ma=c[fa>>2]|0;c[la>>2]=ma;c[ma+4>>2]=la;c[fa>>2]=la;la=ia+140|0;c[la>>2]=(c[la>>2]|0)+1;if(ea){M=74;break}else{aa=aa+1|0;ca=qa;da=qa}}if((M|0)==42){c[w>>2]=da;ta(14073,13879,1099,14066)}else if((M|0)==56){c[w>>2]=da;ca=Bf(d,v,1)|0;c[k>>2]=ca;aa=c[L>>2]|0;if((aa|0)==(c[A>>2]|0))Af(u,k);else{c[aa>>2]=ca;c[L>>2]=(c[L>>2]|0)+4}ra=_;break}else if((M|0)==74){c[w>>2]=qa;ra=_;break}}else ra=1}else{ca=c[z+104>>2]|0;aa=ca;if(!ca){sa=1;ua=0}else{ba=m+4|0;c[ba>>2]=0;c[ba+4>>2]=0;c[ba+8>>2]=0;c[ba+12>>2]=0;c[ba+16>>2]=0;c[ba+20>>2]=0;c[ba+24>>2]=0;ba=d+16|0;Y=c[ba>>2]|0;U=d+12|0;if((Y+1|0)>>>0<=(c[U>>2]|0)>>>0?(V=d+20|0,W=c[V>>2]|0,W>>>0<=4999):0){va=V;wa=Y;xa=W}else{W=Xy(2e5)|0;Y=W+2e5|0;V=W;do{c[V>>2]=0;X=V+8|0;c[X>>2]=0;c[X+4>>2]=0;c[X+8>>2]=0;c[X+12>>2]=0;c[X+16>>2]=0;c[X+20>>2]=0;c[X+24>>2]=0;c[V+36>>2]=-1;V=V+40|0}while((V|0)!=(Y|0));c[k>>2]=W;Y=d+4|0;V=c[Y>>2]|0;if((V|0)==(c[d+8>>2]|0))Af(d,k);else{c[V>>2]=W;c[Y>>2]=(c[Y>>2]|0)+4}Y=c[U>>2]|0;c[U>>2]=Y+1;V=d+20|0;c[V>>2]=0;c[ba>>2]=Y;va=V;wa=Y;xa=0}Y=c[(c[d>>2]|0)+(wa<<2)>>2]|0;c[va>>2]=xa+1;V=Y+(xa*40|0)|0;c[V>>2]=aa;_=V+4|0;c[_>>2]=c[m>>2];c[_+4>>2]=c[m+4>>2];c[_+8>>2]=c[m+8>>2];c[_+12>>2]=c[m+12>>2];c[_+16>>2]=c[m+16>>2];c[_+20>>2]=c[m+20>>2];c[_+24>>2]=c[m+24>>2];c[_+28>>2]=c[m+28>>2];c[Y+(xa*40|0)+36>>2]=1;Y=V;c[w>>2]=Y;V=ca+132|0;_=Wy(12)|0;c[_+8>>2]=Y;c[_+4>>2]=V;da=c[V>>2]|0;c[_>>2]=da;c[da+4>>2]=_;c[V>>2]=_;_=ca+140|0;c[_>>2]=(c[_>>2]|0)+1;sa=2;ua=Y}Y=k+4|0;c[Y>>2]=0;c[Y+4>>2]=0;c[Y+8>>2]=0;c[Y+12>>2]=0;c[Y+16>>2]=0;c[Y+20>>2]=0;c[Y+24>>2]=0;c[v>>2]=f;Y=v+4|0;c[Y>>2]=c[k>>2];c[Y+4>>2]=c[k+4>>2];c[Y+8>>2]=c[k+8>>2];c[Y+12>>2]=c[k+12>>2];c[Y+16>>2]=c[k+16>>2];c[Y+20>>2]=c[k+20>>2];c[Y+24>>2]=c[k+24>>2];c[Y+28>>2]=c[k+28>>2];c[g>>2]=sa;h[F>>3]=0.0;ga=+qf(d,e,0,f+16|0);h[v+16>>3]=ga;h[v+24>>3]=ga+ +h[F>>3];c[v+32>>2]=ua;Y=Bf(d,v,1)|0;c[k>>2]=Y;_=c[L>>2]|0;if((_|0)==(c[A>>2]|0))Af(u,k);else{c[_>>2]=Y;c[L>>2]=(c[L>>2]|0)+4}ra=sa+1|0}while(0);c[(c[s>>2]|0)+104>>2]=0;sa=c[u>>2]|0;ua=c[L>>2]|0;xa=sa;va=ua-xa|0;wa=va>>2;z=ua;if((va|0)>4){va=(wa+-2|0)/2|0;while(1){c[o>>2]=xa;c[p>>2]=ua;c[q>>2]=sa+(va<<2);c[n>>2]=c[o>>2];c[m>>2]=c[p>>2];c[k>>2]=c[q>>2];Cf(n,m,r,wa,k);if((va|0)>0)va=va+-1|0;else break}ya=c[u>>2]|0;za=c[L>>2]|0}else{ya=sa;za=z}a:do if((ya|0)!=(za|0)){z=k+4|0;sa=v+4|0;va=v+32|0;wa=b[4628]|0;ua=b[4627]|0;xa=f+16|0;qa=v+16|0;ka=v+24|0;ja=b[4630]|0;i=b[4629]|0;Y=x+32|0;_=x+20|0;V=x+8|0;da=k+32|0;X=k+20|0;$=k+8|0;Z=k+12|0;T=k+24|0;S=k+36|0;R=x+12|0;Q=x+24|0;P=x+36|0;O=k+16|0;N=k+8|0;J=ra;E=ya;while(1){la=c[E>>2]|0;c[w>>2]=la;ia=c[la>>2]|0;if(wg(I)|0){me(k);if(la|0){fa=la;do{ma=(c[fa>>2]|0)+16|0;Aa=c[Z>>2]|0;if((Aa|0)==(c[O>>2]|0))Oc(N,ma);else{c[Aa>>2]=c[ma>>2];c[Aa+4>>2]=c[ma+4>>2];c[Aa+8>>2]=c[ma+8>>2];c[Aa+12>>2]=c[ma+12>>2];c[Aa+16>>2]=c[ma+16>>2];c[Aa+20>>2]=c[ma+20>>2];c[Z>>2]=(c[Z>>2]|0)+24}fa=c[fa+32>>2]|0}while((fa|0)!=0)}fa=wg(I)|0;ea=c[(c[fa>>2]|0)+20>>2]|0;Gb(x,k);db[ea&63](fa,x);c[x>>2]=1624;fa=c[Y>>2]|0;if(fa|0){ea=c[P>>2]|0;if((ea|0)!=(fa|0))c[P>>2]=ea+(~((ea+-32-fa|0)>>>5)<<5);Yy(fa)}fa=c[_>>2]|0;if(fa|0){if((c[Q>>2]|0)!=(fa|0))c[Q>>2]=fa;Yy(fa)}fa=c[V>>2]|0;if(fa|0){ea=c[R>>2]|0;if((ea|0)!=(fa|0))c[R>>2]=ea+(~(((ea+-24-fa|0)>>>0)/24|0)*24|0);Yy(fa)}c[k>>2]=1624;fa=c[da>>2]|0;if(fa|0){ea=c[S>>2]|0;if((ea|0)!=(fa|0))c[S>>2]=ea+(~((ea+-32-fa|0)>>>5)<<5);Yy(fa)}fa=c[X>>2]|0;if(fa|0){if((c[T>>2]|0)!=(fa|0))c[T>>2]=fa;Yy(fa)}fa=c[$>>2]|0;if(fa|0){ea=c[Z>>2]|0;if((ea|0)!=(fa|0))c[Z>>2]=ea+(~(((ea+-24-fa|0)>>>0)/24|0)*24|0);Yy(fa)}}fa=ia+144|0;ea=ia+148|0;while(1){Ba=c[ea>>2]|0;Ca=Ba;if((Ca|0)==(fa|0))break;ea=Ca+4|0;if((c[Ba+8>>2]|0)==(la|0)){M=116;break}}if((M|0)==116){M=0;la=c[Ca>>2]|0;c[la+4>>2]=c[ea>>2];c[c[ea>>2]>>2]=la;la=ia+152|0;c[la>>2]=(c[la>>2]|0)+-1;Yy(Ba)}la=c[u>>2]|0;fa=c[L>>2]|0;ma=fa-la|0;if((ma|0)>4){Aa=la;Da=fa+-4|0;Ea=c[Aa>>2]|0;c[Aa>>2]=c[Da>>2];c[Da>>2]=Ea;c[o>>2]=la;c[p>>2]=Da;c[q>>2]=la;c[n>>2]=c[o>>2];c[m>>2]=c[p>>2];c[k>>2]=c[q>>2];Cf(n,m,r,(ma>>>2)+-1|0,k);Fa=c[L>>2]|0}else Fa=fa;c[L>>2]=Fa+-4;fa=ia+132|0;ma=Wy(12)|0;la=c[w>>2]|0;c[ma+8>>2]=la;c[ma+4>>2]=fa;Da=c[fa>>2]|0;c[ma>>2]=Da;c[Da+4>>2]=ma;c[fa>>2]=ma;ma=ia+140|0;c[ma>>2]=(c[ma>>2]|0)+1;Ga=la;Ha=c[Ga+32>>2]|0;Ia=(Ha|0)==0;if(Ia)Ja=0;else Ja=c[Ha>>2]|0;if((ia|0)==(c[s>>2]|0))break;la=y?ia+72|0:ia+56|0;if(y){c[p>>2]=Ja;ma=la+4|0;c[n>>2]=c[ma>>2];c[o>>2]=la;fa=c[la+8>>2]|0;c[m>>2]=c[n>>2];c[k>>2]=c[o>>2];Df(m,k,fa,p)|0;Ka=la;La=ma}else{Ka=la;La=la+4|0}la=c[La>>2]|0;ma=la;if((ma|0)==(Ka|0))Ma=J;else{fa=ia+16|0;Da=ia+24|0;Ea=ia+156|0;Aa=J;Na=la;la=ma;while(1){ma=Na+8|0;b:do if(Ee(c[ma>>2]|0)|0)Oa=Aa;else{Pa=We(c[ma>>2]|0,ia)|0;Qa=Aa+1|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=0;c[z+12>>2]=0;c[z+16>>2]=0;c[z+20>>2]=0;c[z+24>>2]=0;c[v>>2]=Pa;c[sa>>2]=c[k>>2];c[sa+4>>2]=c[k+4>>2];c[sa+8>>2]=c[k+8>>2];c[sa+12>>2]=c[k+12>>2];c[sa+16>>2]=c[k+16>>2];c[sa+20>>2]=c[k+20>>2];c[sa+24>>2]=c[k+24>>2];c[g>>2]=Aa;Ra=c[w>>2]|0;c[va>>2]=Ra;Sa=Ra;Ra=Sa+32|0;Ta=c[Ra>>2]|0;if(Ta){Ua=c[Ta>>2]|0;Ta=(Ua|0)!=0;if(Ta&(Ua|0)==(Pa|0)){Oa=Qa;break}else{Va=Ua;Wa=Ta}}else{Va=0;Wa=0}Ta=b[Pa+10>>1]|0;do if((wa&Ta)<<16>>16!=0&(i&Ta)<<16>>16==0){if((ia|0)==(pc(e)|0)?(ja&b[(pc(e)|0)+10>>1])<<16>>16:0)break;Ua=c[v>>2]|0;if(!(Sh(Ua,qc(e)|0,y)|0)){Oa=Qa;break b}if(!((ja&b[(qc(e)|0)+10>>1])<<16>>16)){Oa=Qa;break b}}else if(!((ua&Ta)<<16>>16==0?1:(Pa|0)==(c[s>>2]|0))){Oa=Qa;break b}while(0);c:do if(y){if(Ve(c[ma>>2]|0)|0)break;Pa=c[v>>2]|0;d:do if(Wa){ga=+h[fa>>3];Ta=+h[Va+16>>3]!=ga;Ua=+h[Va+24>>3]!=+h[Da>>3];Xa=Pa+16|0;if(Ua|(ga!=+h[Xa>>3]|Ta^1)){Ya=Ua;Za=Ta;_a=Xa;break}ga=+h[(ge(fa,1)|0)>>3];if(!(ga!=+h[(ge(xa,1)|0)>>3])){Ya=Ua;Za=Ta;_a=Xa;break}ga=+h[Pa+24>>3];ha=+h[Da>>3];if(ga>2]&16|0){Ya=Ua;Za=Ta;_a=Xa;break}if((c[B>>2]|0)==(c[t>>2]|0)){Oa=Qa;break b}else $a=0;while(1){bb=+h[(he(fa,0)|0)>>3];if(bb==+h[(he((c[t>>2]|0)+($a*24|0)|0,0)|0)>>3]){Ya=Ua;Za=Ta;_a=Xa;break d}$a=$a+1|0;if($a>>>0>=(((c[B>>2]|0)-(c[t>>2]|0)|0)/24|0)>>>0){Oa=Qa;break b}}}if(!(ga>ha)){Ya=Ua;Za=Ta;_a=Xa;break}if(c[Ea>>2]&64|0){Ya=Ua;Za=Ta;_a=Xa;break}if((c[B>>2]|0)==(c[t>>2]|0)){Oa=Qa;break b}else cb=0;while(1){bb=+h[(he(fa,0)|0)>>3];if(bb==+h[(he((c[t>>2]|0)+(cb*24|0)|0,0)|0)>>3]){Ya=Ua;Za=Ta;_a=Xa;break d}cb=cb+1|0;if(cb>>>0>=(((c[B>>2]|0)-(c[t>>2]|0)|0)/24|0)>>>0){Oa=Qa;break b}}}else{Ya=0;Za=0;_a=Pa+16|0}while(0);if(Za|(+h[Da>>3]!=+h[Pa+24>>3]|Ya^1))break;ha=+h[(ge(fa,0)|0)>>3];if(!(ha!=+h[(ge(xa,0)|0)>>3]))break;ha=+h[_a>>3];ga=+h[fa>>3];if(ha>2]&1|0)break;if((c[B>>2]|0)==(c[t>>2]|0)){Oa=Qa;break b}else eb=0;while(1){bb=+h[(he(fa,1)|0)>>3];if(bb==+h[(he((c[t>>2]|0)+(eb*24|0)|0,1)|0)>>3])break c;eb=eb+1|0;if(eb>>>0>=(((c[B>>2]|0)-(c[t>>2]|0)|0)/24|0)>>>0){Oa=Qa;break b}}}if(!(ha>ga))break;if(c[Ea>>2]&4|0)break;if((c[B>>2]|0)==(c[t>>2]|0)){Oa=Qa;break b}else fb=0;while(1){bb=+h[(he(fa,1)|0)>>3];if(bb==+h[(he((c[t>>2]|0)+(fb*24|0)|0,1)|0)>>3])break c;fb=fb+1|0;if(fb>>>0>=(((c[B>>2]|0)-(c[t>>2]|0)|0)/24|0)>>>0){Oa=Qa;break b}}}while(0);ga=+h[(c[ma>>2]|0)+56>>3];if(ga==0.0){Oa=Qa;break}do if(!y){if(!(K|(a[H>>0]|0)==0))break;if(!(Fc(Va,ia,c[v>>2]|0)|0)){Oa=Qa;break b}}while(0);Pa=c[G>>2]|0;Xa=c[D>>2]|0;Ta=Xa;e:do if((Pa|0)==(Xa|0))M=176;else{Ua=c[Sa>>2]|0;hb=Pa-Xa>>2;ib=0;while(1){if((Ua|0)==(c[Ta+(ib<<2)>>2]|0))break;ib=ib+1|0;if(ib>>>0>=hb>>>0){M=176;break e}}hb=c[v>>2]|0;if(!((hb|0)==(c[s>>2]|0)?1:(wa&b[hb+10>>1])<<16>>16!=0)){M=176;break}ha=+h[Sa+8>>3];h[F>>3]=ha;h[qa>>3]=0.0;jb=0.0;kb=ha;mb=hb}while(0);if((M|0)==176){M=0;Ta=c[v>>2]|0;if((Ta|0)==(c[s>>2]|0)){nb=0.0;ob=Ta}else{ha=+qf(d,e,fa,Ta+16|0);nb=ha;ob=c[v>>2]|0}h[qa>>3]=nb;ha=+h[Sa+8>>3];if(!((ja&b[ob+10>>1])<<16>>16)){bb=ha+ +zf(e,ga,ia,ob,c[Ra>>2]|0);pb=+h[qa>>3];qb=c[v>>2]|0;rb=bb}else{pb=nb;qb=ob;rb=ha}h[F>>3]=rb;jb=pb;kb=rb;mb=qb}h[ka>>3]=kb+jb;Ta=mb+144|0;Xa=c[mb+148>>2]|0;Pa=Xa;f:do if((Pa|0)!=(Ta|0)){hb=c[va>>2]|0;ib=Xa;Ua=Pa;while(1){sb=c[ib+8>>2]|0;tb=c[sb+32>>2]|0;if((mb|0)==(c[sb>>2]|0)){if((hb|0)==(tb|0))break;if((c[hb>>2]|0)==(c[tb>>2]|0))break}ib=c[Ua+4>>2]|0;Ua=ib;if((Ua|0)==(Ta|0))break f}if(!(kb<+h[sb+8>>3])){Oa=Qa;break b}na=sb;oa=v;pa=na+40|0;do{c[na>>2]=c[oa>>2];na=na+4|0;oa=oa+4|0}while((na|0)<(pa|0));Ua=c[u>>2]|0;ib=c[L>>2]|0;hb=Ua;tb=ib-hb|0;ub=tb>>2;if((tb|0)>4){tb=(ub+-2|0)/2|0;while(1){c[o>>2]=hb;c[p>>2]=ib;c[q>>2]=Ua+(tb<<2);c[n>>2]=c[o>>2];c[m>>2]=c[p>>2];c[k>>2]=c[q>>2];Cf(n,m,r,ub,k);if((tb|0)>0)tb=tb+-1|0;else break}}Oa=Qa;break b}while(0);Ta=c[mb+136>>2]|0;Pa=mb+132|0;Xa=Ta;if((Xa|0)!=(Pa|0)){Ra=c[va>>2]|0;Sa=Ta;Ta=Xa;do{Xa=c[Sa+8>>2]|0;tb=c[Xa+32>>2]|0;if(!((tb|0)==0?1:(mb|0)!=(c[Xa>>2]|0))){if((Ra|0)==(tb|0)){Oa=Qa;break b}if((c[Ra>>2]|0)==(c[tb>>2]|0)){Oa=Qa;break b}}Sa=c[Ta+4>>2]|0;Ta=Sa}while((Ta|0)!=(Pa|0))}Pa=Bf(d,v,1)|0;c[k>>2]=Pa;Ta=c[L>>2]|0;if((Ta|0)==(c[A>>2]|0)){Af(u,k);vb=c[L>>2]|0}else{c[Ta>>2]=Pa;Pa=(c[L>>2]|0)+4|0;c[L>>2]=Pa;vb=Pa}Pa=c[u>>2]|0;Ta=vb-Pa|0;Sa=Ta>>2;do if((Ta|0)>4){Ra=(Sa+-2|0)/2|0;tb=Pa+(Ra<<2)|0;Xa=c[tb>>2]|0;ub=vb+-4|0;Ua=c[ub>>2]|0;ga=+h[Xa+24>>3];ha=+h[Ua+24>>3];ib=Xa;hb=Ua;if(+C(+(ga-ha))>1.0e-07){if(!(ga>ha))break}else if((c[Xa+36>>2]|0)>=(c[Ua+36>>2]|0))break;c[ub>>2]=ib;g:do if((Sa+-1|0)>>>0<3)wb=tb;else{ib=Ua+36|0;ub=Ra;Xa=tb;while(1){xb=ub;ub=(ub+-1|0)/2|0;yb=Pa+(ub<<2)|0;zb=c[yb>>2]|0;ga=+h[zb+24>>3];Ab=zb;if(+C(+(ga-ha))>1.0e-07){if(!(ga>ha)){wb=Xa;break g}}else if((c[zb+36>>2]|0)>=(c[ib>>2]|0)){wb=Xa;break g}c[Xa>>2]=Ab;if(xb>>>0<3){wb=yb;break}else Xa=yb}}while(0);c[wb>>2]=hb}while(0);Oa=Qa}while(0);Na=c[la+4>>2]|0;la=Na;if((la|0)==(Ka|0)){Ma=Oa;break}else Aa=Oa}}E=c[u>>2]|0;if((E|0)==(c[L>>2]|0))break a;else J=Ma}if(!Ia){J=Ga;E=Ha;while(1){c[(c[J>>2]|0)+104>>2]=c[E>>2];va=c[E+32>>2]|0;if(!va)break;else{ka=E;E=va;J=ka}}}}while(0);Ha=I+100|0;I=ai(Ha)|0;Ga=fi(Ha)|0;if((Ga|0)!=(I|0)){Ha=Ga;do{Ga=Ha+132|0;Ia=Ha+140|0;if(c[Ia>>2]|0?(Ma=c[Ha+136>>2]|0,Oa=(c[Ga>>2]|0)+4|0,Ka=c[Ma>>2]|0,c[Ka+4>>2]=c[Oa>>2],c[c[Oa>>2]>>2]=Ka,c[Ia>>2]=0,(Ma|0)!=(Ga|0)):0){Ia=Ma;do{Ma=Ia;Ia=c[Ia+4>>2]|0;Yy(Ma)}while((Ia|0)!=(Ga|0))}Ga=Ha+144|0;Ia=Ha+152|0;if(c[Ia>>2]|0?(Ma=c[Ha+148>>2]|0,Ka=(c[Ga>>2]|0)+4|0,Oa=c[Ma>>2]|0,c[Oa+4>>2]=c[Ka>>2],c[c[Ka>>2]>>2]=Oa,c[Ia>>2]=0,(Ma|0)!=(Ga|0)):0){Ia=Ma;do{Ma=Ia;Ia=c[Ia+4>>2]|0;Yy(Ma)}while((Ia|0)!=(Ga|0))}Ha=c[Ha+44>>2]|0}while((Ha|0)!=(I|0))}I=c[u>>2]|0;if(I|0){u=c[L>>2]|0;if((u|0)!=(I|0))c[L>>2]=u+(~((u+-4-I|0)>>>2)<<2);Yy(I)}I=c[t>>2]|0;if(!I){l=j;return}t=c[B>>2]|0;if((t|0)!=(I|0))c[B>>2]=t+(~(((t+-24-I|0)>>>0)/24|0)*24|0);Yy(I);l=j;return}function wf(a,b,d,e,f,g){a=a|0;b=+b;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0.0,o=0,p=0;g=l;l=l+48|0;d=g+36|0;i=g+8|0;j=g+32|0;k=g;c[d>>2]=f;m=f+16|0;c[i>>2]=c[m>>2];c[i+4>>2]=c[m+4>>2];c[i+8>>2]=c[m+8>>2];c[i+12>>2]=c[m+12>>2];c[i+16>>2]=c[m+16>>2];c[i+20>>2]=c[m+20>>2];m=e+16|0;b=+h[e+24>>3];n=+h[i+8>>3];e=f;if(!(b>n))if(b>3];b=+h[i>>3];if(!(n>b))if(n>2]=p;if(((p>>>1&1)+(p&1)+(p>>>2&1)|0)==(0-(p>>>3&1)|0))ta(14208,13879,936,14248);h[k>>3]=+Od(i,m);m=a+28|0;i=c[m>>2]|0;if((i|0)==(c[a+32>>2]|0))jc(a+24|0,d);else{c[i>>2]=e;c[m>>2]=(c[m>>2]|0)+4}m=a+40|0;e=c[m>>2]|0;if((e|0)==(c[a+44>>2]|0))xf(a+36|0,j);else{c[e>>2]=c[j>>2];c[m>>2]=e+4}e=a+52|0;m=c[e>>2]|0;if((m|0)==(c[a+56>>2]|0)){yf(a+48|0,k);l=g;return}else{h[m>>3]=+h[k>>3];c[e>>2]=m+8;l=g;return}}function xf(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function yf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>3;i=g+1|0;if(i>>>0>536870911)rx(a);j=a+8|0;k=(c[j>>2]|0)-e|0;l=k>>2;m=k>>3>>>0<268435455?(l>>>0>>0?i:l):536870911;do if(m)if(m>>>0>536870911){l=ua(8)|0;bz(l,20621);c[l>>2]=9140;Qa(l|0,1496,99)}else{n=Wy(m<<3)|0;break}else n=0;while(0);l=n+(g<<3)|0;h[l>>3]=+h[b>>3];b=l+(0-g<<3)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=l+8;c[j>>2]=n+(m<<3);if(!e)return;Yy(e);return}function zf(b,d,e,f,g){b=b|0;d=+d;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=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,A=0,B=0.0,D=0.0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0.0,X=0,Y=0,Z=0,_=0.0,$=0,aa=0,ba=0.0,ca=0.0,da=0.0,ea=0.0;i=l;l=l+208|0;j=i+112|0;k=i+64|0;m=i+156|0;n=i;o=(fc(b)|0)==2;if(!g)p=0;else p=c[g>>2]|0;me(m);q=c[e>>2]|0;do if((p|0)!=0?(r=+ph(q,1),s=+ph(q,0),r>0.0|s>0.0):0){t=+h[p+16>>3];u=+h[p+24>>3];v=+h[e+16>>3];w=+h[e+24>>3];x=+h[f+16>>3];y=+h[f+24>>3];if(!(v==t&w==u)?!(v==x&w==y):0){be(j,t-v,u-w);be(k,x-v,y-w);w=+h[j>>3];y=+h[j+8>>3];v=+h[k>>3];x=+h[k+8>>3];z=+C(+(+L(+(w*x-y*v),+(w*v+y*x))))}else z=3.141592653589793;x=3.141592653589793-z;A=x>0.0;if(o|A^1)B=d;else{y=x*10.0/3.141592653589793;B=r*(y*+tp(y+1.0)/10.5)+d}if(x==3.141592653589793){D=s*2.0+B;break}if(A)D=s+B;else D=B}else D=d;while(0);d=+ph(q,3);a:do if((a[q+138>>0]|0)!=0?d>0.0&(c[q+36>>2]|0)!=0:0){if(Xd(m)|0)Ef(m,e,f,g);p=c[q+32>>2]|0;A=q+28|0;E=p;if((E|0)!=(A|0)){F=j+32|0;G=j+20|0;H=j+8|0;I=j+12|0;J=j+24|0;K=j+36|0;M=q+100|0;N=n+12|0;O=n+24|0;P=k+32|0;Q=k+20|0;R=k+8|0;S=k+12|0;T=k+24|0;U=k+36|0;B=D;V=p;p=E;b:while(1){E=c[V+8>>2]|0;if(o)Gb(j,li(E)|0);else ne(j,ki(E)|0);if((Yd(j)|0)>>>0<3)W=B;else{E=c[H>>2]|0;X=(Yd(j)|0)+-1|0;if(!(de(E,(c[H>>2]|0)+(X*24|0)|0)|0)){Y=27;break}c:do if(o){X=0;while(1)if(X>>>0<(Yd(j)|0)>>>0)X=X+1|0;else break}else{X=0;while(1){if(X>>>0>=(Yd(j)|0)>>>0)break c;if(!(gi(M,_d(j,X)|0)|0)){Y=31;break b}else X=X+1|0}}while(0);Gb(k,m);X=(qc(b)|0)==(f|0);fd(n,j,0,k,0,0);a[N>>0]=1;gd(n,(Yd(m)|0)+-1|0,X);X=c[O>>2]|0;c[k>>2]=1624;E=c[P>>2]|0;if(E|0){Z=c[U>>2]|0;if((Z|0)!=(E|0))c[U>>2]=Z+(~((Z+-32-E|0)>>>5)<<5);Yy(E)}E=c[Q>>2]|0;if(E|0){if((c[T>>2]|0)!=(E|0))c[T>>2]=E;Yy(E)}E=c[R>>2]|0;if(E|0){Z=c[S>>2]|0;if((Z|0)!=(E|0))c[S>>2]=Z+(~(((Z+-24-E|0)>>>0)/24|0)*24|0);Yy(E)}W=B+d*+(X>>>0)}c[j>>2]=1624;X=c[F>>2]|0;if(X|0){E=c[K>>2]|0;if((E|0)!=(X|0))c[K>>2]=E+(~((E+-32-X|0)>>>5)<<5);Yy(X)}X=c[G>>2]|0;if(X|0){if((c[J>>2]|0)!=(X|0))c[J>>2]=X;Yy(X)}X=c[H>>2]|0;if(X|0){E=c[I>>2]|0;if((E|0)!=(X|0))c[I>>2]=E+(~(((E+-24-X|0)>>>0)/24|0)*24|0);Yy(X)}V=c[p+4>>2]|0;p=V;if((p|0)==(A|0)){_=W;break a}else B=W}if((Y|0)==27)ta(14084,13879,378,14138);else if((Y|0)==31)ta(14143,13879,384,14138)}else _=D}else _=D;while(0);D=+ph(q,8);if(D!=0.0){Y=pc(b)|0;o=qc(b)|0;W=+h[o+16>>3]-+h[Y+16>>3];A=W>0.0?1:(W<0.0)<<31>>31;W=+h[o+24>>3]-+h[Y+24>>3];Y=W>0.0?1:(W<0.0)<<31>>31;if(!A)$=0;else{W=+h[f+16>>3]-+h[e+16>>3];$=((W>0.0?1:(W<0.0)<<31>>31)|0)==(0-A|0)}if(!Y)aa=$;else{W=+h[f+24>>3]-+h[e+24>>3];aa=$|((W>0.0?1:(W<0.0)<<31>>31)|0)==(0-Y|0)}ba=aa?_+D:_}else ba=_;if(th(q)|0?(_=+ph(q,2),D=+ph(q,4),_>0.0|D>0.0):0){if(Xd(m)|0)Ef(m,e,f,g);g=q+16|0;e=c[q+20>>2]|0;aa=e;if((aa|0)!=(g|0)){Y=f+16|0;f=n+12|0;$=n+28|0;A=n+24|0;o=k+32|0;p=k+20|0;V=k+8|0;I=j+32|0;H=j+20|0;J=j+8|0;G=j+12|0;K=j+24|0;F=j+36|0;S=k+12|0;R=k+24|0;T=k+36|0;W=ba;Q=e;e=aa;while(1){aa=c[Q+8>>2]|0;U=nc(aa)|0;if((U|0)==(nc(b)|0))ca=W;else{Gb(j,Cc(aa)|0);Gb(k,m);U=ce(Y,(qc(b)|0)+16|0)|0;fd(n,j,1,k,aa,b);a[f>>0]=1;gd(n,(Yd(m)|0)+-1|0,U);do if((c[$>>2]&10|0)==10){if(!(oh(q,2)|0)?c[$>>2]&4|0:0){da=W;break}da=D+W}else da=W;while(0);d=da+_*+((c[A>>2]|0)>>>0);c[k>>2]=1624;U=c[o>>2]|0;if(U|0){aa=c[T>>2]|0;if((aa|0)!=(U|0))c[T>>2]=aa+(~((aa+-32-U|0)>>>5)<<5);Yy(U)}U=c[p>>2]|0;if(U|0){if((c[R>>2]|0)!=(U|0))c[R>>2]=U;Yy(U)}U=c[V>>2]|0;if(U|0){aa=c[S>>2]|0;if((aa|0)!=(U|0))c[S>>2]=aa+(~(((aa+-24-U|0)>>>0)/24|0)*24|0);Yy(U)}c[j>>2]=1624;U=c[I>>2]|0;if(U|0){aa=c[F>>2]|0;if((aa|0)!=(U|0))c[F>>2]=aa+(~((aa+-32-U|0)>>>5)<<5);Yy(U)}U=c[H>>2]|0;if(U|0){if((c[K>>2]|0)!=(U|0))c[K>>2]=U;Yy(U)}U=c[J>>2]|0;if(U|0){aa=c[G>>2]|0;if((aa|0)!=(U|0))c[G>>2]=aa+(~(((aa+-24-U|0)>>>0)/24|0)*24|0);Yy(U)}ca=d}Q=c[e+4>>2]|0;e=Q;if((e|0)==(g|0)){ea=ca;break}else W=ca}}else ea=ba}else ea=ba;c[m>>2]=1624;g=c[m+32>>2]|0;if(g|0){e=m+36|0;Q=c[e>>2]|0;if((Q|0)!=(g|0))c[e>>2]=Q+(~((Q+-32-g|0)>>>5)<<5);Yy(g)}g=c[m+20>>2]|0;if(g|0){Q=m+24|0;if((c[Q>>2]|0)!=(g|0))c[Q>>2]=g;Yy(g)}g=c[m+8>>2]|0;if(!g){l=i;return +ea}Q=m+12|0;m=c[Q>>2]|0;if((m|0)!=(g|0))c[Q>>2]=m+(~(((m+-24-g|0)>>>0)/24|0)*24|0);Yy(g);l=i;return +ea}function Af(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function Bf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;e=l;l=l+16|0;f=e;g=a+16|0;h=c[g>>2]|0;i=a+12|0;if((h+1|0)>>>0<=(c[i>>2]|0)>>>0?(j=a+20|0,k=c[j>>2]|0,k>>>0<=4999):0){m=j;n=h;o=k}else{k=Xy(2e5)|0;h=k+2e5|0;j=k;do{c[j>>2]=0;p=j+8|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;c[p+20>>2]=0;c[p+24>>2]=0;c[j+36>>2]=-1;j=j+40|0}while((j|0)!=(h|0));c[f>>2]=k;h=a+4|0;j=c[h>>2]|0;if((j|0)==(c[a+8>>2]|0))Af(a,f);else{c[j>>2]=k;c[h>>2]=(c[h>>2]|0)+4}h=c[i>>2]|0;c[i>>2]=h+1;i=a+20|0;c[i>>2]=0;c[g>>2]=h;m=i;n=h;o=0}h=c[(c[a>>2]|0)+(n<<2)>>2]|0;c[m>>2]=o+1;m=h+(o*40|0)|0;o=m;h=b;n=o+40|0;do{c[o>>2]=c[h>>2];o=o+4|0;h=h+4|0}while((o|0)<(n|0));if(!d){l=e;return m|0}d=c[b>>2]|0;b=d+144|0;h=Wy(12)|0;c[h+8>>2]=m;c[h+4>>2]=b;o=c[b>>2]|0;c[h>>2]=o;c[o+4>>2]=h;c[b>>2]=h;h=d+152|0;c[h>>2]=(c[h>>2]|0)+1;l=e;return m|0}function Cf(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0.0,y=0,z=0;d=c[f>>2]|0;b=c[a>>2]|0;g=d-b|0;i=d;j=d;if((e|0)<2)return;d=(e+-2|0)/2|0;if((d|0)<(g>>2|0))return;k=g>>1|1;g=b+(k<<2)|0;b=g;l=k+1|0;do if((l|0)<(e|0)){m=c[g>>2]|0;n=g+4|0;o=c[n>>2]|0;p=+h[m+24>>3];q=+h[o+24>>3];if(+C(+(p-q))>1.0e-07){if(!(p>q)){r=k;s=b;break}}else if((c[m+36>>2]|0)>=(c[o+36>>2]|0)){r=k;s=b;break}r=l;s=n}else{r=k;s=b}while(0);b=c[s>>2]|0;k=c[i>>2]|0;q=+h[b+24>>3];p=+h[k+24>>3];if(+C(+(q-p))>1.0e-07){if(q>p)return}else if((c[b+36>>2]|0)<(c[k+36>>2]|0))return;k=c[j>>2]|0;b=s;c[j>>2]=c[b>>2];c[f>>2]=s;a:do if((d|0)<(r|0))t=b;else{s=k;p=+h[s+24>>3];j=s+36|0;s=c[a>>2]|0;i=r;l=b;while(1){g=i<<1|1;n=s+(g<<2)|0;o=n;m=g+1|0;do if((m|0)<(e|0)){u=c[n>>2]|0;v=n+4|0;w=c[v>>2]|0;q=+h[u+24>>3];x=+h[w+24>>3];if(+C(+(q-x))>1.0e-07){if(!(q>x)){y=g;z=o;break}}else if((c[u+36>>2]|0)>=(c[w+36>>2]|0)){y=g;z=o;break}y=m;z=v}else{y=g;z=o}while(0);o=c[z>>2]|0;x=+h[o+24>>3];if(+C(+(x-p))>1.0e-07){if(x>p){t=l;break a}}else if((c[o+36>>2]|0)<(c[j>>2]|0)){t=l;break a}o=z;c[l>>2]=c[o>>2];c[f>>2]=z;if((d|0)<(y|0)){t=o;break}else{i=y;l=o}}}while(0);c[t>>2]=k;return}function Df(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;f=l;l=l+32|0;g=f+20|0;h=f+16|0;i=f+12|0;j=f+8|0;k=f+4|0;m=f;switch(d|0){case 1:case 0:{n=c[a>>2]|0;l=f;return n|0}case 2:{o=c[c[b>>2]>>2]|0;c[b>>2]=o;p=c[o+8>>2]|0;q=c[a>>2]|0;r=c[q+8>>2]|0;s=o;if(Ue(p)|0?Ue(r)|0:0){if(!(ye(p,c[e>>2]|0,r)|0)){n=q;l=f;return n|0}}else t=6;if((t|0)==6?p>>>0>=r>>>0:0){n=q;l=f;return n|0}r=s+4|0;p=c[s>>2]|0;c[p+4>>2]=c[r>>2];c[c[r>>2]>>2]=p;p=c[q>>2]|0;c[p+4>>2]=s;c[s>>2]=p;c[q>>2]=s;c[r>>2]=q;n=c[b>>2]|0;l=f;return n|0}default:{q=d>>>1;r=c[a>>2]|0;s=r;if(!q)u=r;else{p=q;o=r;while(1){r=c[o+4>>2]|0;if((p|0)>1){p=p+-1|0;o=r}else{u=r;break}}}o=u;c[i>>2]=s;c[j>>2]=o;c[h>>2]=c[i>>2];c[g>>2]=c[j>>2];j=Df(h,g,q,e)|0;c[a>>2]=j;c[k>>2]=o;o=c[b>>2]|0;c[m>>2]=o;c[h>>2]=c[k>>2];c[g>>2]=c[m>>2];m=Df(h,g,d-q|0,e)|0;q=m;d=c[m+8>>2]|0;g=j+8|0;h=c[g>>2]|0;k=o;if(Ue(d)|0?Ue(h)|0:0)if(ye(d,c[e>>2]|0,h)|0)t=14;else t=22;else if(d>>>0>>0)t=14;else t=22;if((t|0)==14){h=c[m+4>>2]|0;d=h;a:do if((d|0)==(k|0)){v=k;w=h}else{o=h;i=d;while(1){s=c[o+8>>2]|0;u=c[g>>2]|0;if(Ue(s)|0?Ue(u)|0:0){if(!(ye(s,c[e>>2]|0,u)|0)){v=i;w=o;break a}}else t=19;if((t|0)==19?(t=0,s>>>0>=u>>>0):0){v=i;w=o;break a}u=c[i+4>>2]|0;i=u;if((i|0)==(k|0)){v=k;w=u;break}else o=u}}while(0);g=c[v>>2]|0;v=g+4|0;d=c[m>>2]|0;c[d+4>>2]=c[v>>2];c[c[v>>2]>>2]=d;d=c[j+4>>2]|0;h=c[j>>2]|0;c[h+4>>2]=m;c[m>>2]=h;c[j>>2]=g;c[v>>2]=j;x=d;y=w;z=m}else if((t|0)==22){x=c[j+4>>2]|0;y=q;z=j}c[a>>2]=x;j=x;q=y;if((j|0)==(q|0)){n=z;l=f;return n|0}m=x;x=k;k=y;w=y;y=q;q=j;b:while(1){j=k;d=k+8|0;if((j|0)==(x|0)){n=z;t=39;break}else{A=m;B=q}while(1){C=A;v=c[d>>2]|0;g=c[C+8>>2]|0;if(Ue(v)|0?Ue(g)|0:0){if(ye(v,c[e>>2]|0,g)|0)break}else t=29;if((t|0)==29?(t=0,v>>>0>>0):0)break;A=c[B+4>>2]|0;c[a>>2]=A;g=A;if((g|0)==(y|0)?1:(j|0)==(c[b>>2]|0)){n=z;t=39;break b}else B=g}d=c[j+4>>2]|0;g=d;v=c[b>>2]|0;c:do if((g|0)==(v|0)){D=g;E=g;F=d}else{h=C+8|0;o=d;i=g;while(1){u=c[o+8>>2]|0;s=c[h>>2]|0;if(Ue(u)|0?Ue(s)|0:0){if(!(ye(u,c[e>>2]|0,s)|0)){D=i;E=v;F=o;break c}}else t=35;if((t|0)==35?(t=0,u>>>0>=s>>>0):0){D=i;E=v;F=o;break c}s=c[i+4>>2]|0;i=s;if((i|0)==(v|0)){D=v;E=v;F=s;break}else o=s}}while(0);v=c[D>>2]|0;g=v+4|0;d=c[j>>2]|0;c[d+4>>2]=c[g>>2];c[c[g>>2]>>2]=d;m=c[B+4>>2]|0;w=(y|0)==(j|0)?F:w;d=c[B>>2]|0;c[d+4>>2]=j;c[j>>2]=d;c[B>>2]=v;c[g>>2]=B;c[a>>2]=m;q=m;y=w;if((q|0)==(y|0)){n=z;t=39;break}else{x=E;k=F}}if((t|0)==39){l=f;return n|0}}}return 0}function Ef(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=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.0,w=0.0,x=0.0,y=0,z=0,A=0,B=0;g=(f|0)==0;if(g)i=2;else{j=2;k=f;while(1){l=j+1|0;k=c[k+32>>2]|0;if(!k){i=l;break}else j=l}}j=a+8|0;k=a+12|0;l=c[k>>2]|0;m=c[j>>2]|0;n=(l-m|0)/24|0;o=m;m=l;if(i>>>0<=n>>>0)if(i>>>0>>0?(l=o+(i*24|0)|0,(m|0)!=(l|0)):0){c[k>>2]=m+(~(((m+-24-l|0)>>>0)/24|0)*24|0);p=o}else p=o;else{Pc(j,i-n|0);p=c[j>>2]|0}n=e+16|0;e=p+((i+-1|0)*24|0)|0;c[e>>2]=c[n>>2];c[e+4>>2]=c[n+4>>2];c[e+8>>2]=c[n+8>>2];c[e+12>>2]=c[n+12>>2];c[e+16>>2]=c[n+16>>2];b[e+20>>1]=b[n+20>>1]|0;n=d+16|0;d=(c[j>>2]|0)+((i+-2|0)*24|0)|0;c[d>>2]=c[n>>2];c[d+4>>2]=c[n+4>>2];c[d+8>>2]=c[n+8>>2];c[d+12>>2]=c[n+12>>2];c[d+16>>2]=c[n+16>>2];b[d+20>>1]=b[n+20>>1]|0;n=i+-3|0;a:do if(g)q=n;else{d=b[4628]|0;e=f;p=n;while(1){o=c[e>>2]|0;l=(d&b[o+10>>1])<<16>>16==0;if((e|0)!=(f|0)){m=o+16|0;r=p+1|0;s=c[j>>2]|0;t=s+(r*24|0)|0;u=p+2|0;v=+h[m>>3];w=+h[o+24>>3];x=(+h[t>>3]-v)*(+h[s+(u*24|0)+8>>3]-w)-(+h[s+(r*24|0)+8>>3]-w)*(+h[s+(u*24|0)>>3]-v);if(!(x<-0.0)&!(x>0.0)){c[t>>2]=c[m>>2];c[t+4>>2]=c[m+4>>2];c[t+8>>2]=c[m+8>>2];c[t+12>>2]=c[m+12>>2];c[t+16>>2]=c[m+16>>2];b[t+20>>1]=b[m+20>>1]|0;y=p}else{z=m;A=s;B=13}}else{z=o+16|0;A=c[j>>2]|0;B=13}if((B|0)==13){B=0;o=A+(p*24|0)|0;c[o>>2]=c[z>>2];c[o+4>>2]=c[z+4>>2];c[o+8>>2]=c[z+8>>2];c[o+12>>2]=c[z+12>>2];c[o+16>>2]=c[z+16>>2];b[o+20>>1]=b[z+20>>1]|0;y=p+-1|0}if(!l){q=y;break a}e=c[e+32>>2]|0;if(!e){q=y;break}else p=y}}while(0);y=q+1|0;if((q|0)<=-1)return;if((y|0)<(i|0)){q=y;do{z=c[j>>2]|0;A=z+(q*24|0)|0;B=z+((q-y|0)*24|0)|0;c[B>>2]=c[A>>2];c[B+4>>2]=c[A+4>>2];c[B+8>>2]=c[A+8>>2];c[B+12>>2]=c[A+12>>2];c[B+16>>2]=c[A+16>>2];b[B+20>>1]=b[A+20>>1]|0;q=q+1|0}while((q|0)!=(i|0))}i=(fb[c[(c[a>>2]|0)+16>>2]&127](a)|0)-y|0;y=c[k>>2]|0;a=c[j>>2]|0;q=(y-a|0)/24|0;A=y;if(i>>>0>q>>>0){Pc(j,i-q|0);return}if(i>>>0>=q>>>0)return;q=a+(i*24|0)|0;if((A|0)==(q|0))return;c[k>>2]=A+(~(((A+-24-q|0)>>>0)/24|0)*24|0);return}function Ff(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;c[b>>2]=1720;if(a[b+56>>0]|0)ta(14274,14292,78,14305);d=b+64|0;e=c[d>>2]|0;if(!e)ta(14315,14292,79,14305);else{f=e;g=e}while(1){e=f;f=c[f+52>>2]|0;if(!e)h=g;else{Qh(e);Yy(e);h=c[d>>2]|0}if((f|0)==(h|0))break;else g=h}c[b+68>>2]=0;c[d>>2]=0;d=b+84|0;h=b+92|0;if(c[h>>2]|0)do{g=c[(c[d>>2]|0)+16>>2]|0;f=(g|0)==0;do{}while(f);Tb(g);Yy(g)}while((c[h>>2]|0)!=0);Hf(d,c[b+88>>2]|0);Ob(b+72|0,c[b+76>>2]|0);c[b+12>>2]=1624;d=c[b+44>>2]|0;if(d|0){h=b+48|0;f=c[h>>2]|0;if((f|0)!=(d|0))c[h>>2]=f+(~((f+-32-d|0)>>>5)<<5);Yy(d)}d=c[b+32>>2]|0;if(d|0){f=b+36|0;if((c[f>>2]|0)!=(d|0))c[f>>2]=d;Yy(d)}d=c[b+20>>2]|0;if(!d)return;f=b+24|0;b=c[f>>2]|0;if((b|0)!=(d|0))c[f>>2]=b+(~(((b+-24-d|0)>>>0)/24|0)*24|0);Yy(d);return}function Gf(a){a=a|0;Ff(a);Yy(a);return}function Hf(a,b){a=a|0;b=b|0;if(!b)return;else{Hf(a,c[b>>2]|0);Hf(a,c[b+4>>2]|0);Yy(b);return}}function If(){Fh(27872,0,0,0);Fh(27880,0,0,b[4624]|0);return}function Jf(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;g=l;l=l+64|0;h=g+48|0;i=g;c[b>>2]=1720;j=b+4|0;c[j>>2]=d;d=b+12|0;Gb(d,e);a[b+56>>0]=0;c[b+60>>2]=0;e=b+64|0;c[e>>2]=0;k=b+68|0;c[k>>2]=0;c[b+76>>2]=0;c[b+80>>2]=0;c[b+72>>2]=b+76;c[b+88>>2]=0;c[b+92>>2]=0;c[b+84>>2]=b+88;m=c[j>>2]|0;if(!m)ta(17587,14292,41,14352);n=mh(m,f)|0;c[b+8>>2]=n;Fh(h,n,0,0);if(Xd(d)|0)ta(14361,14292,279,14380);n=c[j>>2]|0;if(!n)ta(14395,14292,280,14380);pe(i,d,+ph(n,6));n=i+8|0;d=0;b=0;while(1){if(d>>>0>=(Yd(i)|0)>>>0)break;f=Wy(160)|0;Oh(f,c[j>>2]|0,h,(c[n>>2]|0)+(d*24|0)|0,0);if(!(c[e>>2]|0))o=e;else{c[f+48>>2]=b;o=b+52|0}c[o>>2]=f;Kh(h,0)|0;d=d+1|0;b=f}c[k>>2]=b;k=c[e>>2]|0;c[b+52>>2]=k;c[k+48>>2]=b;c[i>>2]=1624;b=c[i+32>>2]|0;if(b|0){k=i+36|0;e=c[k>>2]|0;if((e|0)!=(b|0))c[k>>2]=e+(~((e+-32-b|0)>>>5)<<5);Yy(b)}b=c[i+20>>2]|0;if(b|0){e=i+24|0;if((c[e>>2]|0)!=(b|0))c[e>>2]=b;Yy(b)}b=c[n>>2]|0;if(!b){l=g;return}n=i+12|0;i=c[n>>2]|0;if((i|0)!=(b|0))c[n>>2]=i+(~(((i+-24-b|0)>>>0)/24|0)*24|0);Yy(b);l=g;return}function Kf(a,b){a=a|0;b=b|0;var d=0,e=0;d=b+12|0;if(Xd(d)|0)ta(14361,14292,279,14380);e=c[b+4>>2]|0;if(!e)ta(14395,14292,280,14380);else{pe(a,d,+ph(e,6));return}}function Lf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;d=l;l=l+48|0;e=d;f=a+64|0;if(!(c[f>>2]|0))ta(14315,14292,102,14404);g=a+12|0;h=Yd(g)|0;if((h|0)!=(fb[c[(c[b>>2]|0)+16>>2]&127](b)|0))ta(14415,14292,103,14404);c[a+16>>2]=c[b+4>>2];if((g|0)!=(b|0)){yc(a+20|0,c[b+8>>2]|0,c[b+12>>2]|0);zc(a+32|0,c[b+20>>2]|0,c[b+24>>2]|0);Ac(a+44|0,c[b+32>>2]|0,c[b+36>>2]|0)}if(Xd(g)|0)ta(14361,14292,279,14380);b=c[a+4>>2]|0;if(!b)ta(14395,14292,280,14380);pe(e,g,+ph(b,6));b=e+8|0;h=f;i=0;while(1){j=c[h>>2]|0;if(i>>>0>=(Yd(e)|0)>>>0){k=13;break}if(c[j+68>>2]|0){k=15;break}if(c[j+100>>2]|0){k=17;break}Uh(j,(c[b>>2]|0)+(i*24|0)|0);c[j+104>>2]=0;h=j+52|0;i=i+1|0}if((k|0)==13){if((j|0)!=(c[f>>2]|0))ta(14495,14292,120,14404);f=c[a+84>>2]|0;j=a+88|0;if((f|0)!=(j|0)){a=f;while(1){Yb(c[a+16>>2]|0,g);f=c[a+4>>2]|0;if(!f){i=a+8|0;h=c[i>>2]|0;if((c[h>>2]|0)==(a|0))m=h;else{h=i;do{i=c[h>>2]|0;h=i+8|0;n=c[h>>2]|0}while((c[n>>2]|0)!=(i|0));m=n}}else{h=f;while(1){n=c[h>>2]|0;if(!n)break;else h=n}m=h}if((m|0)==(j|0))break;else a=m}}c[e>>2]=1624;m=c[e+32>>2]|0;if(m|0){a=e+36|0;j=c[a>>2]|0;if((j|0)!=(m|0))c[a>>2]=j+(~((j+-32-m|0)>>>5)<<5);Yy(m)}m=c[e+20>>2]|0;if(m|0){j=e+24|0;if((c[j>>2]|0)!=(m|0))c[j>>2]=m;Yy(m)}m=c[b>>2]|0;if(!m){l=d;return}b=e+12|0;e=c[b>>2]|0;if((e|0)!=(m|0))c[b>>2]=e+(~(((e+-24-m|0)>>>0)/24|0)*24|0);Yy(m);l=d;return}else if((k|0)==15)ta(14447,14292,111,14404);else if((k|0)==17)ta(14470,14292,112,14404)}function Mf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=b+56|0;if(a[d>>0]|0)ta(14516,14292,136,14526);e=b+4|0;f=c[e>>2]|0;g=c[f+8>>2]|0;h=Wy(12)|0;c[h>>2]=0;c[h+8>>2]=b;i=c[g>>2]|0;c[i+4>>2]=h;c[h>>2]=i;c[g>>2]=h;c[h+4>>2]=g;g=f+12|0;c[g>>2]=(c[g>>2]|0)+1;c[b+60>>2]=h;h=b+64|0;b=c[h>>2]|0;g=c[b+52>>2]|0;Ph(f+100|0,b);if((g|0)==(c[h>>2]|0)){a[d>>0]=1;return}else j=g;do{g=j;j=c[j+52>>2]|0;Ph((c[e>>2]|0)+100|0,g)}while((j|0)!=(c[h>>2]|0));a[d>>0]=1;return}function Nf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=b+56|0;if(!(a[d>>0]|0))ta(14537,14292,159,14546);e=b+4|0;f=c[e>>2]|0;g=c[b+60>>2]|0;h=g+4|0;i=c[g>>2]|0;c[i+4>>2]=c[h>>2];c[c[h>>2]>>2]=i;i=f+12|0;c[i>>2]=(c[i>>2]|0)+-1;Yy(g);g=b+64|0;i=c[g>>2]|0;do{f=i;i=c[i+52>>2]|0;di((c[e>>2]|0)+100|0,f)|0}while((i|0)!=(c[g>>2]|0));a[d>>0]=0;d=b+80|0;if(!(c[d>>2]|0))return;g=b+72|0;do Ed(c[(c[g>>2]|0)+16>>2]|0,1);while((c[d>>2]|0)!=0);return}function Of(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=c[a+84>>2]|0;d=a+88|0;if((b|0)==(d|0))return;else e=b;while(1){Ub(c[e+16>>2]|0);b=c[e+4>>2]|0;if(!b){a=e+8|0;f=c[a>>2]|0;if((c[f>>2]|0)==(e|0))g=f;else{f=a;do{a=c[f>>2]|0;f=a+8|0;h=c[f>>2]|0}while((c[h>>2]|0)!=(a|0));g=h}}else{f=b;while(1){h=c[f>>2]|0;if(!h)break;else f=h}g=f}if((g|0)==(d|0))break;else e=g}return}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,l=0,m=0;c[b>>2]=0;f=b+4|0;c[f>>2]=0;c[b+8>>2]=0;g=c[d+84>>2]|0;h=d+88|0;if((g|0)==(h|0))return;d=b+8|0;i=g;while(1){g=c[i+16>>2]|0;do if((c[g+12>>2]|0)==(e|0)){if(a[g+44>>0]|0?c[g+64>>2]|0:0)break;j=(c[g+68>>2]|0)+16|0;k=c[f>>2]|0;if((k|0)==(c[d>>2]|0)){Oc(b,j);break}else{c[k>>2]=c[j>>2];c[k+4>>2]=c[j+4>>2];c[k+8>>2]=c[j+8>>2];c[k+12>>2]=c[j+12>>2];c[k+16>>2]=c[j+16>>2];c[k+20>>2]=c[j+20>>2];c[f>>2]=(c[f>>2]|0)+24;break}}while(0);g=c[i+4>>2]|0;if(!g){j=i+8|0;k=c[j>>2]|0;if((c[k>>2]|0)==(i|0))l=k;else{k=j;do{j=c[k>>2]|0;k=j+8|0;m=c[k>>2]|0}while((c[m>>2]|0)!=(j|0));l=m}}else{k=g;while(1){m=c[k>>2]|0;if(!m)break;else k=m}l=k}if((l|0)==(h|0))break;else i=l}return}function Qf(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;d=b;e=a+84|0;f=a+88|0;g=c[f>>2]|0;do if(g){h=a+88|0;i=g;while(1){j=i+16|0;if($b(b,c[j>>2]|0)|0){k=c[i>>2]|0;if(!k){l=6;break}else{m=i;n=k}}else{if(!($b(c[j>>2]|0,b)|0)){l=10;break}o=i+4|0;j=c[o>>2]|0;if(!j){l=9;break}else{m=o;n=j}}h=m;i=n}if((l|0)==6){p=i;q=i;break}else if((l|0)==9){p=o;q=i;break}else if((l|0)==10){p=h;q=i;break}}else{p=f;q=f}while(0);if(c[p>>2]|0){r=a+92|0;s=a+4|0;t=c[s>>2]|0;dh(t,b);u=c[r>>2]|0;return u|0}f=Wy(20)|0;c[f+16>>2]=d;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=q;c[p>>2]=f;q=c[c[e>>2]>>2]|0;if(!q)v=f;else{c[e>>2]=q;v=c[p>>2]|0}kd(c[a+88>>2]|0,v);v=a+92|0;c[v>>2]=(c[v>>2]|0)+1;r=v;s=a+4|0;t=c[s>>2]|0;dh(t,b);u=c[r>>2]|0;return u|0}function Rf(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=b;Sf(a+84|0,e)|0;dh(c[a+4>>2]|0,c[e>>2]|0);l=d;return}function Sf(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;d=a+4|0;e=c[d>>2]|0;if(!e){f=0;return f|0}else{g=d;h=e}a:while(1){e=h;while(1){if(!($b(c[e+16>>2]|0,c[b>>2]|0)|0))break;i=c[e+4>>2]|0;if(!i){j=g;break a}else e=i}h=c[e>>2]|0;if(!h){j=e;break}else g=e}if((j|0)==(d|0)){f=0;return f|0}if($b(c[b>>2]|0,c[j+16>>2]|0)|0){f=0;return f|0}b=c[j+4>>2]|0;if(!b){d=j+8|0;g=c[d>>2]|0;if((c[g>>2]|0)==(j|0))k=g;else{g=d;do{d=c[g>>2]|0;g=d+8|0;h=c[g>>2]|0}while((c[h>>2]|0)!=(d|0));k=h}}else{g=b;while(1){b=c[g>>2]|0;if(!b)break;else g=b}k=g}if((c[a>>2]|0)==(j|0))c[a>>2]=k;k=a+8|0;c[k>>2]=(c[k>>2]|0)+-1;Cd(c[a+4>>2]|0,j);Yy(j);f=1;return f|0}function Tf(b){b=b|0;return (a[b+56>>0]|0)!=0|0}function Uf(a){a=a|0;return c[a+64>>2]|0}function Vf(a){a=a|0;return c[a+68>>2]|0}function Wf(a){a=a|0;return c[a+8>>2]|0}function Xf(a){a=a|0;return c[a+4>>2]|0}function Yf(a,b){a=a|0;b=b|0;var d=0,e=0;d=b+12|0;if(Xd(d)|0)ta(14361,14292,269,14559);e=c[b+4>>2]|0;if(!e)ta(14395,14292,270,14559);else{je(a,d,+ph(e,6));return}}function Zf(a){a=a|0;var b=0,d=0,e=0;b=c[a+64>>2]|0;d=a+68|0;if((b|0)==(c[(c[d>>2]|0)+44>>2]|0))return;else e=b;do{b=e;e=c[e+44>>2]|0;Vh(b,0)}while((e|0)!=(c[(c[d>>2]|0)+44>>2]|0));return}function _f(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;d=b;e=a+72|0;f=a+76|0;g=c[f>>2]|0;do if(g){h=a+76|0;i=g;while(1){j=c[i+16>>2]|0;if(j>>>0>b>>>0){k=c[i>>2]|0;if(!k){l=6;break}else{m=i;n=k}}else{if(j>>>0>=b>>>0){l=10;break}o=i+4|0;j=c[o>>2]|0;if(!j){l=9;break}else{m=o;n=j}}h=m;i=n}if((l|0)==6){p=i;q=i;break}else if((l|0)==9){p=o;q=i;break}else if((l|0)==10){p=h;q=i;break}}else{p=f;q=f}while(0);if(c[p>>2]|0)return;f=Wy(20)|0;c[f+16>>2]=d;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=q;c[p>>2]=f;q=c[c[e>>2]>>2]|0;if(!q)r=f;else{c[e>>2]=q;r=c[p>>2]|0}kd(c[a+76>>2]|0,r);r=a+80|0;c[r>>2]=(c[r>>2]|0)+1;return}function $f(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;d=a+72|0;e=a+76|0;f=c[e>>2]|0;if(!f)return;else{g=e;h=f}a:while(1){i=h;while(1){if((c[i+16>>2]|0)>>>0>=b>>>0)break;j=c[i+4>>2]|0;if(!j){k=g;break a}else i=j}h=c[i>>2]|0;if(!h){k=i;break}else g=i}if((k|0)==(e|0))return;if((c[k+16>>2]|0)>>>0>b>>>0)return;b=c[k+4>>2]|0;if(!b){e=k+8|0;g=c[e>>2]|0;if((c[g>>2]|0)==(k|0))l=g;else{g=e;do{e=c[g>>2]|0;g=e+8|0;h=c[g>>2]|0}while((c[h>>2]|0)!=(e|0));l=h}}else{g=b;while(1){b=c[g>>2]|0;if(!b)break;else g=b}l=g}if((c[d>>2]|0)==(k|0))c[d>>2]=l;l=a+80|0;c[l>>2]=(c[l>>2]|0)+-1;Cd(f,k);Yy(k);return}function ag(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;c[a>>2]=a;c[a+4>>2]=a;d=a+8|0;c[d>>2]=0;e=c[b+72>>2]|0;f=b+76|0;if((e|0)==(f|0))return;b=e;e=a;g=0;while(1){h=(c[b+16>>2]|0)+44|0;if(!(c[h>>2]|0)){i=5;break}j=e;e=Wy(12)|0;c[e+8>>2]=c[h>>2];c[e+4>>2]=a;c[e>>2]=j;c[j+4>>2]=e;c[a>>2]=e;g=g+1|0;c[d>>2]=g;j=c[b+4>>2]|0;if(!j){h=b+8|0;k=c[h>>2]|0;if((c[k>>2]|0)==(b|0))l=k;else{k=h;do{h=c[k>>2]|0;k=h+8|0;m=c[k>>2]|0}while((c[m>>2]|0)!=(h|0));l=m}}else{k=j;while(1){m=c[k>>2]|0;if(!m)break;else k=m}l=k}if((l|0)==(f|0)){i=3;break}else b=l}if((i|0)==3)return;else if((i|0)==5)ta(16231,14292,347,14570)}function bg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;d=l;l=l+16|0;e=d+8|0;f=d;c[b>>2]=1744;g=b+169|0;a[g>>0]=1;h=b+16|0;i=b+20|0;j=c[i>>2]|0;if((j|0)!=(h|0)){k=j;do{j=k+8|0;c[f>>2]=nc(c[j>>2]|0)|0;xc(14589,f);m=c[j>>2]|0;if(m|0){dc(m);Yy(m)}k=c[i>>2]|0}while((k|0)!=(h|0))}k=b+4|0;f=b+8|0;m=c[f>>2]|0;if((m|0)!=(k|0)){j=m;do{m=c[j+8>>2]|0;n=(m|0)==0;if(n)o=0;else o=Pz(m,64,88,0)|0;p=Wf(m)|0;c[e>>2]=o|0?14625:14631;c[e+4>>2]=p;xc(14640,e);if(Tf(m)|0){Zf(m);Nf(m)}if(!n)cb[c[(c[m>>2]|0)+4>>2]&127](m);j=c[f>>2]|0}while((j|0)!=(k|0))}a[g>>0]=0;fg(b);g=b+12|0;if(c[g>>2]|0)ta(14669,14693,141,14704);j=b+24|0;if(c[j>>2]|0)ta(14712,14693,142,14704);e=b+40|0;if(af(e)|0)ta(14733,14693,143,14704);o=c[b+376>>2]|0;if(o|0)cb[c[(c[o>>2]|0)+4>>2]&127](o);gg(b+388|0);hg(b+268|0);o=b+256|0;m=b+264|0;if(c[m>>2]|0?(n=c[b+260>>2]|0,p=(c[o>>2]|0)+4|0,q=c[n>>2]|0,c[q+4>>2]=c[p>>2],c[c[p>>2]>>2]=q,c[m>>2]=0,(n|0)!=(o|0)):0){m=n;do{n=m;m=c[m+4>>2]|0;Yy(n)}while((m|0)!=(o|0))}o=b+152|0;m=b+160|0;if(c[m>>2]|0?(n=c[b+156>>2]|0,q=(c[o>>2]|0)+4|0,p=c[n>>2]|0,c[p+4>>2]=c[q>>2],c[c[q>>2]>>2]=p,c[m>>2]=0,(n|0)!=(o|0)):0){m=n;do{n=m;m=c[m+4>>2]|0;Gk(n+8|0);Yy(n)}while((m|0)!=(o|0))}ig(b+124|0,c[b+128>>2]|0);ig(b+88|0,c[b+92>>2]|0);_e(b+72|0);_e(b+56|0);_e(e);e=b+28|0;o=b+36|0;if(c[o>>2]|0?(m=c[b+32>>2]|0,b=(c[e>>2]|0)+4|0,n=c[m>>2]|0,c[n+4>>2]=c[b>>2],c[c[b>>2]>>2]=n,c[o>>2]=0,(m|0)!=(e|0)):0){o=m;do{m=o;o=c[o+4>>2]|0;Yy(m)}while((o|0)!=(e|0))}if(c[j>>2]|0?(e=c[i>>2]|0,i=(c[h>>2]|0)+4|0,o=c[e>>2]|0,c[o+4>>2]=c[i>>2],c[c[i>>2]>>2]=o,c[j>>2]=0,(e|0)!=(h|0)):0){j=e;do{e=j;j=c[j+4>>2]|0;Yy(e)}while((j|0)!=(h|0))}if(!(c[g>>2]|0)){l=d;return}h=c[f>>2]|0;f=(c[k>>2]|0)+4|0;j=c[h>>2]|0;c[j+4>>2]=c[f>>2];c[c[f>>2]>>2]=j;c[g>>2]=0;if((h|0)==(k|0)){l=d;return}else r=h;do{h=r;r=c[r+4>>2]|0;Yy(h)}while((r|0)!=(k|0));l=d;return}function cg(a){a=a|0;bg(a);Yy(a);return}function dg(a){a=a|0;return (c[a+164>>2]|0)+1|0}function eg(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=+e;return 1}function fg(a){a=a|0;var b=0,d=0,e=0;$e(a+72|0);b=a+100|0;a=bi(b)|0;if(!a)return;else d=a;while(1){if(Rh(d)|0?Hh(d+4|0,27888)|0:0){a=di(b,d)|0;Qh(d);Yy(d);e=a}else e=c[d+44>>2]|0;if(!e)break;else d=e}return}function gg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;b=a+100|0;d=a+108|0;if(c[d>>2]|0?(e=c[a+104>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+88|0;d=a+96|0;if(c[d>>2]|0?(e=c[a+92>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+76|0;d=a+84|0;if(c[d>>2]|0?(e=c[a+80>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+64|0;d=a+72|0;if(c[d>>2]|0?(e=c[a+68>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+52|0;d=a+60|0;if(c[d>>2]|0?(e=c[a+56>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+40|0;d=a+48|0;if(c[d>>2]|0?(e=c[a+44>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}lg(a+28|0,c[a+32>>2]|0);mg(a+16|0,c[a+20>>2]|0);ng(a+4|0,c[a+8>>2]|0);return}function hg(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;b=a+88|0;d=a+96|0;if(c[d>>2]|0?(e=c[a+92>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+76|0;d=c[b>>2]|0;if(d|0){e=a+80|0;g=c[e>>2]|0;if((g|0)==(d|0))h=d;else{f=g;do{g=f+-12|0;c[e>>2]=g;jg(g,c[f+-8>>2]|0);f=c[e>>2]|0}while((f|0)!=(d|0));h=c[b>>2]|0}Yy(h)}h=a+64|0;b=c[h>>2]|0;if(b|0){d=a+68|0;f=c[d>>2]|0;if((f|0)==(b|0))i=b;else{e=f;while(1){f=e+-12|0;c[d>>2]=f;g=e+-4|0;if((c[g>>2]|0)!=0?(j=c[e+-8>>2]|0,k=(c[f>>2]|0)+4|0,l=c[j>>2]|0,c[l+4>>2]=c[k>>2],c[c[k>>2]>>2]=l,c[g>>2]=0,(j|0)!=(f|0)):0){g=j;do{j=g;g=c[g+4>>2]|0;Yy(j)}while((g|0)!=(f|0));m=c[d>>2]|0}else m=f;if((m|0)==(b|0))break;else e=m}i=c[h>>2]|0}Yy(i)}i=a+52|0;h=c[i>>2]|0;if(h|0){m=a+56|0;e=c[m>>2]|0;if((e|0)==(h|0))n=h;else{b=e;while(1){e=b+-12|0;c[m>>2]=e;d=b+-4|0;if((c[d>>2]|0)!=0?(g=c[b+-8>>2]|0,j=(c[e>>2]|0)+4|0,l=c[g>>2]|0,c[l+4>>2]=c[j>>2],c[c[j>>2]>>2]=l,c[d>>2]=0,(g|0)!=(e|0)):0){d=g;do{g=d;d=c[d+4>>2]|0;Yy(g)}while((d|0)!=(e|0));o=c[m>>2]|0}else o=e;if((o|0)==(h|0))break;else b=o}n=c[i>>2]|0}Yy(n)}n=a+40|0;i=c[n>>2]|0;if(i|0){o=a+44|0;b=c[o>>2]|0;if((b|0)==(i|0))p=i;else{h=b;while(1){b=h+-12|0;c[o>>2]=b;m=h+-4|0;if((c[m>>2]|0)!=0?(d=c[h+-8>>2]|0,f=(c[b>>2]|0)+4|0,g=c[d>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[m>>2]=0,(d|0)!=(b|0)):0){m=d;do{d=m;m=c[m+4>>2]|0;Yy(d)}while((m|0)!=(b|0));q=c[o>>2]|0}else q=b;if((q|0)==(i|0))break;else h=q}p=c[n>>2]|0}Yy(p)}p=a+28|0;n=c[p>>2]|0;if(n|0){q=a+32|0;h=c[q>>2]|0;if((h|0)==(n|0))r=n;else{i=h;while(1){h=i+-12|0;c[q>>2]=h;o=i+-4|0;if((c[o>>2]|0)!=0?(m=c[i+-8>>2]|0,e=(c[h>>2]|0)+4|0,d=c[m>>2]|0,c[d+4>>2]=c[e>>2],c[c[e>>2]>>2]=d,c[o>>2]=0,(m|0)!=(h|0)):0){o=m;do{m=o;o=c[o+4>>2]|0;Yy(m)}while((o|0)!=(h|0));s=c[q>>2]|0}else s=h;if((s|0)==(n|0))break;else i=s}r=c[p>>2]|0}Yy(r)}r=c[a+16>>2]|0;if(!r){t=a+4|0;kg(t);return}p=a+20|0;s=c[p>>2]|0;if((s|0)!=(r|0))c[p>>2]=s+(~((s+-4-r|0)>>>2)<<2);Yy(r);t=a+4|0;kg(t);return}function ig(a,b){a=a|0;b=b|0;if(!b)return;else{ig(a,c[b>>2]|0);ig(a,c[b+4>>2]|0);Te(b+24|0,c[b+28>>2]|0);Yy(b);return}}function jg(a,b){a=a|0;b=b|0;if(!b)return;else{jg(a,c[b>>2]|0);jg(a,c[b+4>>2]|0);Yy(b);return}}function kg(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;b=c[a>>2]|0;if(!b)return;d=a+4|0;e=c[d>>2]|0;if((e|0)==(b|0))f=b;else{g=e;while(1){e=g+-12|0;c[d>>2]=e;h=g+-4|0;if((c[h>>2]|0)!=0?(i=c[g+-8>>2]|0,j=(c[e>>2]|0)+4|0,k=c[i>>2]|0,c[k+4>>2]=c[j>>2],c[c[j>>2]>>2]=k,c[h>>2]=0,(i|0)!=(e|0)):0){h=i;do{i=h;h=c[h+4>>2]|0;rd(i+8|0);Yy(i)}while((h|0)!=(e|0));l=c[d>>2]|0}else l=e;if((l|0)==(b|0))break;else g=l}f=c[a>>2]|0}Yy(f);return}function lg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!b)return;lg(a,c[b>>2]|0);lg(a,c[b+4>>2]|0);a=b+20|0;d=b+28|0;if(c[d>>2]|0?(e=c[b+24>>2]|0,f=(c[a>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(a|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(a|0))}Yy(b);return}function mg(a,b){a=a|0;b=b|0;if(!b)return;else{mg(a,c[b>>2]|0);mg(a,c[b+4>>2]|0);Yy(b);return}}function ng(a,b){a=a|0;b=b|0;if(!b)return;else{ng(a,c[b>>2]|0);ng(a,c[b+4>>2]|0);Yy(b);return}}function og(){Fh(27888,0,0,0);Fh(27896,0,0,b[4624]|0);return}function pg(d,e){d=d|0;e=e|0;var f=0,g=0,i=0,j=0;c[d>>2]=1744;f=d+4|0;c[f>>2]=f;c[d+8>>2]=f;c[d+12>>2]=0;f=d+16|0;c[f>>2]=f;c[d+20>>2]=f;c[d+24>>2]=0;f=d+28|0;c[f>>2]=f;c[d+32>>2]=f;c[d+36>>2]=0;Ze(d+40|0,0);Ze(d+56|0,0);Ze(d+72|0,0);c[d+92>>2]=0;c[d+96>>2]=0;c[d+88>>2]=d+92;ci(d+100|0);c[d+128>>2]=0;c[d+132>>2]=0;c[d+124>>2]=d+128;a[d+136>>0]=0;a[d+137>>0]=0;f=d+138|0;b[f>>1]=257;b[f+2>>1]=257;a[f+4>>0]=1;a[d+143>>0]=0;a[d+144>>0]=0;c[d+148>>2]=0;f=d+152|0;c[f>>2]=f;c[d+156>>2]=f;c[d+160>>2]=0;c[d+164>>2]=0;a[d+168>>0]=1;a[d+169>>0]=0;f=d+256|0;c[f>>2]=f;c[d+260>>2]=f;c[d+264>>2]=0;f=d+268|0;wi(f);g=Wy(4)|0;c[g>>2]=1768;c[d+376>>2]=g;g=d+380|0;a[g>>0]=0;i=d+381|0;a[i>>0]=0;a[d+382>>0]=1;a[d+383>>0]=0;a[d+384>>0]=0;j=d+388|0;Ni(j);c[d+508>>2]=0;if(!(e&3))ta(14770,14693,74,14816);if(e&1|0)a[g>>0]=1;if(e&2|0)a[i>>0]=1;i=d+176|0;e=d+184|0;g=e+64|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(g|0));h[i>>3]=10.0;h[d+200>>3]=4.0e3;h[d+232>>3]=4.0;a[d+248>>0]=0;a[d+249>>0]=1;a[d+250>>0]=0;a[d+251>>0]=0;a[d+252>>0]=1;a[d+253>>0]=0;a[d+254>>0]=1;Pi(j,d);xi(f,d);return}function qg(a){a=a|0;return}function rg(a){a=a|0;Yy(a);return}function sg(a){a=a|0;a=Wy(4)|0;c[a>>2]=1768;return a|0}function tg(a,b){a=a|0;b=b|0;return}function ug(a,b){a=a|0;b=b|0;return 0}function vg(a,b){a=a|0;b=b|0;return 0}function wg(a){a=a|0;return c[a+508>>2]|0}function xg(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;h=l;l=l+224|0;i=h+120|0;j=h+56|0;k=h;Ek(i,6,d);d=b+152|0;m=c[b+156>>2]|0;a:do if((m|0)==(d|0)){n=m;o=5}else{p=m;q=m;while(1){if(Mk(q+8|0,i)|0){n=p;o=5;break a}q=c[p+4>>2]|0;p=q;if((p|0)==(d|0)){o=6;break}}}while(0);if((o|0)==5)if((n|0)==(d|0))o=6;else Lk(n+8|0,e,f,g);if((o|0)==6){o=k;g=f;n=o+56|0;do{c[o>>2]=c[g>>2];o=o+4|0;g=g+4|0}while((o|0)<(n|0));c[j>>2]=e;e=j+8|0;o=e;g=f;n=o+56|0;do{c[o>>2]=c[g>>2];o=o+4|0;g=g+4|0}while((o|0)<(n|0));f=i+84|0;m=Wy(72)|0;o=m+8|0;g=j;n=o+64|0;do{c[o>>2]=c[g>>2];o=o+4|0;g=g+4|0}while((o|0)<(n|0));c[m+4>>2]=f;g=c[f>>2]|0;c[m>>2]=g;c[g+4>>2]=m;c[f>>2]=m;m=i+92|0;c[m>>2]=(c[m>>2]|0)+1;rd(e);rd(k);yg(d,i)}if(a[b+168>>0]|0){Gk(i);l=h;return}if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0){Gk(i);l=h;return}if(a[b+137>>0]|0){Gk(i);l=h;return}a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b);Gk(i);l=h;return}function yg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=Wy(104)|0;f=d;g=c[f+4>>2]|0;h=e+8|0;c[h>>2]=c[f>>2];c[h+4>>2]=g;Gb(e+16|0,d+8|0);g=e+64|0;h=d+56|0;c[g>>2]=c[h>>2];c[g+4>>2]=c[h+4>>2];c[g+8>>2]=c[h+8>>2];c[g+12>>2]=c[h+12>>2];c[g+16>>2]=c[h+16>>2];c[g+20>>2]=c[h+20>>2];a[g+24>>0]=a[h+24>>0]|0;bh(e+92|0,d+84|0);c[e+4>>2]=b;d=c[b>>2]|0;c[e>>2]=d;c[d+4>>2]=e;c[b>>2]=e;e=b+8|0;c[e>>2]=(c[e>>2]|0)+1;return}function zg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;d=l;l=l+80|0;e=d+28|0;f=d+24|0;g=d+20|0;h=d+16|0;i=d+4|0;if(!(a[b+143>>0]|0))j=0;else j=(a[b+136>>0]|0)!=0;c[b+368>>2]=Fa()|0;a[b+372>>0]=0;c[i>>2]=i;k=i+4|0;c[k>>2]=i;m=i+8|0;c[m>>2]=0;n=b+152|0;o=b+156|0;c[g>>2]=c[o>>2];c[h>>2]=n;p=b+160|0;q=c[p>>2]|0;c[f>>2]=c[g>>2];c[e>>2]=c[h>>2];Wg(f,e,q,d)|0;q=c[o>>2]|0;f=q;do if((f|0)!=(n|0)){h=b+142|0;g=b+169|0;a:do if(j){r=0;s=q;t=f;while(1){u=s;v=u+8|0;b:do switch(c[v>>2]|0){case 3:case 5:case 0:case 2:{w=Hk(v)|0;x=Ik(v)|0;y=Kk(v)|0;z=c[v>>2]|0;A=a[u+88>>0]|0;B=Wf(w)|0;Zf(w);if(a[h>>0]|0?A<<24>>24!=0|(z|0)!=3^(z|0)==0:0)Xg(b,w);Yg(b,B);c:do switch(z|0){case 0:case 3:{if(x|0){Dh(x,u+16|0);break c}if(y|0)nf(y,u+64|0);break}default:{}}while(0);Nf(w);switch(z|0){case 0:case 3:{C=1;break b;break}default:{}}a[g>>0]=1;y=Wf(w)|0;x=Wy(12)|0;c[x+8>>2]=y;c[x+4>>2]=i;y=c[i>>2]|0;c[x>>2]=y;c[y+4>>2]=x;c[i>>2]=x;c[m>>2]=(c[m>>2]|0)+1;if(w|0)cb[c[(c[w>>2]|0)+4>>2]&127](w);a[g>>0]=0;C=1;break}default:C=r}while(0);s=c[t+4>>2]|0;t=s;if((t|0)==(n|0)){D=C;break a}else r=C}}else{r=0;t=q;s=f;while(1){u=t;v=u+8|0;d:do switch(c[v>>2]|0){case 3:case 5:case 0:case 2:{x=Hk(v)|0;y=Ik(v)|0;B=Kk(v)|0;A=c[v>>2]|0;E=Wf(x)|0;Zf(x);if(a[h>>0]|0)Xg(b,x);Yg(b,E);e:do switch(A|0){case 0:case 3:{if(y|0){Dh(y,u+16|0);break e}if(B|0)nf(B,u+64|0);break}default:{}}while(0);Nf(x);switch(A|0){case 0:case 3:{F=1;break d;break}default:{}}a[g>>0]=1;B=Wf(x)|0;y=Wy(12)|0;c[y+8>>2]=B;c[y+4>>2]=i;B=c[i>>2]|0;c[y>>2]=B;c[B+4>>2]=y;c[i>>2]=y;c[m>>2]=(c[m>>2]|0)+1;if(x|0)cb[c[(c[x>>2]|0)+4>>2]&127](x);a[g>>0]=0;F=1;break}default:F=r}while(0);t=c[s+4>>2]|0;s=t;if((s|0)==(n|0)){D=F;break a}else r=F}}while(0);if(D?a[b+380>>0]|0:0){if(!(a[b+141>>0]|0)){_g(b);break}g=c[o>>2]|0;h=g;f:do if((h|0)!=(n|0)){r=g;s=h;while(1){t=r+8|0;switch(c[t>>2]|0){case 3:case 0:{Zg(b,Wf(Hk(t)|0)|0);break}default:{}}r=c[s+4>>2]|0;s=r;if((s|0)==(n|0))break f}}while(0);h=c[k>>2]|0;g=h;if((g|0)!=(i|0)){s=h;h=g;do{Zg(b,c[s+8>>2]|0);s=c[h+4>>2]|0;h=s}while((h|0)!=(i|0))}}}while(0);D=c[o>>2]|0;F=D;g:do if((F|0)!=(n|0)){f=b+380|0;q=e+32|0;C=e+20|0;h=e+8|0;s=e+12|0;g=e+24|0;r=e+36|0;t=b+140|0;if(j){G=D;H=F}else{u=D;v=F;while(1){y=u;B=y+8|0;switch(c[B>>2]|0){case 3:case 4:case 0:case 1:{w=Hk(B)|0;z=Ik(B)|0;E=Kk(B)|0;I=c[B>>2]|0;B=Wf(w)|0;Mf(w);h:do switch(I|0){case 0:case 3:{if(!z){lf(E,y+64|0);break h}else{Lf(z,y+16|0);break h}break}default:{}}while(0);Kf(e,w);$g(b,e,B);if(a[f>>0]|0){ah(b,e,B);if(!(a[t>>0]|0))ni(w);else oi(w);Of(w)}c[e>>2]=1624;y=c[q>>2]|0;if(y|0){z=c[r>>2]|0;if((z|0)!=(y|0))c[r>>2]=z+(~((z+-32-y|0)>>>5)<<5);Yy(y)}y=c[C>>2]|0;if(y|0){if((c[g>>2]|0)!=(y|0))c[g>>2]=y;Yy(y)}y=c[h>>2]|0;if(y|0){z=c[s>>2]|0;if((z|0)!=(y|0))c[s>>2]=z+(~(((z+-24-y|0)>>>0)/24|0)*24|0);Yy(y)}break}default:{}}u=c[v+4>>2]|0;v=u;if((v|0)==(n|0))break g}}while(1){v=G;u=v+8|0;switch(c[u>>2]|0){case 3:case 4:case 0:case 1:{y=Hk(u)|0;z=Ik(u)|0;E=Kk(u)|0;I=c[u>>2]|0;u=(I|0)==0;J=Wf(y)|0;Mf(y);i:do switch(I|0){case 0:case 3:{if(!z){lf(E,v+64|0);break i}else{Lf(z,v+16|0);break i}break}default:{}}while(0);Kf(e,y);$g(b,e,J);if(a[f>>0]|0){if(u^(I|0)!=3)ah(b,e,J);if(!(a[t>>0]|0))ni(y);else oi(y);Of(y)}c[e>>2]=1624;v=c[q>>2]|0;if(v|0){z=c[r>>2]|0;if((z|0)!=(v|0))c[r>>2]=z+(~((z+-32-v|0)>>>5)<<5);Yy(v)}v=c[C>>2]|0;if(v|0){if((c[g>>2]|0)!=(v|0))c[g>>2]=v;Yy(v)}v=c[h>>2]|0;if(v|0){z=c[s>>2]|0;if((z|0)!=(v|0))c[s>>2]=z+(~(((z+-24-v|0)>>>0)/24|0)*24|0);Yy(v)}break}default:{}}G=c[H+4>>2]|0;H=G;if((H|0)==(n|0))break g}}while(0);H=c[o>>2]|0;G=H;if((G|0)!=(n|0)){e=H;H=G;do{G=e;b=G+8|0;if((c[b>>2]|0)==6?(F=c[G+96>>2]|0,D=G+92|0,G=F,(G|0)!=(D|0)):0){j=F;F=G;do{G=Jk(b)|0;s=j;oc(G,c[s+8>>2]|0,s+16|0);j=c[F+4>>2]|0;F=j}while((F|0)!=(D|0))}e=c[H+4>>2]|0;H=e}while((H|0)!=(n|0))}if(c[p>>2]|0?(H=c[o>>2]|0,o=(c[n>>2]|0)+4|0,e=c[H>>2]|0,c[e+4>>2]=c[o>>2],c[c[o>>2]>>2]=e,c[p>>2]=0,(H|0)!=(n|0)):0){p=H;do{H=p;p=c[p+4>>2]|0;Gk(H+8|0);Yy(H)}while((p|0)!=(n|0))}if(!(c[m>>2]|0)){l=d;return}n=c[k>>2]|0;k=(c[i>>2]|0)+4|0;p=c[n>>2]|0;c[p+4>>2]=c[k>>2];c[c[k>>2]>>2]=p;c[m>>2]=0;if((n|0)==(i|0)){l=d;return}else K=n;do{n=K;K=c[K+4>>2]|0;Yy(n)}while((K|0)!=(i|0));l=d;return}function Ag(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.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;d=l;l=l+160|0;e=d+144|0;f=d+132|0;g=d+72|0;h=d+60|0;i=d;c[e>>2]=e;j=e+4|0;c[j>>2]=e;k=e+8|0;c[k>>2]=0;m=b+16|0;n=c[b+260>>2]|0;o=b+256|0;p=n;if((p|0)!=(o|0)){q=n;n=p;do{p=q;r=c[p+8>>2]|0;if(r|0?(s=p+12|0,a[s>>0]|0):0){a[s>>0]=0;s=r+16|0;a[s>>0]=a[s>>0]|1}q=c[n+4>>2]|0;n=q}while((n|0)!=(o|0))}o=b+382|0;if(a[o>>0]|0){if(a[b+381>>0]|0){fg(b);Pk(b)}a[o>>0]=0}o=b+20|0;n=c[o>>2]|0;q=n;if((q|0)!=(m|0)){s=n;n=q;do{uc(c[s+8>>2]|0);s=c[n+4>>2]|0;n=s}while((n|0)!=(m|0))}n=b+268|0;Ci(f,n);s=c[o>>2]|0;o=s;if((o|0)!=(m|0)){q=b+368|0;t=+((c[b+24>>2]|0)>>>0);r=f+4|0;p=b+372|0;u=0;v=s;s=o;do{o=Fa()|0;if(!(mb[c[(c[b>>2]|0)+12>>2]&7](b,~~(+(o-(c[q>>2]|0)|0)/1.0e3)>>>0,3,8,+(u>>>0)/t)|0))a[p>>0]=1;u=u+1|0;o=c[v+8>>2]|0;w=c[r>>2]|0;x=o;if(w){y=r;z=w;a:while(1){w=z;while(1){if((c[w+16>>2]|0)>>>0>=x>>>0)break;A=c[w+4>>2]|0;if(!A){B=y;break a}else w=A}z=c[w>>2]|0;if(!z){B=w;break}else y=w}if(!((B|0)!=(r|0)?x>>>0>=(c[B+16>>2]|0)>>>0:0))C=24}else C=24;if(((C|0)==24?(C=0,!(Bc(x)|0)):0)?(y=x+16|0,a[y>>0]=a[y>>0]&-5,Hc(x)|0):0){y=Wy(12)|0;c[y+8>>2]=o;c[y+4>>2]=e;z=c[e>>2]|0;c[y>>2]=z;c[z+4>>2]=y;c[e>>2]=y;c[k>>2]=(c[k>>2]|0)+1}v=c[s+4>>2]|0;s=v}while((s|0)!=(m|0))}Ki(n);Bg(b);m=a[b+253>>0]|0;if((m|a[b+249>>0])<<24>>24){s=b+388|0;Oi(s);lj(s,m<<24>>24!=0)}Xl(b);mj(g,b+388|0);m=g+36|0;c[h>>2]=h;s=h+4|0;c[s>>2]=h;v=h+8|0;c[v>>2]=0;B=g+40|0;r=c[B>>2]|0;u=r;if((u|0)!=(m|0)){p=r;r=h;q=0;y=u;do{u=r;r=Wy(12)|0;c[r+8>>2]=c[p+8>>2];c[r+4>>2]=h;c[r>>2]=u;c[u+4>>2]=r;c[h>>2]=r;q=q+1|0;c[v>>2]=q;p=c[y+4>>2]|0;y=p}while((y|0)!=(m|0))}y=g+44|0;p=0;while(1){if(p>>>0>=(yi(n)|0)>>>0)break;zi(i,n,p);Cg(g,i)|0;Dg(i);q=c[s>>2]|0;r=q;b:do if((r|0)!=(h|0)){u=c[B>>2]|0;z=q;A=r;while(1){D=u;if((D|0)==(m|0))break b;E=c[u+8>>2]|0;F=z;G=A;while(1){H=c[F+8>>2]|0;if(E>>>0>>0)break;F=c[G+4>>2]|0;I=F;if((I|0)==(h|0))break b;else G=I}F=c[D+4>>2]|0;E=F;c:do if((E|0)==(m|0)){J=1;K=m;L=F}else{I=1;M=F;N=E;while(1){if((c[M+8>>2]|0)>>>0>=H>>>0){J=I;K=N;L=M;break c}O=c[N+4>>2]|0;P=I+1|0;N=O;if((N|0)==(m|0)){J=P;K=m;L=O;break}else{I=P;M=O}}}while(0);c[v>>2]=(c[v>>2]|0)+J;c[y>>2]=(c[y>>2]|0)-J;E=c[K>>2]|0;F=E+4|0;M=c[D>>2]|0;c[M+4>>2]=c[F>>2];c[c[F>>2]>>2]=M;z=c[G+4>>2]|0;M=c[G>>2]|0;c[M+4>>2]=D;c[D>>2]=M;c[G>>2]=E;c[F>>2]=G;A=z;if((A|0)==(h|0))break;else u=L}}while(0);r=c[y>>2]|0;if(r|0){q=c[B>>2]|0;o=c[m>>2]|0;x=o+4|0;u=c[q>>2]|0;c[u+4>>2]=c[x>>2];c[c[x>>2]>>2]=u;u=c[h>>2]|0;c[u+4>>2]=q;c[q>>2]=u;c[h>>2]=o;c[x>>2]=h;c[v>>2]=(c[v>>2]|0)+r;c[y>>2]=0}p=p+1|0}p=c[j>>2]|0;y=p;if((y|0)!=(e|0)){m=p;p=y;do{y=c[m+8>>2]|0;B=c[s>>2]|0;d:do if((B|0)!=(h|0)){L=y;K=B;J=B;while(1){if((c[J+8>>2]|0)==(L|0))break;J=c[K+4>>2]|0;H=J;if((H|0)==(h|0)){Q=L;C=56;break d}else K=H}if((K|0)==(h|0))C=55}else C=55;while(0);if((C|0)==55){C=0;Q=y;C=56}if((C|0)==56){C=0;B=Q+16|0;a[B>>0]=a[B>>0]|4;Ec(Q)}m=c[p+4>>2]|0;p=m}while((p|0)!=(e|0))}p=Fa()|0;if(!(mb[c[(c[b>>2]|0)+12>>2]&7](b,~~(+(p-(c[b+368>>2]|0)|0)/1.0e3)>>>0,8,8,1.0)|0))a[b+372>>0]=1;if(c[v>>2]|0?(b=c[s>>2]|0,s=(c[h>>2]|0)+4|0,p=c[b>>2]|0,c[p+4>>2]=c[s>>2],c[c[s>>2]>>2]=p,c[v>>2]=0,(b|0)!=(h|0)):0){v=b;do{b=v;v=c[v+4>>2]|0;Yy(b)}while((v|0)!=(h|0))}Dg(g);Eg(f,c[f+4>>2]|0);if(!(c[k>>2]|0)){l=d;return}f=c[j>>2]|0;j=(c[e>>2]|0)+4|0;g=c[f>>2]|0;c[g+4>>2]=c[j>>2];c[c[j>>2]>>2]=g;c[k>>2]=0;if((f|0)==(e|0)){l=d;return}else R=f;do{f=R;R=c[R+4>>2]|0;Yy(f)}while((R|0)!=(e|0));l=d;return}function Bg(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0.0,p=0.0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0.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;d=l;l=l+128|0;e=d+8|0;f=d+116|0;g=d+112|0;i=d+108|0;j=d;k=d+96|0;m=d+84|0;n=d+72|0;o=+h[b+192>>3];p=+h[b+208>>3];if(o==0.0&p==0.0){l=d;return}c[k>>2]=k;q=k+4|0;c[q>>2]=k;r=k+8|0;c[r>>2]=0;s=c[b+24>>2]|0;t=b+383|0;a[t>>0]=1;u=b+16|0;v=c[b+20>>2]|0;w=v;a:do if((w|0)==(u|0))x=26;else{y=b+368|0;z=+(s>>>0);A=b+372|0;B=p>0.0;C=e+28|0;D=b+250|0;E=o>0.0;F=e+24|0;G=E^1;H=0;I=v;J=w;while(1){H=H+1|0;K=Fa()|0;if(!(mb[c[(c[b>>2]|0)+12>>2]&7](b,~~(+(K-(c[y>>2]|0)|0)/1.0e3)>>>0,4,8,+(H>>>0)/z)|0)){x=5;break}if(a[A>>0]|0)break;K=I+8|0;L=vc(c[K>>2]|0)|0;M=J+4|0;if(fb[c[(c[L>>2]|0)+16>>2]&127](L)|0?(N=c[M>>2]|0,O=N,(O|0)!=(u|0)):0){P=N;N=O;do{O=P+8|0;if(!(Hg(k,c[K>>2]|0,c[O>>2]|0)|0)){Q=vc(c[O>>2]|0)|0;fd(e,L,1,Q,c[K>>2]|0,c[O>>2]|0);b:do if(!B)if(E){R=1;while(1){if(R>>>0>=(fb[c[(c[Q>>2]|0)+16>>2]&127](Q)|0)>>>0)break b;S=R;R=R+1|0;gd(e,S,(R|0)==(fb[c[(c[Q>>2]|0)+16>>2]&127](Q)|0));if(c[F>>2]|0){x=23;break}}}else{R=1;while(1){if(R>>>0>=(fb[c[(c[Q>>2]|0)+16>>2]&127](Q)|0)>>>0)break b;S=R+1|0;gd(e,R,(S|0)==(fb[c[(c[Q>>2]|0)+16>>2]&127](Q)|0));R=S}}else{R=1;while(1){if(R>>>0>=(fb[c[(c[Q>>2]|0)+16>>2]&127](Q)|0)>>>0)break b;S=R;R=R+1|0;gd(e,S,(R|0)==(fb[c[(c[Q>>2]|0)+16>>2]&127](Q)|0));S=c[C>>2]|0;if((S&10|0)==10?(S&4|0)==0|(a[D>>0]|0)!=0:0)break;if(!((c[F>>2]|0)==0|G)){x=23;break b}}Ig(k,c[K>>2]|0,c[O>>2]|0)}while(0);if((x|0)==23){x=0;Ig(k,c[K>>2]|0,c[O>>2]|0)}}P=c[N+4>>2]|0;N=P}while((N|0)!=(u|0))}I=c[M>>2]|0;J=I;if((J|0)==(u|0)){x=26;break a}}if((x|0)==5)a[A>>0]=1;a[t>>0]=0}while(0);if((x|0)==26){Jg(m,k);u=m+4|0;w=c[u>>2]|0;v=w;c:do if((v|0)==(m|0))x=46;else{s=n+4|0;J=n+8|0;I=b+368|0;G=b+372|0;F=n;D=1;C=1;E=w;B=v;while(1){H=E;y=c[H+8>>2]|0;N=H+12|0;c[n>>2]=n;c[s>>2]=n;c[J>>2]=0;if((y|0)==(N|0)){T=F;U=0}else{H=y;y=n;P=0;while(1){K=y;y=Wy(24)|0;L=H+16|0;Q=y+8|0;c[Q>>2]=c[L>>2];c[Q+4>>2]=c[L+4>>2];c[Q+8>>2]=c[L+8>>2];c[Q+12>>2]=c[L+12>>2];c[y+4>>2]=n;c[y>>2]=K;c[K+4>>2]=y;c[n>>2]=y;P=P+1|0;c[J>>2]=P;K=c[H+4>>2]|0;if(!K){L=H+8|0;Q=c[L>>2]|0;if((c[Q>>2]|0)==(H|0))V=Q;else{Q=L;do{L=c[Q>>2]|0;Q=L+8|0;R=c[Q>>2]|0}while((c[R>>2]|0)!=(L|0));V=R}}else{Q=K;while(1){O=c[Q>>2]|0;if(!O)break;else Q=O}V=Q}if((V|0)==(N|0))break;else H=V}T=c[s>>2]|0;U=P}c[g>>2]=T;c[i>>2]=n;c[f>>2]=c[g>>2];c[e>>2]=c[i>>2];Kg(f,e,U,j)|0;H=c[s>>2]|0;N=H;if((N|0)==(n|0))W=C;else{y=C;M=H;H=N;while(1){N=c[M+16>>2]|0;K=y+1|0;gc(N);ec(N);uc(N);M=c[H+4>>2]|0;H=M;if((H|0)==(n|0)){W=K;break}else y=K}}y=c[s>>2]|0;H=y;d:do if((H|0)==(n|0)){X=1;Y=D}else{o=+(W>>>0);M=D;P=y;K=H;while(1){N=c[P+16>>2]|0;O=Fa()|0;if(!(mb[c[(c[b>>2]|0)+12>>2]&7](b,~~(+(O-(c[I>>2]|0)|0)/1.0e3)>>>0,5,8,+(M>>>0)/o)|0)){x=57;break}if(a[G>>0]|0)break;O=M+1|0;Hc(N)|0;P=c[K+4>>2]|0;K=P;if((K|0)==(n|0)){X=1;Y=O;break d}else M=O}if((x|0)==57){x=0;a[G>>0]=1}a[t>>0]=0;X=0;Y=M}while(0);if(c[J>>2]|0?(H=c[s>>2]|0,y=(c[n>>2]|0)+4|0,K=c[H>>2]|0,c[K+4>>2]=c[y>>2],c[c[y>>2]>>2]=K,c[J>>2]=0,(H|0)!=(n|0)):0){K=H;do{H=K;K=c[K+4>>2]|0;Yy(H)}while((K|0)!=(n|0))}if(!X)break c;E=c[B+4>>2]|0;B=E;if((B|0)==(m|0)){x=46;break}else{D=Y;C=W}}}while(0);if((x|0)==46)a[t>>0]=0;t=m+8|0;if(c[t>>2]|0?(x=c[u>>2]|0,u=(c[m>>2]|0)+4|0,W=c[x>>2]|0,c[W+4>>2]=c[u>>2],c[c[u>>2]>>2]=W,c[t>>2]=0,(x|0)!=(m|0)):0){t=x;do{x=t;t=c[t+4>>2]|0;Lg(x+8|0,c[x+12>>2]|0);Yy(x)}while((t|0)!=(m|0))}}if(c[r>>2]|0?(m=c[q>>2]|0,q=(c[k>>2]|0)+4|0,t=c[m>>2]|0,c[t+4>>2]=c[q>>2],c[c[q>>2]>>2]=t,c[r>>2]=0,(m|0)!=(k|0)):0){r=m;do{m=r;r=c[r+4>>2]|0;Mg(m+8|0,c[m+12>>2]|0);Yy(m)}while((r|0)!=(k|0))}l=d;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,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;d=l;l=l+32|0;e=d+20|0;f=d+16|0;g=d+12|0;h=d+8|0;i=d+4|0;j=d;k=(a|0)==(b|0);if(k){l=d;return a|0}m=c[b+4>>2]|0;n=m;o=a;p=c[a+4>>2]|0;q=b;a:do if((m|0)==(b|0)){r=p;s=n}else{t=p;u=n;v=m;while(1){w=t;if((w|0)==(a|0)){r=t;s=u;break a}c[t+8>>2]=c[v+8>>2];v=c[u+4>>2]|0;x=c[w+4>>2]|0;if((v|0)==(b|0)){r=x;s=v;break}else{t=x;u=v}}}while(0);m=r;if((m|0)==(a|0)){c[h>>2]=o;c[i>>2]=s;c[j>>2]=q;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Fg(a,g,f,e,0)|0}else{q=(c[a>>2]|0)+4|0;s=c[m>>2]|0;c[s+4>>2]=c[q>>2];c[c[q>>2]>>2]=s;s=a+8|0;q=m;do{m=q;q=c[q+4>>2]|0;c[s>>2]=(c[s>>2]|0)+-1;Yy(m)}while((q|0)!=(a|0))}q=a+12|0;s=b+12|0;if(k){l=d;return a|0}m=c[b+16>>2]|0;o=m;r=q;n=c[a+16>>2]|0;p=s;b:do if((m|0)==(s|0)){y=n;z=o}else{v=n;u=o;t=m;while(1){x=v;if((x|0)==(q|0)){y=v;z=u;break b}c[v+8>>2]=c[t+8>>2];t=c[u+4>>2]|0;w=c[x+4>>2]|0;if((t|0)==(s|0)){y=w;z=t;break}else{v=w;u=t}}}while(0);s=y;if((s|0)==(q|0)){c[h>>2]=r;c[i>>2]=z;c[j>>2]=p;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Gg(q,g,f,e,0)|0}else{p=(c[q>>2]|0)+4|0;z=c[s>>2]|0;c[z+4>>2]=c[p>>2];c[c[p>>2]>>2]=z;z=a+20|0;p=s;do{s=p;p=c[p+4>>2]|0;c[z>>2]=(c[z>>2]|0)+-1;Yy(s)}while((p|0)!=(q|0))}q=a+24|0;p=b+24|0;if(k){l=d;return a|0}z=c[b+28>>2]|0;s=z;r=q;y=c[a+28>>2]|0;m=p;c:do if((z|0)==(p|0)){A=y;B=s}else{o=y;n=s;t=z;while(1){u=o;if((u|0)==(q|0)){A=o;B=n;break c}c[o+8>>2]=c[t+8>>2];t=c[n+4>>2]|0;v=c[u+4>>2]|0;if((t|0)==(p|0)){A=v;B=t;break}else{o=v;n=t}}}while(0);p=A;if((p|0)==(q|0)){c[h>>2]=r;c[i>>2]=B;c[j>>2]=m;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Fg(q,g,f,e,0)|0}else{m=(c[q>>2]|0)+4|0;B=c[p>>2]|0;c[B+4>>2]=c[m>>2];c[c[m>>2]>>2]=B;B=a+32|0;m=p;do{p=m;m=c[m+4>>2]|0;c[B>>2]=(c[B>>2]|0)+-1;Yy(p)}while((m|0)!=(q|0))}q=a+36|0;m=b+36|0;if(k){l=d;return a|0}B=c[b+40>>2]|0;p=B;r=q;A=c[a+40>>2]|0;z=m;d:do if((B|0)==(m|0)){C=A;D=p}else{s=A;y=p;t=B;while(1){n=s;if((n|0)==(q|0)){C=s;D=y;break d}c[s+8>>2]=c[t+8>>2];t=c[y+4>>2]|0;o=c[n+4>>2]|0;if((t|0)==(m|0)){C=o;D=t;break}else{s=o;y=t}}}while(0);m=C;if((m|0)==(q|0)){c[h>>2]=r;c[i>>2]=D;c[j>>2]=z;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Gg(q,g,f,e,0)|0}else{z=(c[q>>2]|0)+4|0;D=c[m>>2]|0;c[D+4>>2]=c[z>>2];c[c[z>>2]>>2]=D;D=a+44|0;z=m;do{m=z;z=c[z+4>>2]|0;c[D>>2]=(c[D>>2]|0)+-1;Yy(m)}while((z|0)!=(q|0))}q=a+48|0;z=b+48|0;if(k){l=d;return a|0}k=c[b+52>>2]|0;b=k;D=q;m=c[a+52>>2]|0;r=z;e:do if((k|0)==(z|0)){E=m;F=b}else{C=m;B=b;p=k;while(1){A=C;if((A|0)==(q|0)){E=C;F=B;break e}c[C+8>>2]=c[p+8>>2];p=c[B+4>>2]|0;t=c[A+4>>2]|0;if((p|0)==(z|0)){E=t;F=p;break}else{C=t;B=p}}}while(0);z=E;if((z|0)==(q|0)){c[h>>2]=D;c[i>>2]=F;c[j>>2]=r;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];Gg(q,g,f,e,0)|0}else{e=(c[q>>2]|0)+4|0;f=c[z>>2]|0;c[f+4>>2]=c[e>>2];c[c[e>>2]>>2]=f;f=a+56|0;e=z;do{z=e;e=c[e+4>>2]|0;c[f>>2]=(c[f>>2]|0)+-1;Yy(z)}while((e|0)!=(q|0))}l=d;return a|0}function Dg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;b=a+48|0;d=a+56|0;if(c[d>>2]|0?(e=c[a+52>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+36|0;d=a+44|0;if(c[d>>2]|0?(e=c[a+40>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+24|0;d=a+32|0;if(c[d>>2]|0?(e=c[a+28>>2]|0,f=(c[b>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+12|0;d=a+20|0;if(c[d>>2]|0?(e=c[a+16>>2]|0,g=(c[b>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[d>>2]=0,(e|0)!=(b|0)):0){d=e;do{e=d;d=c[d+4>>2]|0;Yy(e)}while((d|0)!=(b|0))}b=a+8|0;if(!(c[b>>2]|0))return;d=c[a+4>>2]|0;e=(c[a>>2]|0)+4|0;f=c[d>>2]|0;c[f+4>>2]=c[e>>2];c[c[e>>2]>>2]=f;c[b>>2]=0;if((d|0)==(a|0))return;else h=d;do{d=h;h=c[h+4>>2]|0;Yy(d)}while((h|0)!=(a|0));return}function Eg(a,b){a=a|0;b=b|0;if(!b)return;else{Eg(a,c[b>>2]|0);Eg(a,c[b+4>>2]|0);Yy(b);return}}function Fg(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;f=c[b>>2]|0;b=c[d>>2]|0;g=c[e>>2]|0;e=f;if((b|0)==(g|0)){h=f;i=h;return i|0}f=Wy(12)|0;c[f>>2]=0;c[f+8>>2]=c[b+8>>2];j=f;k=c[b+4>>2]|0;c[d>>2]=k;b=k;if((b|0)==(g|0)){l=1;m=j}else{n=1;o=k;k=j;p=b;while(1){b=Wy(12)|0;c[b+8>>2]=c[o+8>>2];c[k+4>>2]=b;c[b>>2]=k;o=c[p+4>>2]|0;c[d>>2]=o;q=b;b=n+1|0;p=o;if((p|0)==(g|0)){l=b;m=q;break}else{n=b;k=q}}}k=m;m=c[e>>2]|0;c[m+4>>2]=f;c[f>>2]=m;c[e>>2]=k;c[k+4>>2]=e;e=a+8|0;c[e>>2]=(c[e>>2]|0)+l;h=j;i=h;return i|0}function Gg(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;f=c[b>>2]|0;b=c[d>>2]|0;g=c[e>>2]|0;e=f;if((b|0)==(g|0)){h=f;i=h;return i|0}f=Wy(12)|0;c[f>>2]=0;c[f+8>>2]=c[b+8>>2];j=f;k=c[b+4>>2]|0;c[d>>2]=k;b=k;if((b|0)==(g|0)){l=1;m=j}else{n=1;o=k;k=j;p=b;while(1){b=Wy(12)|0;c[b+8>>2]=c[o+8>>2];c[k+4>>2]=b;c[b>>2]=k;o=c[p+4>>2]|0;c[d>>2]=o;q=b;b=n+1|0;p=o;if((p|0)==(g|0)){l=b;m=q;break}else{n=b;k=q}}}k=m;m=c[e>>2]|0;c[m+4>>2]=f;c[f>>2]=m;c[e>>2]=k;c[k+4>>2]=e;e=a+8|0;c[e>>2]=(c[e>>2]|0)+l;h=j;i=h;return i|0}function Hg(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,w=0,x=0,y=0,z=0,A=0;e=b;f=c[a+4>>2]|0;g=f;h=(g|0)==(a|0);a:do if(h)i=9;else{j=f;k=g;while(1){l=c[j+12>>2]|0;if(l|0){m=l;do{l=c[m+16>>2]|0;if(l>>>0>b>>>0)n=m;else{if(l>>>0>=b>>>0){o=j;break a}n=m+4|0}m=c[n>>2]|0}while((m|0)!=0)}j=c[k+4>>2]|0;k=j;if((k|0)==(a|0)){i=9;break}}}while(0);if((i|0)==9)o=a;n=o;b:do if(h)i=18;else{k=f;j=g;while(1){m=c[k+12>>2]|0;if(m|0){l=m;do{m=c[l+16>>2]|0;if(m>>>0>d>>>0)p=l;else{if(m>>>0>=d>>>0){q=k;break b}p=l+4|0}l=c[p>>2]|0}while((l|0)!=0)}k=c[j+4>>2]|0;j=k;if((j|0)==(a|0)){i=18;break}}}while(0);if((i|0)==18)q=a;if((n|0)==(a|0)|(n|0)!=(q|0)){r=0;return r|0}q=o;o=q+8|0;n=c[q+12>>2]|0;if(!n){r=0;return r|0}else s=n;while(1){a=c[s+16>>2]|0;if(a>>>0>b>>>0)t=s;else{if(a>>>0>=b>>>0)break;t=s+4|0}s=c[t>>2]|0;if(!s){r=0;i=42;break}}if((i|0)==42)return r|0;s=q+12|0;t=n;a=n;while(1){n=c[t+16>>2]|0;if(n>>>0>b>>>0){p=c[t>>2]|0;if(!p){u=t;i=33;break}else{v=t;w=p}}else{if(n>>>0>=b>>>0){i=32;break}n=t+4|0;p=c[n>>2]|0;if(!p){u=n;i=33;break}else{v=n;w=p}}s=v;t=w;a=w}if((i|0)==32)if(!a){u=s;i=33}else x=a;if((i|0)==33){a=Wy(32)|0;c[a+16>>2]=e;e=a+24|0;c[e>>2]=0;c[a+28>>2]=0;c[a+20>>2]=e;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=t;c[u>>2]=a;t=c[c[o>>2]>>2]|0;if(!t)y=a;else{c[o>>2]=t;y=c[u>>2]|0}kd(c[q+12>>2]|0,y);y=q+16|0;c[y>>2]=(c[y>>2]|0)+1;x=a}a=c[x+24>>2]|0;if(!a){r=0;return r|0}else z=a;while(1){a=c[z+16>>2]|0;if(a>>>0>d>>>0)A=z;else{if(a>>>0>=d>>>0){r=1;i=42;break}A=z+4|0}z=c[A>>2]|0;if(!z){r=0;i=42;break}}if((i|0)==42)return r|0;return 0}function Ig(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,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;e=b;f=d;g=Rg(a,b,d)|0;a=g+8|0;h=g+12|0;i=c[h>>2]|0;do if(i){j=h;k=i;l=i;while(1){m=c[k+16>>2]|0;if(m>>>0>b>>>0){n=c[k>>2]|0;if(!n){o=5;break}else{p=k;q=n}}else{if(m>>>0>=b>>>0){o=9;break}r=k+4|0;m=c[r>>2]|0;if(!m){o=8;break}else{p=r;q=m}}j=p;k=q;l=q}if((o|0)==5){s=k;t=k;o=11;break}else if((o|0)==8){s=r;t=k;o=11;break}else if((o|0)==9){u=j;v=k;w=l;o=10;break}}else{u=h;v=h;w=i;o=10}while(0);if((o|0)==10)if(!w){s=u;t=v;o=11}else x=w;if((o|0)==11){w=Wy(32)|0;c[w+16>>2]=e;v=w+24|0;c[v>>2]=0;c[w+28>>2]=0;c[w+20>>2]=v;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=t;c[s>>2]=w;t=c[c[a>>2]>>2]|0;if(!t)y=w;else{c[a>>2]=t;y=c[s>>2]|0}kd(c[h>>2]|0,y);y=g+16|0;c[y>>2]=(c[y>>2]|0)+1;x=w}w=x+20|0;y=x+24|0;s=c[y>>2]|0;do if(s){t=x+24|0;v=s;while(1){u=c[v+16>>2]|0;if(u>>>0>d>>>0){i=c[v>>2]|0;if(!i){o=19;break}else{z=v;A=i}}else{if(u>>>0>=d>>>0){o=23;break}B=v+4|0;u=c[B>>2]|0;if(!u){o=22;break}else{z=B;A=u}}t=z;v=A}if((o|0)==19){C=v;D=v;break}else if((o|0)==22){C=B;D=v;break}else if((o|0)==23){C=t;D=v;break}}else{C=y;D=y}while(0);if(!(c[C>>2]|0)){y=Wy(20)|0;c[y+16>>2]=f;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=D;c[C>>2]=y;D=c[c[w>>2]>>2]|0;if(!D)E=y;else{c[w>>2]=D;E=c[C>>2]|0}kd(c[x+24>>2]|0,E);E=x+28|0;c[E>>2]=(c[E>>2]|0)+1}E=c[h>>2]|0;do if(E){x=h;C=E;D=E;while(1){w=c[C+16>>2]|0;if(w>>>0>d>>>0){y=c[C>>2]|0;if(!y){o=33;break}else{F=C;G=y}}else{if(w>>>0>=d>>>0){o=37;break}H=C+4|0;w=c[H>>2]|0;if(!w){o=36;break}else{F=H;G=w}}x=F;C=G;D=G}if((o|0)==33){I=C;J=C;o=39;break}else if((o|0)==36){I=H;J=C;o=39;break}else if((o|0)==37){K=x;L=C;M=D;o=38;break}}else{K=h;L=h;M=E;o=38}while(0);if((o|0)==38)if(!M){I=K;J=L;o=39}else N=M;if((o|0)==39){M=Wy(32)|0;c[M+16>>2]=f;f=M+24|0;c[f>>2]=0;c[M+28>>2]=0;c[M+20>>2]=f;c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=J;c[I>>2]=M;J=c[c[a>>2]>>2]|0;if(!J)O=M;else{c[a>>2]=J;O=c[I>>2]|0}kd(c[h>>2]|0,O);O=g+16|0;c[O>>2]=(c[O>>2]|0)+1;N=M}M=N+20|0;O=N+24|0;g=c[O>>2]|0;do if(g){h=N+24|0;I=g;while(1){J=c[I+16>>2]|0;if(J>>>0>b>>>0){a=c[I>>2]|0;if(!a){o=47;break}else{P=I;Q=a}}else{if(J>>>0>=b>>>0){o=51;break}R=I+4|0;J=c[R>>2]|0;if(!J){o=50;break}else{P=R;Q=J}}h=P;I=Q}if((o|0)==47){S=I;T=I;break}else if((o|0)==50){S=R;T=I;break}else if((o|0)==51){S=h;T=I;break}}else{S=O;T=O}while(0);if(c[S>>2]|0)return;O=Wy(20)|0;c[O+16>>2]=e;c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=T;c[S>>2]=O;T=c[c[M>>2]>>2]|0;if(!T)U=O;else{c[M>>2]=T;U=c[S>>2]|0}kd(c[N+24>>2]|0,U);U=N+28|0;c[U>>2]=(c[U>>2]|0)+1;return}function Jg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0.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,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0;d=l;l=l+144|0;e=d+132|0;f=d+120|0;g=d+8|0;i=d;c[a>>2]=a;c[a+4>>2]=a;c[a+8>>2]=0;j=c[b+4>>2]|0;k=j;if((k|0)==(b|0)){l=d;return}m=e+4|0;n=e+8|0;o=e+4|0;p=f+4|0;q=f+8|0;r=f+4|0;s=g+8|0;t=g+48|0;u=g+104|0;v=g+56|0;w=i+4|0;x=i+4|0;y=g+48|0;z=g+104|0;A=i+4|0;B=g+56|0;C=i+4|0;D=j;j=k;do{c[m>>2]=0;c[n>>2]=0;c[e>>2]=o;c[p>>2]=0;c[q>>2]=0;c[f>>2]=r;k=D;E=k+8|0;while(1){Ng(g,b,E);F=+h[g>>3];G=c[s>>2]|0;H=G;if(!G)break;I=c[o>>2]|0;do if(I){J=m;K=I;while(1){L=nc(H)|0;M=K+24|0;if(L>>>0<(nc(c[M>>2]|0)|0)>>>0){L=c[K>>2]|0;if(!L){N=9;break}else{O=K;P=L}}else{L=nc(c[M>>2]|0)|0;if(L>>>0>=(nc(H)|0)>>>0){N=14;break}Q=K+4|0;L=c[Q>>2]|0;if(!L){N=13;break}else{O=Q;P=L}}J=O;K=P}if((N|0)==9){N=0;R=K;S=K;break}else if((N|0)==13){N=0;R=Q;S=K;break}else if((N|0)==14){N=0;R=J;S=K;break}}else{R=o;S=o}while(0);if(!(c[R>>2]|0)){I=Wy(32)|0;h[I+16>>3]=F;c[I+24>>2]=G;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=S;c[R>>2]=I;L=c[c[e>>2]>>2]|0;if(!L)T=I;else{c[e>>2]=L;T=c[R>>2]|0}kd(c[m>>2]|0,T);c[n>>2]=(c[n>>2]|0)+1}tc(g,H);L=c[t>>2]|0;if(L|0?Wb(L)|0:0){_b(i,L);L=c[r>>2]|0;do if(L){I=c[i>>2]|0;M=c[x>>2]|0;U=p;V=L;a:while(1){W=c[V+16>>2]|0;do if(I>>>0>=W>>>0){if(W>>>0>=I>>>0){X=c[V+20>>2]|0;if(M>>>0>>0){N=27;break}if(X>>>0>=M>>>0){N=32;break a}}Y=V+4|0;X=c[Y>>2]|0;if(!X){N=31;break a}else{Z=Y;_=X}}else N=27;while(0);if((N|0)==27){N=0;W=c[V>>2]|0;if(!W){N=28;break}else{Z=V;_=W}}U=Z;V=_}if((N|0)==28){N=0;$=V;aa=V;break}else if((N|0)==31){N=0;$=Y;aa=V;break}else if((N|0)==32){N=0;$=U;aa=V;break}}else{$=r;aa=r}while(0);if(!(c[$>>2]|0)){L=Wy(24)|0;H=i;G=c[H+4>>2]|0;M=L+16|0;c[M>>2]=c[H>>2];c[M+4>>2]=G;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=aa;c[$>>2]=L;G=c[c[f>>2]>>2]|0;if(!G)ba=L;else{c[f>>2]=G;ba=c[$>>2]|0}kd(c[p>>2]|0,ba);c[q>>2]=(c[q>>2]|0)+1}}G=c[u>>2]|0;if(G|0?Wb(G)|0:0){_b(i,G);G=c[r>>2]|0;do if(G){L=c[i>>2]|0;M=c[w>>2]|0;H=p;I=G;b:while(1){K=c[I+16>>2]|0;do if(L>>>0>=K>>>0){if(K>>>0>=L>>>0){J=c[I+20>>2]|0;if(M>>>0>>0){N=46;break}if(J>>>0>=M>>>0){N=51;break b}}ca=I+4|0;J=c[ca>>2]|0;if(!J){N=50;break b}else{da=ca;ea=J}}else N=46;while(0);if((N|0)==46){N=0;K=c[I>>2]|0;if(!K){N=47;break}else{da=I;ea=K}}H=da;I=ea}if((N|0)==47){N=0;fa=I;ga=I;break}else if((N|0)==50){N=0;fa=ca;ga=I;break}else if((N|0)==51){N=0;fa=H;ga=I;break}}else{fa=r;ga=r}while(0);if(!(c[fa>>2]|0)){G=Wy(24)|0;M=i;L=c[M+4>>2]|0;V=G+16|0;c[V>>2]=c[M>>2];c[V+4>>2]=L;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=ga;c[fa>>2]=G;L=c[c[f>>2]>>2]|0;if(!L)ha=G;else{c[f>>2]=L;ha=c[fa>>2]|0}kd(c[p>>2]|0,ha);c[q>>2]=(c[q>>2]|0)+1}}rd(v);rd(g)}L=c[E>>2]|0;G=k+12|0;if((L|0)!=(G|0)){V=L;while(1){L=c[V+16>>2]|0;tc(g,L);M=c[y>>2]|0;c:do if((M|0)!=0?Wb(M)|0:0){_b(i,M);U=c[r>>2]|0;d:do if(U|0){K=c[i>>2]|0;J=c[C>>2]|0;W=U;e:while(1){X=c[W+16>>2]|0;do if(K>>>0>>0)N=67;else{if(X>>>0>=K>>>0){ia=c[W+20>>2]|0;if(J>>>0>>0){N=67;break}if(ia>>>0>=J>>>0)break e}ja=W+4|0}while(0);if((N|0)==67){N=0;ja=W}W=c[ja>>2]|0;if(!W)break d}W=L;J=c[o>>2]|0;do if(J){K=m;X=J;while(1){ia=nc(L)|0;ka=X+24|0;if(ia>>>0<(nc(c[ka>>2]|0)|0)>>>0){ia=c[X>>2]|0;if(!ia){N=75;break}else{la=X;ma=ia}}else{ia=nc(c[ka>>2]|0)|0;if(ia>>>0>=(nc(L)|0)>>>0){N=80;break}na=X+4|0;ia=c[na>>2]|0;if(!ia){N=79;break}else{la=na;ma=ia}}K=la;X=ma}if((N|0)==75){N=0;oa=X;pa=X;break}else if((N|0)==79){N=0;oa=na;pa=X;break}else if((N|0)==80){N=0;oa=K;pa=X;break}}else{oa=o;pa=o}while(0);if(c[oa>>2]|0)break c;J=Wy(32)|0;h[J+16>>3]=0.0;c[J+24>>2]=W;c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=pa;c[oa>>2]=J;ia=c[c[e>>2]>>2]|0;if(!ia)qa=J;else{c[e>>2]=ia;qa=c[oa>>2]|0}kd(c[m>>2]|0,qa);c[n>>2]=(c[n>>2]|0)+1;break c}while(0);N=85}else N=85;while(0);f:do if(((N|0)==85?(N=0,M=c[z>>2]|0,M|0):0)?Wb(M)|0:0){_b(i,M);M=c[r>>2]|0;g:do if(M|0){U=c[i>>2]|0;I=c[A>>2]|0;H=M;h:while(1){ia=c[H+16>>2]|0;do if(U>>>0>>0)N=92;else{if(ia>>>0>=U>>>0){J=c[H+20>>2]|0;if(I>>>0>>0){N=92;break}if(J>>>0>=I>>>0)break h}ra=H+4|0}while(0);if((N|0)==92){N=0;ra=H}H=c[ra>>2]|0;if(!H)break g}H=L;I=c[o>>2]|0;do if(I){U=m;W=I;while(1){ia=nc(L)|0;X=W+24|0;if(ia>>>0<(nc(c[X>>2]|0)|0)>>>0){ia=c[W>>2]|0;if(!ia){N=100;break}else{sa=W;ta=ia}}else{ia=nc(c[X>>2]|0)|0;if(ia>>>0>=(nc(L)|0)>>>0){N=105;break}ua=W+4|0;ia=c[ua>>2]|0;if(!ia){N=104;break}else{sa=ua;ta=ia}}U=sa;W=ta}if((N|0)==100){N=0;va=W;wa=W;break}else if((N|0)==104){N=0;va=ua;wa=W;break}else if((N|0)==105){N=0;va=U;wa=W;break}}else{va=o;wa=o}while(0);if(c[va>>2]|0)break f;I=Wy(32)|0;h[I+16>>3]=0.0;c[I+24>>2]=H;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=wa;c[va>>2]=I;ia=c[c[e>>2]>>2]|0;if(!ia)xa=I;else{c[e>>2]=ia;xa=c[va>>2]|0}kd(c[m>>2]|0,xa);c[n>>2]=(c[n>>2]|0)+1;break f}while(0)}while(0);rd(B);rd(g);L=c[V+4>>2]|0;if(!L){M=V+8|0;ia=c[M>>2]|0;if((c[ia>>2]|0)==(V|0))ya=ia;else{ia=M;do{M=c[ia>>2]|0;ia=M+8|0;I=c[ia>>2]|0}while((c[I>>2]|0)!=(M|0));ya=I}}else{ia=L;while(1){I=c[ia>>2]|0;if(!I)break;else ia=I}ya=ia}if((ya|0)==(G|0))break;else V=ya}}if(c[n>>2]|0)Og(a,e);Pg(f,c[r>>2]|0);Lg(e,c[o>>2]|0);D=c[j+4>>2]|0;j=D}while((j|0)!=(b|0));l=d;return}function Kg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0.0,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;f=l;l=l+32|0;g=f+20|0;i=f+16|0;j=f+12|0;k=f+8|0;m=f+4|0;n=f;switch(d|0){case 1:case 0:{o=c[a>>2]|0;l=f;return o|0}case 2:{p=c[c[b>>2]>>2]|0;c[b>>2]=p;q=c[a>>2]|0;r=p;if(!(+h[p+8>>3]<+h[q+8>>3])){o=q;l=f;return o|0}p=r+4|0;s=c[r>>2]|0;c[s+4>>2]=c[p>>2];c[c[p>>2]>>2]=s;s=c[q>>2]|0;c[s+4>>2]=r;c[r>>2]=s;c[q>>2]=r;c[p>>2]=q;o=c[b>>2]|0;l=f;return o|0}default:{q=d>>>1;p=c[a>>2]|0;r=p;if(!q)t=p;else{s=q;u=p;while(1){p=c[u+4>>2]|0;if((s|0)>1){s=s+-1|0;u=p}else{t=p;break}}}u=t;c[j>>2]=r;c[k>>2]=u;c[i>>2]=c[j>>2];c[g>>2]=c[k>>2];k=Kg(i,g,q,e)|0;c[a>>2]=k;c[m>>2]=u;u=c[b>>2]|0;c[n>>2]=u;c[i>>2]=c[m>>2];c[g>>2]=c[n>>2];n=Kg(i,g,d-q|0,e)|0;v=+h[k+8>>3];e=u;if(+h[n+8>>3]>2]|0;q=u;a:do if((q|0)==(e|0)){w=e;x=u}else{d=u;g=q;while(1){if(!(+h[d+8>>3]>2]|0;g=i;if((g|0)==(e|0)){w=e;x=i;break}else d=i}}while(0);q=c[w>>2]|0;w=q+4|0;u=c[n>>2]|0;c[u+4>>2]=c[w>>2];c[c[w>>2]>>2]=u;u=c[k+4>>2]|0;d=c[k>>2]|0;c[d+4>>2]=n;c[n>>2]=d;c[k>>2]=q;c[w>>2]=k;y=u;z=x;A=n}else{y=c[k+4>>2]|0;z=n;A=k}c[a>>2]=y;k=y;n=z;if((k|0)==(n|0)){o=A;l=f;return o|0}else{B=y;C=z;D=z;E=k;F=n}b:while(1){n=D;if((n|0)==(e|0)){o=A;G=23;break}v=+h[D+8>>3];k=B;z=E;while(1){H=k;if(v<+h[H+8>>3])break;k=c[z+4>>2]|0;c[a>>2]=k;y=k;if((y|0)==(F|0)){o=A;G=23;break b}else z=y}k=c[n+4>>2]|0;y=k;c:do if((y|0)==(e|0)){I=e;J=k}else{v=+h[H+8>>3];x=k;u=y;while(1){if(!(+h[x+8>>3]>2]|0;u=w;if((u|0)==(e|0)){I=e;J=w;break}else x=w}}while(0);y=c[I>>2]|0;k=y+4|0;x=c[n>>2]|0;c[x+4>>2]=c[k>>2];c[c[k>>2]>>2]=x;B=c[z+4>>2]|0;C=(F|0)==(n|0)?J:C;x=c[z>>2]|0;c[x+4>>2]=n;c[n>>2]=x;c[z>>2]=y;c[k>>2]=z;c[a>>2]=B;E=B;F=C;if((E|0)==(F|0)){o=A;G=23;break}else D=J}if((G|0)==23){l=f;return o|0}}}return 0}function Lg(a,b){a=a|0;b=b|0;if(!b)return;else{Lg(a,c[b>>2]|0);Lg(a,c[b+4>>2]|0);Yy(b);return}}function Mg(a,b){a=a|0;b=b|0;if(!b)return;else{Mg(a,c[b>>2]|0);Mg(a,c[b+4>>2]|0);Eg(b+20|0,c[b+24>>2]|0);Yy(b);return}}function Ng(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0,g=0,i=0,j=0,k=0,l=0.0,m=0,n=0,o=0,p=0.0,q=0,r=0,s=0,t=0,u=0.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;b=c[d>>2]|0;e=d+4|0;if((b|0)==(e|0)){f=0.0;g=0;h[a>>3]=f;i=a+8|0;c[i>>2]=g;return}else{j=b;k=0;l=0.0;m=0}while(1){b=j+16|0;n=c[j+28>>2]|0;do if(!n){o=k;p=l;q=m}else{r=c[b>>2]|0;s=fc(r)|0;t=Cc(r)|0;if((fb[c[(c[t>>2]|0)+16>>2]&127](t)|0)>>>0>1){r=t+8|0;if((s|0)==1){s=1;u=0.0;while(1){v=c[r>>2]|0;w=u+ +Nd(v+((s+-1|0)*24|0)|0,v+(s*24|0)|0);s=s+1|0;if(s>>>0>=(fb[c[(c[t>>2]|0)+16>>2]&127](t)|0)>>>0){x=w;break}else u=w}}else{s=1;u=0.0;while(1){v=c[r>>2]|0;w=u+ +Od(v+((s+-1|0)*24|0)|0,v+(s*24|0)|0);s=s+1|0;if(s>>>0>=(fb[c[(c[t>>2]|0)+16>>2]&127](t)|0)>>>0){x=w;break}else u=w}}}else x=0.0;u=x-+(((fb[c[(c[t>>2]|0)+16>>2]&127](t)|0)+1|0)>>>0);if(n>>>0<=k>>>0?!((n|0)==(k|0)&u>l):0){o=k;p=l;q=m;break}o=n;p=u;q=c[b>>2]|0}while(0);b=c[j+4>>2]|0;if(!b){n=j+8|0;s=c[n>>2]|0;if((c[s>>2]|0)==(j|0))y=s;else{s=n;do{n=c[s>>2]|0;s=n+8|0;r=c[s>>2]|0}while((c[r>>2]|0)!=(n|0));y=r}}else{s=b;while(1){r=c[s>>2]|0;if(!r)break;else s=r}y=s}if((y|0)==(e|0))break;else{j=y;k=o;l=p;m=q}}m=q;if(!q){f=0.0;g=0;h[a>>3]=f;i=a+8|0;c[i>>2]=g;return}k=c[e>>2]|0;do if(k){y=d+4|0;j=k;b=k;while(1){r=c[j+16>>2]|0;if(m>>>0>>0){n=c[j>>2]|0;if(!n){z=22;break}else{A=j;B=n}}else{if(r>>>0>=m>>>0){z=26;break}C=j+4|0;r=c[C>>2]|0;if(!r){z=25;break}else{A=C;B=r}}y=A;j=B;b=B}if((z|0)==22){D=j;E=j;z=29;break}else if((z|0)==25){D=C;E=j;z=29;break}else if((z|0)==26){F=y;G=j;H=b;z=28;break}}else{F=e;G=e;H=k;z=28}while(0);if((z|0)==28)if(!H){D=F;E=G;z=29}else I=H;if((z|0)==29){H=Wy(32)|0;c[H+16>>2]=q;G=H+24|0;c[G>>2]=0;c[H+28>>2]=0;c[H+20>>2]=G;c[H>>2]=0;c[H+4>>2]=0;c[H+8>>2]=E;c[D>>2]=H;E=c[c[d>>2]>>2]|0;if(!E)J=H;else{c[d>>2]=E;J=c[D>>2]|0}kd(c[d+4>>2]|0,J);J=d+8|0;c[J>>2]=(c[J>>2]|0)+1;I=H}H=I+20|0;J=c[H>>2]|0;D=I+24|0;if((J|0)!=(D|0)){E=d+4|0;G=d+8|0;F=J;while(1){J=F+16|0;k=c[e>>2]|0;do if(k){C=c[J>>2]|0;B=E;A=k;s=k;while(1){r=c[A+16>>2]|0;if(C>>>0>>0){n=c[A>>2]|0;if(!n){z=40;break}else{K=A;L=n}}else{if(r>>>0>=C>>>0){z=44;break}M=A+4|0;r=c[M>>2]|0;if(!r){z=43;break}else{K=M;L=r}}B=K;A=L;s=L}if((z|0)==40){z=0;N=A;O=A;z=46;break}else if((z|0)==43){z=0;N=M;O=A;z=46;break}else if((z|0)==44){z=0;P=B;Q=A;R=s;z=45;break}}else{P=e;Q=e;R=k;z=45}while(0);if((z|0)==45){z=0;if(!R){N=P;O=Q;z=46}else S=R}if((z|0)==46){z=0;k=Wy(32)|0;c[k+16>>2]=c[J>>2];b=k+24|0;c[b>>2]=0;c[k+28>>2]=0;c[k+20>>2]=b;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=O;c[N>>2]=k;b=c[c[d>>2]>>2]|0;if(!b)T=k;else{c[d>>2]=b;T=c[N>>2]|0}kd(c[E>>2]|0,T);c[G>>2]=(c[G>>2]|0)+1;S=k}k=S+20|0;b=S+24|0;j=c[b>>2]|0;if(j|0){y=b;C=j;a:while(1){t=C;while(1){if((c[t+16>>2]|0)>>>0>=m>>>0)break;r=c[t+4>>2]|0;if(!r){U=y;break a}else t=r}C=c[t>>2]|0;if(!C){U=t;break}else y=t}if((U|0)!=(b|0)?m>>>0>=(c[U+16>>2]|0)>>>0:0){y=c[U+4>>2]|0;if(!y){C=U+8|0;J=c[C>>2]|0;if((c[J>>2]|0)==(U|0))V=J;else{J=C;do{C=c[J>>2]|0;J=C+8|0;s=c[J>>2]|0}while((c[s>>2]|0)!=(C|0));V=s}}else{J=y;while(1){b=c[J>>2]|0;if(!b)break;else J=b}V=J}if((c[k>>2]|0)==(U|0))c[k>>2]=V;y=S+28|0;c[y>>2]=(c[y>>2]|0)+-1;Cd(j,U);Yy(U)}}y=c[F+4>>2]|0;if(!y){b=F+8|0;s=c[b>>2]|0;if((c[s>>2]|0)==(F|0))W=s;else{s=b;do{b=c[s>>2]|0;s=b+8|0;C=c[s>>2]|0}while((c[C>>2]|0)!=(b|0));W=C}}else{s=y;while(1){j=c[s>>2]|0;if(!j)break;else s=j}W=s}if((W|0)==(D|0))break;else F=W}}Eg(H,c[D>>2]|0);c[I+28>>2]=0;c[H>>2]=D;c[D>>2]=0;f=+(o>>>0);g=q;h[a>>3]=f;i=a+8|0;c[i>>2]=g;return}function Og(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=l;l=l+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;i=Wy(20)|0;j=i+8|0;k=i+12|0;c[k>>2]=0;m=i+16|0;c[m>>2]=0;c[j>>2]=k;n=c[b>>2]|0;o=b+4|0;if((n|0)==(o|0)){p=i+4|0;c[p>>2]=a;q=c[a>>2]|0;c[i>>2]=q;r=q+4|0;c[r>>2]=i;c[a>>2]=i;s=a+8|0;t=c[s>>2]|0;u=t+1|0;c[s>>2]=u;l=d;return}b=k;v=n;while(1){n=v+16|0;c[h>>2]=b;c[e>>2]=c[h>>2];w=Qg(j,e,f,g,n)|0;if(!(c[w>>2]|0)){x=Wy(32)|0;y=x+16|0;c[y>>2]=c[n>>2];c[y+4>>2]=c[n+4>>2];c[y+8>>2]=c[n+8>>2];c[y+12>>2]=c[n+12>>2];n=c[f>>2]|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=n;c[w>>2]=x;n=c[c[j>>2]>>2]|0;if(!n)z=x;else{c[j>>2]=n;z=c[w>>2]|0}kd(c[k>>2]|0,z);c[m>>2]=(c[m>>2]|0)+1}w=c[v+4>>2]|0;if(!w){n=v+8|0;x=c[n>>2]|0;if((c[x>>2]|0)==(v|0))A=x;else{x=n;do{n=c[x>>2]|0;x=n+8|0;y=c[x>>2]|0}while((c[y>>2]|0)!=(n|0));A=y}}else{x=w;while(1){y=c[x>>2]|0;if(!y)break;else x=y}A=x}if((A|0)==(o|0))break;else v=A}p=i+4|0;c[p>>2]=a;q=c[a>>2]|0;c[i>>2]=q;r=q+4|0;c[r>>2]=i;c[a>>2]=i;s=a+8|0;t=c[s>>2]|0;u=t+1|0;c[s>>2]=u;l=d;return}function Pg(a,b){a=a|0;b=b|0;if(!b)return;else{Pg(a,c[b>>2]|0);Pg(a,c[b+4>>2]|0);Yy(b);return}}function Qg(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,t=0,u=0,v=0,w=0,x=0;g=a+4|0;h=c[b>>2]|0;b=h;if((h|0)!=(g|0)?(i=f+8|0,j=nc(c[i>>2]|0)|0,k=h+24|0,j>>>0>=(nc(c[k>>2]|0)|0)>>>0):0){j=nc(c[k>>2]|0)|0;if(j>>>0>=(nc(c[i>>2]|0)|0)>>>0){c[d>>2]=b;c[e>>2]=b;l=e;return l|0}e=h+4|0;j=c[e>>2]|0;if(!j){k=h+8|0;m=c[k>>2]|0;if((c[m>>2]|0)==(h|0))n=m;else{m=k;do{k=c[m>>2]|0;m=k+8|0;o=c[m>>2]|0}while((c[o>>2]|0)!=(k|0));n=o}}else{m=j;while(1){j=c[m>>2]|0;if(!j)break;else m=j}n=m}if((n|0)!=(g|0)?(m=nc(c[i>>2]|0)|0,m>>>0>=(nc(c[n+24>>2]|0)|0)>>>0):0){m=c[g>>2]|0;if(!m){c[d>>2]=g;l=g;return l|0}j=a+4|0;o=m;while(1){m=nc(c[i>>2]|0)|0;k=o+24|0;if(m>>>0<(nc(c[k>>2]|0)|0)>>>0){m=c[o>>2]|0;if(!m){p=38;break}else{q=o;r=m}}else{m=nc(c[k>>2]|0)|0;if(m>>>0>=(nc(c[i>>2]|0)|0)>>>0){p=43;break}s=o+4|0;m=c[s>>2]|0;if(!m){p=42;break}else{q=s;r=m}}j=q;o=r}if((p|0)==38){c[d>>2]=o;l=o;return l|0}else if((p|0)==42){c[d>>2]=o;l=s;return l|0}else if((p|0)==43){c[d>>2]=o;l=j;return l|0}}if(!(c[h+4>>2]|0)){c[d>>2]=b;l=e;return l|0}else{c[d>>2]=n;l=n;return l|0}}if((h|0)!=(c[a>>2]|0)){n=c[h>>2]|0;if(!n){e=h;while(1){j=c[e+8>>2]|0;if((c[j>>2]|0)==(e|0))e=j;else{t=j;break}}}else{e=n;while(1){n=c[e+4>>2]|0;if(!n){t=e;break}else e=n}}e=nc(c[t+24>>2]|0)|0;n=f+8|0;if(e>>>0>=(nc(c[n>>2]|0)|0)>>>0){e=c[g>>2]|0;if(!e){c[d>>2]=g;l=g;return l|0}g=a+4|0;a=e;while(1){e=nc(c[n>>2]|0)|0;f=a+24|0;if(e>>>0<(nc(c[f>>2]|0)|0)>>>0){e=c[a>>2]|0;if(!e){p=16;break}else{u=a;v=e}}else{e=nc(c[f>>2]|0)|0;if(e>>>0>=(nc(c[n>>2]|0)|0)>>>0){p=21;break}w=a+4|0;e=c[w>>2]|0;if(!e){p=20;break}else{u=w;v=e}}g=u;a=v}if((p|0)==16){c[d>>2]=a;l=a;return l|0}else if((p|0)==20){c[d>>2]=a;l=w;return l|0}else if((p|0)==21){c[d>>2]=a;l=g;return l|0}}else x=t}else x=b;if(!(c[h>>2]|0)){c[d>>2]=h;l=h;return l|0}else{h=x;c[d>>2]=h;l=h+4|0;return l|0}return 0}function Rg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;e=l;l=l+32|0;f=e+24|0;g=e+12|0;h=e+8|0;i=e;j=e+4|0;k=c[a+4>>2]|0;m=k;n=(m|0)==(a|0);a:do if(n)o=9;else{p=k;q=m;while(1){r=c[p+12>>2]|0;if(r|0){s=r;do{r=c[s+16>>2]|0;if(r>>>0>b>>>0)t=s;else{if(r>>>0>=b>>>0){u=p;break a}t=s+4|0}s=c[t>>2]|0}while((s|0)!=0)}p=c[q+4>>2]|0;q=p;if((q|0)==(a|0)){o=9;break}}}while(0);if((o|0)==9)u=a;t=u;b:do if(n)o=18;else{b=k;q=m;while(1){p=c[b+12>>2]|0;if(p|0){s=p;do{p=c[s+16>>2]|0;if(p>>>0>d>>>0)v=s;else{if(p>>>0>=d>>>0){w=b;break b}v=s+4|0}s=c[v>>2]|0}while((s|0)!=0)}b=c[q+4>>2]|0;q=b;if((q|0)==(a|0)){o=18;break}}}while(0);if((o|0)==18)w=a;o=w;v=(t|0)!=(a|0);d=(o|0)!=(a|0);if(!(d|v)){c[g+4>>2]=0;c[g+8>>2]=0;m=g+4|0;c[g>>2]=m;c[j>>2]=a;c[f>>2]=c[j>>2];j=Sg(a,f,g)|0;Mg(g,c[m>>2]|0);x=j;l=e;return x|0}j=(t|0)!=(a|0);if(!(d|j^1)){x=t;l=e;return x|0}d=(o|0)==(a|0);if(!(d|v)){x=o;l=e;return x|0}if((t|0)==(o|0)){x=t;l=e;return x|0}if(!j)ta(14856,14693,1337,14882);if(d)ta(14904,14693,1338,14882);d=u;u=d+8|0;j=w;v=c[j+8>>2]|0;m=j+12|0;if((v|0)!=(m|0)){j=d+12|0;k=d+12|0;n=d+16|0;d=v;while(1){v=d+16|0;c[i>>2]=j;c[f>>2]=c[i>>2];q=Tg(u,f,g,h,v)|0;if(!(c[q>>2]|0)){b=Wy(32)|0;Ug(b+16|0,v);v=c[g>>2]|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=v;c[q>>2]=b;v=c[c[u>>2]>>2]|0;if(!v)y=b;else{c[u>>2]=v;y=c[q>>2]|0}kd(c[k>>2]|0,y);c[n>>2]=(c[n>>2]|0)+1}q=c[d+4>>2]|0;if(!q){v=d+8|0;b=c[v>>2]|0;if((c[b>>2]|0)==(d|0))z=b;else{b=v;do{v=c[b>>2]|0;b=v+8|0;s=c[b>>2]|0}while((c[s>>2]|0)!=(v|0));z=s}}else{b=q;while(1){s=c[b>>2]|0;if(!s)break;else b=s}z=b}if((z|0)==(m|0))break;else d=z}}z=o+4|0;d=c[o>>2]|0;c[d+4>>2]=c[z>>2];c[c[z>>2]>>2]=d;d=a+8|0;c[d>>2]=(c[d>>2]|0)+-1;Mg(o+8|0,c[o+12>>2]|0);Yy(w);x=t;l=e;return x|0}function Sg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;e=l;l=l+16|0;f=e+12|0;g=e+8|0;h=e+4|0;i=e;j=Wy(20)|0;c[j>>2]=0;k=j+8|0;m=j+12|0;c[m>>2]=0;n=j+16|0;c[n>>2]=0;c[k>>2]=m;o=c[d>>2]|0;p=d+4|0;if((o|0)==(p|0)){q=c[b>>2]|0;r=c[q>>2]|0;s=r+4|0;c[s>>2]=j;c[j>>2]=r;c[q>>2]=j;t=j+4|0;c[t>>2]=q;u=a+8|0;v=c[u>>2]|0;w=v+1|0;c[u>>2]=w;l=e;return j|0}d=m;x=o;while(1){o=x+16|0;c[i>>2]=d;c[f>>2]=c[i>>2];y=Tg(k,f,g,h,o)|0;if(!(c[y>>2]|0)){z=Wy(32)|0;Ug(z+16|0,o);o=c[g>>2]|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=o;c[y>>2]=z;o=c[c[k>>2]>>2]|0;if(!o)A=z;else{c[k>>2]=o;A=c[y>>2]|0}kd(c[m>>2]|0,A);c[n>>2]=(c[n>>2]|0)+1}y=c[x+4>>2]|0;if(!y){o=x+8|0;z=c[o>>2]|0;if((c[z>>2]|0)==(x|0))B=z;else{z=o;do{o=c[z>>2]|0;z=o+8|0;C=c[z>>2]|0}while((c[C>>2]|0)!=(o|0));B=C}}else{z=y;while(1){C=c[z>>2]|0;if(!C)break;else z=C}B=z}if((B|0)==(p|0))break;else x=B}q=c[b>>2]|0;r=c[q>>2]|0;s=r+4|0;c[s>>2]=j;c[j>>2]=r;c[q>>2]=j;t=j+4|0;c[t>>2]=q;u=a+8|0;v=c[u>>2]|0;w=v+1|0;c[u>>2]=w;l=e;return j|0}function Tg(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,t=0,u=0,v=0,w=0,x=0;g=a+4|0;h=c[b>>2]|0;b=h;if((h|0)!=(g|0)?(i=c[f>>2]|0,j=c[h+16>>2]|0,i>>>0>=j>>>0):0){if(j>>>0>=i>>>0){c[d>>2]=b;c[e>>2]=b;k=e;return k|0}e=h+4|0;j=c[e>>2]|0;if(!j){l=h+8|0;m=c[l>>2]|0;if((c[m>>2]|0)==(h|0))n=m;else{m=l;do{l=c[m>>2]|0;m=l+8|0;o=c[m>>2]|0}while((c[o>>2]|0)!=(l|0));n=o}}else{m=j;while(1){j=c[m>>2]|0;if(!j)break;else m=j}n=m}if((n|0)!=(g|0)?i>>>0>=(c[n+16>>2]|0)>>>0:0){m=c[g>>2]|0;if(!m){c[d>>2]=g;k=g;return k|0}j=a+4|0;o=m;while(1){m=c[o+16>>2]|0;if(i>>>0>>0){l=c[o>>2]|0;if(!l){p=39;break}else{q=o;r=l}}else{if(m>>>0>=i>>>0){p=43;break}s=o+4|0;m=c[s>>2]|0;if(!m){p=42;break}else{q=s;r=m}}j=q;o=r}if((p|0)==39){c[d>>2]=o;k=o;return k|0}else if((p|0)==42){c[d>>2]=o;k=s;return k|0}else if((p|0)==43){c[d>>2]=o;k=j;return k|0}}if(!(c[h+4>>2]|0)){c[d>>2]=b;k=e;return k|0}else{c[d>>2]=n;k=n;return k|0}}n=c[h>>2]|0;if((h|0)!=(c[a>>2]|0)){if(!n){e=h;while(1){j=c[e+8>>2]|0;if((c[j>>2]|0)==(e|0))e=j;else{t=j;break}}}else{e=n;while(1){j=c[e+4>>2]|0;if(!j){t=e;break}else e=j}}e=c[f>>2]|0;if((c[t+16>>2]|0)>>>0>=e>>>0){f=c[g>>2]|0;if(!f){c[d>>2]=g;k=g;return k|0}g=a+4|0;a=f;while(1){f=c[a+16>>2]|0;if(e>>>0>>0){j=c[a>>2]|0;if(!j){p=17;break}else{u=a;v=j}}else{if(f>>>0>=e>>>0){p=21;break}w=a+4|0;f=c[w>>2]|0;if(!f){p=20;break}else{u=w;v=f}}g=u;a=v}if((p|0)==17){c[d>>2]=a;k=a;return k|0}else if((p|0)==20){c[d>>2]=a;k=w;return k|0}else if((p|0)==21){c[d>>2]=a;k=g;return k|0}}else x=t}else x=b;if(!n){c[d>>2]=h;k=h;return k|0}else{h=x;c[d>>2]=h;k=h+4|0;return k|0}return 0}function Ug(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=l;l=l+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;c[a>>2]=c[b>>2];i=a+4|0;j=a+8|0;c[j>>2]=0;k=a+12|0;c[k>>2]=0;m=a+8|0;c[i>>2]=m;a=c[b+4>>2]|0;n=b+8|0;if((a|0)==(n|0)){l=d;return}b=m;m=a;while(1){a=m+16|0;c[h>>2]=b;c[e>>2]=c[h>>2];o=Vg(i,e,f,g,a)|0;if(!(c[o>>2]|0)){p=Wy(20)|0;c[p+16>>2]=c[a>>2];a=c[f>>2]|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=a;c[o>>2]=p;a=c[c[i>>2]>>2]|0;if(!a)q=p;else{c[i>>2]=a;q=c[o>>2]|0}kd(c[j>>2]|0,q);c[k>>2]=(c[k>>2]|0)+1}o=c[m+4>>2]|0;if(!o){a=m+8|0;p=c[a>>2]|0;if((c[p>>2]|0)==(m|0))r=p;else{p=a;do{a=c[p>>2]|0;p=a+8|0;s=c[p>>2]|0}while((c[s>>2]|0)!=(a|0));r=s}}else{p=o;while(1){s=c[p>>2]|0;if(!s)break;else p=s}r=p}if((r|0)==(n|0))break;else m=r}l=d;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,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;g=a+4|0;h=c[b>>2]|0;b=h;if((h|0)!=(g|0)?(i=c[f>>2]|0,j=c[h+16>>2]|0,i>>>0>=j>>>0):0){if(j>>>0>=i>>>0){c[d>>2]=b;c[e>>2]=b;k=e;return k|0}e=h+4|0;j=c[e>>2]|0;if(!j){l=h+8|0;m=c[l>>2]|0;if((c[m>>2]|0)==(h|0))n=m;else{m=l;do{l=c[m>>2]|0;m=l+8|0;o=c[m>>2]|0}while((c[o>>2]|0)!=(l|0));n=o}}else{m=j;while(1){j=c[m>>2]|0;if(!j)break;else m=j}n=m}if((n|0)!=(g|0)?i>>>0>=(c[n+16>>2]|0)>>>0:0){m=c[g>>2]|0;if(!m){c[d>>2]=g;k=g;return k|0}j=a+4|0;o=m;while(1){m=c[o+16>>2]|0;if(i>>>0>>0){l=c[o>>2]|0;if(!l){p=39;break}else{q=o;r=l}}else{if(m>>>0>=i>>>0){p=43;break}s=o+4|0;m=c[s>>2]|0;if(!m){p=42;break}else{q=s;r=m}}j=q;o=r}if((p|0)==39){c[d>>2]=o;k=o;return k|0}else if((p|0)==42){c[d>>2]=o;k=s;return k|0}else if((p|0)==43){c[d>>2]=o;k=j;return k|0}}if(!(c[h+4>>2]|0)){c[d>>2]=b;k=e;return k|0}else{c[d>>2]=n;k=n;return k|0}}n=c[h>>2]|0;if((h|0)!=(c[a>>2]|0)){if(!n){e=h;while(1){j=c[e+8>>2]|0;if((c[j>>2]|0)==(e|0))e=j;else{t=j;break}}}else{e=n;while(1){j=c[e+4>>2]|0;if(!j){t=e;break}else e=j}}e=c[f>>2]|0;if((c[t+16>>2]|0)>>>0>=e>>>0){f=c[g>>2]|0;if(!f){c[d>>2]=g;k=g;return k|0}g=a+4|0;a=f;while(1){f=c[a+16>>2]|0;if(e>>>0>>0){j=c[a>>2]|0;if(!j){p=17;break}else{u=a;v=j}}else{if(f>>>0>=e>>>0){p=21;break}w=a+4|0;f=c[w>>2]|0;if(!f){p=20;break}else{u=w;v=f}}g=u;a=v}if((p|0)==17){c[d>>2]=a;k=a;return k|0}else if((p|0)==20){c[d>>2]=a;k=w;return k|0}else if((p|0)==21){c[d>>2]=a;k=g;return k|0}}else x=t}else x=b;if(!n){c[d>>2]=h;k=h;return k|0}else{h=x;c[d>>2]=h;k=h+4|0;return k|0}return 0}function Wg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,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;f=l;l=l+32|0;g=f+20|0;h=f+16|0;i=f+12|0;j=f+8|0;k=f+4|0;m=f;switch(d|0){case 1:case 0:{n=c[a>>2]|0;l=f;return n|0}case 2:{o=c[c[b>>2]>>2]|0;c[b>>2]=o;p=c[a>>2]|0;q=o;if(!(Nk(o+8|0,p+8|0)|0)){n=p;l=f;return n|0}o=q+4|0;r=c[q>>2]|0;c[r+4>>2]=c[o>>2];c[c[o>>2]>>2]=r;r=c[p>>2]|0;c[r+4>>2]=q;c[q>>2]=r;c[p>>2]=q;c[o>>2]=p;n=c[b>>2]|0;l=f;return n|0}default:{p=d>>>1;o=c[a>>2]|0;q=o;if(!p)s=o;else{r=p;t=o;while(1){o=c[t+4>>2]|0;if((r|0)>1){r=r+-1|0;t=o}else{s=o;break}}}t=s;c[i>>2]=q;c[j>>2]=t;c[h>>2]=c[i>>2];c[g>>2]=c[j>>2];j=Wg(h,g,p,e)|0;c[a>>2]=j;c[k>>2]=t;t=c[b>>2]|0;c[m>>2]=t;c[h>>2]=c[k>>2];c[g>>2]=c[m>>2];m=Wg(h,g,d-p|0,e)|0;e=j+8|0;p=t;if(Nk(m+8|0,e)|0){t=c[m+4>>2]|0;d=t;a:do if((d|0)==(p|0)){u=p;v=t}else{g=t;h=d;while(1){if(!(Nk(g+8|0,e)|0)){u=h;v=g;break a}k=c[h+4>>2]|0;h=k;if((h|0)==(p|0)){u=p;v=k;break}else g=k}}while(0);e=c[u>>2]|0;u=e+4|0;d=c[m>>2]|0;c[d+4>>2]=c[u>>2];c[c[u>>2]>>2]=d;d=c[j+4>>2]|0;t=c[j>>2]|0;c[t+4>>2]=m;c[m>>2]=t;c[j>>2]=e;c[u>>2]=j;w=d;x=v;y=m}else{w=c[j+4>>2]|0;x=m;y=j}c[a>>2]=w;j=w;m=x;if((j|0)==(m|0)){n=y;l=f;return n|0}else{z=w;A=x;B=x;C=j;D=m}b:while(1){m=B;j=B+8|0;if((m|0)==(p|0)){n=y;E=22;break}else{F=z;G=C}while(1){H=F;if(Nk(j,H+8|0)|0)break;F=c[G+4>>2]|0;c[a>>2]=F;x=F;if((x|0)==(D|0)){n=y;E=22;break b}else G=x}j=c[m+4>>2]|0;x=j;c:do if((x|0)==(p|0)){I=p;J=j}else{w=H+8|0;v=j;d=x;while(1){if(!(Nk(v+8|0,w)|0)){I=d;J=v;break c}u=c[d+4>>2]|0;d=u;if((d|0)==(p|0)){I=p;J=u;break}else v=u}}while(0);x=c[I>>2]|0;j=x+4|0;v=c[m>>2]|0;c[v+4>>2]=c[j>>2];c[c[j>>2]>>2]=v;z=c[G+4>>2]|0;A=(D|0)==(m|0)?J:A;v=c[G>>2]|0;c[v+4>>2]=m;c[m>>2]=v;c[G>>2]=x;c[j>>2]=G;c[a>>2]=z;C=z;D=A;if((C|0)==(D|0)){n=y;E=22;break}else B=J}if((E|0)==22){l=f;return n|0}}}return 0}function Xg(d,e){d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,H=0,I=0.0,J=0,K=0,M=0,N=0.0,O=0,P=0.0,Q=0.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,_=0.0,$=0.0,aa=0.0,ba=0.0,ca=0.0,da=0.0,ea=0.0,fa=0.0,ga=0.0,ha=0.0,ia=0.0,ja=0.0,ka=0.0,la=0;f=l;l=l+176|0;g=f+160|0;i=f+152|0;j=f+144|0;k=f+120|0;m=f+96|0;n=f+72|0;o=f+48|0;p=f+24|0;q=f;if(a[d+144>>0]|0){l=f;return}if(!(a[d+142>>0]|0))ta(15058,14693,1777,15075);r=d+16|0;s=c[d+20>>2]|0;d=s;if((d|0)==(r|0)){l=f;return}t=k+8|0;u=m+8|0;v=n+8|0;w=n+8|0;x=o+8|0;y=p+8|0;z=q+8|0;A=s;s=d;do{d=c[A+8>>2]|0;B=d+20|0;if((!(Xd(B)|0)?(D=d+16|0,(a[D>>0]&1)==0):0)?(fc(d)|0)==1:0){E=d+28|0;H=c[E>>2]|0;c[k>>2]=c[H>>2];c[k+4>>2]=c[H+4>>2];c[k+8>>2]=c[H+8>>2];c[k+12>>2]=c[H+12>>2];c[k+16>>2]=c[H+16>>2];c[k+20>>2]=c[H+20>>2];H=(Yd(B)|0)+-1|0;B=(c[E>>2]|0)+(H*24|0)|0;c[m>>2]=c[B>>2];c[m+4>>2]=c[B+4>>2];c[m+8>>2]=c[B+8>>2];c[m+12>>2]=c[B+12>>2];c[m+16>>2]=c[B+16>>2];c[m+20>>2]=c[B+20>>2];I=+h[d+112>>3];d=Uf(e)|0;B=c[(Vf(e)|0)+44>>2]|0;a:do if((d|0)!=(B|0)){H=d;while(1){E=H+16|0;J=c[H+52>>2]|0;K=J+16|0;M=H+24|0;N=+h[M>>3];O=J+24|0;P=+h[O>>3];do if(N==P){Q=+h[K>>3];R=+h[E>>3];S=N;T=+h[u>>3]-N;U=+h[m>>3];V=+h[t>>3]-N;W=+h[k>>3];X=R>3];Q=+h[K>>3];if(R==Q){S=R;T=+h[m>>3]-R;U=+h[u>>3];V=+h[k>>3]-R;W=+h[t>>3];X=+h[(N>3];Y=+h[(P>3];break}be(n,Q-R,P-N);be(o,+h[k>>3]-+h[E>>3],+h[t>>3]-+h[M>>3]);be(p,+h[m>>3]-+h[E>>3],+h[u>>3]-+h[M>>3]);R=0.0-+L(+(+h[w>>3]),+(+h[n>>3]));be(q,0.0,0.0);c[k>>2]=c[o>>2];c[k+4>>2]=c[o+4>>2];c[k+8>>2]=c[o+8>>2];c[k+12>>2]=c[o+12>>2];c[k+16>>2]=c[o+16>>2];b[k+20>>1]=b[o+20>>1]|0;c[m>>2]=c[p>>2];c[m+4>>2]=c[p+4>>2];c[m+8>>2]=c[p+8>>2];c[m+12>>2]=c[p+12>>2];c[m+16>>2]=c[p+16>>2];b[m+20>>1]=b[p+20>>1]|0;Q=+F(+R);Z=+G(+R);R=+h[n>>3];_=+h[w>>3];$=Q*R-Z*_;aa=Z*R+Q*_;_=+h[o>>3];R=+h[x>>3];ba=Q*_-Z*R;h[k>>3]=ba;ca=Q*R+Z*_;h[t>>3]=ca;_=+h[p>>3];R=+h[y>>3];da=Q*_-Z*R;h[m>>3]=da;ea=Q*R+Z*_;h[u>>3]=ea;if(+C(+aa)>.0001){h[j>>3]=aa;xc(15132,j);fa=+h[t>>3];ga=+h[u>>3];ha=+h[m>>3];ia=+h[k>>3]}else{fa=ca;ga=ea;ha=da;ia=ba}ba=+h[z>>3];da=+h[q>>3];S=ba;T=ga-ba;U=ha;V=fa-ba;W=ia;X=da<$?$:da;Y=$X&U>X):0)){ka=W;la=23}}else{ka=(V*U+W*ja)/(V+ja);la=23}if((la|0)==23?(la=0,N=Y>3]==+h[K>>3],h[n>>3]=M?S:P,h[v>>3]=M?P:S,P=+Nd(k,n),P+ +Nd(n,m)>2]|0;if((H|0)==(B|0))break a}a[D>>0]=a[D>>0]|1}while(0)}A=c[s+4>>2]|0;s=A}while((s|0)!=(r|0));l=f;return}function Yg(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;d=c[a+88>>2]|0;e=a+92|0;if((d|0)==(e|0))return;else f=d;while(1){d=f+24|0;a=f+28|0;g=c[a>>2]|0;if(g|0){h=a;i=g;a:while(1){j=i;while(1){if((c[j+16>>2]|0)>>>0>=b>>>0)break;k=c[j+4>>2]|0;if(!k){l=h;break a}else j=k}i=c[j>>2]|0;if(!i){l=j;break}else h=j}if((l|0)!=(a|0)?(c[l+16>>2]|0)>>>0<=b>>>0:0){h=c[l+4>>2]|0;if(!h){i=l+8|0;k=c[i>>2]|0;if((c[k>>2]|0)==(l|0))m=k;else{k=i;do{i=c[k>>2]|0;k=i+8|0;n=c[k>>2]|0}while((c[n>>2]|0)!=(i|0));m=n}}else{k=h;while(1){a=c[k>>2]|0;if(!a)break;else k=a}m=k}if((c[d>>2]|0)==(l|0))c[d>>2]=m;h=f+32|0;c[h>>2]=(c[h>>2]|0)+-1;Cd(g,l);Yy(l)}}h=c[f+4>>2]|0;if(!h){a=f+8|0;n=c[a>>2]|0;if((c[n>>2]|0)==(f|0))o=n;else{n=a;do{a=c[n>>2]|0;n=a+8|0;i=c[n>>2]|0}while((c[i>>2]|0)!=(a|0));o=i}}else{n=h;while(1){g=c[n>>2]|0;if(!g)break;else n=g}o=n}if((o|0)==(e|0))break;else f=o}return}function Zg(b,d){b=b|0;d=d|0;var e=0,f=0;if(!(a[b+141>>0]|0))ta(15020,14693,1617,15037);e=b+56|0;b=bf(e)|0;if((b|0)==(cf(e)|0))return;else f=b;do{b=f;f=c[f+4>>2]|0;if((Ie(b)|0)!=-1){if((Ie(b)|0)==(d|0))Pe(b)}else{Je(b);Pe(b)}}while((f|0)!=(cf(e)|0));return}function _g(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;e=l;l=l+16|0;f=e+8|0;g=e;if(a[d+141>>0]|0)ta(14981,14693,1639,14999);h=d+100|0;d=fi(h)|0;i=ai(h)|0;if((d|0)==(i|0)){l=e;return}h=f+6|0;j=b[4627]|0;k=b[4628]|0;m=d;do{Gh(f,m+4|0);if((d|0)!=(m|0)){n=d;do{Gh(g,n+4|0);o=b[h>>1]|0;if(!((j&o)<<16>>16!=0&(k&o)<<16>>16==0?(c[f>>2]|0)!=(c[g>>2]|0):0))p=10;if((p|0)==10?(p=0,(Ye(m,n)|0)==0):0)Xe(m,n,1)|0;n=c[n+44>>2]|0}while((n|0)!=(m|0))}m=c[m+44>>2]|0}while((m|0)!=(i|0));l=e;return}function $g(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;e=a+100|0;f=fi(e)|0;if((f|0)==(bi(e)|0))return;g=a+88|0;a=f;do{if(Pd(b,a+16|0,0)|0){f=Qe(g,a+4|0)|0;h=f+4|0;i=c[h>>2]|0;do if(i){j=f+4|0;k=i;while(1){l=c[k+16>>2]|0;if(l>>>0>d>>>0){m=c[k>>2]|0;if(!m){n=10;break}else{o=k;p=m}}else{if(l>>>0>=d>>>0){n=14;break}q=k+4|0;l=c[q>>2]|0;if(!l){n=13;break}else{o=q;p=l}}j=o;k=p}if((n|0)==10){n=0;r=k;s=k;break}else if((n|0)==13){n=0;r=q;s=k;break}else if((n|0)==14){n=0;r=j;s=k;break}}else{r=h;s=h}while(0);if(!(c[r>>2]|0)){h=Wy(20)|0;c[h+16>>2]=d;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=s;c[r>>2]=h;i=c[c[f>>2]>>2]|0;if(!i)t=h;else{c[f>>2]=i;t=c[r>>2]|0}kd(c[f+4>>2]|0,t);i=f+8|0;c[i>>2]=(c[i>>2]|0)+1}}a=c[a+44>>2]|0}while((a|0)!=(bi(e)|0));return}function ah(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;g=l;l=l+144|0;i=g+96|0;j=g+120|0;k=g+112|0;m=g+104|0;n=g+48|0;o=g+24|0;p=g;q=g+136|0;r=d+40|0;s=cf(r)|0;t=bf(r)|0;if((t|0)==(s|0)){l=g;return}r=j+8|0;u=n+24|0;v=k+6|0;w=b[4627]|0;x=m+6|0;y=e+8|0;z=d+141|0;d=t;do{t=d;d=c[d+4>>2]|0;do if(+h[t+56>>3]!=0.0){Me(j,t);Gh(k,j);Gh(m,r);Ne(n,t);c[o>>2]=c[n>>2];c[o+4>>2]=c[n+4>>2];c[o+8>>2]=c[n+8>>2];c[o+12>>2]=c[n+12>>2];c[o+16>>2]=c[n+16>>2];c[o+20>>2]=c[n+20>>2];c[p>>2]=c[u>>2];c[p+4>>2]=c[u+4>>2];c[p+8>>2]=c[u+8>>2];c[p+12>>2]=c[u+12>>2];c[p+16>>2]=c[u+16>>2];c[p+20>>2]=c[u+20>>2];if(!((w&b[v>>1])<<16>>16))A=0;else A=Pd(e,o,0)|0;if(!((w&b[x>>1])<<16>>16))B=0;else B=Pd(e,p,0)|0;if(A|B)break;a[q>>0]=0;C=0;D=0;while(1){if(D>>>0>=(fb[c[(c[e>>2]|0)+16>>2]&127](e)|0)>>>0){E=C;break}F=(D|0)==((fb[c[(c[e>>2]|0)+16>>2]&127](e)|0)+-1|0);G=D;D=D+1|0;H=c[y>>2]|0;I=Kd(o,p,H+(G*24|0)|0,H+((F?0:D)*24|0)|0,q)|0;F=C|I;if(I){E=F;break}else C=F}do if(E){c[i>>2]=f;xc(14930,i);Je(t);Oe(t);if(a[z>>0]|0){Le(t,f);break}if(t|0){we(t);Yy(t)}}while(0)}while(0)}while((d|0)!=(s|0));l=g;return}function bh(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;c[a>>2]=a;c[a+4>>2]=a;d=a+8|0;c[d>>2]=0;e=c[b+4>>2]|0;f=e;if((f|0)==(b|0))return;g=e;e=a;h=0;i=f;do{f=e;e=Wy(72)|0;j=e+8|0;k=g+8|0;l=j+64|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));c[e+4>>2]=a;c[e>>2]=f;c[f+4>>2]=e;c[a>>2]=e;h=h+1|0;c[d>>2]=h;g=c[i+4>>2]|0;i=g}while((i|0)!=(b|0));return}function ch(b){b=b|0;var d=0;if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0){d=0;return d|0}if(a[b+137>>0]|0){d=0;return d|0}a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b);d=1;return d|0}function dh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=l;l=l+96|0;f=e;Fk(f,7,d);d=b+152|0;g=c[b+156>>2]|0;a:do if((g|0)==(d|0)){h=g;i=5}else{j=g;k=g;while(1){if(Mk(k+8|0,f)|0){h=j;i=5;break a}k=c[j+4>>2]|0;j=k;if((j|0)==(d|0)){i=6;break}}}while(0);if((i|0)==5?(h|0)==(d|0):0)i=6;if((i|0)==6)yg(d,f);if(a[b+168>>0]|0){Gk(f);l=e;return}if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0){Gk(f);l=e;return}if(a[b+137>>0]|0){Gk(f);l=e;return}a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b);Gk(f);l=e;return}function eh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=c[a+156>>2]|0;e=a+152|0;f=d;if((f|0)==(e|0))return;g=a+160|0;a=d;d=f;do{f=d+4|0;h=a;a=c[f>>2]|0;if((c[h+12>>2]|0)==(b|0)){i=c[d>>2]|0;c[i+4>>2]=a;c[c[f>>2]>>2]=i;c[g>>2]=(c[g>>2]|0)+-1;Gk(d+8|0);Yy(h)}d=a}while((d|0)!=(e|0));return}function fh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;e=l;l=l+96|0;f=e;g=b+152|0;h=b+156|0;i=c[h>>2]|0;Ck(f,2,d);a:do if((i|0)==(g|0)){j=i;k=5}else{m=i;n=i;do{if(Mk(n+8|0,f)|0){j=m;k=5;break a}n=c[m+4>>2]|0;m=n}while((m|0)!=(g|0))}while(0);if((k|0)==5?(j|0)!=(g|0):0)ta(15194,14693,261,15289);Gk(f);j=c[h>>2]|0;Ck(f,0,d);b:do if((j|0)!=(g|0)){i=j;m=j;while(1){if(Mk(m+8|0,f)|0)break;m=c[i+4>>2]|0;n=m;if((n|0)==(g|0))break b;else i=n}if((i|0)!=(g|0))ta(15298,14693,263,15289)}while(0);Gk(f);Ck(f,1,d);d=c[h>>2]|0;c:do if((d|0)!=(g|0)){h=d;j=d;while(1){if(Mk(j+8|0,f)|0)break;j=c[h+4>>2]|0;m=j;if((m|0)==(g|0)){k=18;break c}else h=m}if((h|0)==(g|0))k=18}else k=18;while(0);if((k|0)==18)yg(g,f);if(a[b+168>>0]|0){Gk(f);l=e;return}if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0){Gk(f);l=e;return}if(a[b+137>>0]|0){Gk(f);l=e;return}a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b);Gk(f);l=e;return}function gh(b,c){b=b|0;c=c|0;var d=0;d=b+169|0;a[d>>0]=1;if(c|0){dc(c);Yy(c)}a[d>>0]=0;return}function hh(a,b,d,e){a=a|0;b=b|0;d=+d;e=+e;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;f=l;l=l+144|0;g=f;h=f+96|0;me(h);Bk(g,0,b,h,0);c[h>>2]=1624;i=c[h+32>>2]|0;if(i|0){j=h+36|0;k=c[j>>2]|0;if((k|0)!=(i|0))c[j>>2]=k+(~((k+-32-i|0)>>>5)<<5);Yy(i)}i=c[h+20>>2]|0;if(i|0){k=h+24|0;if((c[k>>2]|0)!=(i|0))c[k>>2]=i;Yy(i)}i=c[h+8>>2]|0;if(i|0){k=h+12|0;j=c[k>>2]|0;if((j|0)!=(i|0))c[k>>2]=j+(~(((j+-24-i|0)>>>0)/24|0)*24|0);Yy(i)}i=c[a+156>>2]|0;j=a+152|0;a:do if((i|0)==(j|0))m=i;else{k=i;n=i;while(1){if(Mk(n+8|0,g)|0){m=k;break a}n=c[k+4>>2]|0;k=n;if((k|0)==(j|0)){m=j;break}}}while(0);me(h);if((m|0)==(j|0)){j=Eh(b)|0;c[h+4>>2]=c[j+4>>2];if((h|0)!=(j|0)){yc(h+8|0,c[j+8>>2]|0,c[j+12>>2]|0);zc(h+20|0,c[j+20>>2]|0,c[j+24>>2]|0);Ac(h+32|0,c[j+32>>2]|0,c[j+36>>2]|0)}}else{c[h+4>>2]=c[m+20>>2];if((h|0)!=(m+16|0)){yc(h+8|0,c[m+24>>2]|0,c[m+28>>2]|0);zc(h+20|0,c[m+36>>2]|0,c[m+40>>2]|0);Ac(h+32|0,c[m+48>>2]|0,c[m+52>>2]|0)}}qe(h,d,e);ih(a,b,h,0);c[h>>2]=1624;b=c[h+32>>2]|0;if(b|0){a=h+36|0;m=c[a>>2]|0;if((m|0)!=(b|0))c[a>>2]=m+(~((m+-32-b|0)>>>5)<<5);Yy(b)}b=c[h+20>>2]|0;if(b|0){m=h+24|0;if((c[m>>2]|0)!=(b|0))c[m>>2]=b;Yy(b)}b=c[h+8>>2]|0;if(!b){Gk(g);l=f;return}m=h+12|0;h=c[m>>2]|0;if((h|0)!=(b|0))c[m>>2]=h+(~(((h+-24-b|0)>>>0)/24|0)*24|0);Yy(b);Gk(g);l=f;return}function ih(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;g=l;l=l+96|0;h=g;i=b+152|0;j=b+156|0;k=c[j>>2]|0;Ck(h,2,d);a:do if((k|0)==(i|0)){m=k;n=5}else{o=k;p=k;do{if(Mk(p+8|0,h)|0){m=o;n=5;break a}p=c[o+4>>2]|0;o=p}while((o|0)!=(i|0))}while(0);if((n|0)==5?(m|0)!=(i|0):0)ta(15194,14693,367,15391);Gk(h);m=c[j>>2]|0;Ck(h,1,d);b:do if((m|0)==(i|0))q=i;else{k=m;o=m;while(1){if(Mk(o+8|0,h)|0){q=k;break b}o=c[k+4>>2]|0;k=o;if((k|0)==(i|0)){q=i;break}}}while(0);Gk(h);if((q|0)!=(i|0)){Lf(Ik(q+8|0)|0,e);l=g;return}Bk(h,0,d,e,f);f=c[j>>2]|0;c:do if((f|0)!=(i|0)){j=f;d=f;while(1){if(Mk(d+8|0,h)|0)break;d=c[j+4>>2]|0;q=d;if((q|0)==(i|0)){n=20;break c}else j=q}if((j|0)!=(i|0)){c[j+20>>2]=c[e+4>>2];if((j+16|0)!=(e|0)){yc(j+24|0,c[e+8>>2]|0,c[e+12>>2]|0);zc(j+36|0,c[e+20>>2]|0,c[e+24>>2]|0);Ac(j+48|0,c[e+32>>2]|0,c[e+36>>2]|0)}}else n=20}else n=20;while(0);if((n|0)==20)yg(i,h);do if(!(a[b+168>>0]|0)){if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0)break;if(!(a[b+137>>0]|0)){a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b)}}while(0);Gk(h);l=g;return}function jh(b,c){b=b|0;c=c|0;a[b+382>>0]=c&1;return}function kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;e=l;l=l+96|0;f=e;g=b+152|0;h=b+156|0;i=c[h>>2]|0;Dk(f,5,d);a:do if((i|0)==(g|0)){j=i;k=5}else{m=i;n=i;do{if(Mk(n+8|0,f)|0){j=m;k=5;break a}n=c[m+4>>2]|0;m=n}while((m|0)!=(g|0))}while(0);if((k|0)==5?(j|0)!=(g|0):0)ta(15401,14693,665,15502);Gk(f);j=c[h>>2]|0;Dk(f,3,d);b:do if((j|0)!=(g|0)){i=j;m=j;while(1){if(Mk(m+8|0,f)|0)break;m=c[i+4>>2]|0;n=m;if((n|0)==(g|0))break b;else i=n}if((i|0)!=(g|0))ta(15514,14693,667,15502)}while(0);Gk(f);Dk(f,4,d);d=c[h>>2]|0;c:do if((d|0)!=(g|0)){h=d;j=d;while(1){if(Mk(j+8|0,f)|0)break;j=c[h+4>>2]|0;m=j;if((m|0)==(g|0)){k=18;break c}else h=m}if((h|0)==(g|0))k=18}else k=18;while(0);if((k|0)==18)yg(g,f);if(a[b+168>>0]|0){Gk(f);l=e;return}if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0){Gk(f);l=e;return}if(a[b+137>>0]|0){Gk(f);l=e;return}a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b);Gk(f);l=e;return}function lh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;e=l;l=l+96|0;f=e;g=b+152|0;h=b+156|0;i=c[h>>2]|0;Dk(f,4,d);a:do if((i|0)==(g|0)){j=i;k=5}else{m=i;n=i;do{if(Mk(n+8|0,f)|0){j=m;k=5;break a}n=c[m+4>>2]|0;m=n}while((m|0)!=(g|0))}while(0);if((k|0)==5?(j|0)!=(g|0):0)ta(15613,14693,691,15711);Gk(f);j=c[h>>2]|0;Dk(f,3,d);b:do if((j|0)==(g|0))o=g;else{i=j;m=j;while(1){if(Mk(m+8|0,f)|0){o=i;break b}m=c[i+4>>2]|0;i=m;if((i|0)==(g|0)){o=g;break}}}while(0);Gk(f);if((o|0)!=(g|0)){j=o+4|0;i=c[o>>2]|0;c[i+4>>2]=c[j>>2];c[c[j>>2]>>2]=i;i=b+160|0;c[i>>2]=(c[i>>2]|0)+-1;Gk(o+8|0);Yy(o)}Dk(f,5,d);d=c[h>>2]|0;c:do if((d|0)!=(g|0)){h=d;o=d;while(1){if(Mk(o+8|0,f)|0)break;o=c[h+4>>2]|0;i=o;if((i|0)==(g|0)){k=18;break c}else h=i}if((h|0)==(g|0))k=18}else k=18;while(0);if((k|0)==18)yg(g,f);if(a[b+168>>0]|0){Gk(f);l=e;return}if(((c[b+160>>2]|0)==0?(yi(b+268|0)|0)==0:0)?(a[b+384>>0]|0)==0:0){Gk(f);l=e;return}if(a[b+137>>0]|0){Gk(f);l=e;return}a[b+384>>0]=0;zg(b);a[b+382>>0]=1;Ag(b);Gk(f);l=e;return}function mh(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;if(!b)d=fb[c[(c[a>>2]|0)+8>>2]&127](a)|0;else d=b;b=c[a+8>>2]|0;e=a+4|0;f=b;a:do if((f|0)!=(e|0)){g=b;h=f;while(1){if((Wf(c[g+8>>2]|0)|0)==(d|0))break;g=c[h+4>>2]|0;h=g;if((h|0)==(e|0))break a}ta(15726,14693,814,15755)}while(0);e=c[a+20>>2]|0;f=a+16|0;b=e;b:do if((b|0)!=(f|0)){h=e;g=b;while(1){if((nc(c[h+8>>2]|0)|0)==(d|0))break;h=c[g+4>>2]|0;g=h;if((g|0)==(f|0))break b}ta(15726,14693,814,15755)}while(0);f=c[a+32>>2]|0;b=a+28|0;e=f;if((e|0)==(b|0)){i=a+164|0;j=c[i>>2]|0;k=j>>>0>>0;l=k?d:j;c[i>>2]=l;return d|0}else{m=f;n=e}while(1){if((ji(c[m+8>>2]|0)|0)==(d|0)){o=12;break}m=c[n+4>>2]|0;n=m;if((n|0)==(b|0)){o=13;break}}if((o|0)==12)ta(15726,14693,814,15755);else if((o|0)==13){i=a+164|0;j=c[i>>2]|0;k=j>>>0>>0;l=k?d:j;c[i>>2]=l;return d|0}return 0}function nh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=Fa()|0;if(mb[c[(c[b>>2]|0)+12>>2]&7](b,~~(+(g-(c[b+368>>2]|0)|0)/1.0e3)>>>0,d,8,+(e>>>0)/+(f>>>0))|0)return;a[b+372>>0]=1;return}function oh(b,c){b=b|0;c=c|0;if((c|0)<7)return (a[b+248+c>>0]|0)!=0|0;else ta(15764,14693,2055,15797);return 0}function ph(a,b){a=a|0;b=b|0;if((b|0)<9)return +(+h[a+176+(b<<3)>>3]);else ta(15811,14693,2040,15850);return +(0.0)}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,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;d=l;l=l+48|0;e=d;f=a+88|0;g=b+4|0;h=Qe(f,g)|0;i=h+4|0;Te(h,c[i>>2]|0);c[h+8>>2]=0;c[h>>2]=i;c[i>>2]=0;i=a+124|0;h=Qe(i,g)|0;j=h+4|0;Te(h,c[j>>2]|0);c[h+8>>2]=0;c[h>>2]=j;c[j>>2]=0;j=a+4|0;h=c[a+8>>2]|0;k=h;if((k|0)!=(j|0)){m=b+16|0;n=e+32|0;o=e+20|0;p=e+8|0;q=e+12|0;r=e+24|0;s=e+36|0;t=h;h=k;do{k=t+8|0;Kf(e,c[k>>2]|0);u=Pd(e,m,0)|0;c[e>>2]=1624;v=c[n>>2]|0;if(v|0){w=c[s>>2]|0;if((w|0)!=(v|0))c[s>>2]=w+(~((w+-32-v|0)>>>5)<<5);Yy(v)}v=c[o>>2]|0;if(v|0){if((c[r>>2]|0)!=(v|0))c[r>>2]=v;Yy(v)}v=c[p>>2]|0;if(v|0){w=c[q>>2]|0;if((w|0)!=(v|0))c[q>>2]=w+(~(((w+-24-v|0)>>>0)/24|0)*24|0);Yy(v)}if(u){u=Qe(f,g)|0;v=Wf(c[k>>2]|0)|0;k=u+4|0;w=c[k>>2]|0;do if(w){x=u+4|0;y=w;while(1){z=c[y+16>>2]|0;if(v>>>0>>0){A=c[y>>2]|0;if(!A){B=23;break}else{C=y;D=A}}else{if(z>>>0>=v>>>0){B=27;break}E=y+4|0;z=c[E>>2]|0;if(!z){B=26;break}else{C=E;D=z}}x=C;y=D}if((B|0)==23){B=0;F=y;G=y;break}else if((B|0)==26){B=0;F=E;G=y;break}else if((B|0)==27){B=0;F=x;G=y;break}}else{F=k;G=k}while(0);if(!(c[F>>2]|0)){k=Wy(20)|0;c[k+16>>2]=v;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=G;c[F>>2]=k;w=c[c[u>>2]>>2]|0;if(!w)H=k;else{c[u>>2]=w;H=c[F>>2]|0}kd(c[u+4>>2]|0,H);w=u+8|0;c[w>>2]=(c[w>>2]|0)+1}}t=c[h+4>>2]|0;h=t}while((h|0)!=(j|0))}j=a+28|0;h=c[a+32>>2]|0;a=h;if((a|0)==(j|0)){l=d;return}t=b+16|0;b=h;h=a;do{a=b+8|0;if(Qd(ki(c[a>>2]|0)|0,t)|0){H=Qe(i,g)|0;F=ji(c[a>>2]|0)|0;a=H+4|0;G=c[a>>2]|0;do if(G){E=H+4|0;D=G;while(1){C=c[D+16>>2]|0;if(F>>>0>>0){f=c[D>>2]|0;if(!f){B=41;break}else{I=D;J=f}}else{if(C>>>0>=F>>>0){B=45;break}K=D+4|0;C=c[K>>2]|0;if(!C){B=44;break}else{I=K;J=C}}E=I;D=J}if((B|0)==41){B=0;L=D;M=D;break}else if((B|0)==44){B=0;L=K;M=D;break}else if((B|0)==45){B=0;L=E;M=D;break}}else{L=a;M=a}while(0);if(!(c[L>>2]|0)){a=Wy(20)|0;c[a+16>>2]=F;c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=M;c[L>>2]=a;G=c[c[H>>2]>>2]|0;if(!G)N=a;else{c[H>>2]=G;N=c[L>>2]|0}kd(c[H+4>>2]|0,N);G=H+8|0;c[G>>2]=(c[G>>2]|0)+1}}b=c[h+4>>2]|0;h=b}while((h|0)!=(j|0));l=d;return}function rh(b,c){b=b|0;c=c|0;var d=0;switch(c|0){case 1:{if(a[b+380>>0]|0){d=1;return d|0}break}case 2:{if(a[b+381>>0]|0){d=2;return d|0}break}default:{}}if(a[b+380>>0]|0){d=1;return d|0}d=(a[b+381>>0]|0)==0?0:2;return d|0}function sh(b,c,d){b=b|0;c=c|0;d=+d;var e=0.0;if((c|0)>=9)ta(15811,14693,1998,15867);a:do if(d<0.0)switch(c|0){case 5:{e=100.0;break a;break}case 4:{e=110.0;break a;break}case 7:{e=4.0;break a;break}case 2:{e=200.0;break a;break}case 3:{e=4.0e3;break a;break}default:{e=50.0;break a}}else e=d;while(0);h[b+176+(c<<3)>>3]=e;a[b+384>>0]=1;return}function th(b){b=b|0;return (a[b+383>>0]|0)!=0|0}function uh(a){a=a|0;var b=0;b=c[a+376>>2]|0;if(!b)ta(15887,14693,2354,15904);else{db[c[(c[b>>2]|0)+12>>2]&63](b,a);return}}function vh(a,b){a=a|0;b=b|0;var d=0,e=0;d=Wy(16)|0;e=d+8|0;c[e>>2]=b;c[e+4>>2]=0;c[d+4>>2]=a;e=c[a>>2]|0;c[d>>2]=e;c[e+4>>2]=d;c[a>>2]=d;e=a+8|0;c[e>>2]=(c[e>>2]|0)+1;return d+12|0}function wh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a+4>>2]|0;e=d;if((e|0)==(a|0))return;else{f=d;g=e}do{e=f+8|0;if((c[e>>2]|0)==(b|0))c[e>>2]=0;f=c[g+4>>2]|0;g=f}while((g|0)!=(a|0));return}function xh(b){b=b|0;var d=0;d=l;l=l+16|0;c[b>>2]=1800;if(!(a[(c[b+4>>2]|0)+169>>0]|0)){Pb(16081,d);Pb(16141,d+8|0);ra()}else{Ff(b);l=d;return}}function yh(b){b=b|0;var d=0;d=l;l=l+16|0;c[b>>2]=1800;if(!(a[(c[b+4>>2]|0)+169>>0]|0)){Pb(16081,d);Pb(16141,d+8|0);ra()}else{Ff(b);Yy(b);l=d;return}}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0.0;c=l;l=l+48|0;d=c;Yf(d,b);ae(a);e=+h[d>>3];h[a>>3]=e+(+h[d+24>>3]-e)*.5;e=+h[d+8>>3];h[a+8>>3]=e+(+h[d+32>>3]-e)*.5;l=c;return}function Ah(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0.0,m=0.0,n=0,o=0;d=l;l=l+64|0;e=d+48|0;f=d+40|0;g=d+16|0;i=d+8|0;j=d;c[j>>2]=Wf(a)|0;Bo(b,15930,j)|0;j=a+12|0;c[i>>2]=fb[c[(c[j>>2]|0)+16>>2]&127](j)|0;Bo(b,15949,i)|0;if(fb[c[(c[j>>2]|0)+16>>2]&127](j)|0){i=0;do{k=+h[(lb[c[(c[j>>2]|0)+24>>2]&15](j,i)|0)>>3];m=+h[(lb[c[(c[j>>2]|0)+24>>2]&15](j,i)|0)+8>>3];c[g>>2]=i;h[g+8>>3]=k;h[g+16>>3]=m;Bo(b,15983,g)|0;i=i+1|0}while(i>>>0<(fb[c[(c[j>>2]|0)+16>>2]&127](j)|0)>>>0)}bo(15978,4,1,b)|0;if(c[a+92>>2]|0){c[f>>2]=Wf(a)|0;Bo(b,16021,f)|0}c[e>>2]=Wf(a)|0;Bo(b,16045,e)|0;e=c[a+84>>2]|0;f=a+88|0;if((e|0)==(f|0)){pp(10,b)|0;l=d;return}else n=e;while(1){Zb(c[n+16>>2]|0,b);e=c[n+4>>2]|0;if(!e){a=n+8|0;j=c[a>>2]|0;if((c[j>>2]|0)==(n|0))o=j;else{j=a;do{a=c[j>>2]|0;j=a+8|0;i=c[j>>2]|0}while((c[i>>2]|0)!=(a|0));o=i}}else{j=e;while(1){i=c[j>>2]|0;if(!i)break;else j=i}o=j}if((o|0)==(f|0))break;else n=o}pp(10,b)|0;l=d;return}function Bh(){Fh(27904,0,0,0);Fh(27912,0,0,b[4624]|0);return} +function Ch(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=l;l=l+48|0;g=f;Gb(g,d);Jf(a,b,g,e);c[g>>2]=1624;e=c[g+32>>2]|0;if(e|0){b=g+36|0;d=c[b>>2]|0;if((d|0)!=(e|0))c[b>>2]=d+(~((d+-32-e|0)>>>5)<<5);Yy(e)}e=c[g+20>>2]|0;if(e|0){d=g+24|0;if((c[d>>2]|0)!=(e|0))c[d>>2]=e;Yy(e)}e=c[g+8>>2]|0;if(!e){c[a>>2]=1800;h=a+4|0;i=c[h>>2]|0;fh(i,a);l=f;return}d=g+12|0;g=c[d>>2]|0;if((g|0)!=(e|0))c[d>>2]=g+(~(((g+-24-e|0)>>>0)/24|0)*24|0);Yy(e);c[a>>2]=1800;h=a+4|0;i=c[h>>2]|0;fh(i,a);l=f;return}function Dh(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;d=c[a+72>>2]|0;e=a+76|0;a:do if((d|0)!=(e|0)){f=a+4|0;g=d;while(1){h=c[g+16>>2]|0;i=c[h+44>>2]|0;if(!i)break;j=c[f>>2]|0;xg(j,i,xd(h)|0,h,1);h=c[g+4>>2]|0;if(!h){i=g+8|0;j=c[i>>2]|0;if((c[j>>2]|0)==(g|0))k=j;else{j=i;do{i=c[j>>2]|0;j=i+8|0;l=c[j>>2]|0}while((c[l>>2]|0)!=(i|0));k=l}}else{j=h;while(1){l=c[j>>2]|0;if(!l)break;else j=l}k=j}if((k|0)==(e|0))break a;else g=k}ta(16231,16257,64,16267)}while(0);k=c[a+84>>2]|0;e=a+88|0;if((k|0)==(e|0))return;else m=k;while(1){Yb(c[m+16>>2]|0,b);k=c[m+4>>2]|0;if(!k){a=m+8|0;d=c[a>>2]|0;if((c[d>>2]|0)==(m|0))n=d;else{d=a;do{a=c[d>>2]|0;d=a+8|0;g=c[d>>2]|0}while((c[g>>2]|0)!=(a|0));n=g}}else{d=k;while(1){g=c[d>>2]|0;if(!g)break;else d=g}n=d}if((n|0)==(e|0))break;else m=n}return}function Eh(a){a=a|0;return a+12|0}function Fh(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;c[a>>2]=d;b[a+4>>1]=e;b[a+6>>1]=f;return}function Gh(a,d){a=a|0;d=d|0;c[a>>2]=c[d>>2];b[a+4>>1]=b[d+4>>1]|0;b[a+6>>1]=b[d+6>>1]|0;return}function Hh(a,d){a=a|0;d=d|0;if((c[a>>2]|0)==(c[d>>2]|0))return (b[a+4>>1]|0)==(b[d+4>>1]|0)|0;else return 0;return 0}function Ih(a,d){a=a|0;d=d|0;if((c[a>>2]|0)==(c[d>>2]|0))return (b[a+4>>1]|0)!=(b[d+4>>1]|0)|0;else return 1;return 0}function Jh(a,b){a=a|0;b=b|0;var d=0,f=0,g=0;d=c[a>>2]|0;f=c[b>>2]|0;if(d>>>0>>0){g=1;return g|0}if((d|0)==(f|0)?(e[a+4>>1]|0)<(e[b+4>>1]|0):0){g=1;return g|0}g=0;return g|0}function Kh(a,c){a=a|0;c=c|0;c=a+4|0;b[c>>1]=(e[c>>1]|0)+1;return a|0}function Lh(a){a=a|0;var b=0,d=0,f=0,g=0;b=l;l=l+16|0;d=b;f=e[a+4>>1]|0;g=e[a+6>>1]|0;c[d>>2]=c[a>>2];c[d+4>>2]=f;c[d+8>>2]=g;xc(16285,d);l=b;return}function Mh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;f=l;l=l+16|0;g=f+12|0;h=f;i=f+8|0;fq(h,b);if(!(a[h>>0]|0)){gq(h);l=f;return b|0}j=(c[b>>2]|0)+-12|0;c[i>>2]=c[b+(c[j>>2]|0)+24>>2];k=b+(c[j>>2]|0)|0;j=c[k+4>>2]|0;m=d+e|0;e=k+76|0;n=c[e>>2]|0;if((n|0)==-1){bq(g,k);o=Kq(g,28696)|0;p=lb[c[(c[o>>2]|0)+28>>2]&15](o,32)|0;Lq(g);o=p<<24>>24;c[e>>2]=o;q=o}else q=n;c[g>>2]=c[i>>2];if(Nh(g,d,(j&176|0)==32?m:d,m,k,q&255)|0){gq(h);l=f;return b|0}q=b+(c[(c[b>>2]|0)+-12>>2]|0)|0;_p(q,c[q+16>>2]|5);gq(h);l=f;return b|0}function Nh(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;i=l;l=l+16|0;j=i;k=c[b>>2]|0;if(!k){m=0;l=i;return m|0}n=f;f=d;o=n-f|0;p=g+12|0;g=c[p>>2]|0;q=(g|0)>(o|0)?g-o|0:0;o=e;g=o-f|0;if((g|0)>0?(Za[c[(c[k>>2]|0)+48>>2]&31](k,d,g)|0)!=(g|0):0){c[b>>2]=0;m=0;l=i;return m|0}if((q|0)>0){c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;if(q>>>0<11){g=j+11|0;a[g>>0]=q;r=j;s=g;t=j}else{g=q+16&-16;d=Wy(g)|0;c[j>>2]=d;c[j+8>>2]=g|-2147483648;c[j+4>>2]=q;r=d;s=j+11|0;t=j}zA(r|0,h|0,q|0)|0;a[r+q>>0]=0;if((Za[c[(c[k>>2]|0)+48>>2]&31](k,(a[s>>0]|0)<0?c[t>>2]|0:j,q)|0)==(q|0)){u=1;v=k}else{c[b>>2]=0;u=0;v=0}if((a[s>>0]|0)<0)Yy(c[t>>2]|0);if(u)w=v;else{m=0;l=i;return m|0}}else w=k;k=n-o|0;if((k|0)>0?(Za[c[(c[w>>2]|0)+48>>2]&31](w,e,k)|0)!=(k|0):0){c[b>>2]=0;m=0;l=i;return m|0}c[p>>2]=0;m=w;l=i;return m|0}function Oh(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;c[a>>2]=d;c[a+4>>2]=c[e>>2];h=e+4|0;b[a+8>>1]=b[h>>1]|0;b[a+10>>1]=b[e+6>>1]|0;i=a+16|0;c[i>>2]=c[f>>2];c[i+4>>2]=c[f+4>>2];c[i+8>>2]=c[f+8>>2];c[i+12>>2]=c[f+12>>2];c[i+16>>2]=c[f+16>>2];c[i+20>>2]=c[f+20>>2];f=a+40|0;i=a+56|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[i>>2]=i;c[a+60>>2]=i;c[a+64>>2]=0;c[a+68>>2]=0;i=a+72|0;c[i>>2]=i;c[a+76>>2]=i;c[a+80>>2]=0;c[a+84>>2]=0;i=a+88|0;c[i>>2]=i;c[a+92>>2]=i;i=a+96|0;c[a+128>>2]=0;f=a+132|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[i+16>>2]=0;c[f>>2]=f;c[a+136>>2]=f;c[a+140>>2]=0;f=a+144|0;c[f>>2]=f;c[a+148>>2]=f;c[a+152>>2]=0;c[a+156>>2]=0;c[a+32>>2]=c[e>>2];b[a+36>>1]=b[h>>1]|0;if(!g)return;Ph(d+100|0,a);return}function Ph(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,u=0,v=0,w=0;e=a+4|0;f=c[e>>2]|0;g=(f|0)==0;if(g?(c[a+20>>2]|0)==0:0)h=0;else{if(c[f+40>>2]|0)ta(16299,16401,496,16414);i=c[a+20>>2]|0;if(!i)ta(16299,16401,496,16414);else h=i}i=c[a>>2]|0;j=(i|0)==0;k=i;if(j?(c[a+16>>2]|0)==0:0)l=0;else{if(c[i+40>>2]|0)ta(16424,16401,496,16414);m=c[a+16>>2]|0;if(!m)ta(16424,16401,496,16414);else l=m}m=a+8|0;n=c[m>>2]|0;o=(n|0)==0;if(!o?c[n+44>>2]|0:0)ta(16530,16401,496,16414);p=a+12|0;q=c[p>>2]|0;r=(q|0)==0;if(!r?(c[q+44>>2]|0)!=(i|0):0)ta(16581,16401,496,16414);if(g){if(!r)ta(16643,16401,496,16414)}else if(r)ta(16643,16401,496,16414);if(j){if(!o)ta(16716,16401,496,16414)}else{if(o)ta(16716,16401,496,16414);if(b[i+10>>1]&1)ta(16793,16401,496,16414);if(b[n+10>>1]&1)ta(16847,16401,496,16414)}if(!g?(b[f+10>>1]&1)==0:0)ta(16899,16401,496,16414);if(!r?(b[q+10>>1]&1)==0:0)ta(16948,16401,496,16414);i=d+40|0;if(c[i>>2]|0)ta(16995,16401,497,16414);j=d+44|0;if(c[j>>2]|0)ta(17015,16401,498,16414);if(!(b[d+10>>1]&1)){if(o){c[a>>2]=d;c[m>>2]=d;if(!r){r=q+44|0;if(!(c[r>>2]|0)){s=r;t=49}else ta(17035,16401,544,16414)}}else{c[i>>2]=n;c[n+44>>2]=d;s=m;t=49}if((t|0)==49)c[s>>2]=d;u=a+20|0;v=a+16|0;w=l}else{if(g){c[e>>2]=d;c[p>>2]=d;c[j>>2]=k}else{c[j>>2]=f;c[f+40>>2]=d;c[e>>2]=d}d=a+20|0;u=d;v=d;w=h}c[v>>2]=w+1;w=c[e>>2]|0;e=(w|0)==0;v=(c[u>>2]|0)==0;if(!(e&v)?v|(c[w+40>>2]|0)!=0:0)ta(16299,16401,551,16414);v=c[a>>2]|0;u=(v|0)==0;h=(c[a+16>>2]|0)==0;if(!(u&h)?h|(c[v+40>>2]|0)!=0:0)ta(16424,16401,551,16414);h=c[m>>2]|0;m=(h|0)==0;if(!m?c[h+44>>2]|0:0)ta(16530,16401,551,16414);a=c[p>>2]|0;p=(a|0)==0;if(!p?(c[a+44>>2]|0)!=(v|0):0)ta(16581,16401,551,16414);if(e){if(!p)ta(16643,16401,551,16414)}else if(p)ta(16643,16401,551,16414);do if(u){if(!m)ta(16716,16401,551,16414)}else{if(m)ta(16716,16401,551,16414);if(b[v+10>>1]&1)ta(16793,16401,551,16414);if(!(b[h+10>>1]&1))break;ta(16847,16401,551,16414)}while(0);if(!e?(b[w+10>>1]&1)==0:0)ta(16899,16401,551,16414);if(p)return;if(!(b[a+10>>1]&1))ta(16948,16401,551,16414);else return}function Qh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=a+64|0;if(c[b>>2]|0)ta(17064,16401,186,17075);d=a+96|0;if(c[d>>2]|0)ta(17064,16401,186,17075);e=a+80|0;if(c[e>>2]|0)ta(17064,16401,186,17075);f=a+144|0;g=a+152|0;if(c[g>>2]|0?(h=c[a+148>>2]|0,i=(c[f>>2]|0)+4|0,j=c[h>>2]|0,c[j+4>>2]=c[i>>2],c[c[i>>2]>>2]=j,c[g>>2]=0,(h|0)!=(f|0)):0){g=h;do{h=g;g=c[g+4>>2]|0;Yy(h)}while((g|0)!=(f|0))}f=a+132|0;g=a+140|0;if(c[g>>2]|0?(h=c[a+136>>2]|0,j=(c[f>>2]|0)+4|0,i=c[h>>2]|0,c[i+4>>2]=c[j>>2],c[c[j>>2]>>2]=i,c[g>>2]=0,(h|0)!=(f|0)):0){g=h;do{h=g;g=c[g+4>>2]|0;Yy(h)}while((g|0)!=(f|0))}f=a+88|0;if(c[d>>2]|0?(g=c[a+92>>2]|0,h=(c[f>>2]|0)+4|0,i=c[g>>2]|0,c[i+4>>2]=c[h>>2],c[c[h>>2]>>2]=i,c[d>>2]=0,(g|0)!=(f|0)):0){d=g;do{g=d;d=c[d+4>>2]|0;Yy(g)}while((d|0)!=(f|0))}f=a+72|0;if(c[e>>2]|0?(d=c[a+76>>2]|0,g=(c[f>>2]|0)+4|0,i=c[d>>2]|0,c[i+4>>2]=c[g>>2],c[c[g>>2]>>2]=i,c[e>>2]=0,(d|0)!=(f|0)):0){e=d;do{d=e;e=c[e+4>>2]|0;Yy(d)}while((e|0)!=(f|0))}f=a+56|0;if(!(c[b>>2]|0))return;e=c[a+60>>2]|0;a=(c[f>>2]|0)+4|0;d=c[e>>2]|0;c[d+4>>2]=c[a>>2];c[c[a>>2]>>2]=d;c[b>>2]=0;if((e|0)==(f|0))return;else k=e;do{e=k;k=c[k+4>>2]|0;Yy(e)}while((k|0)!=(f|0));return}function Rh(a){a=a|0;var b=0;if(c[a+64>>2]|0){b=0;return b|0}if(c[a+96>>2]|0){b=0;return b|0}b=(c[a+80>>2]|0)==0;return b|0}function Sh(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=d?a+72|0:a+56|0;d=c[e+4>>2]|0;f=d;if((f|0)==(e|0)){g=0;return g|0}else{h=d;i=f}while(1){j=h+8|0;if((We(c[j>>2]|0,a)|0)==(b|0))break;h=c[i+4>>2]|0;i=h;if((i|0)==(e|0)){g=0;k=5;break}}if((k|0)==5)return g|0;g=c[j>>2]|0;return g|0}function Th(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0;f=c[d>>2]|0;c[a+4>>2]=f;g=b[d+4>>1]|0;b[a+8>>1]=g;b[a+10>>1]=b[d+6>>1]|0;d=a+16|0;c[d>>2]=c[e>>2];c[d+4>>2]=c[e+4>>2];c[d+8>>2]=c[e+8>>2];c[d+12>>2]=c[e+12>>2];c[a+32>>2]=f;b[a+36>>1]=g;return}function Uh(a,d){a=a|0;d=d|0;var e=0;e=a+16|0;c[e>>2]=c[d>>2];c[e+4>>2]=c[d+4>>2];c[e+8>>2]=c[d+8>>2];c[e+12>>2]=c[d+12>>2];c[a+32>>2]=c[a+4>>2];b[a+36>>1]=b[a+8>>1]|0;return}function Vh(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(d?(b[a+10>>1]&1)==0:0)ta(17084,16401,232,17098);d=a+56|0;e=a+60|0;f=c[e>>2]|0;if((f|0)!=(d|0)){g=f;do{f=g+8|0;Je(c[f>>2]|0);h=c[f>>2]|0;if(h|0){we(h);Yy(h)}g=c[e>>2]|0}while((g|0)!=(d|0))}d=a+72|0;g=a+76|0;e=c[g>>2]|0;if((e|0)!=(d|0)){h=e;do{e=h+8|0;Je(c[e>>2]|0);f=c[e>>2]|0;if(f|0){we(f);Yy(f)}h=c[g>>2]|0}while((h|0)!=(d|0))}d=a+88|0;h=a+92|0;a=c[h>>2]|0;if((a|0)==(d|0))return;else i=a;while(1){a=c[i+8>>2]|0;if(!a)j=i;else{we(a);Yy(a);j=c[h>>2]|0}if((j|0)==(d|0))break;else i=j}return}function Wh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0.0,r=0;d=l;l=l+80|0;e=d+48|0;f=d+24|0;g=d;i=c[a+60>>2]|0;j=a+56|0;k=i;if((k|0)!=(j|0)){m=a+16|0;n=g+8|0;if((b|0)==15){o=i;p=k;do{Fe(c[o+8>>2]|0,0);o=c[p+4>>2]|0;p=o}while((p|0)!=(j|0))}else{p=i;i=k;do{k=p+8|0;o=(We(c[k>>2]|0,a)|0)+16|0;c[e>>2]=c[o>>2];c[e+4>>2]=c[o+4>>2];c[e+8>>2]=c[o+8>>2];c[e+12>>2]=c[o+12>>2];c[e+16>>2]=c[o+16>>2];c[e+20>>2]=c[o+20>>2];c[f>>2]=c[m>>2];c[f+4>>2]=c[m+4>>2];c[f+8>>2]=c[m+8>>2];c[f+12>>2]=c[m+12>>2];c[f+16>>2]=c[m+16>>2];c[f+20>>2]=c[m+20>>2];ie(g,e,f);q=+h[n>>3];o=q>1.0e-06&1;r=q<-1.0e-06?o|2:o;q=+h[g>>3];o=q>1.0e-06?r|8:r;Fe(c[k>>2]|0,((q<-1.0e-06?o|4:o)&b|0)==0);p=c[i+4>>2]|0;i=p}while((i|0)!=(j|0))}}j=c[a+76>>2]|0;i=a+72|0;p=j;if((p|0)==(i|0)){l=d;return}n=a+16|0;m=g+8|0;if((b|0)==15){o=j;k=p;do{Fe(c[o+8>>2]|0,0);o=c[k+4>>2]|0;k=o}while((k|0)!=(i|0));l=d;return}else{k=j;j=p;do{p=k+8|0;o=(We(c[p>>2]|0,a)|0)+16|0;c[e>>2]=c[o>>2];c[e+4>>2]=c[o+4>>2];c[e+8>>2]=c[o+8>>2];c[e+12>>2]=c[o+12>>2];c[e+16>>2]=c[o+16>>2];c[e+20>>2]=c[o+20>>2];c[f>>2]=c[n>>2];c[f+4>>2]=c[n+4>>2];c[f+8>>2]=c[n+8>>2];c[f+12>>2]=c[n+12>>2];c[f+16>>2]=c[n+16>>2];c[f+20>>2]=c[n+20>>2];ie(g,e,f);q=+h[m>>3];o=q>1.0e-06&1;r=q<-1.0e-06?o|2:o;q=+h[g>>3];o=q>1.0e-06?r|8:r;Fe(c[p>>2]|0,((q<-1.0e-06?o|4:o)&b|0)==0);k=c[j+4>>2]|0;j=k}while((j|0)!=(i|0));l=d;return}}function Xh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;if((a|0)==(b|0)){d=1;return d|0}else{e=a;f=1}while(1){if(f>>>0>1&(e|0)==(a|0)){d=0;g=7;break}h=f+1|0;if(!e){d=0;g=7;break}if(h>>>0>=2e4){g=5;break}e=c[e+104>>2]|0;if((e|0)==(b|0)){d=h;g=7;break}else f=h}if((g|0)==5)ta(17114,16401,376,17130);else if((g|0)==7)return d|0;return 0}function Yh(a,b){a=a|0;b=b|0;var d=0;d=Pm(4)|0;c[a+112>>2]=d;c[d>>2]=b;return d|0}function Zh(a){a=a|0;var b=0,d=0;b=c[a+112>>2]|0;if(!b){d=0;return d|0}d=c[b>>2]|0;return d|0}function _h(a){a=a|0;return c[a+112>>2]|0}function $h(a,b){a=a|0;b=b|0;c[a+112>>2]=b;return}function ai(a){a=a|0;return 0}function bi(a){a=a|0;return c[a>>2]|0}function ci(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;return}function di(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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;if(!d){e=0;return e|0}f=a+4|0;g=c[f>>2]|0;h=(g|0)==0;if(h?(c[a+20>>2]|0)==0:0)i=0;else{if(c[g+40>>2]|0)ta(16299,16401,564,17146);j=c[a+20>>2]|0;if(!j)ta(16299,16401,564,17146);else i=j}j=c[a>>2]|0;k=(j|0)==0;if(k?(c[a+16>>2]|0)==0:0)l=0;else{if(c[j+40>>2]|0)ta(16424,16401,564,17146);m=c[a+16>>2]|0;if(!m)ta(16424,16401,564,17146);else l=m}m=a+8|0;n=c[m>>2]|0;o=(n|0)==0;if(!o?c[n+44>>2]|0:0)ta(16530,16401,564,17146);p=a+12|0;q=c[p>>2]|0;r=(q|0)==0;if(!r?(c[q+44>>2]|0)!=(j|0):0)ta(16581,16401,564,17146);if(h){if(!r)ta(16643,16401,564,17146)}else if(r)ta(16643,16401,564,17146);if(k){if(!o)ta(16716,16401,564,17146)}else{if(o)ta(16716,16401,564,17146);if(b[j+10>>1]&1)ta(16793,16401,564,17146);if(b[n+10>>1]&1)ta(16847,16401,564,17146)}if(!h?(b[g+10>>1]&1)==0:0)ta(16899,16401,564,17146);if(!r?(b[q+10>>1]&1)==0:0)ta(16948,16401,564,17146);h=d+44|0;o=c[h>>2]|0;k=o;if(!(b[d+10>>1]&1)){s=(j|0)==(d|0);do if((n|0)==(d|0)){t=c[d+40>>2]|0;c[m>>2]=t;u=t;if(s){c[a>>2]=0;if(r)v=0;else{c[q+44>>2]=0;v=0}}else v=j;if(!t)w=v;else{c[u+44>>2]=0;w=v}}else{if(!s){u=d+40|0;c[o+40>>2]=c[u>>2];c[(c[u>>2]|0)+44>>2]=o;w=j;break}c[a>>2]=k;if(!r)c[q+44>>2]=k;if(!o)w=0;else{c[o+40>>2]=0;w=o}}while(0);x=a+20|0;y=a+16|0;z=l;A=w}else{w=(q|0)==(d|0);do if((g|0)==(d|0)){if(w){c[f>>2]=0;c[p>>2]=0;break}c[f>>2]=o;if(o|0)c[o+40>>2]=0}else{q=d+40|0;if(w){l=c[q>>2]|0;c[p>>2]=l;B=j;C=l}else{c[o+40>>2]=c[q>>2];B=o;C=c[q>>2]|0}c[C+44>>2]=B}while(0);B=a+20|0;x=B;y=B;z=i;A=j}c[y>>2]=z+-1;c[d+40>>2]=0;c[h>>2]=0;h=c[f>>2]|0;f=(h|0)==0;d=(c[x>>2]|0)==0;if(!(f&d)?d|(c[h+40>>2]|0)!=0:0)ta(16299,16401,654,17146);d=(c[a+16>>2]|0)==0;if(!((A|0)==0&d)?d|(c[A+40>>2]|0)!=0:0)ta(16424,16401,654,17146);d=c[m>>2]|0;m=(d|0)==0;if(!m?c[d+44>>2]|0:0)ta(16530,16401,654,17146);a=c[p>>2]|0;p=(a|0)==0;if(!p?(c[a+44>>2]|0)!=(A|0):0)ta(16581,16401,654,17146);if(f){if(!p)ta(16643,16401,654,17146)}else if(p)ta(16643,16401,654,17146);if(!A){if(!m)ta(16716,16401,654,17146)}else{if(m)ta(16716,16401,654,17146);if(b[A+10>>1]&1)ta(16793,16401,654,17146);if(b[d+10>>1]&1)ta(16847,16401,654,17146)}if(!f?(b[h+10>>1]&1)==0:0)ta(16899,16401,654,17146);if(p){e=o;return e|0}if(!(b[a+10>>1]&1))ta(16948,16401,654,17146);else{e=o;return e|0}return 0}function ei(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;e=c[d>>2]|0;f=b[d+4>>1]|0;if(f<<16>>16==8){g=e&2147483647;h=(e|0)<0?1:2}else{g=e;h=f}f=c[a+4>>2]|0;if(!f){i=a;j=5}else k=f;while(1){if((j|0)==5){j=0;f=c[i>>2]|0;if(!f){l=0;j=9;break}else k=f}if((c[k+4>>2]|0)==(g|0)?(b[k+8>>1]|0)==h<<16>>16:0){l=k;j=9;break}i=k+44|0;j=5}if((j|0)==9)return l|0;return 0}function fi(a){a=a|0;var b=0,d=0;b=c[a+4>>2]|0;if(b|0){d=b;return d|0}d=c[a>>2]|0;return d|0}function gi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=c[a>>2]|0;if(!d){e=0;return e|0}else f=d;while(1){if(ce(f+16|0,b)|0){e=f;g=4;break}f=c[f+44>>2]|0;if(!f){e=0;g=4;break}}if((g|0)==4)return e|0;return 0}function hi(a){a=a|0;return c[a+20>>2]|0}function ii(){Fh(27920,0,0,0);Fh(27928,0,0,b[4624]|0);return}function ji(a){a=a|0;return c[a+4>>2]|0}function ki(a){a=a|0;return a+8|0}function li(a){a=a|0;return a+40|0}function mi(){Fh(27936,0,0,0);Fh(27944,0,0,b[4624]|0);return}function ni(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;d=l;l=l+32|0;e=d+16|0;f=d+8|0;g=d;if(!(a[(Xf(b)|0)+141>>0]|0))Zf(b);h=Uf(b)|0;i=c[(Vf(b)|0)+44>>2]|0;j=fi((Xf(b)|0)+100|0)|0;if((h|0)==(i|0)){l=d;return}else k=h;do{xc(17159,g);Lh(k+4|0);xc(17178,f);if((j|0)!=(k|0)){h=j;do{if(!(Hh(h+4|0,27936)|0))Xe(k,h,1)|0;h=c[h+44>>2]|0}while((h|0)!=(k|0))}xc(17192,e);h=ai((Xf(b)|0)+100|0)|0;if((i|0)!=(h|0)){m=i;do{if(!(Hh(m+4|0,27936)|0))Xe(k,m,1)|0;m=c[m+44>>2]|0}while((m|0)!=(h|0))}k=c[k+44>>2]|0}while((k|0)!=(i|0));l=d;return}function oi(b){b=b|0;var d=0,e=0,f=0;if(!(a[(Xf(b)|0)+141>>0]|0))Zf(b);d=Uf(b)|0;e=c[(Vf(b)|0)+44>>2]|0;if((d|0)==(e|0))return;else f=d;do{pi(f);f=c[f+44>>2]|0}while((f|0)!=(e|0));return}function pi(d){d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0.0,R=0.0,S=0,T=0,U=0,V=0.0,W=0.0,X=0,Y=0.0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0.0,ea=0.0,fa=0.0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0.0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ua=0.0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0.0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0;e=l;l=l+256|0;f=e+144|0;g=e+136|0;i=e+128|0;j=e+120|0;k=e+112|0;m=e+104|0;n=e+80|0;o=e+56|0;p=e+48|0;q=e+248|0;r=e+24|0;s=e+232|0;t=e+220|0;u=e+208|0;v=e;w=c[d>>2]|0;x=d+16|0;Gh(q,d+4|0);c[r>>2]=c[x>>2];c[r+4>>2]=c[x+4>>2];c[r+8>>2]=c[x+8>>2];c[r+12>>2]=c[x+12>>2];c[r+16>>2]=c[x+16>>2];c[r+20>>2]=c[x+20>>2];y=s+4|0;c[y>>2]=0;z=s+8|0;c[z>>2]=0;A=s+4|0;c[s>>2]=A;B=Qe(w+88|0,q)|0;C=w+100|0;D=fi(C)|0;E=ai(C)|0;if((D|0)!=(E|0)){C=q+6|0;F=b[4627]|0;G=b[4628]|0;H=B+4|0;B=D;do{do if((B|0)!=(d|0)?(D=B+4|0,!(Hh(D,27936)|0)):0){I=b[C>>1]|0;J=(F&I)<<16>>16==0;if(!J?(K=c[H>>2]|0,K|0):0){L=c[D>>2]|0;M=H;N=K;a:while(1){K=N;while(1){if((c[K+16>>2]|0)>>>0>=L>>>0)break;O=c[K+4>>2]|0;if(!O){P=M;break a}else K=O}N=c[K>>2]|0;if(!N){P=K;break}else M=K}if(((P|0)!=(H|0)?L>>>0>=(c[P+16>>2]|0)>>>0:0)?(F&b[B+10>>1])<<16>>16==0:0){c[m>>2]=L;xc(17207,m);break}}M=b[B+10>>1]|0;if(!((F&M)<<16>>16)){c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];c[o+16>>2]=c[r+16>>2];c[o+20>>2]=c[r+20>>2];N=B+16|0;ie(n,N,r);Q=+Td(n);R=+Nd(r,N);N=c[A>>2]|0;do if(N){O=y;S=N;b:while(1){T=S+16|0;U=S+24|0;V=+h[U>>3];do if(Q==V){W=+h[S+32>>3];if(!(R==W))if(R>2]|0)+4|0)|0)X=120;else{Y=+h[U>>3];X=122}}else if(Q>2]|0;if(!U){X=121;break}else{Z=S;_=U}}else if((X|0)==122){X=0;do if(Y==Q){V=+h[S+32>>3];if(V==R)if(Jh((c[T>>2]|0)+4|0,D)|0)break;else{X=130;break b}else if(V>2]|0;if(!T){X=129;break}else{Z=$;_=T}}O=Z;S=_}if((X|0)==121){X=0;aa=S;ba=S;break}else if((X|0)==129){X=0;aa=$;ba=S;break}else if((X|0)==130){X=0;aa=O;ba=S;break}}else{aa=A;ba=A}while(0);if(!(c[aa>>2]|0)){N=Wy(64)|0;c[N+16>>2]=B;h[N+24>>3]=Q;h[N+32>>3]=R;L=N+40|0;c[L>>2]=c[o>>2];c[L+4>>2]=c[o+4>>2];c[L+8>>2]=c[o+8>>2];c[L+12>>2]=c[o+12>>2];c[L+16>>2]=c[o+16>>2];c[L+20>>2]=c[o+20>>2];c[N>>2]=0;c[N+4>>2]=0;c[N+8>>2]=ba;c[aa>>2]=N;L=c[c[s>>2]>>2]|0;if(!L)ca=N;else{c[s>>2]=L;ca=c[aa>>2]|0}kd(c[y>>2]|0,ca);c[z>>2]=(c[z>>2]|0)+1}break}if(J){c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];c[o+16>>2]=c[r+16>>2];c[o+20>>2]=c[r+20>>2];L=B+16|0;ie(n,L,r);V=+Td(n);W=+Nd(r,L);L=c[A>>2]|0;do if(L){N=y;K=L;c:while(1){T=K+16|0;U=K+24|0;da=+h[U>>3];do if(V==da){ea=+h[K+32>>3];if(!(W==ea))if(W>2]|0)+4|0)|0)X=97;else{fa=+h[U>>3];X=99}}else if(V>2]|0;if(!U){X=98;break}else{ga=K;ha=U}}else if((X|0)==99){X=0;do if(fa==V){da=+h[K+32>>3];if(da==W)if(Jh((c[T>>2]|0)+4|0,D)|0)break;else{X=107;break c}else if(da>2]|0;if(!T){X=106;break}else{ga=ia;ha=T}}N=ga;K=ha}if((X|0)==98){X=0;ja=K;ka=K;break}else if((X|0)==106){X=0;ja=ia;ka=K;break}else if((X|0)==107){X=0;ja=N;ka=K;break}}else{ja=A;ka=A}while(0);if(!(c[ja>>2]|0)){L=Wy(64)|0;c[L+16>>2]=B;h[L+24>>3]=V;h[L+32>>3]=W;J=L+40|0;c[J>>2]=c[o>>2];c[J+4>>2]=c[o+4>>2];c[J+8>>2]=c[o+8>>2];c[J+12>>2]=c[o+12>>2];c[J+16>>2]=c[o+16>>2];c[J+20>>2]=c[o+20>>2];c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=ka;c[ja>>2]=L;J=c[c[s>>2]>>2]|0;if(!J)la=L;else{c[s>>2]=J;la=c[ja>>2]|0}kd(c[y>>2]|0,la);c[z>>2]=(c[z>>2]|0)+1}break}if((G&M)<<16>>16){c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];c[o+16>>2]=c[r+16>>2];c[o+20>>2]=c[r+20>>2];J=B+16|0;ie(n,J,r);R=+Td(n);Q=+Nd(r,J);J=c[A>>2]|0;do if(J){L=y;S=J;d:while(1){O=S+16|0;T=S+24|0;da=+h[T>>3];do if(R==da){ea=+h[S+32>>3];if(!(Q==ea))if(Q>2]|0)+4|0)|0)X=26;else{ma=+h[T>>3];X=28}}else if(R>2]|0;if(!T){X=27;break}else{na=S;oa=T}}else if((X|0)==28){X=0;do if(ma==R){da=+h[S+32>>3];if(da==Q)if(Jh((c[O>>2]|0)+4|0,D)|0)break;else{X=36;break d}else if(da>2]|0;if(!O){X=35;break}else{na=pa;oa=O}}L=na;S=oa}if((X|0)==27){X=0;qa=S;ra=S;break}else if((X|0)==35){X=0;qa=pa;ra=S;break}else if((X|0)==36){X=0;qa=L;ra=S;break}}else{qa=A;ra=A}while(0);if(!(c[qa>>2]|0)){J=Wy(64)|0;c[J+16>>2]=B;h[J+24>>3]=R;h[J+32>>3]=Q;M=J+40|0;c[M>>2]=c[o>>2];c[M+4>>2]=c[o+4>>2];c[M+8>>2]=c[o+8>>2];c[M+12>>2]=c[o+12>>2];c[M+16>>2]=c[o+16>>2];c[M+20>>2]=c[o+20>>2];c[J>>2]=0;c[J+4>>2]=0;c[J+8>>2]=ra;c[qa>>2]=J;M=c[c[s>>2]>>2]|0;if(!M)sa=J;else{c[s>>2]=M;sa=c[qa>>2]|0}kd(c[y>>2]|0,sa);c[z>>2]=(c[z>>2]|0)+1}break}if((G&I)<<16>>16){c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];c[o+16>>2]=c[r+16>>2];c[o+20>>2]=c[r+20>>2];M=B+16|0;ie(n,M,r);W=+Td(n);V=+Nd(r,M);M=c[A>>2]|0;do if(M){J=y;K=M;e:while(1){N=K+16|0;O=K+24|0;da=+h[O>>3];do if(W==da){ea=+h[K+32>>3];if(!(V==ea))if(V>2]|0)+4|0)|0)X=50;else{ua=+h[O>>3];X=52}}else if(W>2]|0;if(!O){X=51;break}else{va=K;wa=O}}else if((X|0)==52){X=0;do if(ua==W){da=+h[K+32>>3];if(da==V)if(Jh((c[N>>2]|0)+4|0,D)|0)break;else{X=60;break e}else if(da>2]|0;if(!N){X=59;break}else{va=xa;wa=N}}J=va;K=wa}if((X|0)==51){X=0;ya=K;za=K;break}else if((X|0)==59){X=0;ya=xa;za=K;break}else if((X|0)==60){X=0;ya=J;za=K;break}}else{ya=A;za=A}while(0);if(!(c[ya>>2]|0)){M=Wy(64)|0;c[M+16>>2]=B;h[M+24>>3]=W;h[M+32>>3]=V;I=M+40|0;c[I>>2]=c[o>>2];c[I+4>>2]=c[o+4>>2];c[I+8>>2]=c[o+8>>2];c[I+12>>2]=c[o+12>>2];c[I+16>>2]=c[o+16>>2];c[I+20>>2]=c[o+20>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=za;c[ya>>2]=M;I=c[c[s>>2]>>2]|0;if(!I)Aa=M;else{c[s>>2]=I;Aa=c[ya>>2]|0}kd(c[y>>2]|0,Aa);c[z>>2]=(c[z>>2]|0)+1}break}if((c[D>>2]|0)==(c[q>>2]|0)){c[o>>2]=c[r>>2];c[o+4>>2]=c[r+4>>2];c[o+8>>2]=c[r+8>>2];c[o+12>>2]=c[r+12>>2];c[o+16>>2]=c[r+16>>2];c[o+20>>2]=c[r+20>>2];I=B+16|0;ie(n,I,r);Q=+Td(n);R=+Nd(r,I);I=c[A>>2]|0;do if(I){M=y;S=I;f:while(1){L=S+16|0;N=S+24|0;da=+h[N>>3];do if(Q==da){ea=+h[S+32>>3];if(!(R==ea))if(R>2]|0)+4|0)|0)X=74;else{Ba=+h[N>>3];X=76}}else if(Q>2]|0;if(!N){X=75;break}else{Ca=S;Da=N}}else if((X|0)==76){X=0;do if(Ba==Q){da=+h[S+32>>3];if(da==R)if(Jh((c[L>>2]|0)+4|0,D)|0)break;else{X=84;break f}else if(da>2]|0;if(!L){X=83;break}else{Ca=Ea;Da=L}}M=Ca;S=Da}if((X|0)==75){X=0;Fa=S;Ga=S;break}else if((X|0)==83){X=0;Fa=Ea;Ga=S;break}else if((X|0)==84){X=0;Fa=M;Ga=S;break}}else{Fa=A;Ga=A}while(0);if(!(c[Fa>>2]|0)){D=Wy(64)|0;c[D+16>>2]=B;h[D+24>>3]=Q;h[D+32>>3]=R;I=D+40|0;c[I>>2]=c[o>>2];c[I+4>>2]=c[o+4>>2];c[I+8>>2]=c[o+8>>2];c[I+12>>2]=c[o+12>>2];c[I+16>>2]=c[o+16>>2];c[I+20>>2]=c[o+20>>2];c[D>>2]=0;c[D+4>>2]=0;c[D+8>>2]=Ga;c[Fa>>2]=D;I=c[c[s>>2]>>2]|0;if(!I)Ha=D;else{c[s>>2]=I;Ha=c[Fa>>2]|0}kd(c[y>>2]|0,Ha);c[z>>2]=(c[z>>2]|0)+1}}}while(0);B=c[B+44>>2]|0}while((B|0)!=(E|0))}E=t+4|0;c[E>>2]=0;B=t+8|0;c[B>>2]=0;z=t+4|0;c[t>>2]=z;c[u>>2]=u;Ha=u+4|0;c[Ha>>2]=u;y=u+8|0;c[y>>2]=0;Fa=c[s>>2]|0;Ga=d+24|0;be(v,1797693134862315708145274.0e284,+h[Ga>>3]);Ea=(Fa|0)==(A|0);g:do if(!Ea){Da=v+8|0;Ca=Fa;while(1){Aa=Ca+16|0;ya=c[Aa>>2]|0;if((ya|0)==(d|0))break;za=c[ya+48>>2]|0;xa=c[ya+52>>2]|0;if(!((za|0)==0|(za|0)==(d|0))?(wa=za+16|0,Ba=+h[x>>3],ua=+h[Ga>>3],ma=(+h[v>>3]-Ba)*(+h[za+24>>3]-ua)-(+h[Da>>3]-ua)*(+h[wa>>3]-Ba),ma>0.0&!(ma<-0.0)):0){va=ya+16|0;if(Jd(x,v,wa,va)|0){G=c[Aa>>2]|0;sa=Ca+32|0;ma=+h[sa>>3];qa=Ca+40|0;Ba=+Nd(wa,qa);ua=+h[Ca+24>>3];fa=+h[sa>>3];c[n>>2]=c[qa>>2];c[n+4>>2]=c[qa+4>>2];c[n+8>>2]=c[qa+8>>2];c[n+12>>2]=c[qa+12>>2];c[n+16>>2]=c[qa+16>>2];c[n+20>>2]=c[qa+20>>2];qa=Wy(72)|0;c[qa+8>>2]=G;c[qa+12>>2]=za;h[qa+16>>3]=ma;h[qa+24>>3]=Ba;h[qa+32>>3]=ua;h[qa+40>>3]=fa;za=qa+48|0;c[za>>2]=c[n>>2];c[za+4>>2]=c[n+4>>2];c[za+8>>2]=c[n+8>>2];c[za+12>>2]=c[n+12>>2];c[za+16>>2]=c[n+16>>2];c[za+20>>2]=c[n+20>>2];c[qa+4>>2]=u;za=c[u>>2]|0;c[qa>>2]=za;c[za+4>>2]=qa;c[u>>2]=qa;c[y>>2]=(c[y>>2]|0)+1}if(Id(wa,va,x,0.0)|0){va=ya+4|0;wa=c[z>>2]|0;do if(wa){qa=c[va>>2]|0;za=E;G=wa;while(1){sa=c[G+16>>2]|0;if(qa>>>0>>0){ra=c[G>>2]|0;if(!ra){X=152;break}else{Ia=G;Ja=ra}}else{if(sa>>>0>=qa>>>0){X=156;break}Ka=G+4|0;sa=c[Ka>>2]|0;if(!sa){X=155;break}else{Ia=Ka;Ja=sa}}za=Ia;G=Ja}if((X|0)==152){X=0;La=G;Ma=G;break}else if((X|0)==155){X=0;La=Ka;Ma=G;break}else if((X|0)==156){X=0;La=za;Ma=G;break}}else{La=z;Ma=z}while(0);if(!(c[La>>2]|0)){wa=Wy(20)|0;c[wa+16>>2]=c[va>>2];c[wa>>2]=0;c[wa+4>>2]=0;c[wa+8>>2]=Ma;c[La>>2]=wa;qa=c[c[t>>2]>>2]|0;if(!qa)Na=wa;else{c[t>>2]=qa;Na=c[La>>2]|0}kd(c[E>>2]|0,Na);c[B>>2]=(c[B>>2]|0)+1}}}else X=161;if(((X|0)==161?(X=0,!((xa|0)==0|(xa|0)==(d|0))):0)?(qa=xa+16|0,R=+h[x>>3],Q=+h[Ga>>3],fa=(+h[v>>3]-R)*(+h[xa+24>>3]-Q)-(+h[Da>>3]-Q)*(+h[qa>>3]-R),fa>0.0&!(fa<-0.0)):0){wa=ya+16|0;if(Jd(x,v,qa,wa)|0){S=c[Aa>>2]|0;M=Ca+32|0;fa=+h[M>>3];sa=Ca+40|0;R=+Nd(qa,sa);Q=+h[Ca+24>>3];ua=+h[M>>3];c[n>>2]=c[sa>>2];c[n+4>>2]=c[sa+4>>2];c[n+8>>2]=c[sa+8>>2];c[n+12>>2]=c[sa+12>>2];c[n+16>>2]=c[sa+16>>2];c[n+20>>2]=c[sa+20>>2];sa=Wy(72)|0;c[sa+8>>2]=S;c[sa+12>>2]=xa;h[sa+16>>3]=fa;h[sa+24>>3]=R;h[sa+32>>3]=Q;h[sa+40>>3]=ua;S=sa+48|0;c[S>>2]=c[n>>2];c[S+4>>2]=c[n+4>>2];c[S+8>>2]=c[n+8>>2];c[S+12>>2]=c[n+12>>2];c[S+16>>2]=c[n+16>>2];c[S+20>>2]=c[n+20>>2];c[sa+4>>2]=u;S=c[u>>2]|0;c[sa>>2]=S;c[S+4>>2]=sa;c[u>>2]=sa;c[y>>2]=(c[y>>2]|0)+1}if(Id(qa,wa,x,0.0)|0){wa=ya+4|0;qa=c[z>>2]|0;do if(qa){sa=c[wa>>2]|0;S=E;M=qa;while(1){ra=c[M+16>>2]|0;if(sa>>>0>>0){pa=c[M>>2]|0;if(!pa){X=171;break}else{Oa=M;Pa=pa}}else{if(ra>>>0>=sa>>>0){X=175;break}Qa=M+4|0;ra=c[Qa>>2]|0;if(!ra){X=174;break}else{Oa=Qa;Pa=ra}}S=Oa;M=Pa}if((X|0)==171){X=0;Ra=M;Sa=M;break}else if((X|0)==174){X=0;Ra=Qa;Sa=M;break}else if((X|0)==175){X=0;Ra=S;Sa=M;break}}else{Ra=z;Sa=z}while(0);if(!(c[Ra>>2]|0)){qa=Wy(20)|0;c[qa+16>>2]=c[wa>>2];c[qa>>2]=0;c[qa+4>>2]=0;c[qa+8>>2]=Sa;c[Ra>>2]=qa;ya=c[c[t>>2]>>2]|0;if(!ya)Ta=qa;else{c[t>>2]=ya;Ta=c[Ra>>2]|0}kd(c[E>>2]|0,Ta);c[B>>2]=(c[B>>2]|0)+1}}}ya=c[Ca+4>>2]|0;if(!ya){qa=Ca+8|0;xa=c[qa>>2]|0;if((c[xa>>2]|0)==(Ca|0))Ua=xa;else{xa=qa;do{qa=c[xa>>2]|0;xa=qa+8|0;Aa=c[xa>>2]|0}while((c[Aa>>2]|0)!=(qa|0));Ua=Aa}}else{xa=ya;while(1){wa=c[xa>>2]|0;if(!wa)break;else xa=wa}Ua=xa}if((Ua|0)==(A|0))break g;else Ca=Ua}ta(17257,17272,521,17287)}while(0);Ua=c[Ha>>2]|0;B=Ua;if((B|0)!=(u|0)){Ta=Ua;Ua=B;do{h[Ta+32>>3]=-1.0;Ta=c[Ua+4>>2]|0;Ua=Ta}while((Ua|0)!=(u|0))}xc(17299,g);Lh(q);xc(17307,f);if(!Ea){Ea=q+6|0;q=b[4627]|0;Ua=w+139|0;Ta=d+48|0;B=d+52|0;E=w+141|0;w=r+8|0;Ra=f+4|0;Sa=f+8|0;X=f+16|0;Qa=f+24|0;Pa=f+32|0;Oa=f+40|0;x=f+4|0;v=f+8|0;Ga=f+16|0;Na=f+24|0;La=f+32|0;Ma=f+40|0;Ka=Fa;while(1){Fa=Ka+16|0;Ja=c[Fa>>2]|0;Ia=Ja+16|0;Ca=Ka+32|0;Da=Ye(d,Ja)|0;if(!Da){ya=Wy(72)|0;ve(ya,d,Ja,0);Va=ya}else Va=Da;Da=c[Ha>>2]|0;ya=Da;if((ya|0)==(u|0))Wa=Da;else{wa=Da;Da=ya;do{+ri(wa+8|0,Fa);wa=c[Da+4>>2]|0;Da=wa}while((Da|0)!=(u|0));Wa=c[Ha>>2]|0}c[n>>2]=Wa;c[o>>2]=u;Da=c[y>>2]|0;c[g>>2]=c[n>>2];c[f>>2]=c[o>>2];qi(g,f,Da,p)|0;h:do if((c[y>>2]|0)!=0?(Da=c[Fa>>2]|0,wa=c[Da>>2]|0,ya=c[Ha>>2]|0,Aa=ya,(Aa|0)!=(u|0)):0){qa=ya;ya=Da;Da=Aa;while(1){Xa=qa;Ya=Xa+8|0;if(!(ce(ya+16|0,(c[Ya>>2]|0)+16|0)|0)?!(ce((c[Fa>>2]|0)+16|0,(c[Xa+12>>2]|0)+16|0)|0):0)break;Aa=c[Da+4>>2]|0;va=Aa;if((va|0)==(u|0)){Za=0;_a=1;break h}qa=Aa;ya=c[Fa>>2]|0;Da=va}if((Da|0)!=(u|0)){ya=c[Fa>>2]|0;if(!((q&b[ya+10>>1])<<16>>16)){ua=+h[Ca>>3];Q=+h[Xa+40>>3];if(!(ua>Q)){if(!(ua==Q)){Za=0;_a=1;break}xa=c[z>>2]|0;if(!xa){Za=0;_a=1;break}va=c[(c[Ya>>2]|0)+4>>2]|0;Aa=z;sa=xa;i:while(1){xa=sa;while(1){if((c[xa+16>>2]|0)>>>0>=va>>>0)break;G=c[xa+4>>2]|0;if(!G){$a=Aa;break i}else xa=G}sa=c[xa>>2]|0;if(!sa){$a=xa;break}else Aa=xa}if(($a|0)==(z|0)){Za=0;_a=1;break}if(va>>>0<(c[$a+16>>2]|0)>>>0){Za=0;_a=1;break}else ab=qa}else ab=qa}else{Aa=Qe(wa+88|0,ya+4|0)|0;sa=qa;if((sa|0)==(u|0)){Za=0;_a=1;break}Da=Aa+4|0;Aa=c[Da>>2]|0;j:do if(!Aa){bb=Ya;cb=Xa;db=qa}else{M=qa;S=sa;while(1){G=M;za=G+8|0;ra=c[(c[za>>2]|0)+4>>2]|0;pa=Da;oa=Aa;k:while(1){na=oa;while(1){if((c[na+16>>2]|0)>>>0>=ra>>>0)break;la=c[na+4>>2]|0;if(!la){eb=pa;break k}else na=la}oa=c[na>>2]|0;if(!oa){eb=na;break}else pa=na}if((eb|0)==(Da|0)){bb=za;cb=G;db=M;break j}if(ra>>>0<(c[eb+16>>2]|0)>>>0){bb=za;cb=G;db=M;break j}M=c[S+4>>2]|0;S=M;if((S|0)==(u|0)){Za=0;_a=1;break h}}}while(0);Q=+h[Ca>>3];ua=+h[cb+40>>3];if(!(Q>ua)){if(!(Q==ua)){Za=0;_a=1;break}Da=c[z>>2]|0;if(!Da){Za=0;_a=1;break}Aa=c[(c[bb>>2]|0)+4>>2]|0;sa=z;qa=Da;l:while(1){Da=qa;while(1){if((c[Da+16>>2]|0)>>>0>=Aa>>>0)break;ya=c[Da+4>>2]|0;if(!ya){fb=sa;break l}else Da=ya}qa=c[Da>>2]|0;if(!qa){fb=Da;break}else sa=Da}if((fb|0)==(z|0)){Za=0;_a=1;break}if(Aa>>>0<(c[fb+16>>2]|0)>>>0){Za=0;_a=1;break}else ab=db}else ab=db}Za=c[(c[ab+8>>2]|0)+4>>2]|0;_a=0}else{Za=0;_a=1}}else{Za=0;_a=1}while(0);if(!((q&b[Ea>>1])<<16>>16))gb=Ld((a[Ua>>0]|0)!=0,(c[Ta>>2]|0)+16|0,r,(c[B>>2]|0)+16|0,Ia)|0;else gb=1;sa=Ja+10|0;if(!((q&b[sa>>1])<<16>>16))hb=Ld((a[Ua>>0]|0)!=0,(c[Ja+48>>2]|0)+16|0,Ia,(c[Ja+52>>2]|0)+16|0,r)|0;else hb=1;do if(gb&hb){if(_a){xc(17343,j);Be(Va,+h[Ca>>3]);Oe(Va);break}if(a[E>>0]|0){xc(17309,i);Le(Va,Za);Oe(Va)}}else if(a[E>>0]|0){xc(17309,k);Le(Va,0);Oe(Va)}while(0);if(!(He(Va)|0)?!((Va|0)==0|(a[E>>0]|0)!=0):0){we(Va);Yy(Va)}if(!((q&b[sa>>1])<<16>>16)){qa=c[Ja+48>>2]|0;if((qa|0)!=(d|0)){ua=+h[r>>3];Q=+h[w>>3];R=(+h[Ia>>3]-ua)*(+h[qa+24>>3]-Q)-(+h[Ja+24>>3]-Q)*(+h[qa+16>>3]-ua);c[f>>2]=c[Fa>>2];c[x>>2]=qa;h[v>>3]=+h[Ca>>3];ya=Ka+40|0;ua=+Nd(qa+16|0,ya);h[Ga>>3]=ua;h[Na>>3]=+h[Ka+24>>3];h[La>>3]=+h[Ca>>3];c[Ma>>2]=c[ya>>2];c[Ma+4>>2]=c[ya+4>>2];c[Ma+8>>2]=c[ya+8>>2];c[Ma+12>>2]=c[ya+12>>2];c[Ma+16>>2]=c[ya+16>>2];c[Ma+20>>2]=c[ya+20>>2];switch((R<-0.0?-1:R>0.0&1)|0){case -1:{si(u,f);break}case 1:{ya=Wy(72)|0;ib=ya+8|0;jb=f;kb=ib+64|0;do{c[ib>>2]=c[jb>>2];ib=ib+4|0;jb=jb+4|0}while((ib|0)<(kb|0));c[ya>>2]=u;sa=c[Ha>>2]|0;c[ya+4>>2]=sa;c[sa>>2]=ya;c[Ha>>2]=ya;c[y>>2]=(c[y>>2]|0)+1;break}default:{}}}sa=c[Ja+52>>2]|0;if((sa|0)!=(d|0)){R=+h[r>>3];ua=+h[w>>3];Q=(+h[Ia>>3]-R)*(+h[sa+24>>3]-ua)-(+h[Ja+24>>3]-ua)*(+h[sa+16>>3]-R);c[f>>2]=c[Fa>>2];c[Ra>>2]=sa;h[Sa>>3]=+h[Ca>>3];qa=Ka+40|0;R=+Nd(sa+16|0,qa);h[X>>3]=R;h[Qa>>3]=+h[Ka+24>>3];h[Pa>>3]=+h[Ca>>3];c[Oa>>2]=c[qa>>2];c[Oa+4>>2]=c[qa+4>>2];c[Oa+8>>2]=c[qa+8>>2];c[Oa+12>>2]=c[qa+12>>2];c[Oa+16>>2]=c[qa+16>>2];c[Oa+20>>2]=c[qa+20>>2];switch((Q<-0.0?-1:Q>0.0&1)|0){case -1:{si(u,f);break}case 1:{qa=Wy(72)|0;ib=qa+8|0;jb=f;kb=ib+64|0;do{c[ib>>2]=c[jb>>2];ib=ib+4|0;jb=jb+4|0}while((ib|0)<(kb|0));c[qa>>2]=u;Ca=c[Ha>>2]|0;c[qa+4>>2]=Ca;c[Ca>>2]=qa;c[Ha>>2]=qa;c[y>>2]=(c[y>>2]|0)+1;break}default:{}}}}Ca=c[Ka+4>>2]|0;if(!Ca){Fa=Ka+8|0;Ja=c[Fa>>2]|0;if((c[Ja>>2]|0)==(Ka|0))lb=Ja;else{Ja=Fa;do{Fa=c[Ja>>2]|0;Ja=Fa+8|0;Ia=c[Ja>>2]|0}while((c[Ia>>2]|0)!=(Fa|0));lb=Ia}}else{Ja=Ca;while(1){qa=c[Ja>>2]|0;if(!qa)break;else Ja=qa}lb=Ja}if((lb|0)==(A|0))break;else Ka=lb}}if(!(c[y>>2]|0)){mb=c[z>>2]|0;Te(t,mb);nb=c[A>>2]|0;ti(s,nb);l=e;return}lb=c[Ha>>2]|0;Ha=(c[u>>2]|0)+4|0;Ka=c[lb>>2]|0;c[Ka+4>>2]=c[Ha>>2];c[c[Ha>>2]>>2]=Ka;c[y>>2]=0;if((lb|0)==(u|0)){mb=c[z>>2]|0;Te(t,mb);nb=c[A>>2]|0;ti(s,nb);l=e;return}else ob=lb;do{lb=ob;ob=c[ob+4>>2]|0;Yy(lb)}while((ob|0)!=(u|0));mb=c[z>>2]|0;Te(t,mb);nb=c[A>>2]|0;ti(s,nb);l=e;return}function qi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0,w=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;f=l;l=l+32|0;g=f+20|0;i=f+16|0;j=f+12|0;k=f+8|0;m=f+4|0;n=f;switch(d|0){case 1:case 0:{o=c[a>>2]|0;l=f;return o|0}case 2:{p=c[c[b>>2]>>2]|0;c[b>>2]=p;q=p;r=c[a>>2]|0;s=p;if(!(+h[q+32>>3]==+h[r+32>>3]))ta(17404,17272,240,20136);t=+h[q+40>>3];u=+h[r+40>>3];if(t==u){if(!(+h[q+24>>3]<+h[r+24>>3])){o=r;l=f;return o|0}}else if(!(t>2]|0;c[p+4>>2]=c[q>>2];c[c[q>>2]>>2]=p;p=c[r>>2]|0;c[p+4>>2]=s;c[s>>2]=p;c[r>>2]=s;c[q>>2]=r;o=c[b>>2]|0;l=f;return o|0}default:{r=d>>>1;q=c[a>>2]|0;s=q;if(!r)v=q;else{p=r;w=q;while(1){q=c[w+4>>2]|0;if((p|0)>1){p=p+-1|0;w=q}else{v=q;break}}}w=v;c[j>>2]=s;c[k>>2]=w;c[i>>2]=c[j>>2];c[g>>2]=c[k>>2];k=qi(i,g,r,e)|0;c[a>>2]=k;c[m>>2]=w;w=c[b>>2]|0;c[n>>2]=w;c[i>>2]=c[m>>2];c[g>>2]=c[n>>2];n=qi(i,g,d-r|0,e)|0;e=n;u=+h[k+32>>3];r=w;if(!(+h[n+32>>3]==u))ta(17404,17272,240,20136);t=+h[n+40>>3];x=+h[k+40>>3];if(t==x)if(+h[n+24>>3]<+h[k+24>>3])y=16;else y=25;else if(t>2]|0;d=w;a:do if((d|0)==(r|0)){z=r;A=w}else{g=k+24|0;i=w;m=d;while(1){b=i;if(!(+h[b+32>>3]==u))break;t=+h[b+40>>3];if(t==x){if(!(+h[b+24>>3]<+h[g>>3])){z=m;A=i;break a}}else if(!(t>2]|0;m=b;if((m|0)==(r|0)){z=r;A=b;break a}else i=b}ta(17404,17272,240,20136)}while(0);d=c[z>>2]|0;z=d+4|0;w=c[n>>2]|0;c[w+4>>2]=c[z>>2];c[c[z>>2]>>2]=w;w=c[k+4>>2]|0;i=c[k>>2]|0;c[i+4>>2]=n;c[n>>2]=i;c[k>>2]=d;c[z>>2]=k;B=w;C=A;D=n}else if((y|0)==25){B=c[k+4>>2]|0;C=e;D=k}c[a>>2]=B;k=B;e=C;if((k|0)==(e|0)){o=D;l=f;return o|0}else{E=B;F=C;G=C;H=e;I=k}b:while(1){k=F;e=F;C=e+40|0;B=e+24|0;if((k|0)==(r|0)){o=D;y=44;break}x=+h[e+32>>3];e=E;n=I;while(1){J=e;if(!(x==+h[J+32>>3])){y=30;break b}u=+h[C>>3];t=+h[J+40>>3];if(u==t){if(+h[B>>3]<+h[J+24>>3])break}else if(u>2]|0;c[a>>2]=e;A=e;if((A|0)==(H|0)){o=D;y=44;break b}else n=A}e=c[k+4>>2]|0;B=e;c:do if((B|0)==(r|0)){K=r;L=e}else{x=+h[J+32>>3];C=J+40|0;A=J+24|0;w=e;z=B;while(1){d=w;if(!(+h[d+32>>3]==x)){y=37;break b}t=+h[d+40>>3];u=+h[C>>3];if(t==u){if(!(+h[d+24>>3]<+h[A>>3])){K=z;L=w;break c}}else if(!(t>2]|0;z=d;if((z|0)==(r|0)){K=r;L=d;break}else w=d}}while(0);B=c[K>>2]|0;e=B+4|0;w=c[k>>2]|0;c[w+4>>2]=c[e>>2];c[c[e>>2]>>2]=w;E=c[n+4>>2]|0;G=(H|0)==(k|0)?L:G;w=c[n>>2]|0;c[w+4>>2]=k;c[k>>2]=w;c[n>>2]=B;c[e>>2]=n;c[a>>2]=E;I=E;H=G;if((I|0)==(H|0)){o=D;y=44;break}else F=L}if((y|0)==30)ta(17404,17272,240,20136);else if((y|0)==37)ta(17404,17272,240,20136);else if((y|0)==44){l=f;return o|0}}}return 0}function ri(a,b){a=a|0;b=b|0;var d=0,e=0,f=0.0,g=0.0,i=0,j=0,k=0.0,m=0.0;d=l;l=l+32|0;e=d;if(ce((c[b>>2]|0)+16|0,(c[a>>2]|0)+16|0)|0){f=+h[a+8>>3];h[a+32>>3]=f;h[a+24>>3]=+h[b+8>>3];g=f;l=d;return +g}i=a+4|0;j=ce((c[b>>2]|0)+16|0,(c[i>>2]|0)+16|0)|0;f=+h[b+8>>3];if(j){k=+h[a+16>>3];h[a+32>>3]=k;h[a+24>>3]=f;g=k;l=d;return +g}j=a+24|0;k=+h[j>>3];if(!(f!=k)){g=+h[a+32>>3];l=d;return +g}if(!(f>k))ta(17375,17272,287,17391);h[j>>3]=f;ae(e);j=a+40|0;if((Sd((c[a>>2]|0)+16|0,(c[i>>2]|0)+16|0,j,(c[b>>2]|0)+16|0,e,e+8|0)|0)==1)m=+Nd(e,j);else{f=+h[a+16>>3];k=+h[a+8>>3];m=f>3]=m;g=m;l=d;return +g}function si(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;d=l;l=l+16|0;e=d;c[e>>2]=e;f=e+4|0;c[f>>2]=e;g=e+8|0;c[g>>2]=0;h=c[a+4>>2]|0;i=h;a:do if((i|0)!=(a|0)){j=b+4|0;k=a+8|0;if((e|0)==(a|0)){m=h;n=i;while(1){o=m;p=o+8|0;if(Hh((c[p>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0?Hh((c[o+12>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0:0)q=7;else if(Hh((c[p>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0?Hh((c[o+12>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0:0)q=7;else{r=n;q=16}if((q|0)==7){q=0;o=c[n+4>>2]|0;p=o;b:do if((p|0)==(a|0)){s=0;t=a;u=o}else{v=o;w=p;while(1){x=v;y=x+8|0;if(!(Hh((c[y>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0?Hh((c[x+12>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0:0)){if(!(Hh((c[y>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0)){s=1;t=w;u=v;break b}if(!(Hh((c[x+12>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0)){s=1;t=w;u=v;break b}}x=c[w+4>>2]|0;w=x;if((w|0)==(a|0)){s=0;t=a;u=x;break}else v=x}}while(0);if((n|0)!=(t|0)){p=c[u>>2]|0;o=p+4|0;v=c[n>>2]|0;c[v+4>>2]=c[o>>2];c[c[o>>2]>>2]=v;v=c[e>>2]|0;c[v+4>>2]=n;c[n>>2]=v;c[e>>2]=p;c[o>>2]=e}if(s){r=t;q=16}else z=u}if((q|0)==16){q=0;z=c[r+4>>2]|0}n=z;if((n|0)==(a|0))break a;else m=z}}else{A=h;B=i}while(1){m=A;n=m+8|0;if(Hh((c[n>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0?Hh((c[m+12>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0:0)q=26;else if(Hh((c[n>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0?Hh((c[m+12>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0:0)q=26;else{C=B;q=36}if((q|0)==26){q=0;m=c[B+4>>2]|0;n=m;c:do if((n|0)==(a|0)){D=0;E=a;F=m}else{o=m;p=n;while(1){v=o;w=v+8|0;if(!(Hh((c[w>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0?Hh((c[v+12>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0:0)){if(!(Hh((c[w>>2]|0)+4|0,(c[j>>2]|0)+4|0)|0)){D=1;E=p;F=o;break c}if(!(Hh((c[v+12>>2]|0)+4|0,(c[b>>2]|0)+4|0)|0)){D=1;E=p;F=o;break c}}v=c[p+4>>2]|0;p=v;if((p|0)==(a|0)){D=0;E=a;F=v;break}else o=v}}while(0);if((B|0)!=(E|0)){n=0;m=B;do{n=n+1|0;m=c[m+4>>2]|0}while((m|0)!=(E|0));c[k>>2]=(c[k>>2]|0)-n;c[g>>2]=(c[g>>2]|0)+n;m=c[F>>2]|0;o=m+4|0;p=c[B>>2]|0;c[p+4>>2]=c[o>>2];c[c[o>>2]>>2]=p;p=c[e>>2]|0;c[p+4>>2]=B;c[B>>2]=p;c[e>>2]=m;c[o>>2]=e}if(D){C=E;q=36}else G=F}if((q|0)==36){q=0;G=c[C+4>>2]|0}B=G;if((B|0)==(a|0))break;else A=G}}while(0);if(!(c[g>>2]|0)){l=d;return}G=c[f>>2]|0;f=(c[e>>2]|0)+4|0;A=c[G>>2]|0;c[A+4>>2]=c[f>>2];c[c[f>>2]>>2]=A;c[g>>2]=0;if((G|0)==(e|0)){l=d;return}else H=G;do{G=H;H=c[H+4>>2]|0;Yy(G)}while((H|0)!=(e|0));l=d;return}function ti(a,b){a=a|0;b=b|0;if(!b)return;else{ti(a,c[b>>2]|0);ti(a,c[b+4>>2]|0);Yy(b);return}}function ui(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;h=c[d>>2]|0;i=d+10|0;j=b[4627]|0;if(!((j&b[i>>1])<<16>>16))ta(17423,17272,122,17438);if(!(a[h+141>>0]|0))Vh(d,1);if(g?(j&b[i>>1])<<16>>16:0)qh(h,d);if(a[h+140>>0]|0){pi(d);return}i=h+100|0;h=ai(i)|0;g=fi(i)|0;if((g|0)!=(h|0)){i=b[4628]|0;k=b[4629]|0;l=d+4|0;m=g;do{g=m+4|0;do if(!(Hh(g,27936)|0)){n=b[m+10>>1]|0;if((j&n)<<16>>16!=0&(i&n)<<16>>16==0){if(!((k&n)<<16>>16))break;if((c[g>>2]|0)!=(c[l>>2]|0))break}Xe(d,m,f)|0}while(0);m=c[m+44>>2]|0}while((m|0)!=(h|0))}if(!e)return;Xe(d,e,f)|0;return}function vi(){Fh(27952,0,0,0);Fh(27960,0,0,b[4624]|0);return}function wi(a){a=a|0;var b=0,d=0,e=0;b=a+88|0;d=a;e=d+88|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b>>2]=b;c[a+92>>2]=b;c[a+96>>2]=0;return}function xi(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function yi(a){a=a|0;return ((c[a+8>>2]|0)-(c[a+4>>2]|0)|0)/12|0|0}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,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;e=l;l=l+32|0;f=e+20|0;g=e+16|0;h=e+12|0;i=e+8|0;j=e+4|0;k=e;if((((c[b+8>>2]|0)-(c[b+4>>2]|0)|0)/12|0)>>>0>>0)ta(17455,17472,77,17486);c[a>>2]=a;c[a+4>>2]=a;m=a+8|0;c[m>>2]=0;n=a+12|0;c[n>>2]=n;o=a+16|0;c[o>>2]=n;p=a+20|0;c[p>>2]=0;q=a+24|0;c[q>>2]=q;r=a+28|0;c[r>>2]=q;s=a+32|0;c[s>>2]=0;t=a+36|0;c[t>>2]=t;u=a+40|0;c[u>>2]=t;v=a+44|0;c[v>>2]=0;w=a+48|0;c[w>>2]=w;c[a+52>>2]=w;c[a+56>>2]=0;w=c[b+28>>2]|0;x=w+(d*12|0)|0;y=a;if((a|0)!=(x|0)){z=c[w+(d*12|0)+4>>2]|0;w=z;A=a;B=x;a:do if((z|0)==(x|0)){C=y;D=w}else{E=y;F=w;G=z;while(1){H=E;if((H|0)==(a|0)){C=E;D=F;break a}c[E+8>>2]=c[G+8>>2];G=c[F+4>>2]|0;I=c[H+4>>2]|0;if((G|0)==(x|0)){C=I;D=G;break}else{E=I;F=G}}}while(0);x=C;if((x|0)!=(a|0)){z=(c[a>>2]|0)+4|0;w=c[x>>2]|0;c[w+4>>2]=c[z>>2];c[c[z>>2]>>2]=w;w=c[x+4>>2]|0;c[m>>2]=-1;Yy(C);if((w|0)!=(a|0)){C=w;do{w=C;C=c[C+4>>2]|0;c[m>>2]=(c[m>>2]|0)+-1;Yy(w)}while((C|0)!=(a|0))}}else{c[i>>2]=A;c[j>>2]=D;c[k>>2]=B;c[h>>2]=c[i>>2];c[g>>2]=c[j>>2];c[f>>2]=c[k>>2];Fg(a,h,g,f,0)|0}}a=c[b+40>>2]|0;B=a+(d*12|0)|0;if((q|0)!=(B|0)){D=c[a+(d*12|0)+4>>2]|0;a=D;A=q;C=c[r>>2]|0;r=B;b:do if((D|0)==(B|0)){J=C;K=a}else{m=C;w=a;x=D;while(1){z=m;if((z|0)==(q|0)){J=m;K=w;break b}c[m+8>>2]=c[x+8>>2];x=c[w+4>>2]|0;y=c[z+4>>2]|0;if((x|0)==(B|0)){J=y;K=x;break}else{m=y;w=x}}}while(0);B=J;if((B|0)==(q|0)){c[i>>2]=A;c[j>>2]=K;c[k>>2]=r;c[h>>2]=c[i>>2];c[g>>2]=c[j>>2];c[f>>2]=c[k>>2];Fg(q,h,g,f,0)|0}else{r=(c[q>>2]|0)+4|0;K=c[B>>2]|0;c[K+4>>2]=c[r>>2];c[c[r>>2]>>2]=K;K=B;do{B=K;K=c[K+4>>2]|0;c[s>>2]=(c[s>>2]|0)+-1;Yy(B)}while((K|0)!=(q|0))}}q=c[b+52>>2]|0;K=q+(d*12|0)|0;if((n|0)!=(K|0)){s=c[q+(d*12|0)+4>>2]|0;q=s;B=n;r=c[o>>2]|0;o=K;c:do if((s|0)==(K|0)){L=r;M=q}else{A=r;J=q;D=s;while(1){a=A;if((a|0)==(n|0)){L=A;M=J;break c}c[A+8>>2]=c[D+8>>2];D=c[J+4>>2]|0;C=c[a+4>>2]|0;if((D|0)==(K|0)){L=C;M=D;break}else{A=C;J=D}}}while(0);K=L;if((K|0)==(n|0)){c[i>>2]=B;c[j>>2]=M;c[k>>2]=o;c[h>>2]=c[i>>2];c[g>>2]=c[j>>2];c[f>>2]=c[k>>2];Gg(n,h,g,f,0)|0}else{o=(c[n>>2]|0)+4|0;M=c[K>>2]|0;c[M+4>>2]=c[o>>2];c[c[o>>2]>>2]=M;M=K;do{K=M;M=c[M+4>>2]|0;c[p>>2]=(c[p>>2]|0)+-1;Yy(K)}while((M|0)!=(n|0))}}n=c[b+64>>2]|0;b=n+(d*12|0)|0;if((t|0)==(b|0)){l=e;return}M=c[n+(d*12|0)+4>>2]|0;d=M;n=t;p=c[u>>2]|0;u=b;d:do if((M|0)==(b|0)){N=p;O=d}else{K=p;o=d;B=M;while(1){L=K;if((L|0)==(t|0)){N=K;O=o;break d}c[K+8>>2]=c[B+8>>2];B=c[o+4>>2]|0;s=c[L+4>>2]|0;if((B|0)==(b|0)){N=s;O=B;break}else{K=s;o=B}}}while(0);b=N;if((b|0)==(t|0)){c[i>>2]=n;c[j>>2]=O;c[k>>2]=u;c[h>>2]=c[i>>2];c[g>>2]=c[j>>2];c[f>>2]=c[k>>2];Gg(t,h,g,f,0)|0}else{f=(c[t>>2]|0)+4|0;g=c[b>>2]|0;c[g+4>>2]=c[f>>2];c[c[f>>2]>>2]=g;g=b;do{b=g;g=c[g+4>>2]|0;c[v>>2]=(c[v>>2]|0)+-1;Yy(b)}while((g|0)!=(t|0))}l=e;return}function Ai(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,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;g=l;l=l+16|0;h=g;i=d;Gc(h,d,1);j=c[a+64>>2]|0;k=j+(b*12|0)|0;m=Wy(12)|0;c[m+8>>2]=i;c[m+4>>2]=k;n=c[k>>2]|0;c[m>>2]=n;c[n+4>>2]=m;c[k>>2]=m;m=j+(b*12|0)+8|0;c[m>>2]=(c[m>>2]|0)+1;m=f+4|0;j=c[m>>2]|0;do if(j){k=f+4|0;n=j;while(1){o=c[n+16>>2]|0;if(o>>>0>d>>>0){p=c[n>>2]|0;if(!p){q=6;break}else{r=n;s=p}}else{if(o>>>0>=d>>>0){q=10;break}t=n+4|0;o=c[t>>2]|0;if(!o){q=9;break}else{r=t;s=o}}k=r;n=s}if((q|0)==6){u=n;v=n;break}else if((q|0)==9){u=t;v=n;break}else if((q|0)==10){u=k;v=n;break}}else{u=m;v=m}while(0);if(!(c[u>>2]|0)){m=Wy(20)|0;c[m+16>>2]=i;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=v;c[u>>2]=m;v=c[c[f>>2]>>2]|0;if(!v)w=m;else{c[f>>2]=v;w=c[u>>2]|0}kd(c[f+4>>2]|0,w);w=f+8|0;c[w>>2]=(c[w>>2]|0)+1}sc(h,d);w=c[h>>2]|0;if(!w)x=0;else x=Pz(w,64,48,0)|0;w=c[h+4>>2]|0;if(!w)y=0;else y=Pz(w,64,48,0)|0;if(!x){w=c[d+124>>2]|0;h=w;if(!w)ta(17511,17472,153,17533);u=c[a+76>>2]|0;v=u+(b*12|0)|0;m=u+(b*12|0)+4|0;i=c[m>>2]|0;do if(i){t=u+(b*12|0)+4|0;s=i;while(1){r=c[s+16>>2]|0;if(w>>>0>>0){j=c[s>>2]|0;if(!j){q=30;break}else{z=s;A=j}}else{if(r>>>0>=w>>>0){q=34;break}B=s+4|0;r=c[B>>2]|0;if(!r){q=33;break}else{z=B;A=r}}t=z;s=A}if((q|0)==30){C=s;D=s;break}else if((q|0)==33){C=B;D=s;break}else if((q|0)==34){C=t;D=s;break}}else{C=m;D=m}while(0);if(!(c[C>>2]|0)){m=Wy(20)|0;c[m+16>>2]=h;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=D;c[C>>2]=m;D=c[c[v>>2]>>2]|0;if(!D)E=m;else{c[v>>2]=D;E=c[C>>2]|0}kd(c[u+(b*12|0)+4>>2]|0,E);E=u+(b*12|0)+8|0;c[E>>2]=(c[E>>2]|0)+1;F=0}else F=0}else if((x|0)==(e|0))F=0;else F=Bi(a,b,x,d,f)|0;if(y|0){if((y|0)==(e|0)){G=F;l=g;return G|0}G=F|(Bi(a,b,y,d,f)|0);l=g;return G|0}f=c[d+128>>2]|0;d=f;if(!f)ta(17553,17472,168,17533);y=c[a+76>>2]|0;a=y+(b*12|0)|0;e=y+(b*12|0)+4|0;x=c[e>>2]|0;do if(x){E=y+(b*12|0)+4|0;u=x;while(1){C=c[u+16>>2]|0;if(f>>>0>>0){D=c[u>>2]|0;if(!D){q=50;break}else{H=u;I=D}}else{if(C>>>0>=f>>>0){q=54;break}J=u+4|0;C=c[J>>2]|0;if(!C){q=53;break}else{H=J;I=C}}E=H;u=I}if((q|0)==50){K=u;L=u;break}else if((q|0)==53){K=J;L=u;break}else if((q|0)==54){K=E;L=u;break}}else{K=e;L=e}while(0);if(c[K>>2]|0){G=F;l=g;return G|0}e=Wy(20)|0;c[e+16>>2]=d;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=L;c[K>>2]=e;L=c[c[a>>2]>>2]|0;if(!L)M=e;else{c[a>>2]=L;M=c[K>>2]|0}kd(c[y+(b*12|0)+4>>2]|0,M);M=y+(b*12|0)+8|0;c[M>>2]=(c[M>>2]|0)+1;G=F;l=g;return G|0}function Bi(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=l;l=l+16|0;h=g;i=c[a+40>>2]|0;j=i+(b*12|0)|0;k=Wy(12)|0;c[k+8>>2]=d;c[k+4>>2]=j;m=c[j>>2]|0;c[k>>2]=m;c[m+4>>2]=k;c[j>>2]=k;k=i+(b*12|0)+8|0;c[k>>2]=(c[k>>2]|0)+1;ag(h,d);k=h+8|0;i=c[k>>2]|0;j=i>>>0>2;m=h+4|0;n=c[m>>2]|0;o=n;do if((o|0)!=(h|0)){p=j;q=n;r=o;while(1){s=c[q+8>>2]|0;if((s|0)==(e|0))t=p;else{if(!s){u=9;break}t=p|(Ai(a,b,s,d,f)|0)}q=c[r+4>>2]|0;r=q;if((r|0)==(h|0)){u=2;break}else p=t}if((u|0)==2){v=t;w=c[k>>2]|0;break}else if((u|0)==9)ta(17575,17472,202,17533)}else{v=j;w=i}while(0);if(!w){l=g;return v|0}w=c[m>>2]|0;m=(c[h>>2]|0)+4|0;i=c[w>>2]|0;c[i+4>>2]=c[m>>2];c[c[m>>2]>>2]=i;c[k>>2]=0;if((w|0)==(h|0)){l=g;return v|0}else x=w;do{w=x;x=c[x+4>>2]|0;Yy(w)}while((x|0)!=(h|0));l=g;return v|0}function Ci(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;e=l;l=l+16|0;f=e;g=e+8|0;if(!(c[d>>2]|0))ta(17587,17472,214,17602);c[b+4>>2]=0;c[b+8>>2]=0;c[b>>2]=b+4;h=d+40|0;i=c[h>>2]|0;j=d+44|0;k=c[j>>2]|0;if((k|0)==(i|0)){m=i;n=k}else{o=k;while(1){k=o+-12|0;c[j>>2]=k;p=o+-4|0;q=k;if((c[p>>2]|0)!=0?(r=c[o+-8>>2]|0,s=(c[k>>2]|0)+4|0,t=c[r>>2]|0,c[t+4>>2]=c[s>>2],c[c[s>>2]>>2]=t,c[p>>2]=0,(r|0)!=(k|0)):0){p=r;do{r=p;p=c[p+4>>2]|0;Yy(r)}while((p|0)!=(k|0));p=c[j>>2]|0;u=p;v=p}else{u=k;v=q}if((u|0)==(i|0))break;else o=u}m=c[h>>2]|0;n=v}v=d+4|0;u=d+8|0;o=((c[u>>2]|0)-(c[v>>2]|0)|0)/12|0;i=(n-m|0)/12|0;p=m;m=n;if(o>>>0<=i>>>0){if(o>>>0>>0?(n=p+(o*12|0)|0,(m|0)!=(n|0)):0){p=m;while(1){m=p+-12|0;c[j>>2]=m;r=p+-4|0;if((c[r>>2]|0)!=0?(t=c[p+-8>>2]|0,s=(c[m>>2]|0)+4|0,w=c[t>>2]|0,c[w+4>>2]=c[s>>2],c[c[s>>2]>>2]=w,c[r>>2]=0,(t|0)!=(m|0)):0){r=t;do{t=r;r=c[r+4>>2]|0;Yy(t)}while((r|0)!=(m|0));x=c[j>>2]|0}else x=m;if((x|0)==(n|0))break;else p=x}}}else Di(h,o-i|0);i=d+64|0;o=c[i>>2]|0;x=d+68|0;p=c[x>>2]|0;if((p|0)==(o|0)){y=o;z=p}else{n=p;while(1){p=n+-12|0;c[x>>2]=p;j=n+-4|0;r=p;if((c[j>>2]|0)!=0?(q=c[n+-8>>2]|0,k=(c[p>>2]|0)+4|0,t=c[q>>2]|0,c[t+4>>2]=c[k>>2],c[c[k>>2]>>2]=t,c[j>>2]=0,(q|0)!=(p|0)):0){j=q;do{q=j;j=c[j+4>>2]|0;Yy(q)}while((j|0)!=(p|0));j=c[x>>2]|0;A=j;B=j}else{A=r;B=p}if((B|0)==(o|0))break;else n=B}y=c[i>>2]|0;z=A}A=((c[u>>2]|0)-(c[v>>2]|0)|0)/12|0;B=(z-y|0)/12|0;n=y;y=z;if(A>>>0<=B>>>0){if(A>>>0>>0?(z=n+(A*12|0)|0,(y|0)!=(z|0)):0){n=y;while(1){y=n+-12|0;c[x>>2]=y;o=n+-4|0;if((c[o>>2]|0)!=0?(j=c[n+-8>>2]|0,m=(c[y>>2]|0)+4|0,q=c[j>>2]|0,c[q+4>>2]=c[m>>2],c[c[m>>2]>>2]=q,c[o>>2]=0,(j|0)!=(y|0)):0){o=j;do{j=o;o=c[o+4>>2]|0;Yy(j)}while((o|0)!=(y|0));C=c[x>>2]|0}else C=y;if((C|0)==(z|0))break;else n=C}}}else Ei(i,A-B|0);B=d+76|0;A=c[B>>2]|0;C=d+80|0;n=c[C>>2]|0;if((n|0)==(A|0)){D=n;E=A}else{z=n;do{n=z+-12|0;c[C>>2]=n;jg(n,c[z+-8>>2]|0);z=c[C>>2]|0}while((z|0)!=(A|0));D=z;E=c[B>>2]|0}z=((c[u>>2]|0)-(c[v>>2]|0)|0)/12|0;A=(D-E|0)/12|0;n=E;if(z>>>0<=A>>>0){if(z>>>0>>0?(E=n+(z*12|0)|0,(D|0)!=(E|0)):0){n=D;do{D=n+-12|0;c[C>>2]=D;jg(D,c[n+-8>>2]|0);n=c[C>>2]|0}while((n|0)!=(E|0))}}else Fi(B,z-A|0);A=d+88|0;z=d+96|0;if(c[z>>2]|0?(E=c[d+92>>2]|0,n=(c[A>>2]|0)+4|0,C=c[E>>2]|0,c[C+4>>2]=c[n>>2],c[c[n>>2]>>2]=C,c[z>>2]=0,(E|0)!=(A|0)):0){C=E;do{E=C;C=c[C+4>>2]|0;Yy(E)}while((C|0)!=(A|0))}C=(c[u>>2]|0)-(c[v>>2]|0)|0;u=(C|0)/12|0;if(!C){l=e;return}C=d+16|0;E=g+4|0;n=0;a:while(1){D=c[(c[C>>2]|0)+(n<<2)>>2]|0;if(!D){x=c[v>>2]|0;o=c[x+(n*12|0)+4>>2]|0;p=o;if((p|0)!=(x+(n*12|0)|0)){x=o;o=p;do{Gd(g,x+8|0,c[d>>2]|0);p=a[g>>0]|0;r=c[E>>2]|0;j=r;if(!r){F=64;break a}q=c[B>>2]|0;m=q+(n*12|0)|0;t=q+(n*12|0)+4|0;k=c[t>>2]|0;do if(k){w=q+(n*12|0)+4|0;s=k;while(1){G=c[s+16>>2]|0;if(j>>>0>>0){H=c[s>>2]|0;if(!H){F=70;break}else{I=s;J=H}}else{if(G>>>0>=j>>>0){F=74;break}K=s+4|0;G=c[K>>2]|0;if(!G){F=73;break}else{I=K;J=G}}w=I;s=J}if((F|0)==70){F=0;L=s;M=s;break}else if((F|0)==73){F=0;L=K;M=s;break}else if((F|0)==74){F=0;L=w;M=s;break}}else{L=t;M=t}while(0);if(!(c[L>>2]|0)){t=Wy(20)|0;c[t+16>>2]=r;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=M;c[L>>2]=t;j=c[c[m>>2]>>2]|0;if(!j)N=t;else{c[m>>2]=j;N=c[L>>2]|0}kd(c[q+(n*12|0)+4>>2]|0,N);j=q+(n*12|0)+8|0;c[j>>2]=(c[j>>2]|0)+1}if(p<<24>>24){j=Wy(12)|0;c[j+8>>2]=r;c[j+4>>2]=A;t=c[A>>2]|0;c[j>>2]=t;c[t+4>>2]=j;c[A>>2]=j;c[z>>2]=(c[z>>2]|0)+1}x=c[o+4>>2]|0;o=x}while((o|0)!=((c[v>>2]|0)+(n*12|0)|0))}}else if(!(Bi(d,n,D,0,b)|0)){c[f>>2]=n;Pb(17626,f);o=c[v>>2]|0;x=o+(n*12|0)|0;y=o+(n*12|0)+8|0;if(c[y>>2]|0?(j=c[o+(n*12|0)+4>>2]|0,o=(c[x>>2]|0)+4|0,t=c[j>>2]|0,c[t+4>>2]=c[o>>2],c[c[o>>2]>>2]=t,c[y>>2]=0,(j|0)!=(x|0)):0){y=j;do{j=y;y=c[y+4>>2]|0;rd(j+8|0);Yy(j)}while((y|0)!=(x|0))}x=c[B>>2]|0;y=x+(n*12|0)|0;D=x+(n*12|0)+4|0;jg(y,c[D>>2]|0);c[x+(n*12|0)+8>>2]=0;c[y>>2]=D;c[D>>2]=0;D=c[h>>2]|0;y=D+(n*12|0)|0;x=D+(n*12|0)+8|0;if(c[x>>2]|0?(j=c[D+(n*12|0)+4>>2]|0,D=(c[y>>2]|0)+4|0,t=c[j>>2]|0,c[t+4>>2]=c[D>>2],c[c[D>>2]>>2]=t,c[x>>2]=0,(j|0)!=(y|0)):0){x=j;do{j=x;x=c[x+4>>2]|0;Yy(j)}while((x|0)!=(y|0))}y=c[i>>2]|0;x=y+(n*12|0)|0;j=y+(n*12|0)+8|0;if(c[j>>2]|0?(t=c[y+(n*12|0)+4>>2]|0,y=(c[x>>2]|0)+4|0,D=c[t>>2]|0,c[D+4>>2]=c[y>>2],c[c[y>>2]>>2]=D,c[j>>2]=0,(t|0)!=(x|0)):0){j=t;do{t=j;j=c[j+4>>2]|0;Yy(t)}while((j|0)!=(x|0))}}n=n+1|0;if(n>>>0>=u>>>0){F=84;break}}if((F|0)==64)ta(17715,17472,260,17602);else if((F|0)==84){l=e;return}}function Di(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;d=l;l=l+32|0;e=d;f=c[a+8>>2]|0;g=a+4|0;h=c[g>>2]|0;i=h;if(((f-h|0)/12|0)>>>0>=b>>>0){j=b;k=i;while(1){c[k>>2]=k;c[k+4>>2]=k;c[k+8>>2]=0;j=j+-1|0;if(!j)break;else k=k+12|0}c[g>>2]=i+(b*12|0);l=d;return}i=c[a>>2]|0;g=(h-i|0)/12|0;h=g+b|0;if(h>>>0>357913941)rx(a);k=(f-i|0)/12|0;i=k<<1;f=k>>>0<178956970?(i>>>0>>0?h:i):357913941;c[e+12>>2]=0;c[e+16>>2]=a+8;do if(f)if(f>>>0>357913941){i=ua(8)|0;bz(i,20621);c[i>>2]=9140;Qa(i|0,1496,99)}else{m=Wy(f*12|0)|0;break}else m=0;while(0);c[e>>2]=m;i=m+(g*12|0)|0;g=e+8|0;c[g>>2]=i;h=e+4|0;c[h>>2]=i;c[e+12>>2]=m+(f*12|0);f=b;m=i;while(1){c[m>>2]=m;c[m+4>>2]=m;c[m+8>>2]=0;f=f+-1|0;if(!f)break;else m=m+12|0}c[g>>2]=i+(b*12|0);Ji(a,e);a=c[h>>2]|0;h=c[g>>2]|0;if((h|0)!=(a|0)){b=h;while(1){h=b+-12|0;c[g>>2]=h;i=b+-4|0;if((c[i>>2]|0)!=0?(m=c[b+-8>>2]|0,f=(c[h>>2]|0)+4|0,k=c[m>>2]|0,c[k+4>>2]=c[f>>2],c[c[f>>2]>>2]=k,c[i>>2]=0,(m|0)!=(h|0)):0){i=m;do{m=i;i=c[i+4>>2]|0;Yy(m)}while((i|0)!=(h|0));n=c[g>>2]|0}else n=h;if((n|0)==(a|0))break;else b=n}}n=c[e>>2]|0;if(n|0)Yy(n);l=d;return}function Ei(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;d=l;l=l+32|0;e=d;f=c[a+8>>2]|0;g=a+4|0;h=c[g>>2]|0;i=h;if(((f-h|0)/12|0)>>>0>=b>>>0){j=b;k=i;while(1){c[k>>2]=k;c[k+4>>2]=k;c[k+8>>2]=0;j=j+-1|0;if(!j)break;else k=k+12|0}c[g>>2]=i+(b*12|0);l=d;return}i=c[a>>2]|0;g=(h-i|0)/12|0;h=g+b|0;if(h>>>0>357913941)rx(a);k=(f-i|0)/12|0;i=k<<1;f=k>>>0<178956970?(i>>>0>>0?h:i):357913941;c[e+12>>2]=0;c[e+16>>2]=a+8;do if(f)if(f>>>0>357913941){i=ua(8)|0;bz(i,20621);c[i>>2]=9140;Qa(i|0,1496,99)}else{m=Wy(f*12|0)|0;break}else m=0;while(0);c[e>>2]=m;i=m+(g*12|0)|0;g=e+8|0;c[g>>2]=i;h=e+4|0;c[h>>2]=i;c[e+12>>2]=m+(f*12|0);f=b;m=i;while(1){c[m>>2]=m;c[m+4>>2]=m;c[m+8>>2]=0;f=f+-1|0;if(!f)break;else m=m+12|0}c[g>>2]=i+(b*12|0);Ii(a,e);a=c[h>>2]|0;h=c[g>>2]|0;if((h|0)!=(a|0)){b=h;while(1){h=b+-12|0;c[g>>2]=h;i=b+-4|0;if((c[i>>2]|0)!=0?(m=c[b+-8>>2]|0,f=(c[h>>2]|0)+4|0,k=c[m>>2]|0,c[k+4>>2]=c[f>>2],c[c[f>>2]>>2]=k,c[i>>2]=0,(m|0)!=(h|0)):0){i=m;do{m=i;i=c[i+4>>2]|0;Yy(m)}while((i|0)!=(h|0));n=c[g>>2]|0}else n=h;if((n|0)==(a|0))break;else b=n}}n=c[e>>2]|0;if(n|0)Yy(n);l=d;return}function Fi(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;d=l;l=l+32|0;e=d;f=c[a+8>>2]|0;g=a+4|0;h=c[g>>2]|0;if(((f-h|0)/12|0)>>>0>=b>>>0){i=b;j=h;do{c[j+4>>2]=0;c[j+8>>2]=0;c[j>>2]=j+4;j=(c[g>>2]|0)+12|0;c[g>>2]=j;i=i+-1|0}while((i|0)!=0);l=d;return}i=c[a>>2]|0;j=(h-i|0)/12|0;h=j+b|0;if(h>>>0>357913941)rx(a);g=(f-i|0)/12|0;i=g<<1;f=g>>>0<178956970?(i>>>0>>0?h:i):357913941;c[e+12>>2]=0;c[e+16>>2]=a+8;do if(f)if(f>>>0>357913941){i=ua(8)|0;bz(i,20621);c[i>>2]=9140;Qa(i|0,1496,99)}else{k=Wy(f*12|0)|0;break}else k=0;while(0);c[e>>2]=k;i=k+(j*12|0)|0;j=e+8|0;c[j>>2]=i;g=e+4|0;c[g>>2]=i;c[e+12>>2]=k+(f*12|0);f=b;b=i;while(1){c[b+4>>2]=0;c[b+8>>2]=0;c[b>>2]=b+4;f=f+-1|0;if(!f)break;else b=b+12|0}c[j>>2]=k+(h*12|0);Gi(a,e);a=c[g>>2]|0;g=c[j>>2]|0;if((g|0)!=(a|0)){h=g;do{g=h+-12|0;c[j>>2]=g;jg(g,c[h+-8>>2]|0);h=c[j>>2]|0}while((h|0)!=(a|0))}a=c[e>>2]|0;if(a|0)Yy(a);l=d;return}function Gi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;d=l;l=l+16|0;e=d+12|0;f=d+8|0;g=d+4|0;h=d;i=c[a>>2]|0;j=a+4|0;k=c[j>>2]|0;m=b+4|0;if((k|0)==(i|0)){n=m;o=a;p=c[m>>2]|0;q=i;c[o>>2]=p;c[n>>2]=q;r=b+8|0;s=c[j>>2]|0;t=c[r>>2]|0;c[j>>2]=t;c[r>>2]=s;u=a+8|0;v=b+12|0;w=c[u>>2]|0;x=c[v>>2]|0;c[u>>2]=x;c[v>>2]=w;y=c[n>>2]|0;c[b>>2]=y;l=d;return}z=k;k=c[m>>2]|0;do{A=k+-12|0;B=z;z=z+-12|0;C=k+-8|0;c[C>>2]=0;D=k+-4|0;c[D>>2]=0;E=k+-8|0;c[A>>2]=E;F=c[z>>2]|0;G=B+-8|0;if((F|0)!=(G|0)){B=E;E=F;while(1){F=E+16|0;c[h>>2]=B;c[e>>2]=c[h>>2];H=Hi(A,e,f,g,F)|0;if(!(c[H>>2]|0)){I=Wy(20)|0;c[I+16>>2]=c[F>>2];F=c[f>>2]|0;c[I>>2]=0;c[I+4>>2]=0;c[I+8>>2]=F;c[H>>2]=I;F=c[c[A>>2]>>2]|0;if(!F)J=I;else{c[A>>2]=F;J=c[H>>2]|0}kd(c[C>>2]|0,J);c[D>>2]=(c[D>>2]|0)+1}H=c[E+4>>2]|0;if(!H){F=E+8|0;I=c[F>>2]|0;if((c[I>>2]|0)==(E|0))K=I;else{I=F;do{F=c[I>>2]|0;I=F+8|0;L=c[I>>2]|0}while((c[L>>2]|0)!=(F|0));K=L}}else{I=H;while(1){L=c[I>>2]|0;if(!L)break;else I=L}K=I}if((K|0)==(G|0))break;else E=K}}k=(c[m>>2]|0)+-12|0;c[m>>2]=k}while((z|0)!=(i|0));n=m;o=a;p=k;q=c[a>>2]|0;c[o>>2]=p;c[n>>2]=q;r=b+8|0;s=c[j>>2]|0;t=c[r>>2]|0;c[j>>2]=t;c[r>>2]=s;u=a+8|0;v=b+12|0;w=c[u>>2]|0;x=c[v>>2]|0;c[u>>2]=x;c[v>>2]=w;y=c[n>>2]|0;c[b>>2]=y;l=d;return}function Hi(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,t=0,u=0,v=0,w=0,x=0;g=a+4|0;h=c[b>>2]|0;b=h;if((h|0)!=(g|0)?(i=c[f>>2]|0,j=c[h+16>>2]|0,i>>>0>=j>>>0):0){if(j>>>0>=i>>>0){c[d>>2]=b;c[e>>2]=b;k=e;return k|0}e=h+4|0;j=c[e>>2]|0;if(!j){l=h+8|0;m=c[l>>2]|0;if((c[m>>2]|0)==(h|0))n=m;else{m=l;do{l=c[m>>2]|0;m=l+8|0;o=c[m>>2]|0}while((c[o>>2]|0)!=(l|0));n=o}}else{m=j;while(1){j=c[m>>2]|0;if(!j)break;else m=j}n=m}if((n|0)!=(g|0)?i>>>0>=(c[n+16>>2]|0)>>>0:0){m=c[g>>2]|0;if(!m){c[d>>2]=g;k=g;return k|0}j=a+4|0;o=m;while(1){m=c[o+16>>2]|0;if(i>>>0>>0){l=c[o>>2]|0;if(!l){p=39;break}else{q=o;r=l}}else{if(m>>>0>=i>>>0){p=43;break}s=o+4|0;m=c[s>>2]|0;if(!m){p=42;break}else{q=s;r=m}}j=q;o=r}if((p|0)==39){c[d>>2]=o;k=o;return k|0}else if((p|0)==42){c[d>>2]=o;k=s;return k|0}else if((p|0)==43){c[d>>2]=o;k=j;return k|0}}if(!(c[h+4>>2]|0)){c[d>>2]=b;k=e;return k|0}else{c[d>>2]=n;k=n;return k|0}}n=c[h>>2]|0;if((h|0)!=(c[a>>2]|0)){if(!n){e=h;while(1){j=c[e+8>>2]|0;if((c[j>>2]|0)==(e|0))e=j;else{t=j;break}}}else{e=n;while(1){j=c[e+4>>2]|0;if(!j){t=e;break}else e=j}}e=c[f>>2]|0;if((c[t+16>>2]|0)>>>0>=e>>>0){f=c[g>>2]|0;if(!f){c[d>>2]=g;k=g;return k|0}g=a+4|0;a=f;while(1){f=c[a+16>>2]|0;if(e>>>0>>0){j=c[a>>2]|0;if(!j){p=17;break}else{u=a;v=j}}else{if(f>>>0>=e>>>0){p=21;break}w=a+4|0;f=c[w>>2]|0;if(!f){p=20;break}else{u=w;v=f}}g=u;a=v}if((p|0)==17){c[d>>2]=a;k=a;return k|0}else if((p|0)==20){c[d>>2]=a;k=w;return k|0}else if((p|0)==21){c[d>>2]=a;k=g;return k|0}}else x=t}else x=b;if(!n){c[d>>2]=h;k=h;return k|0}else{h=x;c[d>>2]=h;k=h+4|0;return k|0}return 0}function Ii(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;d=c[a>>2]|0;e=a+4|0;f=c[e>>2]|0;g=b+4|0;if((f|0)==(d|0)){h=g;i=a;j=c[g>>2]|0;k=d}else{l=f;f=c[g>>2]|0;do{m=f+-12|0;c[m>>2]=m;c[f+-8>>2]=m;n=f+-4|0;c[n>>2]=0;o=c[l+-8>>2]|0;l=l+-12|0;p=o;if((p|0)!=(l|0)){q=o;o=m;r=0;s=p;do{p=o;o=Wy(12)|0;c[o+8>>2]=c[q+8>>2];c[o+4>>2]=m;c[o>>2]=p;c[p+4>>2]=o;c[m>>2]=o;r=r+1|0;c[n>>2]=r;q=c[s+4>>2]|0;s=q}while((s|0)!=(l|0))}f=(c[g>>2]|0)+-12|0;c[g>>2]=f}while((l|0)!=(d|0));h=g;i=a;j=f;k=c[a>>2]|0}c[i>>2]=j;c[h>>2]=k;k=b+8|0;j=c[e>>2]|0;c[e>>2]=c[k>>2];c[k>>2]=j;j=a+8|0;a=b+12|0;k=c[j>>2]|0;c[j>>2]=c[a>>2];c[a>>2]=k;c[b>>2]=c[h>>2];return}function Ji(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;d=c[a>>2]|0;e=a+4|0;f=c[e>>2]|0;g=b+4|0;if((f|0)==(d|0)){h=g;i=a;j=c[g>>2]|0;k=d}else{l=f;f=c[g>>2]|0;do{m=f+-12|0;c[m>>2]=m;c[f+-8>>2]=m;n=f+-4|0;c[n>>2]=0;o=c[l+-8>>2]|0;l=l+-12|0;p=o;if((p|0)!=(l|0)){q=o;o=m;r=0;s=p;do{p=o;o=Wy(12)|0;c[o+8>>2]=c[q+8>>2];c[o+4>>2]=m;c[o>>2]=p;c[p+4>>2]=o;c[m>>2]=o;r=r+1|0;c[n>>2]=r;q=c[s+4>>2]|0;s=q}while((s|0)!=(l|0))}f=(c[g>>2]|0)+-12|0;c[g>>2]=f}while((l|0)!=(d|0));h=g;i=a;j=f;k=c[a>>2]|0}c[i>>2]=j;c[h>>2]=k;k=b+8|0;j=c[e>>2]|0;c[e>>2]=c[k>>2];c[k>>2]=j;j=a+8|0;a=b+12|0;k=c[j>>2]|0;c[j>>2]=c[a>>2];c[a>>2]=k;c[b>>2]=c[h>>2];return}function Ki(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,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;b=l;l=l+272|0;d=b+260|0;e=b+168|0;f=b+256|0;g=b+252|0;h=b+240|0;i=b+228|0;j=b;k=b+216|0;if(!(c[a>>2]|0))ta(17587,17472,279,17743);m=a+28|0;n=c[m>>2]|0;o=a+32|0;p=c[o>>2]|0;if((p|0)==(n|0)){q=n;r=p}else{s=p;while(1){p=s+-12|0;c[o>>2]=p;t=s+-4|0;u=p;if((c[t>>2]|0)!=0?(v=c[s+-8>>2]|0,w=(c[p>>2]|0)+4|0,x=c[v>>2]|0,c[x+4>>2]=c[w>>2],c[c[w>>2]>>2]=x,c[t>>2]=0,(v|0)!=(p|0)):0){t=v;do{v=t;t=c[t+4>>2]|0;Yy(v)}while((t|0)!=(p|0));t=c[o>>2]|0;y=t;z=t}else{y=p;z=u}if((y|0)==(n|0))break;else s=y}q=c[m>>2]|0;r=z}z=a+4|0;y=a+8|0;s=((c[y>>2]|0)-(c[z>>2]|0)|0)/12|0;n=(r-q|0)/12|0;t=q;q=r;if(s>>>0<=n>>>0){if(s>>>0>>0?(r=t+(s*12|0)|0,(q|0)!=(r|0)):0){t=q;while(1){q=t+-12|0;c[o>>2]=q;v=t+-4|0;if((c[v>>2]|0)!=0?(x=c[t+-8>>2]|0,w=(c[q>>2]|0)+4|0,A=c[x>>2]|0,c[A+4>>2]=c[w>>2],c[c[w>>2]>>2]=A,c[v>>2]=0,(x|0)!=(q|0)):0){v=x;do{x=v;v=c[v+4>>2]|0;Yy(x)}while((v|0)!=(q|0));B=c[o>>2]|0}else B=q;if((B|0)==(r|0))break;else t=B}}}else Di(m,s-n|0);n=a+52|0;s=c[n>>2]|0;B=a+56|0;t=c[B>>2]|0;if((t|0)==(s|0)){C=s;D=t}else{r=t;while(1){t=r+-12|0;c[B>>2]=t;o=r+-4|0;v=t;if((c[o>>2]|0)!=0?(u=c[r+-8>>2]|0,p=(c[t>>2]|0)+4|0,x=c[u>>2]|0,c[x+4>>2]=c[p>>2],c[c[p>>2]>>2]=x,c[o>>2]=0,(u|0)!=(t|0)):0){o=u;do{u=o;o=c[o+4>>2]|0;Yy(u)}while((o|0)!=(t|0));o=c[B>>2]|0;E=o;F=o}else{E=v;F=t}if((F|0)==(s|0))break;else r=F}C=c[n>>2]|0;D=E}E=((c[y>>2]|0)-(c[z>>2]|0)|0)/12|0;F=(D-C|0)/12|0;r=C;C=D;if(E>>>0<=F>>>0){if(E>>>0>>0?(D=r+(E*12|0)|0,(C|0)!=(D|0)):0){r=C;while(1){C=r+-12|0;c[B>>2]=C;s=r+-4|0;if((c[s>>2]|0)!=0?(o=c[r+-8>>2]|0,q=(c[C>>2]|0)+4|0,u=c[o>>2]|0,c[u+4>>2]=c[q>>2],c[c[q>>2]>>2]=u,c[s>>2]=0,(o|0)!=(C|0)):0){s=o;do{o=s;s=c[s+4>>2]|0;Yy(o)}while((s|0)!=(C|0));G=c[B>>2]|0}else G=C;if((G|0)==(D|0))break;else r=G}}}else Ei(n,E-F|0);if(wg(c[a>>2]|0)|0){c[d>>2]=0;F=d+4|0;c[F>>2]=0;c[d+8>>2]=0;E=c[a>>2]|0;G=c[E+8>>2]|0;r=G;if((r|0)==(E+4|0))H=E;else{E=d+8|0;D=G;G=r;while(1){r=c[D+8>>2]|0;if(((r|0)!=0?(B=Pz(r,64,48,0)|0,(B|0)!=0):0)?!(kf(B)|0):0)I=c[G+4>>2]|0;else{Yf(e,r);r=c[F>>2]|0;if((r|0)==(c[E>>2]|0))Li(d,e);else{B=r;s=e;t=B+48|0;do{c[B>>2]=c[s>>2];B=B+4|0;s=s+4|0}while((B|0)<(t|0));c[F>>2]=r+48}I=c[G+4>>2]|0}s=c[a>>2]|0;G=I;if((G|0)==(s+4|0)){H=s;break}else D=I}}I=wg(H)|0;H=c[(c[I>>2]|0)+8>>2]|0;c[h>>2]=0;D=h+4|0;c[D>>2]=0;c[h+8>>2]=0;G=c[d>>2]|0;E=(c[F>>2]|0)-G|0;s=(E|0)/48|0;if(E|0){if(s>>>0>89478485)rx(h);B=Wy(E)|0;c[D>>2]=B;c[h>>2]=B;c[h+8>>2]=B+(s*48|0);if((E|0)>0){EA(B|0,G|0,E|0)|0;c[D>>2]=B+(((E>>>0)/48|0)*48|0)}}db[H&63](I,h);I=c[h>>2]|0;if(I|0){h=c[D>>2]|0;if((h|0)!=(I|0))c[D>>2]=h+(~(((h+-48-I|0)>>>0)/48|0)*48|0);Yy(I)}I=c[d>>2]|0;if(I|0){h=c[F>>2]|0;if((h|0)!=(I|0))c[F>>2]=h+(~(((h+-48-I|0)>>>0)/48|0)*48|0);Yy(I)}}I=c[y>>2]|0;h=c[z>>2]|0;F=I-h|0;D=(F|0)/12|0;do if(F){H=a+76|0;E=i+4|0;B=i+8|0;G=i+4|0;s=k+4|0;t=k+8|0;C=k+4|0;v=a+64|0;o=a+40|0;u=C;q=0;while(1){x=c[H>>2]|0;if(c[x+(q*12|0)+8>>2]|0){c[E>>2]=0;c[B>>2]=0;c[i>>2]=G;p=c[a>>2]|0;c[s>>2]=0;c[t>>2]=0;c[k>>2]=C;A=c[x+(q*12|0)>>2]|0;w=x+(q*12|0)+4|0;if((A|0)!=(w|0)){x=A;while(1){A=x+16|0;c[g>>2]=u;c[d>>2]=c[g>>2];J=Hi(k,d,e,f,A)|0;if(!(c[J>>2]|0)){K=Wy(20)|0;c[K+16>>2]=c[A>>2];A=c[e>>2]|0;c[K>>2]=0;c[K+4>>2]=0;c[K+8>>2]=A;c[J>>2]=K;A=c[c[k>>2]>>2]|0;if(!A)L=K;else{c[k>>2]=A;L=c[J>>2]|0}kd(c[s>>2]|0,L);c[t>>2]=(c[t>>2]|0)+1}J=c[x+4>>2]|0;if(!J){A=x+8|0;K=c[A>>2]|0;if((c[K>>2]|0)==(x|0))M=K;else{K=A;do{A=c[K>>2]|0;K=A+8|0;N=c[K>>2]|0}while((c[N>>2]|0)!=(A|0));M=N}}else{K=J;while(1){N=c[K>>2]|0;if(!N)break;else K=N}M=K}if((M|0)==(w|0))break;else x=M}}oj(j,p,k,i);jg(k,c[C>>2]|0);Dj(j);x=rj(j)|0;if(!x){O=89;break}Pj(x,0,c[a>>2]|0,(c[v>>2]|0)+(q*12|0)|0,0);Tj(x,0,(c[m>>2]|0)+(q*12|0)|0,(c[n>>2]|0)+(q*12|0)|0);Nj(x,0,0);Nj(x,0,1);x=c[v>>2]|0;w=c[x+(q*12|0)+4>>2]|0;J=w;if((J|0)!=(x+(q*12|0)|0)){x=w;w=J;do{J=x+8|0;Gc(d,c[J>>2]|0,0);gh(c[a>>2]|0,c[J>>2]|0);x=c[w+4>>2]|0;w=x}while((w|0)!=((c[v>>2]|0)+(q*12|0)|0))}w=c[o>>2]|0;x=c[w+(q*12|0)+4>>2]|0;p=x;if((p|0)!=(w+(q*12|0)|0)){w=x;x=p;do{lh(c[a>>2]|0,c[w+8>>2]|0);w=c[x+4>>2]|0;x=w}while((x|0)!=((c[o>>2]|0)+(q*12|0)|0))}qj(j);ng(i,c[G>>2]|0)}q=q+1|0;if(q>>>0>=D>>>0){O=66;break}}if((O|0)==66){P=c[y>>2]|0;Q=c[z>>2]|0;break}else if((O|0)==89)ta(18084,17472,333,17743)}else{P=I;Q=h}while(0);if((P|0)!=(Q|0)){h=P;while(1){P=h+-12|0;c[y>>2]=P;I=h+-4|0;if((c[I>>2]|0)!=0?(O=c[h+-8>>2]|0,z=(c[P>>2]|0)+4|0,D=c[O>>2]|0,c[D+4>>2]=c[z>>2],c[c[z>>2]>>2]=D,c[I>>2]=0,(O|0)!=(P|0)):0){I=O;do{O=I;I=c[I+4>>2]|0;rd(O+8|0);Yy(O)}while((I|0)!=(P|0));R=c[y>>2]|0}else R=P;if((R|0)==(Q|0))break;else h=R}}R=c[a+16>>2]|0;h=a+20|0;Q=c[h>>2]|0;if((Q|0)!=(R|0))c[h>>2]=Q+(~((Q+-4-R|0)>>>2)<<2);R=a+88|0;Q=a+92|0;h=c[Q>>2]|0;y=h;if((y|0)!=(R|0)){I=h;h=y;do{y=I+8|0;Vh(c[y>>2]|0,1);di((c[a>>2]|0)+100|0,c[y>>2]|0)|0;O=c[y>>2]|0;if(O|0){Qh(O);Yy(O)}I=c[h+4>>2]|0;h=I}while((h|0)!=(R|0))}h=a+96|0;if(!(c[h>>2]|0)){l=b;return}a=c[Q>>2]|0;Q=(c[R>>2]|0)+4|0;I=c[a>>2]|0;c[I+4>>2]=c[Q>>2];c[c[Q>>2]>>2]=I;c[h>>2]=0;if((a|0)==(R|0)){l=b;return}else S=a;do{a=S;S=c[S+4>>2]|0;Yy(a)}while((S|0)!=(R|0));l=b;return}function Li(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=(f|0)/48|0;h=g+1|0;if(h>>>0>89478485)rx(a);i=a+8|0;j=((c[i>>2]|0)-e|0)/48|0;k=j<<1;l=j>>>0<44739242?(k>>>0>>0?h:k):89478485;do if(l)if(l>>>0>89478485){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l*48|0)|0;break}else m=0;while(0);k=m+(g*48|0)|0;g=m+(l*48|0)|0;l=k;m=b;b=l+48|0;do{c[l>>2]=c[m>>2];l=l+4|0;m=m+4|0}while((l|0)<(b|0));m=k+(((f|0)/-48|0)*48|0)|0;if((f|0)>0)EA(m|0,e|0,f|0)|0;c[a>>2]=m;c[d>>2]=k+48;c[i>>2]=g;if(!e)return;Yy(e);return}function Mi(){Fh(27968,0,0,0);Fh(27976,0,0,b[4624]|0);return}function Ni(a){a=a|0;var b=0;c[a>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+4>>2]=a+8;c[a+20>>2]=0;c[a+24>>2]=0;c[a+16>>2]=a+20;c[a+32>>2]=0;c[a+36>>2]=0;c[a+28>>2]=a+32;b=a+40|0;c[b>>2]=b;c[a+44>>2]=b;c[a+48>>2]=0;b=a+52|0;c[b>>2]=b;c[a+56>>2]=b;c[a+60>>2]=0;b=a+64|0;c[b>>2]=b;c[a+68>>2]=b;c[a+72>>2]=0;b=a+76|0;c[b>>2]=b;c[a+80>>2]=b;c[a+84>>2]=0;b=a+88|0;c[b>>2]=b;c[a+92>>2]=b;c[a+96>>2]=0;b=a+100|0;c[b>>2]=b;c[a+104>>2]=b;c[a+108>>2]=0;Oi(a);return}function Oi(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;b=a+4|0;d=a+8|0;ng(b,c[d>>2]|0);c[a+12>>2]=0;c[b>>2]=d;c[d>>2]=0;d=a+16|0;b=a+20|0;mg(d,c[b>>2]|0);c[a+24>>2]=0;c[d>>2]=b;c[b>>2]=0;b=a+28|0;d=a+32|0;lg(b,c[d>>2]|0);c[a+36>>2]=0;c[b>>2]=d;c[d>>2]=0;d=a+40|0;b=a+48|0;if(c[b>>2]|0?(e=c[a+44>>2]|0,f=(c[d>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[b>>2]=0,(e|0)!=(d|0)):0){b=e;do{e=b;b=c[b+4>>2]|0;Yy(e)}while((b|0)!=(d|0))}d=a+52|0;b=a+60|0;if(c[b>>2]|0?(e=c[a+56>>2]|0,g=(c[d>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[b>>2]=0,(e|0)!=(d|0)):0){b=e;do{e=b;b=c[b+4>>2]|0;Yy(e)}while((b|0)!=(d|0))}d=a+64|0;b=a+72|0;if(c[b>>2]|0?(e=c[a+68>>2]|0,f=(c[d>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[b>>2]=0,(e|0)!=(d|0)):0){b=e;do{e=b;b=c[b+4>>2]|0;Yy(e)}while((b|0)!=(d|0))}d=a+76|0;b=a+84|0;if(c[b>>2]|0?(e=c[a+80>>2]|0,g=(c[d>>2]|0)+4|0,f=c[e>>2]|0,c[f+4>>2]=c[g>>2],c[c[g>>2]>>2]=f,c[b>>2]=0,(e|0)!=(d|0)):0){b=e;do{e=b;b=c[b+4>>2]|0;Yy(e)}while((b|0)!=(d|0))}d=a+88|0;b=a+96|0;if(c[b>>2]|0?(e=c[a+92>>2]|0,f=(c[d>>2]|0)+4|0,g=c[e>>2]|0,c[g+4>>2]=c[f>>2],c[c[f>>2]>>2]=g,c[b>>2]=0,(e|0)!=(d|0)):0){b=e;do{e=b;b=c[b+4>>2]|0;Yy(e)}while((b|0)!=(d|0))}d=a+100|0;b=a+108|0;if(!(c[b>>2]|0)){h=a+112|0;c[h>>2]=0;return}e=c[a+104>>2]|0;g=(c[d>>2]|0)+4|0;f=c[e>>2]|0;c[f+4>>2]=c[g>>2];c[c[g>>2]>>2]=f;c[b>>2]=0;if((e|0)==(d|0)){h=a+112|0;c[h>>2]=0;return}else i=e;do{e=i;i=c[i+4>>2]|0;Yy(e)}while((i|0)!=(d|0));h=a+112|0;c[h>>2]=0;return}function Pi(a,b){a=a|0;b=b|0;c[a>>2]=b;return}function Qi(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;if(ck(b,d)|0?!(bk(b)|0):0){g=b+4|0;if(_j(c[b>>2]|0)|0)h=1;else h=_j(c[g>>2]|0)|0;i=Wy(80)|0;Ri(i,c[b>>2]|0,c[g>>2]|0,d,h);h=Wy(12)|0;c[h+8>>2]=i;c[h+4>>2]=f;i=c[f>>2]|0;c[h>>2]=i;c[i+4>>2]=h;c[f>>2]=h;h=f+8|0;c[h>>2]=(c[h>>2]|0)+1}h=c[b>>2]|0;if(!((h|0)==0|(h|0)==(e|0))?(i=c[h+4>>2]|0,g=i,(g|0)!=(h|0)):0){j=i;i=g;do{g=c[j+8>>2]|0;if((g|0)!=(b|0))Qi(a,g,d,h,f);j=c[i+4>>2]|0;i=j}while((i|0)!=(h|0))}h=c[b+4>>2]|0;if((h|0)==0|(h|0)==(e|0))return;e=c[h+4>>2]|0;i=e;if((i|0)==(h|0))return;else{k=e;l=i}do{i=c[k+8>>2]|0;if((i|0)!=(b|0))Qi(a,i,d,h,f);k=c[l+4>>2]|0;l=k}while((l|0)!=(h|0));return}function Ri(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;i=l;l=l+16|0;j=i;k=e;c[b+4>>2]=f;c[b>>2]=1824;m=b+24|0;fk(j,f&1^1);f=b+28|0;c[f>>2]=0;n=c[j>>2]|0;j=b+32|0;c[j>>2]=0;c[b+36>>2]=n;n=b+28|0;c[m>>2]=n;a[b+40>>0]=g&1;c[b+44>>2]=0;a[b+48>>0]=0;a[b+72>>0]=0;g=Wy(20)|0;c[g+16>>2]=d;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=n;c[n>>2]=g;c[m>>2]=g;kd(g,g);c[j>>2]=(c[j>>2]|0)+1;g=c[n>>2]|0;do if(g){o=b+36|0;p=f;q=g;while(1){r=q+16|0;if(gk(o,e,c[r>>2]|0)|0){s=c[q>>2]|0;if(!s){t=6;break}else{u=q;v=s}}else{if(!(gk(o,c[r>>2]|0,e)|0)){t=10;break}w=q+4|0;r=c[w>>2]|0;if(!r){t=9;break}else{u=w;v=r}}p=u;q=v}if((t|0)==6){x=q;y=q;break}else if((t|0)==9){x=w;y=q;break}else if((t|0)==10){x=p;y=q;break}}else{x=n;y=n}while(0);if(c[x>>2]|0){z=d+40|0;c[z>>2]=m;A=e+40|0;c[A>>2]=m;B=b+8|0;h[B>>3]=-1.0e8;C=b+16|0;h[C>>3]=1.0e8;l=i;return}n=Wy(20)|0;c[n+16>>2]=k;c[n>>2]=0;c[n+4>>2]=0;c[n+8>>2]=y;c[x>>2]=n;y=c[c[m>>2]>>2]|0;if(!y)D=n;else{c[m>>2]=y;D=c[x>>2]|0}kd(c[f>>2]|0,D);c[j>>2]=(c[j>>2]|0)+1;z=d+40|0;c[z>>2]=m;A=e+40|0;c[A>>2]=m;B=b+8|0;h[B>>3]=-1.0e8;C=b+16|0;h[C>>3]=1.0e8;l=i;return}function Si(a,b){a=a|0;b=b|0;if(!b)return;else{Si(a,c[b>>2]|0);Si(a,c[b+4>>2]|0);Yy(b);return}}function Ti(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;c[a>>2]=1824;b=a+24|0;d=c[b>>2]|0;e=a+28|0;if((d|0)!=(e|0)){a=d;while(1){c[(c[a+16>>2]|0)+40>>2]=0;d=c[a+4>>2]|0;if(!d){f=a+8|0;g=c[f>>2]|0;if((c[g>>2]|0)==(a|0))h=g;else{g=f;do{f=c[g>>2]|0;g=f+8|0;i=c[g>>2]|0}while((c[i>>2]|0)!=(f|0));h=i}}else{g=d;while(1){i=c[g>>2]|0;if(!i)break;else g=i}h=g}if((h|0)==(e|0))break;else a=h}}Si(b,c[e>>2]|0);return}function Ui(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c[a>>2]=1824;b=a+24|0;d=c[b>>2]|0;e=a+28|0;if((d|0)!=(e|0)){f=d;while(1){c[(c[f+16>>2]|0)+40>>2]=0;d=c[f+4>>2]|0;if(!d){g=f+8|0;h=c[g>>2]|0;if((c[h>>2]|0)==(f|0))i=h;else{h=g;do{g=c[h>>2]|0;h=g+8|0;j=c[h>>2]|0}while((c[j>>2]|0)!=(g|0));i=j}}else{h=d;while(1){j=c[h>>2]|0;if(!j)break;else h=j}i=h}if((i|0)==(e|0))break;else f=i}}Si(b,c[e>>2]|0);Yy(a);return}function Vi(a){a=a|0;return (c[(c[a+24>>2]|0)+16>>2]|0)+16|0}function Wi(a){a=a|0;var b=0,d=0,e=0;b=a+28|0;a=c[b>>2]|0;if(!a){d=b;while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))d=b;else{e=b;break}}}else{d=a;while(1){a=c[d+4>>2]|0;if(!a){e=d;break}else d=a}}return (c[e+16>>2]|0)+16|0}function Xi(a){a=a|0;return (c[(c[a+24>>2]|0)+16>>2]|0)+16|0}function Yi(a){a=a|0;var b=0,d=0,e=0;b=a+28|0;a=c[b>>2]|0;if(!a){d=b;while(1){b=c[d+8>>2]|0;if((c[b>>2]|0)==(d|0))d=b;else{e=b;break}}}else{d=a;while(1){a=c[d+4>>2]|0;if(!a){e=d;break}else d=a}}return (c[e+16>>2]|0)+16|0}function Zi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0.0,k=0;e=d&1^1;d=fb[c[(c[a>>2]|0)+16>>2]&127](a)|0;f=fb[c[(c[a>>2]|0)+20>>2]&127](a)|0;g=fb[c[(c[b>>2]|0)+16>>2]&127](b)|0;i=fb[c[(c[b>>2]|0)+20>>2]&127](b)|0;j=+h[(he(d,e)|0)>>3];if(((j<=+h[(he(i,e)|0)>>3]?(j=+h[(he(g,e)|0)>>3],j<=+h[(he(f,e)|0)>>3]):0)?+h[a+8>>3]<=+h[b+16>>3]:0)?+h[b+8>>3]<=+h[a+16>>3]:0){k=1;return k|0}k=0;return k|0}function _i(b){b=b|0;return (a[b+40>>0]|0)!=0|0}function $i(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0.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;e=l;l=l+16|0;f=e+12|0;g=e+8|0;i=e+4|0;j=e;k=b+4|0;m=c[k>>2]&1^1;n=fb[c[(c[b>>2]|0)+8>>2]&127](b)|0;o=fb[c[(c[b>>2]|0)+12>>2]&127](b)|0;p=fb[c[(c[d>>2]|0)+8>>2]&127](d)|0;q=fb[c[(c[d>>2]|0)+12>>2]&127](d)|0;r=+h[(he(n,c[k>>2]|0)|0)>>3];if((r==+h[(he(p,c[k>>2]|0)|0)>>3]?(r=+h[(he(n,m)|0)>>3],r<=+h[(he(q,m)|0)>>3]):0)?(r=+h[(he(p,m)|0)>>3],r<=+h[(he(o,m)|0)>>3]):0){m=b+40|0;a[m>>0]=a[m>>0]|a[d+40>>0];m=b+8|0;r=+h[m>>3];s=+h[d+8>>3];h[m>>3]=r>3];s=+h[m>>3];h[m>>3]=r>2]|0;q=d+28|0;if((p|0)==(q|0)){t=b+28|0;u=m}else{n=b+28|0;k=n;v=b+28|0;w=b+32|0;x=p;while(1){p=x+16|0;c[j>>2]=k;c[f>>2]=c[j>>2];y=aj(m,f,g,i,p)|0;if(!(c[y>>2]|0)){z=Wy(20)|0;c[z+16>>2]=c[p>>2];p=c[g>>2]|0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=p;c[y>>2]=z;p=c[c[m>>2]>>2]|0;if(!p)A=z;else{c[m>>2]=p;A=c[y>>2]|0}kd(c[v>>2]|0,A);c[w>>2]=(c[w>>2]|0)+1}y=c[x+4>>2]|0;if(!y){p=x+8|0;z=c[p>>2]|0;if((c[z>>2]|0)==(x|0))B=z;else{z=p;do{p=c[z>>2]|0;z=p+8|0;C=c[z>>2]|0}while((c[C>>2]|0)!=(p|0));B=C}}else{z=y;while(1){C=c[z>>2]|0;if(!C)break;else z=C}B=z}if((B|0)==(q|0)){t=n;u=m;break}else x=B}}Si(o,c[q>>2]|0);c[d+32>>2]=0;c[o>>2]=q;c[q>>2]=0;q=c[u>>2]|0;if((q|0)!=(t|0)){u=q;while(1){c[(c[u+16>>2]|0)+40>>2]=m;q=c[u+4>>2]|0;if(!q){o=u+8|0;d=c[o>>2]|0;if((c[d>>2]|0)==(u|0))D=d;else{d=o;do{o=c[d>>2]|0;d=o+8|0;B=c[d>>2]|0}while((c[B>>2]|0)!=(o|0));D=B}}else{d=q;while(1){z=c[d>>2]|0;if(!z)break;else d=z}D=d}if((D|0)==(t|0))break;else u=D}}bj(b);E=1;l=e;return E|0}bj(b);E=0;l=e;return E|0}function aj(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,t=0,u=0,v=0,w=0,x=0;g=a+4|0;h=c[b>>2]|0;b=h;if((h|0)!=(g|0)?(i=a+12|0,j=h+16|0,!(gk(i,c[f>>2]|0,c[j>>2]|0)|0)):0){if(!(gk(i,c[j>>2]|0,c[f>>2]|0)|0)){c[d>>2]=b;c[e>>2]=b;k=e;return k|0}e=c[h+4>>2]|0;if(!e){j=h+8|0;l=c[j>>2]|0;if((c[l>>2]|0)==(h|0))m=l;else{l=j;do{j=c[l>>2]|0;l=j+8|0;n=c[l>>2]|0}while((c[n>>2]|0)!=(j|0));m=n}}else{l=e;while(1){e=c[l>>2]|0;if(!e)break;else l=e}m=l}if((m|0)!=(g|0)?!(gk(i,c[f>>2]|0,c[m+16>>2]|0)|0):0){l=c[g>>2]|0;if(!l){c[d>>2]=g;k=g;return k|0}e=a+4|0;n=l;while(1){l=n+16|0;if(gk(i,c[f>>2]|0,c[l>>2]|0)|0){j=c[n>>2]|0;if(!j){o=40;break}else{p=n;q=j}}else{if(!(gk(i,c[l>>2]|0,c[f>>2]|0)|0)){o=44;break}r=n+4|0;l=c[r>>2]|0;if(!l){o=43;break}else{p=r;q=l}}e=p;n=q}if((o|0)==40){c[d>>2]=n;k=n;return k|0}else if((o|0)==43){c[d>>2]=n;k=r;return k|0}else if((o|0)==44){c[d>>2]=n;k=e;return k|0}}if(!(c[h+4>>2]|0)){c[d>>2]=b;k=h+4|0;return k|0}else{c[d>>2]=m;k=m;return k|0}}if((h|0)!=(c[a>>2]|0)){m=a+12|0;e=c[h>>2]|0;if(!e){n=h;while(1){r=c[n+8>>2]|0;if((c[r>>2]|0)==(n|0))n=r;else{s=r;break}}}else{n=e;while(1){e=c[n+4>>2]|0;if(!e){s=n;break}else n=e}}if(!(gk(m,c[s+16>>2]|0,c[f>>2]|0)|0)){n=c[g>>2]|0;if(!n){c[d>>2]=g;k=g;return k|0}g=a+4|0;a=n;while(1){n=a+16|0;if(gk(m,c[f>>2]|0,c[n>>2]|0)|0){e=c[a>>2]|0;if(!e){o=18;break}else{t=a;u=e}}else{if(!(gk(m,c[n>>2]|0,c[f>>2]|0)|0)){o=22;break}v=a+4|0;n=c[v>>2]|0;if(!n){o=21;break}else{t=v;u=n}}g=t;a=u}if((o|0)==18){c[d>>2]=a;k=a;return k|0}else if((o|0)==21){c[d>>2]=a;k=v;return k|0}else if((o|0)==22){c[d>>2]=a;k=g;return k|0}}else{w=h;x=s}}else{w=h;x=b}if(!(c[w>>2]|0)){c[d>>2]=h;k=w;return k|0}else{w=x;c[d>>2]=w;k=w+4|0;return k|0}return 0}function bj(b){b=b|0;var d=0,e=0,f=0,g=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,u=0,v=0,w=0.0,x=0;d=b+4|0;e=c[d>>2]&1^1;f=b+56|0;h[f>>3]=+h[b+8>>3];g=b+64|0;h[g>>3]=+h[b+16>>3];i=b+44|0;c[i>>2]=0;if(a[b+40>>0]|0){j=b+48|0;a[j>>0]=1;return}k=c[b+24>>2]|0;l=b+28|0;if((k|0)==(l|0)){j=b+48|0;a[j>>0]=1;return}else m=k;while(1){k=m+16|0;n=c[k>>2]|0;o=n+16|0;p=c[n+4>>2]|0;q=p;if((q|0)!=(n|0)){r=p;p=n;n=q;do{q=(ak(c[r+8>>2]|0,p)|0)+16|0;s=+h[(he(o,e)|0)>>3];do if(s==+h[(he(q,e)|0)>>3]){t=+h[(he(q,c[d>>2]|0)|0)>>3];u=t<+h[(he(o,c[d>>2]|0)|0)>>3];v=he(q,c[d>>2]|0)|0;if(u){t=+h[f>>3];w=+h[v>>3];h[f>>3]=t>2]=(c[i>>2]|0)+-1;break}t=+h[v>>3];if(t>+h[(he(o,c[d>>2]|0)|0)>>3]){t=+h[(he(q,c[d>>2]|0)|0)>>3];w=+h[g>>3];h[g>>3]=t>2]=(c[i>>2]|0)+1}}while(0);r=c[n+4>>2]|0;p=c[k>>2]|0;n=r}while((n|0)!=(p|0))}p=c[m+4>>2]|0;if(!p){n=m+8|0;r=c[n>>2]|0;if((c[r>>2]|0)==(m|0))x=r;else{r=n;do{n=c[r>>2]|0;r=n+8|0;k=c[r>>2]|0}while((c[k>>2]|0)!=(n|0));x=k}}else{r=p;while(1){k=c[r>>2]|0;if(!k)break;else r=k}x=r}if((x|0)==(l|0))break;else m=x}j=b+48|0;a[j>>0]=1;return}function cj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,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,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;d=l;l=l+32|0;e=d+20|0;f=d+16|0;g=d+12|0;h=d+8|0;i=d+4|0;j=d;k=c[a+16>>2]|0;m=a+20|0;if((k|0)==(m|0)){l=d;return}n=a+28|0;o=a+32|0;p=a+32|0;q=a+36|0;r=a+4|0;s=a+8|0;t=a+8|0;u=a+12|0;v=a+40|0;w=a+44|0;x=k;while(1){k=x+16|0;y=c[o>>2]|0;do if(y){z=c[k>>2]|0;A=p;B=y;C=y;while(1){D=c[B+16>>2]|0;if(z>>>0>>0){E=c[B>>2]|0;if(!E){F=9;break}else{G=B;H=E}}else{if(D>>>0>=z>>>0){F=13;break}I=B+4|0;D=c[I>>2]|0;if(!D){F=12;break}else{G=I;H=D}}A=G;B=H;C=H}if((F|0)==9){F=0;J=B;K=B;F=15;break}else if((F|0)==12){F=0;J=I;K=B;F=15;break}else if((F|0)==13){F=0;L=A;M=B;N=C;F=14;break}}else{L=o;M=o;N=y;F=14}while(0);if((F|0)==14){F=0;if(!N){J=L;K=M;F=15}else O=N}if((F|0)==15){F=0;y=Wy(32)|0;c[y+16>>2]=c[k>>2];z=y+20|0;c[z>>2]=z;c[y+24>>2]=z;c[y+28>>2]=0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=K;c[J>>2]=y;z=c[c[n>>2]>>2]|0;if(!z)P=y;else{c[n>>2]=z;P=c[J>>2]|0}kd(c[p>>2]|0,P);c[q>>2]=(c[q>>2]|0)+1;O=y}y=O+20|0;z=c[s>>2]|0;do if(z){D=c[k>>2]|0;E=t;Q=z;R=z;while(1){S=c[Q+16>>2]|0;if(D>>>0>>0){T=c[Q>>2]|0;if(!T){F=23;break}else{U=Q;V=T}}else{if(S>>>0>=D>>>0){F=27;break}W=Q+4|0;S=c[W>>2]|0;if(!S){F=26;break}else{U=W;V=S}}E=U;Q=V;R=V}if((F|0)==23){F=0;X=Q;Y=Q;F=29;break}else if((F|0)==26){F=0;X=W;Y=Q;F=29;break}else if((F|0)==27){F=0;Z=E;_=Q;$=R;F=28;break}}else{Z=s;_=s;$=z;F=28}while(0);if((F|0)==28){F=0;if(!$){X=Z;Y=_;F=29}else aa=$}if((F|0)==29){F=0;z=Wy(24)|0;c[z+16>>2]=c[k>>2];c[z+20>>2]=0;c[z>>2]=0;c[z+4>>2]=0;c[z+8>>2]=Y;c[X>>2]=z;D=c[c[r>>2]>>2]|0;if(!D)ba=z;else{c[r>>2]=D;ba=c[X>>2]|0}kd(c[t>>2]|0,ba);c[u>>2]=(c[u>>2]|0)+1;aa=z}z=c[aa+20>>2]|0;D=c[z+4>>2]|0;C=D;if((C|0)!=(z|0)){B=D;D=C;do{C=c[B+8>>2]|0;if(C|0)Qi(a,C,b,z,y);B=c[D+4>>2]|0;D=B}while((D|0)!=(z|0))}z=O+24|0;D=c[z>>2]|0;B=D;if((B|0)==(y|0))ca=D;else{k=O+28|0;C=D;A=B;B=D;while(1){D=c[C+8>>2]|0;S=B;T=A+4|0;if((S|0)!=(y|0)){da=B;ea=S;while(1){do if((ea|0)==(A|0))fa=c[T>>2]|0;else{S=c[da+8>>2]|0;if(!($i(D,S)|0)){fa=c[ea+4>>2]|0;break}if(S|0)cb[c[(c[S>>2]|0)+4>>2]&127](S);S=ea+4|0;ga=c[S>>2]|0;ha=c[ea>>2]|0;c[ha+4>>2]=ga;c[c[S>>2]>>2]=ha;c[k>>2]=(c[k>>2]|0)+-1;Yy(da);fa=ga}while(0);ea=fa;if((ea|0)==(y|0))break;else da=fa}}C=c[T>>2]|0;A=C;da=c[z>>2]|0;if((A|0)==(y|0)){ca=da;break}else B=da}}c[h>>2]=c[w>>2];c[i>>2]=ca;c[j>>2]=y;c[g>>2]=c[h>>2];c[f>>2]=c[i>>2];c[e>>2]=c[j>>2];dj(v,g,f,e,0)|0;B=c[x+4>>2]|0;if(!B){A=x+8|0;z=c[A>>2]|0;if((c[z>>2]|0)==(x|0))ia=z;else{z=A;do{A=c[z>>2]|0;z=A+8|0;C=c[z>>2]|0}while((c[C>>2]|0)!=(A|0));ia=C}}else{z=B;while(1){y=c[z>>2]|0;if(!y)break;else z=y}ia=z}if((ia|0)==(m|0))break;else x=ia}l=d;return}function dj(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;f=c[b>>2]|0;b=c[d>>2]|0;g=c[e>>2]|0;e=f;if((b|0)==(g|0)){h=f;i=h;return i|0}f=Wy(12)|0;c[f>>2]=0;c[f+8>>2]=c[b+8>>2];j=f;k=c[b+4>>2]|0;c[d>>2]=k;b=k;if((b|0)==(g|0)){l=1;m=j}else{n=1;o=k;k=j;p=b;while(1){b=Wy(12)|0;c[b+8>>2]=c[o+8>>2];c[k+4>>2]=b;c[b>>2]=k;o=c[p+4>>2]|0;c[d>>2]=o;q=b;b=n+1|0;p=o;if((p|0)==(g|0)){l=b;m=q;break}else{n=b;k=q}}}k=m;m=c[e>>2]|0;c[m+4>>2]=f;c[f>>2]=m;c[e>>2]=k;c[k+4>>2]=e;e=a+8|0;c[e>>2]=(c[e>>2]|0)+l;h=j;i=h;return i|0}function ej(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,z=0,A=0,B=0;b=c[a+16>>2]|0;d=a+20|0;if((b|0)==(d|0))return;e=a+4|0;f=a+8|0;g=a+8|0;h=a+12|0;i=b;while(1){b=i+16|0;j=c[f>>2]|0;do if(j){k=c[b>>2]|0;l=g;m=j;n=j;while(1){o=c[m+16>>2]|0;if(k>>>0>>0){p=c[m>>2]|0;if(!p){q=9;break}else{r=m;s=p}}else{if(o>>>0>=k>>>0){q=13;break}t=m+4|0;o=c[t>>2]|0;if(!o){q=12;break}else{r=t;s=o}}l=r;m=s;n=s}if((q|0)==9){q=0;u=m;v=m;q=15;break}else if((q|0)==12){q=0;u=t;v=m;q=15;break}else if((q|0)==13){q=0;w=l;x=m;y=n;q=14;break}}else{w=f;x=f;y=j;q=14}while(0);if((q|0)==14){q=0;if(!y){u=w;v=x;q=15}else z=y}if((q|0)==15){q=0;j=Wy(24)|0;c[j+16>>2]=c[b>>2];c[j+20>>2]=0;c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=v;c[u>>2]=j;k=c[c[e>>2]>>2]|0;if(!k)A=j;else{c[e>>2]=k;A=c[u>>2]|0}kd(c[g>>2]|0,A);c[h>>2]=(c[h>>2]|0)+1;z=j}fj(a,c[z+20>>2]|0,0);j=c[i+4>>2]|0;if(!j){k=i+8|0;o=c[k>>2]|0;if((c[o>>2]|0)==(i|0))B=o;else{o=k;do{k=c[o>>2]|0;o=k+8|0;p=c[o>>2]|0}while((c[p>>2]|0)!=(k|0));B=p}}else{o=j;while(1){b=c[o>>2]|0;if(!b)break;else o=b}B=o}if((B|0)==(d|0))break;else i=B}return}function fj(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,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,_=0,$=0;f=c[d+4>>2]|0;g=f;if((g|0)==(d|0))return;h=b+116|0;i=b+64|0;j=b+72|0;k=b+4|0;l=b+8|0;m=b+16|0;n=b+20|0;o=b+88|0;p=b+96|0;q=b+20|0;r=b+24|0;s=b+12|0;t=f;f=d;u=d;d=g;a:while(1){g=f+12|0;v=t;w=d;b:while(1){x=c[v+8>>2]|0;if((x|0)!=(e|0)){do if((a[x+12>>0]|0)==0?bk(x)|0:0){y=ak(x,f)|0;z=y+12|0;if(!(c[z>>2]|0)){A=f;B=y;break b}if(!(c[g>>2]|0)){C=y;D=f}else{if(!(a[h>>0]|0))break;E=Wy(12)|0;c[E+8>>2]=c[z>>2];c[E+4>>2]=i;F=c[i>>2]|0;c[E>>2]=F;c[F+4>>2]=E;c[i>>2]=E;c[j>>2]=(c[j>>2]|0)+1;E=c[l>>2]|0;if(E|0){F=c[z>>2]|0;G=l;H=E;c:while(1){I=H;while(1){if((c[I+16>>2]|0)>>>0>=F>>>0)break;J=c[I+4>>2]|0;if(!J){K=G;break c}else I=J}H=c[I>>2]|0;if(!H){K=I;break}else G=I}if((K|0)!=(l|0)?F>>>0>=(c[K+16>>2]|0)>>>0:0){G=c[K+4>>2]|0;if(!G){H=K+8|0;J=c[H>>2]|0;if((c[J>>2]|0)==(K|0))L=J;else{J=H;do{H=c[J>>2]|0;J=H+8|0;M=c[J>>2]|0}while((c[M>>2]|0)!=(H|0));L=M}}else{J=G;while(1){F=c[J>>2]|0;if(!F)break;else J=F}L=J}if((c[k>>2]|0)==(K|0))c[k>>2]=L;c[s>>2]=(c[s>>2]|0)+-1;Cd(E,K);Yy(K)}}G=c[n>>2]|0;d:do if(G|0){F=c[z>>2]|0;M=G;while(1){H=c[M+16>>2]|0;if(F>>>0>>0)N=M;else{if(H>>>0>=F>>>0)break;N=M+4|0}M=c[N>>2]|0;if(!M)break d}M=n;I=G;e:while(1){H=I;while(1){if((c[H+16>>2]|0)>>>0>=F>>>0)break;O=c[H+4>>2]|0;if(!O){P=M;break e}else H=O}I=c[H>>2]|0;if(!I){P=H;break}else M=H}if((P|0)!=(n|0)?F>>>0>=(c[P+16>>2]|0)>>>0:0){M=c[P+4>>2]|0;do if(!M){I=P+8|0;O=c[I>>2]|0;if((c[O>>2]|0)==(P|0)){Q=O;break}else R=I;do{I=c[R>>2]|0;R=I+8|0;O=c[R>>2]|0}while((c[O>>2]|0)!=(I|0));Q=O}else{H=M;while(1){O=c[H>>2]|0;if(!O)break;else H=O}Q=H}while(0);if((c[m>>2]|0)==(P|0))c[m>>2]=Q;c[r>>2]=(c[r>>2]|0)+-1;Cd(G,P);Yy(P);S=c[n>>2]|0}else S=G;do if(S){M=c[g>>2]|0;F=q;O=S;while(1){I=c[O+16>>2]|0;if(M>>>0>>0){T=c[O>>2]|0;if(!T){U=53;break}else{V=O;W=T}}else{if(I>>>0>=M>>>0){U=57;break}X=O+4|0;I=c[X>>2]|0;if(!I){U=56;break}else{V=X;W=I}}F=V;O=W}if((U|0)==53){U=0;Y=O;Z=O;break}else if((U|0)==56){U=0;Y=X;Z=O;break}else if((U|0)==57){U=0;Y=F;Z=O;break}}else{Y=n;Z=n}while(0);if(!(c[Y>>2]|0)){M=Wy(20)|0;c[M+16>>2]=c[g>>2];c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=Z;c[Y>>2]=M;H=c[c[m>>2]>>2]|0;if(!H)_=M;else{c[m>>2]=H;_=c[Y>>2]|0}kd(c[q>>2]|0,_);c[r>>2]=(c[r>>2]|0)+1}H=c[l>>2]|0;if(!H){U=69;break a}M=c[g>>2]|0;I=H;while(1){H=c[I+16>>2]|0;if(M>>>0>>0)$=I;else{if(H>>>0>=M>>>0)break d;$=I+4|0}I=c[$>>2]|0;if(!I){U=69;break a}}}while(0);c[z>>2]=0;G=x+8|0;E=Wy(12)|0;c[E+8>>2]=c[G>>2];c[E+4>>2]=o;J=c[o>>2]|0;c[E>>2]=J;c[J+4>>2]=E;c[o>>2]=E;c[p>>2]=(c[p>>2]|0)+1;c[G>>2]=0;C=f;D=y}if(C|0){A=C;B=D;break b}}while(0);G=c[x>>2]|0;if((G|0)!=(f|0))fj(b,G,x);G=c[x+4>>2]|0;if((G|0)!=(f|0))fj(b,G,x)}v=c[w+4>>2]|0;w=v;if((w|0)==(u|0)){U=80;break a}}ek(x);Yy(x);Yj(A,B);if(B|0){Kj(B);Yy(B)}t=c[A+4>>2]|0;d=t;if((d|0)==(A|0)){U=80;break}else{f=A;u=A}}if((U|0)==69)ta(17815,17870,518,17892);else if((U|0)==80)return}function gj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,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;g=l;l=l+144|0;h=g+56|0;i=g+128|0;j=g+116|0;k=g+112|0;m=g;n=d+12|0;if(!(c[n>>2]|0))ta(17914,17870,1047,17929);c[i>>2]=0;o=i+4|0;c[o>>2]=0;c[i+8>>2]=0;c[j>>2]=0;p=j+4|0;c[p>>2]=0;c[j+8>>2]=0;q=d+4|0;r=c[q>>2]|0;s=r;a:do if((s|0)==(d|0))t=0;else{u=i+8|0;v=b+116|0;w=j+8|0;x=d+16|0;y=r;z=s;while(1){A=c[y+8>>2]|0;c[k>>2]=A;B=ak(A,d)|0;A=c[i>>2]|0;C=c[o>>2]|0;if((C|0)==(A|0))D=A;else{E=C+(~((C+-4-A|0)>>>2)<<2)|0;c[o>>2]=E;D=E}E=c[j>>2]|0;A=c[p>>2]|0;if((A|0)!=(E|0))c[p>>2]=A+(~((A+-4-E|0)>>>2)<<2);if((c[B+12>>2]|0)==0?(E=c[k>>2]|0,A=E,(a[E+12>>0]|0)==0):0){if((D|0)==(c[u>>2]|0))hj(i,k);else{c[D>>2]=A;c[o>>2]=(c[o>>2]|0)+4}A=c[q>>2]|0;E=A;if((E|0)!=(d|0)){C=B+16|0;B=A;A=E;do{if((z|0)!=(A|0)){E=c[B+8>>2]|0;c[h>>2]=E;F=E;do if(!(a[E+12>>0]|0)){G=ak(E,d)|0;H=G+16|0;if(ce(H,C)|0)if(!(c[G+12>>2]|0)){G=c[o>>2]|0;if((G|0)==(c[u>>2]|0)){hj(i,h);break}else{c[G>>2]=c[h>>2];c[o>>2]=(c[o>>2]|0)+4;break}}else{G=c[p>>2]|0;if((G|0)==(c[w>>2]|0)){hj(j,h);break}else{c[G>>2]=c[h>>2];c[p>>2]=(c[p>>2]|0)+4;break}}else if(Id(x,H,C,0.0)|0){dk(c[h>>2]|0,d,C);H=c[o>>2]|0;if((H|0)==(c[u>>2]|0)){hj(i,h);break}else{c[H>>2]=c[h>>2];c[o>>2]=(c[o>>2]|0)+4;break}}else{H=c[p>>2]|0;if((H|0)==(c[w>>2]|0)){hj(j,h);break}else{c[H>>2]=c[h>>2];c[p>>2]=(c[p>>2]|0)+4;break}}}else{H=c[p>>2]|0;if((H|0)==(c[w>>2]|0)){hj(j,h);break}else{c[H>>2]=F;c[p>>2]=(c[p>>2]|0)+4;break}}while(0)}B=c[A+4>>2]|0;A=B}while((A|0)!=(d|0))}if(kf(c[n>>2]|0)|0)I=(a[v>>0]|0)==0;else I=0;J=c[i>>2]|0;A=(c[o>>2]|0)-J>>2>>>0>1;if(A?!(I|(c[p>>2]|0)-(c[j>>2]|0)>>2>>>0>1):0){K=42;break}if(!((a[v>>0]|0)==0|A^1)?(c[p>>2]|0)-(c[j>>2]|0)>>2>>>0>1:0){K=55;break}}y=c[z+4>>2]|0;z=y;if((z|0)==(d|0)){t=0;break a}}do if((K|0)==42){z=ak(c[J>>2]|0,d)|0;y=c[i>>2]|0;v=y;if((c[o>>2]|0)-y>>2>>>0>1){y=1;w=v;while(1){u=ak(c[w+(y<<2)>>2]|0,d)|0;ek(c[(c[i>>2]|0)+(y<<2)>>2]|0);Yj(z,u);if(u|0){Kj(u);Yy(u)}u=c[i>>2]|0;x=c[u+(y<<2)>>2]|0;if(!x){L=u;M=u}else{Yy(x);x=c[i>>2]|0;L=x;M=x}y=y+1|0;if(y>>>0>=(c[o>>2]|0)-L>>2>>>0){N=M;break}else w=L}}else N=v;c[z+12>>2]=c[n>>2];c[n>>2]=0;w=c[j>>2]|0;if((w|0)!=(c[p>>2]|0)){c[(c[N>>2]|0)+8>>2]=c[(c[w>>2]|0)+8>>2];O=z;break}ek(c[N>>2]|0);w=c[c[i>>2]>>2]|0;if(w|0)Yy(w);Kj(d);Yy(d);O=z}else if((K|0)==55){w=ak(c[J>>2]|0,d)|0;y=c[i>>2]|0;if((c[o>>2]|0)-y>>2>>>0>1){x=1;u=y;while(1){y=ak(c[u+(x<<2)>>2]|0,d)|0;ek(c[(c[i>>2]|0)+(x<<2)>>2]|0);Yj(w,y);if(y|0){Kj(y);Yy(y)}y=c[i>>2]|0;A=c[y+(x<<2)>>2]|0;if(!A)P=y;else{Yy(A);P=c[i>>2]|0}x=x+1|0;if(x>>>0>=(c[o>>2]|0)-P>>2>>>0)break;else u=P}}u=Wy(152)|0;x=c[b>>2]|0;z=w+16|0;c[h>>2]=c[z>>2];c[h+4>>2]=c[z+4>>2];c[h+8>>2]=c[z+8>>2];c[h+12>>2]=c[z+12>>2];c[h+16>>2]=c[z+16>>2];c[h+20>>2]=c[z+20>>2];jf(u,x,h,0);x=w+12|0;c[x>>2]=u;eh(c[b>>2]|0,u);Mf(c[x>>2]|0);u=b+4|0;z=b+8|0;v=c[z>>2]|0;do if(v){A=c[x>>2]|0;y=b+8|0;B=v;C=v;while(1){F=c[B+16>>2]|0;if(A>>>0>>0){E=c[B>>2]|0;if(!E){K=66;break}else{Q=B;R=E}}else{if(F>>>0>=A>>>0){K=70;break}S=B+4|0;F=c[S>>2]|0;if(!F){K=69;break}else{Q=S;R=F}}y=Q;B=R;C=R}if((K|0)==66){T=B;U=B;K=73;break}else if((K|0)==69){T=S;U=B;K=73;break}else if((K|0)==70){V=y;W=B;X=C;K=72;break}}else{V=z;W=z;X=v;K=72}while(0);if((K|0)==72)if(!X){T=V;U=W;K=73}else Y=X;if((K|0)==73){v=Wy(24)|0;c[v+16>>2]=c[x>>2];c[v+20>>2]=0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=U;c[T>>2]=v;z=c[c[u>>2]>>2]|0;if(!z)Z=v;else{c[u>>2]=z;Z=c[T>>2]|0}kd(c[b+8>>2]|0,Z);z=b+12|0;c[z>>2]=(c[z>>2]|0)+1;Y=v}c[Y+20>>2]=w;a[f>>0]=1;v=b+52|0;z=Wy(12)|0;c[z+8>>2]=c[x>>2];c[z+4>>2]=v;A=c[v>>2]|0;c[z>>2]=A;c[A+4>>2]=z;c[v>>2]=z;z=b+60|0;c[z>>2]=(c[z>>2]|0)+1;z=Wy(176)|0;bc(z,c[b>>2]|0,0);v=z;eh(c[b>>2]|0,z);lc(z);A=z+16|0;a[A>>0]=a[A>>0]|16;qd(h,c[x>>2]|0);oc(z,e[4625]|0,h);qd(m,c[n>>2]|0);oc(z,e[4626]|0,m);c[(c[c[i>>2]>>2]|0)+8>>2]=v;z=b+76|0;A=Wy(12)|0;c[A+8>>2]=v;c[A+4>>2]=z;v=c[z>>2]|0;c[A>>2]=v;c[v+4>>2]=A;c[z>>2]=A;A=b+84|0;c[A>>2]=(c[A>>2]|0)+1;rd(m);rd(h);O=d}while(0);t=O}while(0);O=c[j>>2]|0;if(O|0){j=c[p>>2]|0;if((j|0)!=(O|0))c[p>>2]=j+(~((j+-4-O|0)>>>2)<<2);Yy(O)}O=c[i>>2]|0;if(!O){l=g;return t|0}i=c[o>>2]|0;if((i|0)!=(O|0))c[o>>2]=i+(~((i+-4-O|0)>>>2)<<2);Yy(O);l=g;return t|0}function hj(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;d=a+4|0;e=c[a>>2]|0;f=(c[d>>2]|0)-e|0;g=f>>2;h=g+1|0;if(h>>>0>1073741823)rx(a);i=a+8|0;j=(c[i>>2]|0)-e|0;k=j>>1;l=j>>2>>>0<536870911?(k>>>0>>0?h:k):1073741823;do if(l)if(l>>>0>1073741823){k=ua(8)|0;bz(k,20621);c[k>>2]=9140;Qa(k|0,1496,99)}else{m=Wy(l<<2)|0;break}else m=0;while(0);k=m+(g<<2)|0;c[k>>2]=c[b>>2];b=k+(0-g<<2)|0;if((f|0)>0)EA(b|0,e|0,f|0)|0;c[a>>2]=b;c[d>>2]=k+4;c[i>>2]=m+(l<<2);if(!e)return;Yy(e);return}function ij(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,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;f=c[b+16>>2]|0;g=b+20|0;if((f|0)==(g|0))return;h=b+112|0;i=d*1e4|0;d=b+28|0;j=b+32|0;k=b+32|0;l=b+36|0;b=f;a:while(1){c[h>>2]=(c[h>>2]|0)+1;c[e>>2]=i;c[e>>2]=((c[h>>2]|0)*1e3|0)+i;f=b+16|0;m=c[j>>2]|0;do if(m){n=c[f>>2]|0;o=k;p=m;q=m;while(1){r=c[p+16>>2]|0;if(n>>>0>>0){s=c[p>>2]|0;if(!s){t=9;break}else{u=p;v=s}}else{if(r>>>0>=n>>>0){t=13;break}w=p+4|0;r=c[w>>2]|0;if(!r){t=12;break}else{u=w;v=r}}o=u;p=v;q=v}if((t|0)==9){t=0;x=p;y=p;t=15;break}else if((t|0)==12){t=0;x=w;y=p;t=15;break}else if((t|0)==13){t=0;z=o;A=p;B=q;t=14;break}}else{z=j;A=j;B=m;t=14}while(0);if((t|0)==14){t=0;if(!B){x=z;y=A;t=15}else C=B}if((t|0)==15){t=0;m=Wy(32)|0;c[m+16>>2]=c[f>>2];n=m+20|0;c[n>>2]=n;c[m+24>>2]=n;c[m+28>>2]=0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=y;c[x>>2]=m;n=c[c[d>>2]>>2]|0;if(!n)D=m;else{c[d>>2]=n;D=c[x>>2]|0}kd(c[k>>2]|0,D);c[l>>2]=(c[l>>2]|0)+1;C=m}m=C+24|0;n=c[m>>2]|0;r=C+20|0;s=n;if((s|0)==(r|0))E=n;else{F=n;n=s;do{bj(c[F+8>>2]|0);F=c[n+4>>2]|0;n=F}while((n|0)!=(r|0));E=c[m>>2]|0}n=E;if((n|0)!=(r|0)){F=C+28|0;f=E;s=n;do{n=c[f+8>>2]|0;b:do if((a[n+40>>0]|0)==0?(a[n+72>>0]|0)==0:0){if(!(a[n+48>>0]|0)){t=26;break a}if(c[n+44>>2]|0){jj(n);c[e>>2]=(c[e>>2]|0)+1;G=c[m>>2]|0;H=G;if((H|0)==(r|0))I=m;else{J=G;K=G;G=H;while(1){H=c[J+8>>2]|0;L=K;M=G+4|0;if((L|0)!=(r|0)){N=K;O=L;while(1){do if((O|0)==(G|0))P=c[M>>2]|0;else{L=c[N+8>>2]|0;if(!($i(H,L)|0)){P=c[O+4>>2]|0;break}if(L|0)cb[c[(c[L>>2]|0)+4>>2]&127](L);L=O+4|0;Q=c[L>>2]|0;R=c[O>>2]|0;c[R+4>>2]=Q;c[c[L>>2]>>2]=R;c[F>>2]=(c[F>>2]|0)+-1;Yy(N);P=Q}while(0);O=P;if((O|0)==(r|0))break;else N=P}}N=c[M>>2]|0;O=N;if((O|0)==(r|0)){I=m;break b}J=N;K=c[m>>2]|0;G=O}}}else t=40}else t=40;while(0);if((t|0)==40){t=0;I=s+4|0}f=c[I>>2]|0;s=f}while((s|0)!=(r|0))}r=c[b+4>>2]|0;if(!r){s=b+8|0;f=c[s>>2]|0;if((c[f>>2]|0)==(b|0))S=f;else{f=s;do{s=c[f>>2]|0;f=s+8|0;m=c[f>>2]|0}while((c[m>>2]|0)!=(s|0));S=m}}else{f=r;while(1){m=c[f>>2]|0;if(!m)break;else f=m}S=f}if((S|0)==(g|0)){t=3;break}else b=S}if((t|0)==3)return;else if((t|0)==26)ta(17957,17870,130,17977)}function jj(b){b=b|0;var d=0,e=0,f=0.0,g=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,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;if(!(a[b+48>>0]|0))ta(17957,17870,135,17990);d=c[b+44>>2]|0;if(!d)ta(18005,17870,136,17990);e=(d|0)<0;f=+h[(e?b+56|0:b+64|0)>>3];g=+h[(e?b+8|0:b+16|0)>>3];e=fb[c[(c[b>>2]|0)+8>>2]&127](b)|0;d=b+4|0;if(+h[(ge(e,c[d>>2]|0)|0)>>3]==f)a[b+72>>0]=1;e=b+24|0;i=c[e>>2]|0;j=b+28|0;if((i|0)!=(j|0)){k=i;while(1){h[(ge((c[k+16>>2]|0)+16|0,c[d>>2]|0)|0)>>3]=f;i=c[k+4>>2]|0;if(!i){l=k+8|0;m=c[l>>2]|0;if((c[m>>2]|0)==(k|0))n=m;else{m=l;do{l=c[m>>2]|0;m=l+8|0;o=c[m>>2]|0}while((c[o>>2]|0)!=(l|0));n=o}}else{m=i;while(1){o=c[m>>2]|0;if(!o)break;else m=o}n=m}if((n|0)==(j|0))break;else k=n}}if(f==g)a[b+72>>0]=1;n=c[e>>2]|0;if((n|0)==(j|0))return;k=b+28|0;d=b+32|0;i=b+36|0;b=n;while(1){n=b+16|0;o=c[n>>2]|0;l=o+16|0;p=c[o+4>>2]|0;q=p;if((q|0)!=(o|0)){r=p;p=q;q=o;do{o=ak(c[r+8>>2]|0,q)|0;s=o;if(ce(l,o+16|0)|0){t=c[j>>2]|0;do if(t){u=k;v=t;while(1){w=v+16|0;if(gk(i,o,c[w>>2]|0)|0){x=c[v>>2]|0;if(!x){y=31;break}else{z=v;A=x}}else{if(!(gk(i,c[w>>2]|0,o)|0)){y=35;break}B=v+4|0;w=c[B>>2]|0;if(!w){y=34;break}else{z=B;A=w}}u=z;v=A}if((y|0)==31){y=0;C=v;D=v;break}else if((y|0)==34){y=0;C=B;D=v;break}else if((y|0)==35){y=0;C=u;D=v;break}}else{C=j;D=j}while(0);if(!(c[C>>2]|0)){t=Wy(20)|0;c[t+16>>2]=s;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=D;c[C>>2]=t;w=c[c[e>>2]>>2]|0;if(!w)E=t;else{c[e>>2]=w;E=c[C>>2]|0}kd(c[k>>2]|0,E);c[d>>2]=(c[d>>2]|0)+1}c[o+40>>2]=e}r=c[p+4>>2]|0;q=c[n>>2]|0;p=r}while((p|0)!=(q|0))}q=c[b+4>>2]|0;if(!q){p=b+8|0;r=c[p>>2]|0;if((c[r>>2]|0)==(b|0))F=r;else{r=p;do{p=c[r>>2]|0;r=p+8|0;n=c[r>>2]|0}while((c[n>>2]|0)!=(p|0));F=n}}else{r=q;while(1){n=c[r>>2]|0;if(!n)break;else r=n}F=r}if((F|0)==(j|0))break;else b=F}return}function kj(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,z=0,A=0,B=0,C=0;b=a+16|0;d=a+20|0;e=a+4|0;f=a+8|0;g=a+8|0;h=a+12|0;a=0;do{i=c[b>>2]|0;if((i|0)!=(d|0)){j=i;while(1){i=j+16|0;k=c[f>>2]|0;do if(k){l=c[i>>2]|0;m=g;n=k;o=k;while(1){p=c[n+16>>2]|0;if(l>>>0